权限j2me应用程序,去掉提示
我有一个诺基亚 2660 的签名应用程序。
该应用程序进行 HTTP 连接,当应用程序打开时,设备会提示一条消息,请求用户许可。
用户可以在打开应用程序之前进行配置,以使该提示永远不会出现。
这很好用。
当安装应用程序的新版本时,用户所做的配置将丢失,他必须重新进行配置。
有没有办法避免重新配置应用程序?
有什么建议吗?你知道有什么解决方法吗?
I have a signed application for Nokia 2660.
This application makes HTTP connections and when the application is opened the device prompts a message asking for user permission.
The user can previously opening the application make a configuration so that this prompt never appear.
This works fine.
When a new version of the application is installed this configuration made by the user is lost and he has to make it again.
Is there a way to avoid re-configuring the application?
Any suggestions? Do you know any workaround?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我能想到的一件事是将此配置保存在服务器上,并使用“配置选项”标志发送应用程序。首次下载或覆盖现有应用程序时,应用程序启动并发现此“配置选项”标志未设置,检查服务器配置是否保存在那里,如果是,则下载并保存到 rms 。否则,系统会提示用户创建配置,然后将其保存到 rms 和服务器。
“配置选项”标志可以像保存到 rms 的唯一字符串一样简单。
One thing I can think of is to save this configuration on server, and ship the app with a "config option" flag. On first download or an overwrite of the existing application, the app starts and sees that this "config option" flag is not set, checks with the server if the configuration is saved there, if it is, then it is downloaded and saved to rms. Else the user is prompted to create a configuration, which is then saved to rms and server.
The "config option" flag can be as simple as say a unique string saved to rms.