Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个需要用户电话号码的应用程序,因此我从用户的 j2me 应用程序调用服务器,并platformRequest("tel:" + number);为此目的在我的程序中使用。
platformRequest("tel:" + number);
但问题是我不知道如何中止呼叫,因为一分钟的响铃足以让服务器检索用户号码。
我想知道是否有任何取消呼叫的 API 或指令或一些技巧?例如,在 j2me 中是否可以通过编程方式按下 RED 按钮?
没有办法做到这一点,最好让您的服务器以某种方式终止呼叫。