Geo Intent handling - any news? (aka sideload app address selection for navigation)
So i asked this a while ago, but no reply then, and no answer to a query on twitter either.
I can see that navigation by address isn't on the priority list, but it would be easy to write a sideload app that sent a geo intent that could be handled by the very same code you have that does navigation to a point already.
Currently sending an Intent like this:
Intent(Intent.ACTION_VIEW, Uri.parse("geo: $lat,$lon?q=$lat,$lon"))
will crash the app with:
android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=geo: 51.502082798264766,-0.14002281555219895?q=51.502082798264766,-0.14002281555219895 }
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1944)
which is the normal way to handle such things
If you could handle the Intent, by launching the correct routing activity - which I'm sure already exists, then we could add address navigation to the Karoo 2 really easily.
Please ask the developers about this, it would be pretty straightforward to write an Intent Handler.
Thanks
Please sign in to leave a comment.
Comments
0 comments