且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否可以从一个应用程序的代号调用其他移动应用程序

更新时间:2022-06-22 02:47:52

在Android中,这是打开任何其他应用程序的方法
如何从另一个Android应用程序调用一个Android应用程序

In Android here is the way to open any other app How to call one android application from another android application

现在在代号1中,您可以使用本机接口进行本机呼叫
http://www.codenameone.com/blog/native-interface.html

Now in codename one you can use native interface to make native call http://www.codenameone.com/blog/native-interface.html

您可以使用此CN1本机也可以与iPhone进行交互,但是您必须为此编写iOS代码

you can uses this CN1 native interface with iPhone as well but you have to write iOS code for that

您可以在所有操作系统中使用 Display.execute(String)调用,描述此处

You can invoke a 3rd party app from Codename One in all OS's using the Display.execute(String) call, this is described here.

对于地图,有一种更好的方法。您可以使用 Display.isOpenNativeNavigationAppSupported() & Display.openNativeNavigationApp(双纬度,双经度)

For maps there is a better approach though. You can use Display.isOpenNativeNavigationAppSupported() & Display.openNativeNavigationApp(double latitude, double longitude).