views:

74

answers:

3

I've got an app which I would like to distribute through the market place and also from my own site. How do I, using only one build and one key, check to see if the app was downloaded from the market place or not?

This question is answered by having the code signed with different keys, but we ideally want a single build.

A: 

I don't know if this really correlates or not, but if you can read /data/system/packages.xml market apps seem to have installer="com.google.android.feedback" while those bundled with the system build and those locally compiled do not.

Chris Stratton
A: 

On my Android 1.5 handset only applications installed via Market are listed in "My downloads" in Market App, so the question is if you can retrieve that list in runtime. I don't know if it's the same with Android 2.x.

delirus
A: 

It seems that this can't be done.

Martyn