Message from discussion
Play Store hijacking focus after in-app purchase dialog
Received: by 10.224.214.137 with SMTP id ha9mr8073007qab.1.1339518001529;
Tue, 12 Jun 2012 09:20:01 -0700 (PDT)
X-BeenThere: android-developers@googlegroups.com
Received: by 10.229.106.227 with SMTP id y35ls3937919qco.8.gmail; Tue, 12 Jun
2012 09:15:56 -0700 (PDT)
Received: by 10.224.33.148 with SMTP id h20mr8063760qad.3.1339517756384;
Tue, 12 Jun 2012 09:15:56 -0700 (PDT)
Received: by 10.224.33.148 with SMTP id h20mr8063758qad.3.1339517756355;
Tue, 12 Jun 2012 09:15:56 -0700 (PDT)
Return-Path: <hack...@android.com>
Received: from mail-qa0-f41.google.com (mail-qa0-f41.google.com [209.85.216.41])
by gmr-mx.google.com with ESMTPS id fp29si703217qcb.3.2012.06.12.09.15.56
(version=TLSv1/SSLv3 cipher=OTHER);
Tue, 12 Jun 2012 09:15:56 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.216.41 is neither permitted nor denied by best guess record for domain of hack...@android.com) client-ip=209.85.216.41;
Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.216.41 is neither permitted nor denied by best guess record for domain of hack...@android.com) smtp.mail=hack...@android.com
Received: by mail-qa0-f41.google.com with SMTP id g27so3144828qab.0
for <android-developers@googlegroups.com>; Tue, 12 Jun 2012 09:15:56 -0700 (PDT)
d=google.com; s=20120113;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:x-gm-message-state;
bh=bAPQRfIIdcqL0Z1KiJ9MtnLjGwhjfVCY8wfi1TO9Cb0=;
b=Fk5COmKOO0STNznq9vaVMzGAD7ANWHGPAAV0K8pE2pTMo7QPoAv51gsi9VvlLqwOwI
sxMezWGmfZxr8BmxGtaWaijPIvNjVh0El4BFilf34y/MRR5v4BiQD1WaOfZFT6lUuJ5l
gBwNkm6x/OHFP1YmeErgC5GauaYx5N9xP3N0nsYiphz2vDuaV9CAy33LpoVDfeXEdNDs
bM4wwFIIis9fXamUrBolZ3VM+mBEi6NwPM6zVxsRe+Hn/OtZSrcAPtwcJDQI7W2HD2Ha
/x6nh/YsJUz+I31p8TO66uJ0C/ps83eo3DL+eaWG4u9xk6mBDxwy5TA0ReWVM1A/x8sj
7gvQ==
Received: by 10.229.137.7 with SMTP id u7mr8802459qct.109.1339517755953; Tue,
12 Jun 2012 09:15:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.229.165.207 with HTTP; Tue, 12 Jun 2012 09:15:35 -0700 (PDT)
In-Reply-To: <6e299281-c056-40f2-9837-07206a63f248@googlegroups.com>
References: <6e299281-c056-40f2-9837-07206a63f248@googlegroups.com>
From: Dianne Hackborn <hack...@android.com>
Date: Tue, 12 Jun 2012 09:15:35 -0700
Message-ID: <CAM8hUSvJbJqCV9jnidTmcW_hQbMm+hxX+sf-U6KYV-M=6-U...@mail.gmail.com>
Subject: Re: [android-developers] Play Store hijacking focus after in-app
purchase dialog
To: android-developers@googlegroups.com
Content-Type: multipart/alternative; boundary=002354790f7403946304c248c851
X-Gm-Message-State: ALoCoQkV7uNn1gEdUOsNY85t6QgRfCg75iinu+Svr+a6mPRK0sva/WnrFJRITfpacOB1lXnBqMb4
--002354790f7403946304c248c851
Content-Type: text/plain; charset=ISO-8859-1
Obvious this is not normal, since it works well in other applications. You
have not supplied *any* information about what you are doing that may be of
interest, so nobody can do anything but make wild guesses about what you
are doing. So here are some wild guesses:
- Don't launch it with FLAG_ACTIVITY_NEW_TASK.
- Don't use android:launchMode="singleInstance" in your manifest.
On Tue, Jun 12, 2012 at 7:36 AM, kadmos <kadmo...@gmail.com> wrote:
> Anyone know what could be done about this?
>
> Basically if the Play Store app is still running in the background - which
> is going to be the case for most users once they first download and install
> the app - after interaction with any in-app purchase-related dialog box the
> Play Store is brought back into focus and users must make there way back to
> the app to complete tasks. how can this be prevented?
>
> submitted a bug report here:
> http://code.google.com/p/android/issues/detail?id=32878
>
> Thanks
>
>
>
> --
> 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
--
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.
--002354790f7403946304c248c851
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Obvious this is not normal, since it works well in other applications. =A0Y=
ou have not supplied *any* information about what you are doing that may be=
of interest, so nobody can do anything but make wild guesses about what yo=
u are doing. =A0So here are some wild guesses:<div>
<br></div><div>- Don't launch it with FLAG_ACTIVITY_NEW_TASK.</div><div=
>- Don't use android:launchMode=3D"singleInstance" in your ma=
nifest.<br><br><div class=3D"gmail_quote">On Tue, Jun 12, 2012 at 7:36 AM, =
kadmos <span dir=3D"ltr"><<a href=3D"mailto:kadmo...@gmail.com" target=
=3D"_blank">kadmo...@gmail.com</a>></span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><span style=3D"font-family:verdana,geneva,lu=
cida,'lucida grande',arial,helvetica,sans-serif"><table cellpadding=
=3D"6" cellspacing=3D"0" border=3D"0" width=3D"100%" align=3D"center" style=
=3D"border-bottom-width:1px;border-top-style:solid;border-style:initial;bac=
kground-color:rgb(209,209,225);border-right-style:solid;margin-bottom:0px;b=
order-color:initial;border-bottom-color:rgb(11,25,140);border-top-width:1px=
;border-bottom-style:solid;margin-right:auto;border-left-color:rgb(11,25,14=
0);border-top-color:rgb(11,25,140);border-right-color:rgb(11,25,140);border=
-left-style:solid;margin-left:auto;border-right-width:1px;text-decoration:n=
one;margin-top:0px;border-left-width:1px;background-repeat:initial initial;=
background-image:initial">
<tbody style=3D"margin-top:0px;margin-bottom:0px;margin-left:auto;margin-ri=
ght:auto;text-decoration:none;border-top-width:0px;border-right-width:0px;b=
order-bottom-width:0px;border-left-width:0px;border-style:initial;border-co=
lor:initial"><tr valign=3D"top" style=3D"margin-top:0px;margin-bottom:0px;m=
argin-left:auto;margin-right:auto;text-decoration:none;border-top-width:0px=
;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;borde=
r-style:initial;border-color:initial">
<td style=3D"border-bottom-width:0px;font:normal normal normal 10pt/normal =
verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;ba=
ckground-color:rgb(245,245,255);border-style:initial;border-right-style:sol=
id;margin-bottom:0px;border-color:initial;border-top-width:0px;margin-right=
:auto;border-right-color:rgb(209,209,225);margin-left:auto;border-right-wid=
th:1px;text-decoration:none;margin-top:0px;border-left-width:0px;background=
-repeat:initial initial;background-image:initial">
<div style=3D"margin-top:0px;margin-bottom:0px;margin-left:auto;margin-righ=
t:auto;text-decoration:none;border-top-width:0px;border-right-width:0px;bor=
der-bottom-width:0px;border-left-width:0px;border-style:initial;border-colo=
r:initial">
Anyone know what could be done about this?=A0<br style=3D"margin-top:0px;ma=
rgin-bottom:0px;margin-left:auto;margin-right:auto;text-decoration:none;bor=
der-top-width:0px;border-right-width:0px;border-bottom-width:0px;border-lef=
t-width:0px;border-style:initial;border-color:initial">
<br style=3D"margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right=
:auto;text-decoration:none;border-top-width:0px;border-right-width:0px;bord=
er-bottom-width:0px;border-left-width:0px;border-style:initial;border-color=
:initial">
Basically if the Play Store app is still running in the background - which =
is going to be the case for most users once they first download and install=
the app - after interaction with any in-app purchase-related dialog box th=
e Play Store is brought back into focus and users must make there way back =
to the app to complete tasks. how can this be prevented?<br style=3D"margin=
-top:0px;margin-bottom:0px;margin-left:auto;margin-right:auto;text-decorati=
on:none;border-top-width:0px;border-right-width:0px;border-bottom-width:0px=
;border-left-width:0px;border-style:initial;border-color:initial">
<br style=3D"margin-top:0px;margin-bottom:0px;margin-left:auto;margin-right=
:auto;text-decoration:none;border-top-width:0px;border-right-width:0px;bord=
er-bottom-width:0px;border-left-width:0px;border-style:initial;border-color=
:initial">
</div></td></tr></tbody></table></span>submitted a bug report here:=A0<a hr=
ef=3D"http://code.google.com/p/android/issues/detail?id=3D32878" style=3D"m=
argin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-to=
p:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-widt=
h:0px;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;=
border-style:initial;border-color:initial;vertical-align:baseline;text-deco=
ration:none;color:rgb(17,85,204)" target=3D"_blank">http://code.google.com/=
p/android/issues/detail?id=3D32878</a><span style=3D"font-family:verdana,ge=
neva,lucida,'lucida grande',arial,helvetica,sans-serif"><table cell=
padding=3D"6" cellspacing=3D"0" border=3D"0" width=3D"100%" align=3D"center=
" style=3D"border-bottom-width:1px;border-top-style:solid;border-style:init=
ial;background-color:rgb(209,209,225);border-right-style:solid;margin-botto=
m:0px;border-color:initial;border-bottom-color:rgb(11,25,140);border-top-wi=
dth:1px;border-bottom-style:solid;margin-right:auto;border-left-color:rgb(1=
1,25,140);border-top-color:rgb(11,25,140);border-right-color:rgb(11,25,140)=
;border-left-style:solid;margin-left:auto;border-right-width:1px;text-decor=
ation:none;margin-top:0px;border-left-width:1px;background-repeat:initial i=
nitial;background-image:initial">
<tbody style=3D"margin-top:0px;margin-bottom:0px;margin-left:auto;margin-ri=
ght:auto;text-decoration:none;border-top-width:0px;border-right-width:0px;b=
order-bottom-width:0px;border-left-width:0px;border-style:initial;border-co=
lor:initial"><tr valign=3D"top" style=3D"margin-top:0px;margin-bottom:0px;m=
argin-left:auto;margin-right:auto;text-decoration:none;border-top-width:0px=
;border-right-width:0px;border-bottom-width:0px;border-left-width:0px;borde=
r-style:initial;border-color:initial">
<td style=3D"border-bottom-width:0px;font:normal normal normal 10pt/normal =
verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;ba=
ckground-color:rgb(245,245,255);border-style:initial;border-right-style:sol=
id;margin-bottom:0px;border-color:initial;border-top-width:0px;margin-right=
:auto;border-right-color:rgb(209,209,225);margin-left:auto;border-right-wid=
th:1px;text-decoration:none;margin-top:0px;border-left-width:0px;background=
-repeat:initial initial;background-image:initial">
<div style=3D"margin-top:0px;margin-bottom:0px;margin-left:auto;margin-righ=
t:auto;text-decoration:none;border-top-width:0px;border-right-width:0px;bor=
der-bottom-width:0px;border-left-width:0px;border-style:initial;border-colo=
r:initial">
<br></div></td></tr></tbody></table></span><span style=3D"font-family:verda=
na,geneva,lucida,'lucida grande',arial,helvetica,sans-serif"><table=
cellpadding=3D"6" cellspacing=3D"0" border=3D"0" width=3D"100%" align=3D"c=
enter" style=3D"border-bottom-width:1px;border-top-style:solid;border-style=
:initial;border-right-style:solid;border-bottom-style:solid;margin-right:au=
to;border-collapse:separate;border-right-color:rgb(11,25,140);border-right-=
width:1px;text-decoration:none;border-left-width:1px;background-image:initi=
al;padding-left:0px;padding-right:0px;padding-top:0px;background-color:rgb(=
209,209,225);margin-bottom:0px;border-color:initial;padding-bottom:0px;bord=
er-bottom-color:rgb(11,25,140);border-top-width:1px;vertical-align:baseline=
;border-left-color:rgb(11,25,140);border-top-color:rgb(11,25,140);border-le=
ft-style:solid;margin-left:auto;margin-top:0px">
<tbody style=3D"margin-top:0px;margin-right:auto;margin-bottom:0px;margin-l=
eft:auto;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:=
0px;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;bor=
der-left-width:0px;border-style:initial;border-color:initial;vertical-align=
:baseline;text-decoration:none;border-style:initial;border-color:initial"><=
tr valign=3D"top" style=3D"margin-top:0px;margin-right:auto;margin-bottom:0=
px;margin-left:auto;padding-top:0px;padding-right:0px;padding-bottom:0px;pa=
dding-left:0px;border-top-width:0px;border-right-width:0px;border-bottom-wi=
dth:0px;border-left-width:0px;border-style:initial;border-color:initial;ver=
tical-align:baseline;text-decoration:none;border-style:initial;border-color=
:initial">
<td style=3D"padding-right:0px;padding-left:0px;border-bottom-width:0px;pad=
ding-top:0px;text-align:left;font:normal normal normal 10pt/normal verdana,=
geneva,lucida,'lucida grande',arial,helvetica,sans-serif;background=
-color:rgb(245,245,255);border-style:initial;border-right-style:solid;borde=
r-color:initial;margin-bottom:0px;font-weight:normal;padding-bottom:0px;bor=
der-top-width:0px;vertical-align:baseline;margin-right:auto;border-right-co=
lor:rgb(209,209,225);margin-left:auto;border-right-width:1px;text-decoratio=
n:none;margin-top:0px;border-left-width:0px;background-image:initial">
<div style=3D"margin-top:0px;margin-right:auto;margin-bottom:0px;margin-lef=
t:auto;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0p=
x;border-top-width:0px;border-right-width:0px;border-bottom-width:0px;borde=
r-left-width:0px;border-style:initial;border-color:initial;vertical-align:b=
aseline;text-decoration:none;border-style:initial;border-color:initial">
Thanks</div><span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><=
/font></span></td></tr></tbody></table></span><span class=3D"HOEnZb"><font =
color=3D"#888888"><div><br></div><div><br></div>
<p></p>
-- <br>
You received this message because you are subscribed to the Google<br>
Groups "Android Developers" group.<br>
To post to this group, send email to <a href=3D"mailto:android-developers@g=
ooglegroups.com" target=3D"_blank">android-developers@googlegroups.com</a><=
br>
To unsubscribe from this group, send email to<br>
<a href=3D"mailto:android-developers%2Bunsubscribe@googlegroups.com" target=
=3D"_blank">android-developers+unsubscribe@googlegroups.com</a><br>
For more options, visit this group at<br>
<a href=3D"http://groups.google.com/group/android-developers?hl=3Den" targe=
t=3D"_blank">http://groups.google.com/group/android-developers?hl=3Den</a><=
/font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br=
>Dianne Hackborn<br>
Android framework engineer<br><a href=3D"mailto:hack...@android.com">hackbo=
d...@android.com</a><br><br>Note: please don't send private questions to m=
e, as I don't have time to provide private support, and so won't re=
ply to such e-mails.=A0 All such questions should be posted on public forum=
s, where I and others can see and answer them.<br>
<br>
</div>
--002354790f7403946304c248c851--