Need help with calling a specific service

micnet

New member
I have search the forums but have not had any success finding a suitable method to call a specific service. I already have a macro that turns on the hotspot when the phone is connected to sync. To that I want to add the start of this specific service: com.meowsbox.btgps.intent.action.SERVICE_START_BT

I have downloaded and tried using a shortcut tool but have not yet found a way to create a shortcut to a specific service.

Any help will be greatly appreciated
 

MacroDroidDev

Administrator
Staff member
Send Intent action is likely the only way but only if the service is allowed to be started by external applications. I don't know anything about this particular service so can't comment if it's likely to work.
 

micnet

New member
Send Intent action is likely the only way but only if the service is allowed to be started by external applications. I don't know anything about this particular service so can't comment if it's likely to work.
Thank you for your reply. Yes, it can be called externally. I just don't understand how to create a "Send Intent" in Macro Droid
 

micnet

New member
Thank you. Now that I have this screen up, I do not understand how to translate "com.meowsbox.btgps.intent.action.SERVICE_START_BT" into the headings Action, Package, Class, etc.. I'm not wanting to become a macro wizard. I just need to figure out how to make this work so I can use my phone as a gps 'antenna' for my laptop when I'm in the field without having to launch it and close it manually. The macro I have to start and stop my hotspot is working and I want to piggyback off of this.

This from the app developer's docs:

Broadcast Intents
Third-party apps like Tasker, Locale, and others can be used to externally control Bluetooth GPS Output. External control is for advanced users and limited technical support is available.

com.meowsbox.btgps.intent.action.SERVICE_START
Start the Bluetooth GPS output service

com.meowsbox.btgps.intent.action.SERVICE_START_BT
Start the Bluetooth GPS output service, with Bluetooth visible

com.meowsbox.btgps.intent.action.SERVICE_STOP
Stop the Bluetooth GPS output service.
 

Dm114

Well-known member
Thank you. Now that I have this screen up, I do not understand how to translate "com.meowsbox.btgps.intent.action.SERVICE_START_BT" into the headings Action, Package, Class, etc.. I'm not wanting to become a macro wizard. I just need to figure out how to make this work so I can use my phone as a gps 'antenna' for my laptop when I'm in the field without having to launch it and close it manually. The macro I have to start and stop my hotspot is working and I want to piggyback off of this.

This from the app developer's docs:

Broadcast Intents
Third-party apps like Tasker, Locale, and others can be used to externally control Bluetooth GPS Output. External control is for advanced users and limited technical support is available.

com.meowsbox.btgps.intent.action.SERVICE_START
Start the Bluetooth GPS output service

com.meowsbox.btgps.intent.action.SERVICE_START_BT
Start the Bluetooth GPS output service, with Bluetooth visible

com.meowsbox.btgps.intent.action.SERVICE_STOP
Stop the Bluetooth GPS output service.
You should copy/paste the action you want to perform (from com.meowsbox up to SERVICE... according to the selected service) in the field 'Action' and enter the name of the package in the field 'Package' (it will probably begin by 'com.meoswbox')

It should work! 🤞
 

micnet

New member
I am certainly getting somewhere. It is not throwing an error but nothing is happening and there is no information in the log.
 

micnet

New member
Thank you. Obviously I did not understand previously. Now I'm just trying to find out what the package name is. I've submitted a request with the app's developer. Thank you again
 

micnet

New member
After a little research I found the package name which is in the start of the action line. However I am not receiving an error but nothing is getting logged either.
 

Attachments

  • Screenshot_20210827-213027_MacroDroid.jpg
    Screenshot_20210827-213027_MacroDroid.jpg
    294.4 KB · Views: 6

Dm114

Well-known member
What should happen? Are you sure your BT connection is on?
Is the behavior the same with the 3 different intents? Are you sure they don't need some additional data in the other fields of the command?

Can't you have some more explanations from your app dev?
 
Top