Re: [android-developers] Re: detecting home screen, idle of device

2010-07-27 Thread Frank Weiss
> The message could be urgent thing or request response to user. > In this case, I want to show it to users right away without the > notification. > I think this is not kind of right and wrong. > It just matter of scenario. That's just not the way Activities are supposed to work in Android. What i

[android-developers] Re: detecting home screen, idle of device

2010-07-27 Thread optimusgeek
how about this? If a server sends some information to user with some kind of push messages. then, we can notify it with the notification of indication area normally. but, I want to do that with an activity directly rather than the notification. The message could be urgent thing or request response

[android-developers] Re: detecting home screen, idle of device

2010-07-27 Thread optimusgeek
Yes, I understand what you saying. but I just wanna know it is possible from the viewpoint of technic. I think it's not perfect solution comparing with package name in my code. // activity.packageName.equals(strPackage) I guess there are weak points I haven't thought of. On 7월27일, 오후11시56분, Joseph

[android-developers] Re: detecting home screen, idle of device

2010-07-27 Thread Joseph Earl
It would be reasonable to start a service when the device is idle. I think it would be unreasonable to start a visible activity without user interaction. The user will start your app when they want to. On Jul 27, 3:47 am, optimusgeek wrote: > I want to start my activity when the device is in idle