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 应用程序中,我试图通过网络获取一些数据,但如果连接可用,我想静默进行。我知道用户设置可用于提示/不提示 IAP 选择对话框,但我希望即使用户选择了“先询问”,也可以在我的应用程序中静默发出请求。
s40平台中是否有一些API可以实现这一点?
这是关于 MIDP 安全性而不是 API。当前的安全策略默认要求提示网络访问。如果您的应用程序是制造商或运营商签名的,则可以绕过它们。