是否可以从一个应用程序的代号调用其他移动应用程序 [英] Is it possible to invoke other mobile app from a code name one app

查看:61
本文介绍了是否可以从一个应用程序的代号调用其他移动应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想通过从代码名称移动应用程序传递位置详细信息来调用google maps应用程序。

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

推荐答案

在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).

这篇关于是否可以从一个应用程序的代号调用其他移动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆