News for hackers. Stuff that matters.
Re:"Android Tools Are Horrendous, OS Is Hideous," FB iPhone ... by Zak on Wednesday August 25, 2010 @03:35PM (#1633874)
I think as Android becomes more established as the standard smartphone OS, Google will be able to exert more influence on carriers and manufacturers by withholding the Google apps and Market when certain conditions are not met. I hope that Google uses this influence to encourage the production of devices that are easy to get software updates for, and lacking customizations that the user can't remove or turn off.

As for Java, it is my impression that most JVM languages can be used on Android, though dynamic languages suffer a bit on startup time. Scala seems like a good option here.

Re:"Android Tools Are Horrendous, OS Is Hideous," FB iPhone ... by zsouthboy on Wednesday August 25, 2010 @05:02PM (#1634153)
>Google will be able to exert more influence on carriers and manufacturers by withholding the Google apps and Market when certain conditions are not met.

Google already does this. Android is free for anyone to use, but if you want the Market and the Google branded Apps, you have to go through a round of certification. The process is testing for compatibility, among other things.

(This is the reason we keep seeing cheap Android tablets pop up without the Market application installed - they haven't gone through the process.)

Most carrier/OEM customization of Android is at the UI level. As a developer, it's understandable to not have all the different devices with different capabilities, but if you code as recommended and don't make assumptions about what the user has / doesn't have available, your application will work pretty much anywhere that the Market is installed.

Null Pointer Exceptions don't happen because the phone's OEM or carrier changed something - they happen because the code went ahead and assumed something worked correctly that did not.

(NPEs are the most common reason I've personally seen applications crash on my own devices, I have no data to support an assertion that that is the main cause of Force Closes, however)