Android Market Referrer Data Not Being Populated
I've implemented a BroadcastReceiver to receive and parse Android Market referrer data. I followed the steps here: http://code.google.com/mobile/analytics/docs/android/#android-market-tracking and this all works fine and dandy when I navigate to the referring link on my actual device, but when I navigate to the same referral link and choose to send the app to my device the referral data does not get sent.
Has anyone come across this issue before? Is the market referral data only available when accessing the referral link on the actual 开发者_如何学JAVAdevice? Seems like I might be missing something...
EDIT: In case someone was wondering, I've found it not possible to retrieve referrer data this way. Installing an app using the market app on your phone is the only way the INSTALL_REFERRER intent action will be thrown.
Installing an app using the market app on your device is the only way the referrer parameter will be passed and the INSTALL_REFERRER intent action will be thrown. Does not get passed if sending app from computer to mobile device.
精彩评论