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.