The only changes from the screen turning off and on and onPause() when it is
turning off and onResume() when it is turning on.

On Mon, Nov 15, 2010 at 9:38 PM, Kumar Bibek <coomar....@gmail.com> wrote:

>
> http://developer.android.com/reference/android/app/Activity.html#ActivityLifecycle
>
> After onStop, onRestart should be called. Check if your onRestart is
> getting called or not.
>
> On Fri, Nov 12, 2010 at 9:26 AM, Yuie. <y...@evonit.net> wrote:
>
>> The below is my trace log:
>>
>> --------------------------------
>> (start activity)
>> onCreate
>> OnStart
>> OnResume
>> (running something)
>> ...
>> ...(other events)
>> ...
>> onStop (screen is off)
>> --------------------------------
>>
>> when my phone screen goes off, my App. gotta onStop, and there is no
>> longer event occurred.
>>
>> When my screen turn back on, and I can see my App again (Of
>> Course !!!)
>> But, there is no event (ex>onResume, onStart...) I can get from the
>> App.
>> I expected to get some event such as onResume or onStart or any event
>>
>> Is anybody know why I didn't get such events?
>>
>> --
>> 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
>
>
>
>
> --
> Kumar Bibek
> http://techdroid.kbeanie.com
> http://www.kbeanie.com
>
>
>  --
> 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
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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

Reply via email to