The README for the market billing sample states:
In-app billing requires version 2.3.0 of the Android Market application. To run the sample application you must have this version (or a newer version) installed on your device. You can check the version of the Android Market application by doing the following:
- Open Settings on your device and touch Applications.
- In Application Settings, touch Manage applications.
- Touch All to list all applications.
- Scroll down and touch the Market application.
- The version number appears under Market at the top of the screen.
Well, I did just that and discovered that my Market version is very old: 1.82
I thought it would update itself automatically (as described here), but for some strange reason it never did, and I can't find a way to do this manually.
I suspect this has to do with the fact that My Android 2.2.1 is a CyanogenMod-6.1.0-N1
.
Any idea how to update the Market application in my phone?
Update: I just discovered this thread, which allows me to report success in upgrading to version 2.2.7. Here is what I did:
- Downloaded the Vending-2.2.7-signed-testkeys.update.zip file
- Copied the Vending.apk inside it to the sdcard
- Downloaded ZipSigner 2 (from the Market)
- Selected the new Vending.apk as input, and specified signed-vending.apk as output.
- Selected "platform" as key/mode
- Signed the file (success).
- Ran the resulting signed-vending.apk from File Manager.
Wow! That is some progress. I believe the way from here to 2.3.0 would be easier.