Disable Screen Lock with my own application


Last Updated:

  1. Ashworth

    Ashworth Member This Topic's Starter

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Hello,

    Does anyone know the API to use to not lock the device while you are in your own application? I'm creating a GPS golf application when you don't always use the phone so sometimes the device and get locked. I would rather just have the screen power off, and have the phone not lock while my application is running. I know there are 3rd party applications that do this system wide, but I just care about my own app.

    Thanks
     

    Advertisement
  2. DaveInNYC

    DaveInNYC Well-Known Member

    Joined:
    Nov 7, 2009
    Messages:
    52
    Likes Received:
    3
  3. Loki117

    Loki117 Guest

  4. Ashworth

    Ashworth Member This Topic's Starter

    Joined:
    Nov 20, 2009
    Messages:
    9
    Likes Received:
    0
    Thanks, this is what I was looking for... Did not think to look at power stuff, I was only looking at screen stuff.

    Many thanks!
     

Share This Page

Loading...