1

I want to invoke google maps app by passing it location details from a code nameone mobile app. Is it possible?

unfitgeek
  • 47
  • 5

1 Answers1

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