Shailesh, I've built this using Eclipse, it has nothing to do with the editor. It's core Android interactions. I'll look at droidDraw. Are you sure it actually has a nicer sleep/alarm interaction?
Thanks, Brian On Oct 14, 11:34 pm, "shailesh prakash" <[EMAIL PROTECTED]> wrote: > Try droidDraw, it is cool way to create GUI for android. > Also Elipse has nice layout building capability, you can try eclipse too > > On 10/15/08, Brian <[EMAIL PROTECTED]> wrote: > > > > > I'm playing with building a simple alarm, but it's very hard to see > > how to get a nice UI interaction when the phone is asleep. > > > I have finally worked out an OK behaviour: > > > a) Use the AlarmManager to set a time to wake up my application > > b) use a KeyguardManager.KeyguardLock to disable the lock > > c) pop up an AlertDialog with an "OK your alarm has gone off" > > button > > d) turn back on the Keyguard lock. > > > But it's klunky in that the user can hit a pocket OK and clear an > > alarm once the KeyguardManager is off. And as soon as the user exits > > my alarm application, I turn the keyguardManager lock back on and I'm > > locked out. > > > The interaction sequence on the iPhone is a bit better in that I can > > pop up a window (play alarms and so on) and the user has to log in to > > unset the alarm. > > > Does anyone know how to get a better user interaction on the gphone? > > > And while playing with this I can see a service logging called > > KeyguardViewMediator but there is no documention or group posts on > > this. Is this what is really acting as the keyguard? > > > Are there any examples of this hanging around? --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---