Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

Thursday, April 3, 2008

Android v.s. Symbian OS

I came across a side-by-side comparison between Android and Symbian OS.

Other than some technical details, most of the items compared apply to Windows Mobile as well.





















































































































































































































AndroidSymbian OS
Business model
Revenue stream for creatorAdvertising, fairy dust?Fixed license fee per phone (with a few quirks, all publicly known
Source code availabilityAvailable to nobody yet. Available to all, in theory, one day.Available only to Symbian OS phone manufacturers, plus partners who pay a lot.
Source code modifiabilityFreely modifiable (although I seem to remember constraints for Open Handset Alliance members, presumably related to keeping the APIs sufficiently similar between devices to keep a common platform for developersModifiable, but with similar restrictions aimed at keeping a common platform.
End-user opennessEnd devices will probably accept Java-language applications. No evidence that they will accept native applications.All end devices accept Java-language applications, and virtually all also accept native applications.
Current market position in smartphone marketZero, but has Google behind itOverwhelmingly dominant in EMEA and Japan, reasonable success elsewhere except America. (American technology writers just don’t realise Symbian exists, and that it’s America which is unusual…)
Technical Basis
API languageJavaC++ (J2ME Java also available for a subset of APIs)
Standards-complianceHighly POSIXy for native handset software. Proprietary for high-level Java APIs.Proprietary. POSIX layer available, but it limits interaction with the rest of the OS so much that it’s only really used for porting software.
KernelLinux with minor changesProprietary
Basic user libraryBSD-derived libcProprietary
User interfaceUnknown; current is a ‘placeholder’None; UIs developed by Nokia (S60), DoCoMo (MOAP) and UIQ/Motorola/Sony Ericsson (UIQ). Other UIs have existed in the past.
Typical filesystemYAFFS2Proprietary.
Toolchain for native softwareStandard GCC, possibly requiring prelinking and other odditiesProprietary, built on top of GCC
Binary formatStandard ELFProprietary
Toolchain for typical third party softwareAnt-based, dex compiler, etc.Same toolchain for entire device
Debugging/profiling/investigation toolsStandard UNIX toolsNot a lot
Inter-process communicationUnclear. D-bus for some layers. OpenBinder for others. Possibly something different again for messages flowing between the Dalvik-side processes.Proprietary; based on client-server.
Features
Pre-emptive multithreadingYesYes
Memory protection between processesYesYes
Pre-emptible kernelYesYes
Demand pagingYesYes
Virtual memory (page outs)Probably not according to Dianne Hackborn; they are anticipating devices with 64MB RAM and 128MB flashNot yet, but it may not be long; Symbian OS has been in use on phones with hard disks for some time
Shared librariesYesYes
Copy-on-writeYesN/A (’fork’ is not used)
Reference counting of kernel objects and proper cleanup if a process diesYesYes
Approaches to problems
Flash space taken by many copies of symbol names for dynamic linkageUnknown; maybe just don’t use too many native programsLink by ordinal not by name
Memory allocationAllocate a big hunk of virtual address space for process. On write, try to free up enough physical RAM pages to give it the memory it needs.Allocate minimum virtual and physical address space; heap algorithms in user library know how to request more RAM from kernel.
Memory full behaviourKernel will kill other processes if necessary to relinquish physical RAM. If no physical RAM is available, program is killed.On some Symbian systems, user-side heap library may request other apps to exit. If no memory really is available, malloc equivalent throws an exception and application should be able to handle it.
Memory management within user codeCheck for NULLs from malloc if you’re lucky, but you’ve probably got spare virtual address space anyway so it’s unlikely you’ll be told of a memory allocation failureIncredibly anal rules about memory management
SecurityEach process runs as its own user. Unclear how this prevents access to certain APIs that could do destructive things.Processes have capabilities and can only access APIs appropriate to their capabilities. Applications must be certified and are then signed such that they cannot access APIs beyond their capabilities.
Overhead of loading binariesStore application code as dex files which can just be mmap’ped inStore application code as native code which can just be mmap’ed in (or equivalent)
Overhead of interpreter startupApplication interpreter starts once (Zygote) and all other processes fork from thatNo interpreter - native applications
ComponentisationSoftware uses ‘intents’ to say what it wishes to do. Other software can fulfil the intent.Applications typically rigidly defined (but can load plug-ins).
XML and text files are inefficientCompile XML down to a binary representationCompile resource files down to a binary representation
Overhead of multiple threadsRemove need for multiple threads, but allow developers to use them if they wish. Provide event loop which runs in main thread and can respond to most events. Allow events to be posted onto event loop using handler object.Remove need for multiple threads, but allow developers to use them if they wish. Provide object-oriented event loop in main thread (’active scheduler’), using ‘active objects’ to respond to each type of incoming event.

Overhead of making APIs and libraries thread-safeInsist they are used only from main threadRun in a different process; use IPC for all UI requests. And indeed pretty much anything else.

Tuesday, March 18, 2008

Slashdot: High Expectations For Google Android

Check out this Slashdot story, which is a nice summary of latest Android news.

Now it seems clear that Android phones are competing with iPhones.

Now it is clear that iPhone is used as the phone that every OEM wants to beat, including those Windows Mobile Seven based phones.

I would like to publicly make a speculation that Android phones will reach 1 million in less than 6 months from the debut, which is sometime in the second half of this year.

How long will it take for Android phones to reach 10 million? I would say 18 months.

Wednesday, January 9, 2008

Wistron showcases "Google Phone" at CES 2008

The image “http://www.techchee.com/wp-content/uploads/2008/01/google-android-prototype-by-taiwanese-wistron-neweb-corp-060108.jpg” cannot be displayed, because it contains errors.

Wistron NeWeb Corp(WNC), a Taiwanese phone ODM, shows a real Android based phone at CES 2008. This is the first publicly announced Android based cell phone. Wistron said the phone will be shipped in March.
http://photo1.bababian.com/upload6/20080109/AD53069ECCBA6FC9B5576F02CDF192B6.jpg
http://photo1.bababian.com/upload6/20080109/6E5230B78888369A72B01F1950EF18DF.jpg
From PCMag CES2008 coverage:

The GW4 is based on a TI OMAP 1710 chipset with a 216-MHz processor and only 64 MB of program memory, yet the model we saw ran the Opera Web browser, played video and flipped between a range of Web widget applications like weather and stocks. The user interface was very responsive.

The phone will come in two tri-band GSM/GPRS versions, one for the U.S. and one for Europe and Asia. The very slow cellular GPRS (not EDGE) network will be complemented by 802.11g Wi-Fi with a built-in SIP VOIP client for Internet calling. A higher-speed 3G version will come out by the end of 2008. The GW4 also has a 2.5-inch, 320x240 touch screen and 2-megapixel camera.

Other built-in apps include a mail program with Outlook syncing, MSN/Yahoo/AIM IM clients and MS Office and PDF readers, though those will presumably be replaced by whatever apps Google ends up preferring in their Android suite.


Update: According to the PCMag story, the phone they showed at CES is actually running a version of MontaVista Linux 2.6. Wistron spokeswoman Molly Lin said the GW4 will be running Android by March, when Wistron will start selling it to more prominent firms for branding

This brought up an interesting question: how does Wistron get Android? They are not a member of Open Handset Alliance ...

Wednesday, December 19, 2007

Android Phone Prototypes


Here is the first picture of Android powered phone.

I've heard from sources that major OEMs already have the prototypes being tested by US engineers. At least one major US operator already signed up to ship one such devices.

See Yankee Group's comment on Android:

Tuesday, December 4, 2007

Rumor: HTC to ship 1 million Android phones in 2008

According to Intomobile, HTC is expected to ship 1 million Android powered phones in 2008. And "Morgan Stanley is estimating that HTC will ship 8% of total handsets in 2008 with the Android OS.".

Be aware that there has been many rumors around HTC's Android phone plan. Some said HTC will ship 50000 gPhones by the end of this year, which apparently is not happening.

Before joining OHA, HTC is a 100% Windows Mobile design house. According to CEO of HTC, the company will likely to ship 11 million Windows Mobile phones this year. If you look that their 2006 volume, which is 9 million, then you know that in 2008, they will ship both Windows Mobile and Android phones with a total volume of at least 13 million.

The question is, how much will HTC invest in Android phones? Will that affect their tight relationship with Microsoft?