Saturday, August 27, 2011

[android-developers] Re: In-App Billing forces screen orientation change

Thank you for your interest, TreKing.

The strange thing is the display is of course rotated, but alsoscaled
down in height and untouched in width, so it looks like GL scaling has
been applied.
Nevertheless it might look like a bug or at least an unhandled
behaviour, so I need to get rid of it somehow.

The bug substance and the reason I ask a question here is that my
application is changing its orientation although I think I've done
everything what's needed to protect me against it.
To me IAB implementation is buggy and ignores this setup, not allowing
as well to handle rotations programmatically.

Will try with reporting the issue, but just cannot wait till anyone
address it. Zsolt's solution is not elegant at all, but the only quick
one I can imagine.

Thanks!


On Aug 27, 8:20 am, TreKing <treking...@gmail.com> wrote:
> On Fri, Aug 26, 2011 at 8:59 PM, groob <krzysztof.grobe...@gmail.com> wrote:

> OK, this is all I was trying to get at - the display is corrupted - that's
> your problem. OK.
>
> Usually a "problem" on this group is a crash or not knowing how to achieve
> specific functionality and I was not understanding how this orientation
> change was adversely effecting your app's functionality.
>
> If I understand you correctly now, there is no adverse effect (your app
> doesn't crash for example), but you don't want it to happen because it looks
> bad to you. Correct?
>
> Well if that's the case, I don't know. If no one else has an answer for you,
> I'd check b.android.com and see if it's filed as a bug and if not, maybe
> file one. Of course, I suspect this is intended behavior - the app on top is
> what determines the current orientation and the phone can only have one
> configuration at a time, so the top-most one takes over - I think.
>
> P.S. - Even if your app is never intended to be used in landscape, you still
> have to handle properly restoring your app's state, since your app will go
> through the same cycle via other means (like pressing Home and coming back
> to it a while later). So you may just have to bite the bullet here and
> handle the orientation change.
>
> -------------------------------------------------------------------------------------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate