如果更改 SIM 卡,请关闭诺基亚系列 40 手机
我只需要限制给定手机(诺基亚 2700)上的特定 SIM 卡,这样如果更改了 SIM 卡,该手机将无法使用。我正在考虑要么阻止SIM卡在网络上注册,要么使用一些后台应用程序来关闭手机或在SIM卡发生更改时阻止使用。
QT(新的)和JavaMe的建议都很好。
我该如何继续?
编辑1: 这个想法是为了防止手机用户更换 SIM 卡。如果更换 SIM 卡,手机将无法使用。为此,我需要一种方法来通知这一点,然后关闭手机或采取措施防止其被使用。
问候
I need to restrict only a particular sim on a given phone (nokia 2700) such that the phone is not usable if the sim is changed. I'm thinking of either preventing the sim from registering on the network or having some background app that will shutdown the phone or prevent usage if the sim is change.
QT (new to it) and JavaMe suggestions are both fine.
How do I proceed with this?
Edit1:
The idea is to prevent the user of the phone from changing the sim card. The phone should not work if the sim card is changed. For this, I need a way of notifying this and either shutting down the phone or doing something to prevent it from being used.
regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Series 40 手机不支持 Qt。它适用于基于 Symbian 和 MeeGo 的诺基亚手机。检查这个列表支持的型号。
为了实现这一点,您需要能够检测 SIM 卡并在必要时阻止手机运行。
在 Series 40 JavaME 上,有一些 system.properties,您可以使用它来检测当前的SIM卡。没有接收 SIM 卡更改的事件。某些属性仅限于制造商和运营商安全域。不幸的是,识别特定 SIM 卡的 com.nokia.mid.imsi 就是其中之一。但是,com.nokia.mid.networkid 不受限制,并且应该足以识别特定网络(如果这是您的目的)。
JavaME 没有办法阻止手机的使用(我想这就是 Java 安全性和沙箱的重点)。还有启动应用程序的能力。在启动时并保持其在后台运行仅限于制造商和运营商在 Series 40 手机上签名。
Qt is not supported on Series 40 phones. It is available for Symbian and MeeGo based Nokia phones. Check this list for supported models.
In order to achieve this you need to be able to detect a sim card and prevent phone from functioning if necessary.
On Series 40 JavaME, there are a few system.properties that you can use to detect the current sim card. There are no events for receiving the sim card change. Some of the properties are restricted to manufacturer and operator security domains. Unfortunately, com.nokia.mid.imsi which identifies a particular sim card is one of those. However com.nokia.mid.networkid is not restricted and should be sufficient to identify a particular network(If that is your purpose).
There is no JavaME way of blocking the use of the phone (I guess that is the point with Java security and sandboxing). Also the ability to start an app. at the boot and keep it running on the background is restricted to manufacturer and operator signing on Series 40 phones.
手机应该已经有这个功能了。
从手册(第 12 页):
我曾经有一部具有相同功能的索尼爱立信手机,它允许将访问代码保存在 SIM 卡上。除非更换 SIM 卡,否则手机不会要求输入访问代码。我希望您能在诺基亚手机的“安全”菜单中找到相同的功能。
The phone should have this function already.
From the manual (page 12):
I used to have a Sony-Ericsson phone that had the same function and it allowed the access code to be saved on the sim card. The phone would not ask for the access code unless the sim was changed. I hope you can find the same function in the Security menu on your Nokia phone.