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

Apps Alarmclock. Beginner with problems.

Discussion in 'Android Development' started by ReaverRikku, Nov 12, 2010.

  1. ReaverRikku

    ReaverRikku Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 12, 2010

    Nov 12, 2010
    2
    0
    5
    Student
    Norway
    Hi.

    I'm trying my first app and figured I'd go for an alarmclock.

    The thing I can't figure out is how to make the alarm unlock screen if it is needed (hope this is clear enough...). I'm using AlarmManager to handle the alarm and right now just trying a Notification and an Activity displaying the current time when the alarm goes off. What I would like is for the Activity to start even if screen is locked. It does work when in other activities.

    Thanks :)
     

    Advertisement

  2. ReaverRikku

    ReaverRikku Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    2
    Joined:
    Nov 12, 2010

    Nov 12, 2010
    2
    0
    5
    Student
    Norway
    Ok. So after some more digging around I found this:
    How to Disable the Keyguard Android Software Developer

    which in turn links to:
    Waking the phone & safely disabling the keyguard - Android Developers | Google Groups
    and:
    http://www.google.com/codesearch/p?...kage:http://android-smspopup\.googlecode\.com

    I just thought I'd post these here if anyone else wondered about this. I haven't had time to look at them properly and haven't solved my problem yet, but if/when I do I'm hoping to post another update on it.

    Cheers.
     

Share This Page

Loading...