Page 1 of 1
App Question
Posted: Mon Feb 03, 2014 2:32 am
by Xaos
Is there a way to create an app that is basically a Java console application, without the user interface? IE I click on the app and the line of text loads, rather than the other stuff? For example, this is what I get when I try to run my Java program in Netbeans:
Enter stock.
1000
Enter harvesting effort
.5
379 fish remain!
5.0 fish harvested
Wharf and Operations cost was $5000
Cost of fishing was $1
Boat maintenance cost $100
Profit from fishing was $6
You now have $4505
Would you like to continue? Enter 1 for yes, or 2 for no.
First it ask for the stock number, the user inputs it, then it ask for harvesting effort, user inputs it, then the other stuff is ran, then it ask the user to input 1 to continue or 2 for not continue. Then the process starts over. Basically im wondering if this can be an app and not have the user interface. (I'm asking with pretty much sheer curiosity, I wouldn't actually release an app like this).
Re: App Question
Posted: Mon Feb 03, 2014 2:37 am
by Jackolantern
An app on what platform?
Re: App Question
Posted: Mon Feb 03, 2014 2:57 am
by Xaos
Jackolantern wrote:An app on what platform?
Android, but I guess it doesn't matter.
Re: App Question
Posted: Mon Feb 03, 2014 4:00 am
by Jackolantern
Well it will be different for each platform
For Android, I don't know how up-to-date this is, but
here is a tutorial for how to make a console-like app. I say "console-like", because there is no console for Android and virtually every other mobile OS. The author basically emulates one

Re: App Question
Posted: Mon Feb 03, 2014 4:41 am
by Xaos
Jackolantern wrote:Well it will be different for each platform
For Android, I don't know how up-to-date this is, but
here is a tutorial for how to make a console-like app. I say "console-like", because there is no console for Android and virtually every other mobile OS. The author basically emulates one

Awesome, thanks !

Re: App Question
Posted: Mon Feb 03, 2014 5:39 pm
by hallsofvallhalla
why Java? Use app mobi or another type of HMTL5 program to quickly make it and export to app.
Re: App Question
Posted: Tue Feb 04, 2014 7:50 am
by a_bertrand
Actually it is not true. Android is a full running Linux OS, the only issue is that you normally don't have access to the console (command line tool). Yet you can install an app which let you access it even without being root, for example:
https://play.google.com/store/apps/deta ... c.terminal
Now, on the console level, your software can interact with the console like in any unix like environment.
Would that mean you should develop your app for that kind of interaction? I would say no, but you could.
Re: App Question
Posted: Tue Feb 04, 2014 10:07 pm
by Jackolantern
a_bertrand wrote:Actually it is not true. Android is a full running Linux OS, the only issue is that you normally don't have access to the console (command line tool). Yet you can install an app which let you access it even without being root, for example:
https://play.google.com/store/apps/deta ... c.terminal
Now, on the console level, your software can interact with the console like in any unix like environment.
Would that mean you should develop your app for that kind of interaction? I would say no, but you could.
I saw that it was possible, but like you said, creating an app to run on the native console is probably not smart. Your app would have dependencies, which history tells us is the kiss of death in mobile app stores. You are likely better off simulating a console.
Re: App Question
Posted: Wed Feb 05, 2014 4:05 am
by Bevertails
I second vallhalla's post.
If you are so "set" on the command line/console thing why don't you just emulate a console/command line?
EDIT* Didn't read Jack's post. He beat me to it.