Helpful PhoneGap Resources

I recently had the pleasure of attending a PhoneGap training event held by the RocknCoder in Burbank, CA. Since I’ve already published several iPhone and Android apps for PhoneGap, I was expecting to go deeper into the framework. Below are some useful things I learned:

  • JQuery Mobile does not do smooth scrolling very well. iScroll solves that problem using CSS transforms.
  • Apache Ripple is a web based mobile emulator.
  • You can use a custom build Android VM to replace the sluggish emulator.
  • Handlebars looks like a better templating engine than Knockout, especially when working on single page applications. Combine Handlebars with Backbone for routing and binding your view model to a model retrieve from  a RESTful web sevice.
  • MAMP is a great alternative LAMP server for OSX.
Advertisements

Mobile Document Imaging Must Rise

These days phones are equipped ever ever increase high-quality cameras giving document imaging capability to mobile devices.

With AIMTools, a new mobile imaging SDK for iOS and Android devices, developers can now create mobile applications to view 12-bit grayscale images and also gain more control over output of image data than is offered by the mobile JPEG library.

The AIMTools Lossy JPEG decompress library enables developers writing mobile applications to work with all of the data in the 12-bit image, no longer requiring them to convert on the server to an 8-bit image for display. Until now, applications converted 12-bit images to 8-bit on the server prior to sending the images to a mobile display device. This conversion resulted in image data loss before the image even got to the mobile device.

AIMTools also provides more granular control of lossy JPEG decompress output than is available on iOS and Android. Developers can now output directly to a thumbnail on decompress or decompress a specific crop rectangle of the image. Additionally, color support is available for RGB and CMYK JPEG decompression on mobile devices.

Even iText has a mobile framework for handling PDFs. With so much power available in these small devices, the great challenge now becomes pushing enterprises, who are notorious for being decades behind in the latest technology, into this new frontier.

Publishing an Android Game

Asterdroids was one of my first Android games that I published to the Android Marketplace. It took about a month to pull it off. It was the first time I had to use Java to program. To be candid, it was hard. The biggest difference from programming games in Windows to mobile game development was figuring out how to efficiently manage the game loop thread. In the end, it was a fun learning experience.

asterdroids_marketplace1