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. HorizontalScrollView - scroll by pages

Hi all,
   I have implemented a slideshow in my Android app using . This works
well except that I want to scroll to next image on a scroll gesture
(now it just scrolls past few images before decelerating).

  I have couldn't find a appropriate way to do this, should I be using
a FrameLayout instead ? How do I scroll to the next (or previous)
image on scroll gesture ? Any help is appreciated, thanks.

- Sandeep

--

2. start activity when the application icon is clicked

Hi,

  i was just running a demo application.it runs successfully but my
problem is when ever i run the application from eclipse the emulator
shows me the activity.Instead i wanted to know how can i avoid this
screen to launch automatically.

              only when i should click on the application icon, i
wanted my activity should launch.plz guide me accordingly.

Thanks&regards
preeti

-- 

3. google gdata Calender api problems with android

4. Service alarm/Res File - String

5. Clear application data?

6. can't seem to stop my media player in a service..

7. Encoding mechnism in android