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

2011-08-27 Thread TreKing
On Fri, Aug 26, 2011 at 8:59 PM, groob krzysztof.grobe...@gmail.com wrote:

 The problem is that my application is still visible behind Google Checkout
 popup and since it has never supported landscape orientation (and never will
 be), the display is corrupted and may affect user experience.


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

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

2011-08-27 Thread Zsolt Vasvari
I would just draw a solid background of a color your choice.  I assume
that the Checkout window takes most of the screen.



On Aug 27, 9:59 am, groob krzysztof.grobe...@gmail.com wrote:
 The problem is that my application is still visible behind Google
 Checkout popup and since it has never supported landscape orientation
 (and never will be), the display is corrupted and may affect user
 experience.

 This may not sound like a PROBLEM for you, but it is not the matter of
 the discussion.

 I believe that a problem with disabling screen rotation is good enough
 to ask a question here.

 On Aug 26, 3:35 pm, TreKing treking...@gmail.com wrote:



  On Fri, Aug 26, 2011 at 4:22 AM, groob krzysztof.grobe...@gmail.com wrote:
   Although it is clearly requested, when Google Checkout window appears my
   manifest request is simply ignored and my game turns to landscape.

  What PROBLEM is this causing for you?

  ---­--
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
  transit tracking app for Android-powered devices- Hide quoted text -

 - Show quoted text -

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


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

2011-08-27 Thread groob
That's the solution we used in another title. I don't like it at all,
but nothing else can be done, as one can see.

Thank you.

On Aug 27, 8:46 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 I would just draw a solid background of a color your choice.  I assume
 that the Checkout window takes most of the screen.

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


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

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


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

2011-08-27 Thread Zsolt Vasvari


As much as i hate hacky solutions as the next guy, if you are running
a business you must sometimes use hacks to work around bugs.  You
cannot wait around filing a bug report that may or may not be fixed in
this decade.


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


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

2011-08-26 Thread groob
The problem is that my application, temporary covered by Google
Checkout, is changing its orientation.
Normally it would not react on it, keeping the display in portrait.
Only when billing popup appears it is happening and is definitely
unwanted behaviour.


On Aug 26, 1:16 am, TreKing treking...@gmail.com wrote:
 On Thu, Aug 25, 2011 at 5:37 PM, groob krzysztof.grobe...@gmail.com wrote:

 Solution to what? You didn't state a problem.

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


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

2011-08-26 Thread Zsolt Vasvari
SO why does that matter?  Fix your app so it can handle the
orientation change temporarily.  Since the Checkout it's presumably
covering your window, it should be fairly easy to just do nothing when
the orientation flips on you unexpectedly.



On Aug 26, 2:56 pm, groob krzysztof.grobe...@gmail.com wrote:
 The problem is that my application, temporary covered by Google
 Checkout, is changing its orientation.
 Normally it would not react on it, keeping the display in portrait.
 Only when billing popup appears it is happening and is definitely
 unwanted behaviour.

 On Aug 26, 1:16 am, TreKing treking...@gmail.com wrote:



  On Thu, Aug 25, 2011 at 5:37 PM, groob krzysztof.grobe...@gmail.com wrote:

  Solution to what? You didn't state a problem.

  --- 
  --
  TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
  transit tracking app for Android-powered devices- Hide quoted text -

 - Show quoted text -

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


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

2011-08-26 Thread groob
Imagine that my application is a game and not all games are suitable
to be displayed in both orientations.
This is why I'm forcing PORTRAIT in my manifest.

Although it is clearly requested, when Google Checkout window appears
my manifest request is simply ignored and my game turns to landscape.
I'd gladly handle the orientation change, but don't know why. The best
way IMO is to ignore it, but I find no way to achieve it.



On Aug 26, 9:06 am, Zsolt Vasvari zvasv...@gmail.com wrote:
 SO why does that matter?  Fix your app so it can handle the
 orientation change temporarily.  Since the Checkout it's presumably
 covering your window, it should be fairly easy to just do nothing when
 the orientation flips on you unexpectedly.

 On Aug 26, 2:56 pm, groob krzysztof.grobe...@gmail.com wrote:







  The problem is that my application, temporary covered by Google
  Checkout, is changing its orientation.
  Normally it would not react on it, keeping the display in portrait.
  Only when billing popup appears it is happening and is definitely
  unwanted behaviour.

  On Aug 26, 1:16 am, TreKing treking...@gmail.com wrote:

   On Thu, Aug 25, 2011 at 5:37 PM, groob krzysztof.grobe...@gmail.com 
   wrote:

   Solution to what? You didn't state a problem.

   ---
--
   TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
   transit tracking app for Android-powered devices- Hide quoted text -

  - Show quoted text -

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


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

2011-08-26 Thread TreKing
On Fri, Aug 26, 2011 at 4:22 AM, groob krzysztof.grobe...@gmail.com wrote:

 Although it is clearly requested, when Google Checkout window appears my
 manifest request is simply ignored and my game turns to landscape.


What PROBLEM is this causing for you?

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

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

2011-08-26 Thread groob
The problem is that my application is still visible behind Google
Checkout popup and since it has never supported landscape orientation
(and never will be), the display is corrupted and may affect user
experience.

This may not sound like a PROBLEM for you, but it is not the matter of
the discussion.

I believe that a problem with disabling screen rotation is good enough
to ask a question here.



On Aug 26, 3:35 pm, TreKing treking...@gmail.com wrote:
 On Fri, Aug 26, 2011 at 4:22 AM, groob krzysztof.grobe...@gmail.com wrote:
  Although it is clearly requested, when Google Checkout window appears my
  manifest request is simply ignored and my game turns to landscape.

 What PROBLEM is this causing for you?

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