Android
From otaking wiki
| Revision as of 20:42, 20 June 2009 Putte (Talk | contribs) Android seems decidedly less awesome in pratice. ← Previous diff |
Revision as of 23:26, 20 June 2009 Putte (Talk | contribs) Performance section Next diff → |
||
| Line 32: | Line 32: | ||
| * HTC Magic | * HTC Magic | ||
| * [http://www.samsung.com/se/consumer/detail/detail.do?group=mobilephonemp3&type=mobilephonemp3&subtype=mobilephones&model_cd=GT-I7500OKAXEE Samsung I7500] | * [http://www.samsung.com/se/consumer/detail/detail.do?group=mobilephonemp3&type=mobilephonemp3&subtype=mobilephones&model_cd=GT-I7500OKAXEE Samsung I7500] | ||
| + | |||
| + | == Performance == | ||
| + | A fairly thourough [http://arstechnica.com/open-source/reviews/2009/02/an-introduction-to-google-android-for-developers.ars article at Ars Technica] very diplomatically states that "some preliminary experiments by various developers indicate that Dalvik isn't necessarily faster than other comparable technologies" and that "there are still unanswered questions about the performance advantages of Dalvik's design". | ||
| + | |||
| + | The simple benchmark in the article gives the following results on various phones, showing that the iPhone is 100 times as fast as the HTC Dream and a humble K800 is 4 times as fast. | ||
| + | {| | ||
| + | |- | ||
| + | ! Phone | ||
| + | ! Result | ||
| + | |- | ||
| + | | HTC Dream | ||
| + | | 922 ms | ||
| + | |- | ||
| + | | iPhone | ||
| + | | 9.5 ms | ||
| + | |- | ||
| + | | Sony Ericsson K800 | ||
| + | | 250 ms | ||
| + | |} | ||
Revision as of 23:26, 20 June 2009
Android is a software platform for mobile phones being developed by Google and the Open Handset Alliance.
Applications are written in Java, but compiled to another form of bytecode (optimized for memory efficiency), running in the Dalvik virtual machine. The GUI portions of the runtime happily have nothing in common with Swing or Java ME.
It's gonna be awesome.Its degree of awesomeness remains to be determined.
Contents |
Links
- Videos of sessions from Google I/O 2009
- Dalvik VM Internals video
- Dalvik Q&A video
- Android development overview video – Dick Wall speaking at GTUG 2008-06-02
- Developer documentation
The platform
- Linux kernel
- All applications are run as separate users.
- Applications are written i Java and run in the Dalvik VM.
- Applications are very modular.
- Every screen is an Activity.
- Move between screens by sending an Intent to the system.
- The system displays an Activity which fulfills the contract for the Intent.
- No Java ME support, but there is a third-party solution.
- Plays Ogg Vorbis!
Dalvik
- Dalvik executable files (DEX files) can be mmap:ed and used directly, unlike JAR files.
- Slightly more compact (uncompressed) than compressed JAR files.
- No JIT or AOT compilation, but they are investigating JIT for a future release.
Devices
- HTC Dream (a.k.a. T-Mobile G1)
- HTC Magic
- Samsung I7500
Performance
A fairly thourough article at Ars Technica very diplomatically states that "some preliminary experiments by various developers indicate that Dalvik isn't necessarily faster than other comparable technologies" and that "there are still unanswered questions about the performance advantages of Dalvik's design".
The simple benchmark in the article gives the following results on various phones, showing that the iPhone is 100 times as fast as the HTC Dream and a humble K800 is 4 times as fast.
| Phone | Result |
|---|---|
| HTC Dream | 922 ms |
| iPhone | 9.5 ms |
| Sony Ericsson K800 | 250 ms |
