Android version difference?

I want to release my app with 1.6 compatibility to target as many devices as possible. I think it should run on all the OS's since i'm not using anything crazy. Just wondering since i dont actually have any of the android devices, if I build on 1.6 versus 2.0.1 will there be much of a performance hit on newer OS's? What's the biggest advantage of building for the new OS?

The new OS's for Android are designed for phones that have faster processors. If your app uses animations that work fine in the simulator, they wont work very well on a 1.6 phone because they have slower processors and the app will most likely crash.

If your app runs in portrait mode, you'll want to add scale = "zoomEven" in your config.lua file to ensure it sizes correctly for all phones.

Also, make sure you script image removal properly especially if transitioning between screens. The simulator is nice but it using the resources of the MAC which is a lot different than the actual phone.

Greg

thanks, but what if I build for 1.6 and somebody on a 2.2 device downloads it? what would be performance differences on the same phone (a phone running 2.2) between a corona app built for 1.6 and one built for 2.2

If you build for a 1.6, anyone with a 2.2 device will see it in the market place.

If you don't have a phone to test your app, you're depending on users to tell you about bugs. If your app has animations or transitions, they won't run very well on a 1.6 phone.

Greg

views:1386 update:2011/10/9 22:34:50
corona forums © 2003-2011