|
|
This is the FAQ for the Android forum. It's editable by everyone, so feel free to add content to it.
General questions
- What Java API is supported by Android? How does it differ from JME?
- Where can I get an SDK? What platforms does it support?
- The latest version of the SDK is 2.2, and it's available for Windows, OS X and Linux here
- Do I need to buy hardware if I want to start writing applications that run on Android?
- You can start writing your Android applications even if you don’t have hardware to run your applications on. Android SDK comes with an emulator and set of tools necessary for Application development and deployment
- Another option is the freely available Motodev Studio for Android IDE from Motorola.
- Are there any hardware devices that support Android?
- T-Mobile G1 (a.k.a. HTC Dream), T-Mobile myTouch 3G
- HTC Magic, Hero, Tattoo, Droid Eris, Legend, Desire, Evo 4G, Wildfire, Incredible, Aria, Evo 4G
- Motorola Dext, Droid / Milestone, Backflip, Motoroi, Cliq / Quench, Devour, Flipout, XT720, Droid 2, Droid X, Charm, Defy
- Sony Ericsson Satio, Xperia X10, Xperia X10 mini
- Nokia N97 Mini
- Google Nexus One
- LG In TouchMax GW620
- Samsung Galaxy i7500, Galaxy Portal i5700, Captivate / Galaxy S, Vibrate, Galaxy S GT-19000
- Garmin-Asus A50
- Acer Stream
- Handset NEWS (and rumors) at AndroidGuys
- WikiPedia:List_of_Android_devices
- extensive list at TechCrunch?
- What is Dalvik? How is it different from JVM?
- Dalvik is a register based virtual machine optimized to run on a slow CPU,with relatively little RAM and on an OS without swap space. Further Reading
- What are the different Media formats supported on Android?
- Where can I publish my Android applications?
- How do I publish my Application in Android Market?
- What support does Android or Dalvik VM provide for running native C code?
- In June 2009, Google announced a NDK (Native Development Kit) that gives developers the ability to call into native code from Android applications. There is a Google group for NDK-related discussions. At present, Android supports JNI shared libraries written in C or C++ that link with the Android versions of libc, libm, libz and OpenGL ES 2.0. There are plans to support linking with audio libraries in future.
- How do I get Android source code?
- How can I view PDFs and Office documents?
- Which Android versions are being used out in the field?
Programming
- Is Android code compiled to a .class file?
- The Java bytecode of a compiled class is converted into Dalvik executables or (.dex) files, using the "dx" tool bundled with the SDK . The application is packaged into .apk file which are zipped .dex files. The Dalvik virtual machine runs Dalvik executables in the apk file. Details of .dex file format can be found here
- I want to write Android Applications too but dont know where to start?
- Do Android projects have deployment descriptors?
- My Application throws an Exception, where is the Stack Trace dumped?
- Exceptions are written to a log file, named Logcat in the emulator. You can obtain a dump by executing the adb logcat command. To write log messages from your application, use the static methods of JavaDoc:android.util.Log class(Log.v(), Log.d(), Log.i(), etc.). If you are using Eclipse with ADT plugin, you can open "Logcat" view to see the logged messages.
- What functionality of the actual device can the emulator emulate?
- For Emulator How-Tos and limitations, read this
- How can I send email from an Android application?
- javax.xml.xpath is not supported; how can I use XPath anyway?
- The jaxen library runs on Android, and works well with DOM objects. Just put its jar file into the "libs" folder of your project, and it'll be packaged along with the other class files. Starting with Android 2.2, javax.xml.xpath is part of the core libraries.
Reference material
Books
Other
CategoryFaq JavaMicroEditionFaq
|