|
Helping ordinary people create extraordinary websites! |
Secrets of the Wireless Elite: Alexei PolyakovBy John Papageorge2005-05-05
What Challenges do Developers Face? The availability of Java for mobile phones has given mobile application developers a "unifying platform" from which to to start, explains Polyakov. He sees the necessarily small size of the applications themselves and the limited abilities of mobile phone hardware, however, as ongoing problems. Wireless developers want to write attractive and exciting mobile games, for example, but they face serious limits on the size of the program files they can create. "The solution to this problem is the use of custom-made or commercial compression software," he says. "Depending on the software you are using, it is possible to reduce files to as little as 10 or 15 percent of their original size. There are several tricks programmers can use in mobile development in order to shorten the program file size." • Try to eliminate all data that isn't necessary during run time. • Use the abbreviated names for classes, methods, variables, and so on. (Yes, he acknowledges, this does make debugging more difficult.) • Shorten the data area as much as possible. • Share the names of fields, methods, and so on with the Java Virtual Machine. • Change to a shorter instruction set. • Use inline expansions in methods. • Merge classes. • Check for unwanted commands and eliminate them. Tutorial Pages: » Use Compression to Keep Costs Down and Performance Up » Notes from Japan » What Developers Should Know ... » ... and What They Should Avoid » What Challenges do Developers Face? » Who Has the Killer Mobile App? » Application Examples » Lessons Learned in Japan » In Conclusion » Resources First published by IBM DeveloperWorks |
|