On Mon, Oct 3, 2011 at 10:55 PM, rich friedel wrote:
> As more of a band-aid, you could force keeping the device awake while your
> app is running
Maybe I could, yes, however the behaviour I'm seeing also happens when the
user puts the device to sleep explicitly by pressing the power/sleep butto
As more of a band-aid, you could force keeping the device awake while your
app is running
--
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 gro
On Mon, Oct 3, 2011 at 7:42 PM, Kostya Vasilyev wrote:
> As for the activity being recreated, that's not considered a bug, but a
> side effect of the top (your) activity's orientation being different from
> the lock screen's.
>
I think I'll have to think about it before I come to terms with the
No, don't take out screenOrientation if you need it, it is not
deprecated, and having it in the manifest is better than forcing it
dynamically from code.
As for the activity being recreated, that's not considered a bug, but a
side effect of the top (your) activity's orientation being different
On Mon, Oct 3, 2011 at 7:04 PM, Kostya Vasilyev wrote:
> Make sure you didn't accidentally leave an orientation lock in the
> manifest, android:screenOrientation="landscape".
>
Well I have this in my manifest quite intentionally ;-) - it's a game, it
depends on landscape and doesn't make any s
Make sure you didn't accidentally leave an orientation lock in the
manifest, android:screenOrientation="landscape".
You would also see this sequence if your activity runs in landscape mode
just because of how you're holding the device, and the device's lock
screen uses portrait mode (or vice v
On Mon, Oct 3, 2011 at 6:37 PM, Kostya Vasilyev wrote:
> Is your activity locked to a particular orientation?
>
The actual activity in my program where I first noticed this is locked to
landscape. However, the logs I quoted in my previous message are from a
(almost) stock SkeletonActivity samp
Is your activity locked to a particular orientation?
03.10.2011 20:34, Latimerius ?:
On Mon, Oct 3, 2011 at 12:35 AM, metin ögtem
mailto:android.develope...@gmail.com>>
wrote:
it could be continue onResume()..You can logging it..
Sorry, I'm not quite sure what you mean by that. W
On Mon, Oct 3, 2011 at 12:35 AM, metin ögtem
wrote:
> it could be continue onResume()..You can logging it..
Sorry, I'm not quite sure what you mean by that. What else do you think I
should be logging that could explain the behaviour?
--
You received this message because you are subscribed to
it could be continue onResume()..You can logging it..
2011/10/2, Latimerius :
> Hello,
>
> I'm seeing something about the Activity life-cycle that I don't believe is
> covered in the Dev Guide section on Activities.
>
> I start an activity which causes its onCreate() and onResume() to be called:
>
Hello,
I'm seeing something about the Activity life-cycle that I don't believe is
covered in the Dev Guide section on Activities.
I start an activity which causes its onCreate() and onResume() to be called:
D/SkeletonActivity(19132): onCreate()
D/SkeletonActivity(19132): onResume()
The Activity
11 matches
Mail list logo