Wednesday, June 30, 2010

[android-developers] Unlock KeyGuard

hi guys,

i'm having three different devices. Tattoo,Milestone and a Droid. what
my application does is when receiving a call i'm starting a activity.
which works fine in all three. but if the phone is locked in Motorola
Droid it's not unlocking the screen in other two phones it's working
fine.

this is how am doing it

in the activity

context = getApplicationContext();
ManageKeyGuard.disableKeyguard(context);

and in the manifest

<uses-permission
android:name="android.permission.DISABLE_KEYGUARD"></uses-permission>

any suggestions.??

regards,
Mike

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate