[tssg-tech] Standard Java Classes in traditional Java jar files (?)

  • From: Harry Henriques <harry_henriques@xxxxxxxxxxx>
  • To: TSSG-tech <tssg-tech@xxxxxxxxxxxxx>
  • Date: Sat, 25 Sep 2010 18:54:19 -0700 (PDT)

Hello,

I have been trying to get ROME, JDOM, and HttpClient to work on the Android 
Emulator.  I have been able to load an application (apk) using all 3 api's on 
the emulator successfully, but I haven't had a lot of success with the emulator 
itself.  The emulator is very very very slow.  And I do mean slow.

I am running Eclipse Galileo in the background, while I'm using Eclipse to 
invoke the Android emulator.

I have a Pentium 4 32-bit processor @ 2.4 GHz and 1GB of RAM.

I think I will be forced to use my 64-bit Windows 7 box.

I've quoted an interesting article, below.

Best regards,
Harry Henriques





Android Development Tutorial - Froyo 
Lars Vogel 
Version 4.2 
Copyright © 2009 - 2010  Lars Vogel
12.09.2010

http://www.vogella.de/articles/Android/article.html

1.1. Android Operation System
Android is an operating system based on Linux with a Java  programming 
interface. It provides tools, e.g. a compiler, debugger                         
and a device emulator 
as well as its own Java Virtual machine                         (Dalvik         
                Virtual Machine - DVM). 
Android is                      created by the                  Open Handset    
                Alliance                        which is lead                   
by 
                        Google. 

Android uses a special Java virtual machine (Dalvik) which is                   
based on the 
Apache Harmony Java implementation. Dalvik uses                         special 
                        bytecode. 
Therefore you cannot run standard Java bytecode on Android.                     
Android provides 
a tool "dx" which allows to convert Java Class                  files           
        into "dex" (Dalvik 
Executable) files. Android applications are then                        packed 
into an .apk (Android 
Package) file.
Android supports 2-D and 3-D graphics using the OpenGL                  
libraries                       and 
supports data storage in a SQLLite database.  For development Google provides 
the Android Development Tools                   (ADT) for Eclipse               
        to develop Android 
applications.  Every Android applications runs in its own process and it 
                        isolated from other running applications. Therefore on 
misbehaving 
                        application cannot harm other Android applications. 

Other related posts:

  • » [tssg-tech] Standard Java Classes in traditional Java jar files (?) - Harry Henriques