On my Android 2.3.6, when I open a market intent with a utf-8 encoded 
referrer, it displays in LogCat:

Starting activity: Intent { act=android.intent.action.VIEW 
dat=http://market.android.com/details?id=com.myapp&referrer=test%3D1%26test2%3D2
 
cmp=com.android.vending/com.google.android.finsky.activities.MainActivity 
(has extras) } from pid 3044

But on 4.2.2 for the same market url, I see:

START u0 {act=android.intent.action.VIEW 
dat=http://market.android.com/details?id=com.myapp&referrer=test=1&test2=2 
cmp=com.android.vending/com.google.android.finsky.activities.MainActivity (has 
extras)} from pid 2474


This seems to break how the referrer gets passed to the BroadcastReceiver, as 
when I read onReceive for the com.android.vending.INSTALL_REFERRER intent:


String referrer = intent.getStringExtra("referrer");


The value of referrer is only "test=1".



-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to