2014-06-10 39 views
0

我有一个使用phonegap(科尔多瓦)使其成为移动应用程序的GWT应用程序。如何打开拨号器屏幕/使用GWT手机拨打电话

我想以本机方式拨打电话(无论是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:[email protected]?subject=something...&body=some.text..."
href="sms:555-5555?body=some.text..."
href="mailto:[email protected]?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

回答

0

做出phonecall /打开拨号器Make a phone call programatically using Libgdx

看看这个答案对你有好处。

我正在使用libgdx,我试图使应用程序使用android和iOS做电话调用。但是,如果在Android中使用本机进行此操作很简单,另一方面,我无法找到一种方法在不使用目标c的情况下为java中的iOS执行相同的操作。