AHHH!!
It's been a while since I've posted. So here's an update.
Completed the tipCalculator, apparently we weren't needing to put exception handling, so I reversed back to using command line arguments, and than called the correct constructor based on args.length. Now in class we are migrating that java into android. I've created a layout and started to wire the widgets..
As for using utilities, I'm a tad scared to lol!!
OH-MUH-GURD SOMETHING NEW MUCH SCAREThe class I would first like to play with these utilities are my android class, since my Adv. Java class is seems to be VERY picky, while the android class seems more pick your route, follow good standards but create your own... type feel to it.
With that said the Android Studio project folder is ridiculous or more so overwhelming for a beginner like myself.(So many files!) In android studio when we select the SDK for a new project, its fairly simple just select it in its location. (usually java in the C:/ -- But with a utility like Apache Commons, is this the same? Where do I put the "Apache Commons Lang 3.3.2 (Java 6.0+)" thing I would download? How do I reference it?
Since it's unlike java, and probably not installed on other machines, I'm going to guess it'd be somewhere in my projects folder??
^Am I thinking of how to use utilities right? By the end I started to question it.
Quote (carteblanche @ Jan 28 2015 06:13pm)
Keep in mind "text" also includes xml and json, which is my preference for anything manual. then you can pass data to anything. they're also human readable. my android app, ios app, desktop app, and web app can all call the exact same web service or oracle API and pass the xml/json and everything works beautifully. it's very easy to read, write, and edit. i mentioned before the libraries XStream and GSON which handle all of that for you.
Thanks for the input on text / serialization. Always good to have peoples 'real world' experience give you a better idea of something.
I'm barley familiar with XML, but started to use it for android layouts and BARELY remember taking the class last year. json I have not touched, but can only assume its similar to xml.
This part lost me, not sure what you mean. "my android app, ios app, desktop app, and web app can all call the exact same web service or oracle API and pass the xml/json"
^ Very limited on xml knowledge and the 'flow / process' of using it.
As for this thread, I will continue to try and post my 'finished' code and kinda see where you guys think I could improve. Also will post any snags I come across / questions that I'm curious about (like the text/seralization.