How can I get list of few top android market apps through code
I am wondering how can I get list of top android apps package names from mark开发者_运维百科et through java code?
Any suggestions?
As far as I know the market does not have an API you can call to get this stuff. It is closed source and Google wants people in the market to see this data.
You could try page scraping but I am sure that is against some ToS somewhere, and will break very easily.
Actually take a look at the URL
of the applications in Android Market : https://market.android.com/details?id=com.rovio.angrybirds&feature=top-free
- the package name of the application is the package name=com.rovio.angrybirds
or https://market.android.com/details?id=com.gameloft.android.ANMP.GloftBPHM.ML&feature=top-paid
- package name=com.gameloft.android.ANMP.GloftBPHM.ML
That should be the answer if I understand your question correct.
精彩评论