[android-developers] Disable of compatibility mode freezes app at last zoom or stretch mode

2012-01-12 Thread hacksoft
Due to issue 19817: http://code.google.com/p/android/issues/detail?id=19817 I want to disable compatibility mode in my app, but I notice that if I do, then the tablet (Xoom or Samsung Galaxy Tab 10inch) retains the last compatibility mode setting to display my app. So if I zoom my app using compa

[android-developers] Canvas.drawBitmap() different in API 7 vs API 8?

2011-08-12 Thread hacksoft
Hi, I'm trying to implement pan and zoom across a bitmap and I'm using Canvas.drawBitmap(bitmap, src, dest, paint) where "dest" is the rectangle of the Android device screen. The difference in implementation I'm seeing is that I can set a "src" Rect with negative coordinates and drawBitmap() will

[android-developers] problem accessing widget in Preference widgetLayout

2010-04-17 Thread hacksoft
Hi, I can't seem to get a handle to the embedded widget (via widgetLayout) in my preference. My Preference XML is: http://schemas.android.com/apk/res/android"; android:key="first_preferencescreen"> My widget XML is: http://schemas.android.com/a

[android-developers] Example for Contacts.PresenceColumns

2010-02-01 Thread hacksoft
Hi, I'm using OS 1.6 and targeting my T-Mobile HTC G1 phone. I'm trying to get the IM fields from contact info, but none of the queries I build to use Contacts.PresenceColumns work. Does anyone know how to construct the projection/query to get the PresenceColumns info (IM_ACCOUNT, IM_HANDLE) for