correct way to use getSystemService?

by yesk13 » Mon, 13 Apr 2009 12:13:58 GMT


Sponsored Links
 KeyguardManager kg = ( KeyguardManager ) getSystemService
( "keyguard" )

is the above correct way to use to get a handle to KeyguardManager
service?

i want to use OnKeyguardExitResult listening to it and do something if
user was not able to authenticate.

your help is greatly appreciated.

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



Other Threads

1. How to use AutoCompleteTextView with SimpleCursorAdapter

<<Unfortunately, this is not a complete worked out example. Could someone
forward me a more complete example? I've found lots of code fragments, but
no code that shows how to initialise the SimpleCursorAdapter contents, or
how it works together with the AutoCompleteTextView. >>


There is also an example in the APi demos with the
contacts.~/android-sdk-windows-1.1_r1/samples/ApiDemos/src/com/example/android/apis/view/AutoComplete4.java





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

2. How to determine when a ScrollView has reached the bottom

View.onScrollChanged

On Thu, Apr 9, 2009 at 10:53 AM, nwmotog...@gmail.com




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

3. why it always complain execve("/system/bin/alsamixer", ["alsamixer"], [/* 10 vars */]) = -1 ENOENT (No such file or directory) Options

4. Problem with Mediaplayer onBufferingupdateListener - onBufferingupdate() not giving percent for "rtsp" links

5. ADP1 shipping time to Portland, OR by FeDex Ground?

6. libexpat.so Error 1

7. How to change the background color of an element in a list ?