How could I get the size of android.graphics.picture

by A.TNG » Mon, 07 Sep 2009 11:48:29 GMT


Sponsored Links
 


It seems the only way is to add your own getSize() member function.
Please refer to skia library, class SkPicture, macro SK_DEBUG_SIZE.
You could find more information.

Thanks
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Contacts.PresenceColumns documentation/API mismatch.

The dox @ 
http://code.google.com/android/reference/android/provider/Contacts.PresenceColumns.html
indicate that android.provider.Contacts.PresenceColumns contains the
following public static fields: PRIORITY, PRESENCE_STATUS,
PRESENCE_CUSTOM_STATUS, OFFLINE, INVISIBLE, IDLE, DO_NOT_DISTURB,
AWAY, AVAILABLE, IM_PROTOCOL, IM_HANDLE, IM_ACCOUNT but the
android.jar from 1.0r1 contains only the following three public static
fields: IM_PROTOCOL, IM_HANDLE, IM_ACCOUNT.

Am I getting something totally wrong here or is there something
missing in the documentation/sdk?
--~--~---------~--~----~------------~-------~--~----~

2. Question regarding default Contacts application.

Hi,

I added a new contact in the default Contacts app and added all
possible IM names to it. If I click any of the IM options later, then
the following Intents are triggered:
Intent { action=android.intent.action.SENDTO
categories={com.android.im.category.MSN} data=im:name }
Intent { action=android.intent.action.SENDTO
categories={com.android.im.category.AIM} data=im:name}
Intent { action=android.intent.action.SENDTO
categories={com.android.im.category.ICQ} data=im:name }
Intent { action=android.intent.action.SENDTO
categories={com.android.im.category.GTALK} data=im:name }
Intent { action=android.intent.action.SENDTO
categories={com.android.im.category.YAHOO} data=im:name }


However no Intents are generated when clicking on Jabber, Skype and
QQ. Does anyone know whats up with that? Is the behaviour the same on
real devices? (And if so, then what's the point of adding these
contact types if you can't assign an application that handles these?)


Tauno
--~--~---------~--~----~------------~-------~--~----~

3. How to detect whenever any Textbox gains focus?

4. What happens to the Intent internally after startActivity ??? (especially to Google-Developers)

5. "geo fix # # #" command skews the entered coordinates

6. how to decompeler the .apk file and who can apply the source code of contacts

7. Andoird on Iphone