如何在J2ME MIDLET中激活呼叫 [英] How to Activate a call in J2ME MIDLET

查看:102
本文介绍了如何在J2ME MIDLET中激活呼叫的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在J2ME中激活呼叫?
例如.单击图标后,它应调用预定义的编号.

How to activite a call in J2ME ?
eg. On click of an icon, it should make a call to a predefined no.

推荐答案

简短答案:您不能.

稍长的答案:J2ME安全模型不允许Midlet访问设备的电话功能. J2ME支持的唯一的网络连接是TCP/IP.请参阅任何有关J2ME的好书,或者,如果您想头痛的话,请参阅JSR.

干杯,
彼得

如果您认为这是一个很好的答案,请投票并接受它.
Short answer: You can''t.

Slightly longer answer: The J2ME security model does not allow Midlets to access the telephony functions of the device. The only over-the-network connectivity supported in J2ME is TCP/IP. See any good book on J2ME, or, if you want a headache, the JSRs.

Cheers,
Peter

If you think this is a good answer, vote and accept it.


我找到了解决方法.
平台调用服务中有一种方法(platformRequest(url)),用于启动对预定义号码的呼叫.
i got the solution.
There is a method in platform invoking services (platformRequest(url)) which is used to initiate a call for a predefined number.


这篇关于如何在J2ME MIDLET中激活呼叫的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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