Sunday, December 16, 2012

[android-developers] Bug in Google Play store app - it often closes itself after being launched by third-party app

There is a bug in the Google Play store app, but I wasn't sure where
to report it.

You have a third-party app that launches the Google Play app. The
Google Play app opens, but often it's only for about 5-10 seconds and
then it closes itself, to return back to the calling app. It's kind of
odd and annoying.

Then if you launch the Google Play app again in the same way, it will
stay inside Google Play as normal. The bug only happens on the first
occasion.

It happens when launching a specific page, like this:

Uri gmailApp = Uri.parse("market://details?id=com.google.android.gm");
Intent googlePlayIntent = new Intent(Intent.ACTION_VIEW, gmailApp);
startActivity(googlePlayIntent);

Or when launching a search results page like this:

Uri googleAppsSearch = Uri.parse("market://search?q=Google");
Intent androidMarketIntent = new Intent(Intent.ACTION_VIEW,
googleAppsSearch);
startActivity(androidMarketIntent);

It even happens for AdMob adverts that launch a specific page on the
Google Play store.

It happens on various HTC handsets: HTC Desire, HTC One X, HTC One S.

P.S. General guidelines for opening the Google Play app:
http://developer.android.com/distribute/googleplay/promote/linking.html#android-app

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

No comments:

Post a Comment