Difference between Android 2.2 and Google API for Android

by Zeeshan Hanif » Tue, 07 Dec 2010 06:38:06 GMT

Sponsored Links

I'm unable to understand the difference between "Standard Android platform
2.2" and "Android + Google APIs". Because while adding Platform in Netbeans
we can add either of two.

Zeeshan Hanif


Re: Difference between Android 2.2 and Google API for Android

by vogella » Tue, 07 Dec 2010 07:56:35 GMT

 The Google one contains also API which is not part of the standard
Android SDK. For example the Google Maps is not part of Android.


Sponsored Links

Re: Re: Difference between Android 2.2 and Google API for Android

by Zeeshan Hanif » Wed, 08 Dec 2010 16:27:14 GMT


Thanks, is there any link or reference from where I can find out these
additional APIs.

Zeeshan Hanif


Other Threads

1. Bitmap recycle/createBitmap freeing memory properly?


I am getting this exception in the beta SD which I never got on the m5
SDK - I have changed some logic so I am not 100% sure that it's not my
code that is causing this, but would you mind checking whether or not
Android properly frees all memory when Bitmap.recycle() is called and
also when a bitmap is cropped using the Bitmap.createBitmap() API and
later goes out of scope (i.e. can be garbage collected)?

Here is the stack trace for my issue:

D/dalvikvm(  414): GC freed 15290 objects / 1630400 bytes in 90ms
E/dalvikvm-heap(  414): 194184-byte external allocation too large for
this process.
E/        (  414): VM won't let us allocate 194184 bytes
D/AndroidRuntime(  414): Shutting down VM
W/dalvikvm(  414): threadid=3: thread exiting with uncaught exception
E/AndroidRuntime(  414): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  414): java.lang.RuntimeException: can't alloc
E/AndroidRuntime(  414):        at
android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime(  414):        at
E/AndroidRuntime(  414):        at
E/AndroidRuntime(  414):        at
E/AndroidRuntime(  414):        at

Thanks so much,

2. OpenIntents for SDK 0.9 - control API demos with the Sensor Simulator!

We updated OpenIntents to work with Android's 0.9 SDK:

Most notably, the sensor class completely changed from m5, so now we
fully support the 0.9 SDK sensors interface and sensor definitions.

In fact, there are quite some gems hidden in the API demos that are
only revealed when using a real sensor - or the OpenIntents Sensor
Simulator ( http://www.openintents.org/en/node/6 ).
We modified the API demos that use sensors slightly, so that they can
be controlled by the sensor simulator:

Download the latest OpenIntents release 0.9.0 here:

Have fun! We welcome your feedback!



3. Abstract Classes and Layouts

4. porting from m5 to 0.9: app fails to start Activity

5. flash memory

6. Opportunity Collaboration

7. Map won't display