android - adb broadcast with intent -


i'm setup campain measurement testting

my pakage :

com.example.proj 

and reciver :

com.example.proj.reciver.mreciver 

cmd:

 adb shell broadcast -a com.android.vending.install_referrer -n com.example.proj/com.example.proj.reciver.mreciver --es  "referrer" 'utm_source=testsource&utm_medium=testmedium&utm_term=testterm&utm_content=testcontent&utm_campaign=testcampaign' 

i not work , if replace & character , it's ok . i'm missing? sorry bad english

edit: have put 2 line :

adb shell

then

am broadcast -a com.android.vending.install_referrer -n com.example.proj/com.example.proj.reciver.mreciver --es "referrer" "utm_source=testsource&utm_medium=testmedium&utm_term=testterm&utm_content=testcontent&utm_campaign=testcampaign"

thanks.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -