Android : Java Glossary

Android Android
An android, aka droid, is a human-like robot that mimics human behaviours. Two of my favourite movies, Bicentennial Man with Robin Williams and AI with Haley Joel Osment feature androids.

Android is also Google’s operating system for mobile devices. Acer is planning to use it in a low-cost lap top. There are SDK (Software Development Kit)s available for Windows, Mac and Linux. You code in a mixture of Java and XML (extensible Markup Language). Android is free and open source. It is primarily intended to erode Microsoft’s profit margins.

The Sony Ericsson Xperia X10 is one the better-known Android phones. A typical Android phone might have 480 × 854 pix up to 32 gig on a SSD. Surprisingly, the JVM (Java Virtual Machine) embedded in the devices uses JIT (Just In Time) compilation. It does not use AWT (Advanced Windowing Toolkit) or Swing, but OpenGL.

Writing Android Apps

Android is a resource starved-environment compared with Java desktop. Apps are small. You are constantly trying to shave bytes and CPU (Central Processing Unit) cycles at the expense of program readability. You have roughly 200 ms to respond or the user will perceive you as laggy. You have 5 seconds to respond before the OS (Operating System) says your app has died. Your user is more impatient and you have fewer resources to satisfy him. You are doing everything you can to avoid draining the battery. This means letting the screen go off, cpu turn off etc. whenever possible.

Since apps are smaller, there is more competition. If yours is not best of breed, you will be quickly be replaced. Since apps are free or cheap, users have no investment is sticking with what they first try.

One of the strangest features of Android is its extensive use of XML. XML is a resource pig. I would have thought they would have gone with something much more compact, and preparsed.

Android does not use any of the Sun/Oracle JVMs. They use one called Darvik that uses an incompatible jar format. Its JVM is register based, not stack based, presumably because it is more closely tuned to a specific set of real-life CPU s, rather than Oracle’s WORA (Write Once, Run Anywhere) goal.

Books

book cover recommend book⇒Pro Android 2
by:Sayed Ibrahim Hashimi, Satya Komatineni, Dave MacLean 978-1-4302-2659-8paperback
publisher:Apress B004VJ46MOkindle
published:2010-03-15
Covers Android 2, custom 3D components, OpenGL,touchscreens and gestures. Book website
Australian flag abe books anz abe books.co.uk UK flag
German flag abe books.de amazon.co.uk UK flag
German flag amazon.de abe books.ca Canadian flag
Spanish flag iberlibro.com amazon.ca Canadian flag
Spanish flag amazon.es Chapters Indigo Canadian flag
French flag abe books.fr abe books.com American flag
French flag amazon.fr amazon.com American flag
Italian flag abe books.it Barnes & Noble American flag
Italian flag amazon.it Powells American flag
American flag download O’Reilly Safari Sony e-books American flag
Kobo UN flag
Greyed out stores probably do not have the item in stock
book cover recommend book⇒Professional Android 2 Application Development
by:Reto Meier 978-0-470-56552-0paperback
 (born: 1978-06-19 age: 33) 978-0-470-87451-6ebook
publisher:Wrox B004BA574Ykindle
published:2010-03-01
Covers Android 2
Australian flag abe books anz abe books.co.uk UK flag
German flag abe books.de amazon.co.uk UK flag
German flag amazon.de abe books.ca Canadian flag
Spanish flag iberlibro.com amazon.ca Canadian flag
Spanish flag amazon.es Chapters Indigo Canadian flag
French flag abe books.fr abe books.com American flag
French flag amazon.fr amazon.com American flag
Italian flag abe books.it Barnes & Noble American flag
Italian flag amazon.it Powells American flag
American flag download O’Reilly Safari download Sony e-books American flag
download Kobo UN flag
book cover recommend book⇒Android Wireless Application Development
by:Shane Conder, Lauren Darcey 978-0-321-62709-4paperback
publisher:Addison-Wesley B002LGGJJ2kindle
published:2009-09-07
Write code for Google Android cellphones.
Australian flag abe books anz abe books.co.uk UK flag
German flag abe books.de amazon.co.uk UK flag
German flag amazon.de abe books.ca Canadian flag
Spanish flag iberlibro.com amazon.ca Canadian flag
Spanish flag amazon.es Chapters Indigo Canadian flag
French flag abe books.fr abe books.com American flag
French flag amazon.fr amazon.com American flag
Italian flag abe books.it Barnes & Noble American flag
Italian flag amazon.it Powells American flag
American flag download O’Reilly Safari download Sony e-books American flag
Kobo UN flag
Greyed out stores probably do not have the item in stock
Android Developer Guide
Android Market: where you can buy/sell Android apps
Android NDK: development kit for native
Android SDK: development kit for Java aps
Android vs iPad security
cell phone
Google
iPad
iPhone
Java
JIT
Wikipedia on Android
XML

CMP homejump to top You can get the freshest copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/android.html J:\mindprod\jgloss\android.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, please quote it and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. Threatening to kill me or spouting obscenities has yet to persuade me to change my mind.
mindprod.com IP:[65.110.21.43]
view BlogYour face IP:[38.107.179.214]
You are visitor number 11.