Frage

Background: I have an application with an alternate entry point. It listenes for SMS and Email sent events. The application get launched normally from the 'Download' folder (by user) and also when an SMS or Email is sent (upon user confirmation). When the application is launching, I have to pull out some flags from persistent storage to make some decisions. The application is signed properly by RIM provided keys. It is also signed by a key using signing authority tool to make the persistent storage isolated for this application.

Problem: When launching normally from the menu, the data from persistent storage can be pulled out without any problem. But when launching from the alternate entry point (from SMS and Email sent event), the persistent storage is not accessible and the ControlledAccess exception is shown. Note that, I tried allowing all kinds of permissions for the applicaiton.

Possible Reason: Although the application .cod file is properly signed by the key, it is being considered not signed when launching from alternate entry point. Thus the access to the persistent storage is not allowed.

I am looking for a solution or any suggestion that might help me troubleshoot the problem. Otherwise, I will have to drop off the feature of isolated persistent storage which I really don't want to.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top