Apply links from Android Market

Source: Internet
Author: User

The Android app will be uploaded to the app market, and what should we do if we want to find the app that you want directly into Android marketplace? There must be some way to do this, but only if you know the package name or the developer name or the keyword you are applying. Of course, if you know the app's package name, the application is the most accurate! Below are the following:

1, find the application by package name:

Uri uri = uri.parse ("Market://details?id=com.ldm.demo");//Where Com.ldm.demo is the package name you want to find, corresponding format:market://details?id= < app package name >
Intent Intent = new Intent (Intent.action_view, URI);
Intent.addflags (Intent.flag_activity_new_task);
StartActivity (intent);//start-up will go directly to the application city in the application you are looking for the details of the introduction page

2, according to the developer to find the corresponding application:

Uri uri = Uri.parse ("market://search?q=pub:publisher");//Publisher is the developer name of the app you're looking for, format:market:// search?q=pub:< developer Name >
Intent Intent = new Intent (Intent.action_view, URI);
Intent.addflags (Intent.flag_activity_new_task);
StartActivity (intent);//Find all applications that correspond to the developer

3. Search for Apps by keyword:

                  URI uri = Uri.parse (" market://search?q=keyword ");// keyword is the keyword you're looking for, corresponding format:market://search?q=< keywords;

Intent Intent = new Intent (Intent.action_view, URI);
Intent.addflags (Intent.flag_activity_new_task);
StartActivity (intent);//find the corresponding keyword application


Apply links from Android Market

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.