Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fetch Android Market data when there is no API?

Tags:

java

android

As far as I can tell, there is no API (official or unofficial) to access information about Apps on the Android Market (info such as Title, Icon, Description, Downloads, Comments, etc..) However, there are a few websites that have managed to compile this information anyway.

My question is: How is this being done?

A couple of guesses.

  • Manually (not likely, due to volume)
  • Implemented the protocol used by the official app (by decompiling or observing packets)
  • Running some kind of debugger with the official app to extract the live data
  • Using some kind of automation + screen shots + text recognition (seems complicated)
  • Modifying the (open) source to write a log file

I'm just curious how this was done because I sure can't figure it out. Thanks.

like image 300
allclaws Avatar asked Aug 20 '09 19:08

allclaws


People also ask

How do I transfer data from one app to another Android?

Android uses the action ACTION_SEND to send data from one activity to another, even across process boundaries. You need to specify the data and its type. The system automatically identifies the compatible activities that can receive the data and displays them to the user.

Which package helps to exchange data between two applications?

Although you can design your own system for doing data transfers in your app, you should consider using Android's sync adapter framework. This framework helps manage and automate data transfers, and coordinates synchronization operations across different apps.

How a service can share the data with other components in Android?

Since global variables are not a thing in Sketchware, there are two ways we can share data between Activities: Sharing data using File Component. Passing value to another activity using Intent Component.


1 Answers

There is a Java project on Google code which attempts to build an open source api for the market: http://code.google.com/p/android-market-api/

There're also some JRuby bindings for it: http://github.com/jberkel/supermarket.

However they both require a Google/Market account, and the API is only partially implemented (searching, comments and images at the moment). Also, the reconstructed protocol buffer descriptor (market.proto) could be used to generate bindings for languages other than Java.

like image 67
Jan Berkel Avatar answered Oct 09 '22 02:10

Jan Berkel