Waze location shortcut

General discussions about Automagic and automation in general

Moderator: Martin

Post Reply
viorel.rusu
Posts: 19
Joined: 20 Jul 2016 09:32

Waze location shortcut

Post by viorel.rusu » 24 Dec 2018 06:56

Hi,
There is any way to implement something like a waze location shortcut (working with favorites, for example)?
I made something with CONTROL UI, but sometimes are delays, etc... and doesn't work all the time because more loops and waits are needed...
Any help?
Thank you

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Waze location shortcut

Post by Desmanto » 24 Dec 2018 17:12

Try the google maps example at the action Start Activity, choose examples : Google Maps with coordinate, but change the packagename to waze.
Action : android.intent.action.VIEW
Data URI : geo:48.858231,2.294462?z=13
Explicit Component : check
Package Name : com.waze

Don't know if it will work. But I assume it will, since both are maps app.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

anuraag
Posts: 371
Joined: 24 Jan 2015 02:06

Re: Waze location shortcut

Post by anuraag » 25 Dec 2018 00:11

For control ui part look this topic. Desmanto given examples.
http://automagic4android.com/forum/view ... f=5&t=7704

Code: Select all

loop = 0;
while(!existsElementById(______) AND loop < 10)
{
  sleep(1000);
  loop = loop + 1;
}

viorel.rusu
Posts: 19
Joined: 20 Jul 2016 09:32

Re: Waze location shortcut

Post by viorel.rusu » 01 Jan 2019 13:20

Desmanto wrote:Try the google maps example at the action Start Activity, choose examples : Google Maps with coordinate, but change the packagename to waze.
Action : android.intent.action.VIEW
Data URI : geo:48.858231,2.294462?z=13
Explicit Component : check
Package Name : com.waze

Don't know if it will work. But I assume it will, since both are maps app.
Thank you, sometimes it's working, sometimes it just open Waze...

Post Reply