ActivityStarter and google directions uses wrong data

i’ve got a problem with my app.
I’m trying to create an url for google maps and open google maps using ActivityStarter. When I call activitystarter.StartAction the app opens google maps but without the directions written in the url. The generated url is correct and it works if I copy the url right into the Data.uri-Block. But getting the generated url from global variable does not work. Where is the problem?
Thanks for helping me!

Tested a simple origin and destination in a variable and it worked OK in Google Chrome and in the webviewer on my phone.

You probably need to check the construction of your url.
Simplify it until it works, then develop on from there.