Tasker

Anton Tananaev8 years ago

There must be a way to use shortcuts directly.

MikeH8 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 Tananaev8 years ago

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

MikeH8 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 Tananaev8 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?

MikeH8 years ago

As far as I can tell this should work.

Anton Tananaev8 years ago

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

MikeH8 years ago

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

Anton Tananaev8 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.

MikeH8 years ago

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

However I may have misinterpreted it.

Anton Tananaev8 years ago

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

MikeH8 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 Tananaev8 years ago

Full name is org.traccar.client.ShortcutActivity

MikeH8 years ago

ShortcutActivity I chose off a list
So that should be fine

Anton Tananaev8 years ago

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