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).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.
App Question
App Question
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:
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: App Question
Jackolantern wrote:An app on what platform?
Android, but I guess it doesn't matter.
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: App Question
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
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
The indelible lord of tl;dr
Re: App Question
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 !
- hallsofvallhalla
- Site Admin
- Posts: 12026
- Joined: Wed Apr 22, 2009 11:29 pm
Re: App Question
why Java? Use app mobi or another type of HMTL5 program to quickly make it and export to app.
- a_bertrand
- Posts: 1536
- Joined: Mon Feb 25, 2013 1:46 pm
Re: App Question
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.
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.
Creator of Dot World Maker
Mad programmer and annoying composer
Mad programmer and annoying composer
- Jackolantern
- Posts: 10891
- Joined: Wed Jul 01, 2009 11:00 pm
Re: App Question
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.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.
The indelible lord of tl;dr
- Bevertails
- Posts: 8
- Joined: Tue Feb 04, 2014 3:51 am
Re: App Question
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.
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.