Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an intent to launch Android Market to "My Apps" page?

Like the title says. Is there an intent to launch android market to the "My Apps" page? I have a dialog that displays if the app is out of date. I'd like to put a button on the dialog that leads directly to the "My Apps" page so the user can download the update.

Edit: For clarity, I'm not talking about the details page for my app. I'm talking about the "My Apps" section of the Android Market application.

like image 450
howettl Avatar asked Dec 20 '25 06:12

howettl


2 Answers

See this: http://developer.android.com/guide/publishing/publishing.html#marketintent for everything you want to know.

EDIT: try this. Do note that this might change if the Market app is updated to use a different activity.

Intent i = new Intent("android.intent.action.VIEW");
            i.setComponent(new ComponentName("com.android.vending","com.android.vending.MyDownloadsActivity"));
            i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            startActivity(i);
like image 140
Femi Avatar answered Dec 22 '25 20:12

Femi


This solution has been working for me flawlessly across many Gplay versions so far. Here's a summary:

Intent intent = new Intent("com.google.android.finsky.VIEW_MY_DOWNLOADS");
intent.setClassName("com.android.vending", "com.google.android.finsky.activities.MainActivity");
startActivity(intent);
like image 26
ravilov Avatar answered Dec 22 '25 19:12

ravilov



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!