01-11-2013 01:04 AM - edited 01-11-2013 01:06 AM
I am developing one app where i am trying to access PIM contacts . it works properly on simulator, but when i installed it on device with signed build it show me error "Module attempts to access a secure API" on run time .
01-11-2013 03:07 AM
01-11-2013 04:15 AM - edited 01-11-2013 04:16 AM
I never say never but every time in the past people have said that the app is signed (and by implication, the device is wrong) have always come back after checking to find that the cod on the device is not the one they thought it was or it was not signed completely.
Check on device, look in Options --> Device --> Application Management, then use the menu to select Modules and from there click on all the modules in your application and make sure the signer ids specified are RBB, RCR and RRT. Instructions for OS 5.0 and earlier are a little different, try Options-->Advanced-->Applications to get to the list of apps.
01-11-2013 04:50 AM
i checked on device signer id is not present.
but if i sign application it shows "Signing completed:2 files signed"
but in other application signin it shows "Signing completed:3 files signed"
how can i solved it?
01-11-2013 05:43 AM
I don't think the number of files signed is actually relevant. That depends on the size of the application.
If the module on device shows nothing signed, then you probably did not install the same module that you signed using the signing tool.
01-11-2013 07:20 AM
I actually don't sign my apps using Eclipse. I am an old JDE user and with the JDE, it was possible to split out the signing jar and associated files and execute the signing tool independently, which is what I still do. Unfortunately the tool does not work without signing keys so it is not something that one can give away.
If you search for signing tool you will find a few hits that describe this.
I have never tried this:
01-11-2013 07:53 AM