My name is Stephen and currently an IT Professional doing administration and support, however I've always had a deep passion for software development. I've started mobile application development when I got my first Android phone in October 09. This blog catalogues all my progress with creating mobile apps for not only Android, but eventually iPhone, Blackberry and Windows Phone 7. Hope you enjoy.


Android Lint + HP Touchpad

Tagged: , , , ,

Two random updates today.  The Android SDK has updated to a new API level, 16.  Besides offering APIs for the new features introduced in Ice Cream Sandwich it also provided a developer tool called Lint.  Lint basically scans your projects for code that is possibly hurting performance or goes against best practices or is simply a waste.

After installing the new update, I ran Lint on my Video Poker Assistant and Monopoly Trade Evaluator and Lint found over 400 warnings.  Granted going in I knew it would find a lot of one thing I did a lot, and that was put display text hard coded into the source code.  Android development has a separate strings file where you can assign all the display texts to a variable and have them all in one place.  It makes sense to use it and it makes translating a breeze, cause you just change the one file to another language instead of changing source code.  But in reality when you're in a coding zone, it takes time to go back from your source code to your strings file and back, so I knew going in that it would report all those problems and I had full intentions of fixing it up before I even knew what Lint was.

But Lint also found a lot of errors I had no idea about, like my current code was drawing the backdrop twice for each activity and I had a lot of excess code in my UI files.  So I'm working on cleaning all that up, compiling with the new API and releasing some quick maintenance updates for those 2 apps which will hopefully improve their performance.

Then in other news, if you weren't aware, the HP Touchpad.  A webOS tablet that came out over the summer was discontinued and HP had a huge sale of it's inventory not long after.  Well I was able to score one last week, $99 for a 10" 16GB tablet. DONE.  However it brings me to a predicament, I'm not sure what to do next in my mobile app development life.

  • Port my apps to iOS, I have a Hackintosh and a 1st generation iPhone and both never get used.  I also don't feel like spending $99/annually to be a developer for iOS just yet, so I was 99% sure my next move would be to...
  • Take a crack at Windows Phone 7 development and get in before it becomes huge (if it does), I have Windows XP virtual box setup with the Visual Studio, but no actual device...I don't even know anyone who has one.
  • And now webOS development has piqued my interest as I see the need first hand and would love to get more out of my device, especially if webOS and it's open source future is bright.  Not to mention HP suggests using Eclipse as an IDE.  Which is what I use for Android, so the SDK was easy to setup since I already had most of it done.
  • Sorry Blackberry, you're not in my immediate plans.
I can't decide...hopefully I will in the new year.



JB said...

Greate Post..I agree with each and every word you have said here. Being indie developer is tough, especially if you are just starting out.Thanks for sharing!!
Mobile App Developer