Hi,
I am developing an app that includes a service "Sync" which talks between a desktop PC and the android device.
I need to be able to start my service (make it start running on my device) from the desktop PC using ADB.exe.
This is definately possible, because another commercial app "Android_Sync" uses the below command like to start their service on the phone:
"adb.exe" shell "am broadcast -a com.android_sync.service.STARTSERVICE -f 32"
My package name is "com.mycompanyname.myproductname", so I am doing this command line:
"adb.exe" shell "am broadcast -a com.mycompanyname.myproductname.sync.STARTSERVICE"
But, it appears this is NOT starting the service on my phone.
So, I am thinking that just because I am naming my service "Sync" within B4A, it may not be the actual full name that I need to use when using ADB to start the service.
Does anyone know how I can find out the full id/name I need to use to start my "sync" service using ADB?
I am developing an app that includes a service "Sync" which talks between a desktop PC and the android device.
I need to be able to start my service (make it start running on my device) from the desktop PC using ADB.exe.
This is definately possible, because another commercial app "Android_Sync" uses the below command like to start their service on the phone:
"adb.exe" shell "am broadcast -a com.android_sync.service.STARTSERVICE -f 32"
My package name is "com.mycompanyname.myproductname", so I am doing this command line:
"adb.exe" shell "am broadcast -a com.mycompanyname.myproductname.sync.STARTSERVICE"
But, it appears this is NOT starting the service on my phone.
So, I am thinking that just because I am naming my service "Sync" within B4A, it may not be the actual full name that I need to use when using ADB to start the service.
Does anyone know how I can find out the full id/name I need to use to start my "sync" service using ADB?