Method for Android application to automatically jump to application market details page

preface

As we all know, there may be needs in the Android application development process, such as jumping to the application market to download applications, jumping to the application market to score their own applications, and jumping to the application market to update their own applications.

How to jump to the application market?

We all know the possible jump methods. The methods are as follows:

This method supports mainstream application markets such as app treasure, 360 mobile assistant, pea pod and Xiaomi store. When multiple application markets are installed on the mobile phone, a menu will pop up to let users choose which market to transfer to. So, here's the question. If it's so simple, how can there be this article?

When testing on Hongmi Note2, it is found that calling this method is directly transferred to Xiaomi market by default. What if you want to jump to app treasure or other application markets on Xiaomi mobile phone? There are naturally some methods, as follows:

It seems to be no different from the first method. Yes, you only need to call gotomarket. Setclassname() method to set the specified application to handle this intent event, so that you can jump to the application details page of APP treasure on Xiaomi mobile phone. Moreover, if multiple application markets are installed on the mobile phone, the previous method will pop up a menu for users to choose, If you have determined which application market to jump to, you can also use this method to jump directly, eliminating the link selected by intermediate users.

However, the idea of the above method does not seem to be effective for all application markets. One day, the product manager proposed to jump to Samsung's application market. After all, Samsung's mobile phone still ranks among the top in China. Using the above method, I found that the Samsung market does not support this method. No wonder Samsung's mobile phone is losing ground in the domestic market.

However, with my efforts, I finally found the following methods:

However, it was later found that LETV's application market does not support gotomarket () method on LETV's mobile phone, so we specially investigated the method of jumping to LETV's application market, as follows:

summary

Well, the above is the whole content of this article. The above methods hope to help people in need. If you have any questions, you can leave a message.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>