android - how can i point the shell go execute an activity that is stored in an rList? -


i trying lauch application in android terminal emulator (on device) command work.

am start -n com.hcg.cok.gp/com.hcg.cok.gp.com.clash.of.kings.empireactivity 

the problem having developer decided nest activity in rlist, took forever find stupid thing after changing directories enough times , using the

ls  ls -a 

commands enough times found dumb thing in directory planted this

/data/data/com.hcg.cok.gp/files/rlist-com.clash.of.kings.empireactivity 

is there way

am start -n 

command call dumb thing

i have tried

am start -n /data/data/com.hcg.cok.gp/com.hcg.com.gp/files/rlist-com.clash.of.kings.empireactivity 

but terminal still gives me error:

error type 3 error: activity class {/data/data/com.hcg.cok.gp/com.hcg.com.gp/files/rlist-com.clash.of.kings.empireactivity} not exist. 

the package name of empireactivity com.clash.of.kings, correct intent is:

am start -n com.hcg.cok.gp/com.clash.of.kings.empireactivity 

Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -