I am facing the same issue. Did you or does anyone else know the answer? J
On Sun, Jan 3, 2010 at 9:43 PM, krekar <swbon...@gmail.com> wrote: > hi, all(& happy new year~! :D) > > I making an Alarm App. > > In my Alarm App, if user set the alarm, the alarm Dialog will be shown > at the set alarm time. > > but if device(phone) was in lock and screen off, I can't see the alarm > dialog. > > I need to write code to the alarm dialog will be shown automatically > although the device(phone) is screen off(and locked). > > I see the source code about AlarmClock in Donut SDK. > > It is use the code like below: > getWindow().addFlags(WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON); > > but the FLAG_TURN_SCREEN_ON is only available in SDK 2.0 or later. > > I just only use Donut(SDK 1.6). > > How can i Screen on & unlock in Donut(SDK 1.6)? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en