I want to invoke google maps app by passing it location details from a code nameone mobile app. Is it possible?
Asked
Active
Viewed 167 times
1 Answers
2
In Android here is the way to open any other app How to call one android application from another android application
Now in codename one you can use native interface to make native call http://www.codenameone.com/blog/native-interface.html
you can uses this CN1 native interface with iPhone as well but you have to write iOS code for that
You can invoke a 3rd party app from Codename One in all OS's using the Display.execute(String) call, this is described here.
For maps there is a better approach though. You can use Display.isOpenNativeNavigationAppSupported() & Display.openNativeNavigationApp(double latitude, double longitude).

Community
- 1
- 1

akash kubavat
- 847
- 6
- 17
-
1FYI added some additional ways to implement that – Shai Almog Feb 02 '16 at 03:45
-
Thanks Akash & Shai for your help! – unfitgeek Feb 04 '16 at 17:29