Android Sygic Custom URL

Viewed 9

I follwed the sygic documentation here for getting a navigation on sygic app via intent but i am getting this error

enter image description here

here is my code

String country = "Germany";
            String city = "Bamberg";
            String postCode = "96047";
            String streetAddress = "Vorderer Graben";
            String houseNumber = "16";
            String type = "drive";
    
     String str = "com.sygic.aura://address|"+country+"|"+city+"|"+postCode+"|"+streetAddress+"|"+houseNumber+"|"+type;`
    //com.sygic.aura://address|Germany|Bamberg|96047|Vorderer Graben|16|drive
    startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(str)));
0 Answers
Related