Tasker

Anton Tananaev 9 years ago

There must be a way to use shortcuts directly.

MikeH 9 years ago

There is and I've got that down now. But for some reason I can't seem to get the bool passed correctly

Anton Tananaev 9 years ago

No, you haven't. You are not using shortcut as far as I can see.

MikeH 9 years ago

Sorry I meant that I should be calling ShortcutActivity now. As for running the created shortcuts they don't register as applications with Android and are not in the list to choose from. The closest I can get is Traccar Client:ShortcutActivity

Anton Tananaev 9 years ago

Looks like it's not possible:

http://android.stackexchange.com/questions/52787/launch-a-shortcut-in-tasker

But how do you pass the flag? Where is the key and how do you tell it that it's a boolean?

MikeH 9 years ago

As far as I can tell this should work.

Anton Tananaev 9 years ago

Where does it say that it's a boolean? I don't think it's going to work like this.

MikeH 9 years ago

The format itself should understand that it's boolean from what I read.

Anton Tananaev 9 years ago

Where did you read it? I seriously doubt it because how would it distinguish between "true" string and "true" boolean? It's ambiguous.

MikeH 9 years ago

http://tasker.dinglisch.net/userguide/en/intents.html

However I may have misinterpreted it.

Anton Tananaev 9 years ago

Looks like you are right, it should work. Maybe you need full class name of the activity?

MikeH 9 years ago

Maybe, what's the full name? Sorry if it's an obvious answer, Android programming really isn't my thing. Also I will be a few minutes before I can test again

Anton Tananaev 9 years ago

Full name is org.traccar.client.ShortcutActivity

MikeH 9 years ago

ShortcutActivity I chose off a list
So that should be fine

Anton Tananaev 9 years ago

Then it should be fine. I don't have any other ideas.