开发者

How to launch short codes on mobile device?

Nokia has a long list of short codes on Symbian that can be applied to on-device data, such as

*#0000# - to check the phones software revision type,

*#7780# - to restore factory settings,

etc (the list is long)

If given a short code, how can I launch it? The program should not be aware of the functionality of the short code, it should just execute it. 开发者_运维百科I am particularly interested in device short codes (not operator USSD codes). How does the native dialer do that?

Can you please provide a code example in C++ for S60 3rd or 5th edition?

Thank you.


I don't think there is a generic way to do this.

From a pure Platform Security perspective, I expect only the phone manufacturer or operator to be able to give your application the capability to restore the handset factory settings.

As for the other short codes, your best bet is to find a single Symbian OS C++ API that matches one single code.

For example, firmware version can be obtained via SysUtil::GetSWVersion

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜