| Reply | « Previous Thread | Next Thread » |
|
Hi Experts
I am new in J2ME, and i made a midlet that read some value from file and write some value in to file but Security Exception comes , in NOKIA 3250, for this sign the midlet but how and where i don't know, please help me. Thanks Amit |
| aamitgupta |
| View Public Profile |
| Find all posts by aamitgupta |
|
Hello aamitgupta,
Quote:
(I'm guessing here, but if you're using PIM API (JSR-75) and you're trying to write to a PIM database which is opened as READ, this SecurityExeception will be thrown. Try using READ_WRITE instead.) Regards, r2j7 |
|
.. and check if you have declared your Midlet's required permission .
For example on sun wireless toolkit select project ->settings -> permissions. You have to add your midlet's requrementto write/read files. |
|
Thanks for reply, i did this process and but Security Exception is comes, and my another requirement is that i want mobile IMEI number, Sim identification number, network name, which is by S60 3rd Edition Feature Pack 2 , by System.getProperty(),
"com.nokia.mid.imei", "com.nokia.mid.imsi", "com.nokia.mid.networkid", "com.nokia.mid.networksignal", "com.nokia.mid.networkavailability", "com.nokia.mid.batterylevel", "com.nokia.mid.countrycode","com.nokia.mid.dateformat", "com.nokia.mid.timeformat" But these values are Null, because for this midlet is signed by certificate so i want certificate for nokia but i don't know how? Please help me How can i sign my midlet? Thanks and Regards Amit Gupta |
| aamitgupta |
| View Public Profile |
| Find all posts by aamitgupta |
|
most of the properties you want to access (like networkid, imsi, signal, etc.) are not available for MIDlets. It does not help even if you sign your MIDlet
IMEI should be accessible on (newer) S60 devices though. Hartti |
|
But on documentation mentioned that if midlet signed that will get the value on newer devices.
|
| aamitgupta |
| View Public Profile |
| Find all posts by aamitgupta |
|
Hmmm... sorry... My memory failed me a little (and things have changed a little since I last checked...).
IMSI requires manufacturer or operator signing. Others in the list should be available on S60 3rd Edition FP2 as you mentioned. However the SDK is still beta, so it might not work properly. http://www.forum.nokia.com/document/...rs_Library_v2/ and in more detail this http://www.forum.nokia.com/document/...C996A25D7.html Hartti |
|
Yes right, i read all the links , my problem is that i want manufacture certificate for nokia, i have motorola's cert. And i have not any link and help for getting certificate for nokia devices.
Thanks for reply Amit |
| aamitgupta |
| View Public Profile |
| Find all posts by aamitgupta |
|
Nokia signing requires that the MIDlet is developed by Nokia or Nokia branded. You will not get manufacturer signing for other MIDlets.
Hartti |
|
I am not getting
Nokia signing requires that the MIDlet is developed by Nokia or Nokia branded what is the mean i will not get certificate for midlet for nokia, why? thanks Amit |
| aamitgupta |
| View Public Profile |
| Find all posts by aamitgupta |
|
Quote:
BTW this is quite similar policy to what Sony Ericsson has "Manufacturer signing requires MIDlet to be Sony Ericsson owned or licensed" Hartti |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Opening connection to the secure element fails when restarting the midlet. | tfroidcoeur | Near Field Communication | 6 | 2007-08-24 09:38 |
| calling midlet from midlet throws SecurityException on 6600 | brianpegan | Mobile Java General | 2 | 2007-06-06 20:33 |
| 技术文档:MIDP 2.0安全机制 与 MIDlet 数字签名 | wotrust | Other Programming Discussion 关于其他编程技术的讨论 | 0 | 2006-12-30 08:42 |
| 'Response Unknown' when downloading midlet | Weevil | Mobile Java General | 3 | 2004-05-30 18:01 |
| How to create two instances of midlet | marquito99 | Mobile Java General | 0 | 2004-04-30 02:33 |