1. Download our Official Android App: Forums for Android!

Using a running service as a context

Discussion in 'Android Apps & Games' started by bruce73, Jan 30, 2013.

  1. bruce73

    bruce73 Android Enthusiast
    Thread Starter
    Rank:
    None
    Points:
    43
    Posts:
    383
    Joined:
    Feb 14, 2012

    Feb 14, 2012
    383
    45
    43
    Los Angeles
    I use Airdroid's widget to start its service when I connect to my PC. When connected I'd like the display timeout to extend to 10 minutes. It's easy enough to do if I run the app and set it as the context, but the widget only calls the service.

    Is there a way to have the service as the context?
     

    Advertisement

  2. userloser

    userloser Member
    Rank:
    None
    Points:
    18
    Posts:
    30
    Joined:
    Jan 15, 2013

    Jan 15, 2013
    30
    10
    18
    last time i looked, it was in the todo, but you can check the beta on the website.
     
    bruce73 likes this.

Share This Page

Loading...