Difference between Android 2.2 and Google API for Android

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


Sponsored Links
 Hi,

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.


Regards,
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


 Hi,

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


Regards,
Zeeshan Hanif









-- 



Other Threads

1. Bitmap recycle/createBitmap freeing memory properly?

Hi,

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
(group=0x40010e28)
E/AndroidRuntime(  414): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime(  414): java.lang.RuntimeException: can't alloc
pixels
E/AndroidRuntime(  414):        at
android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime(  414):        at
android.graphics.Bitmap.createBitmap(Bitmap.java:343)
E/AndroidRuntime(  414):        at
android.graphics.Bitmap.createBitmap(Bitmap.java:303)
E/AndroidRuntime(  414):        at
android.graphics.Bitmap.createBitmap(Bitmap.java:253)
E/AndroidRuntime(  414):        at
com.frogdesign.VideoHelper.cropBitmap(VideoHelper.java:580)

Thanks so much,
Cheryl
--~--~---------~--~----~------------~-------~--~----~

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:
http://www.openintents.org/en/node/32

Download the latest OpenIntents release 0.9.0 here:
http://www.openintents.org/en/download

Have fun! We welcome your feedback!

Peli
www.openintents.org

--~--~---------~--~----~------------~-------~--~----~

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