SDK Add-on for Samsung Galaxy Tab

by Paul » Thu, 21 Oct 2010 23:50:36 GMT


Sponsored Links
 Yeah, found that today. I don't see the forum links on that page
though.

Also there is an issue running apps on the Tab emulator if they use
Google Maps APIs. Gets an error about missing shared library even
though build target for the app includes the Google APIs.




--



Other Threads

1. problems using SCREEN_DIM_WAKE_LOCK

Hi,

I'm trying to programatically turn the screen off and on, while keep
the app running.

If i try this code:

final PowerManager pm = (PowerManager)
loader.getSystemService(Context.POWER_SERVICE);
AndroidUtils.debug("creating lock");
screenLock = pm.newWakeLock(PowerManager.SCREEN_DIM_WAKE_LOCK,
"TotalCross");
AndroidUtils.debug("lock: "+screenLock);
screenLock.acquire();
AndroidUtils.debug("acquired: "+screenLock);

... then the application stops at the "acquire" method call
("acquired" is never printed).

If i change to:

PowerManager pm = (PowerManager)
loader.getApplication().getSystemService(Context.POWER_SERVICE);

(note the getApplication()), then i get:
java.lang.SecurityException: Neither user 10030 nor current process
has android.permission.WAKE_LOCK.

Am I missing something here?

thanks

   guich

-- 

2. Camera API - how do I switch the camera to portrait

I'm developing an application that render preview frames from the
camera to a SurfaceView. I've noticed there's no way in the Camera API
to set the orientation to portrait, so I'm forced to make my view
landscape.  Does anyone know how to tell the camera to deliver preview
frames in portrait?

Thank you,
Ryan

-- 

3. on device-removed not firing?

4. accelerometer driver example?

5. How can I create TextAppearanceSpan which bold the text

6. hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

7. launch activity from on-screen Camera/Capture button?