【问题标题】:How to open dialer screen/make a phone call using GWT phonegap如何使用 GWT phonegap 打开拨号屏幕/拨打电话
【发布时间】:2014-06-10 20:05:40
【问题描述】:

我有一个 GWT 应用程序,它使用 phonegap (Cordova) 使其成为移动应用程序。

我想以原生方式(无论是 Android 还是 iOS)拨打电话,我该如何使用 GWT API 进行此操作。 http://www.openlogic.com/wazi/bid/313383/Using-GWT-and-PhoneGap-for-complex-mobile-applications 似乎给出了一些指示,但似乎太复杂而无法理解

该链接中的有用信息是

Access basic functions through special URIs URI scheme Meaning href="tel:555-5555" href="mailto:someone@somewhere?subject=something...&body=some.text..."
href="sms:555-5555?body=some.text..."
href="mailto:someone@somewhere?subject=something...&body=some.text..." **Meaning** Open the dialer application to call the given phone number. Open the SMS application to send an SMS with the given body text to the provided phone number. Open the email application to write a message to the provided email account with the given subject and body. There are more options, such as sending cc or bcc copies. In the sample application, I added a couple of hyperlinks to show how to call someone or how to send an SMS. Of course, by using GWT DOM manipulation methods, you could set up the URIs dynamically, instead of hardcoding them as I did in the sample.

谁能告诉我如何使用 GWT 拨打电话/打开拨号器

【问题讨论】:

    标签: java gwt cordova phone-call


    【解决方案1】:

    Make a phone call programatically using Libgdx

    看看这个答案是否适合你。

    我正在使用 libgdx,我正在尝试使该应用程序能够同时使用 android 和 iOS 进行电话呼叫。但是,如果在 Android 中使用本机执行此操作很简单,另一方面,如果不使用目标 c,我无法找到在 java 中对 iOS 执行相同操作的方法。

    【讨论】:

      猜你喜欢
      • 2018-03-09
      • 2014-09-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多