02-02-2012 10:18 AM
I am developing an application for Blackberry playbook in action script. I have signed the application (Release build) and deployed it on the device but the device pin is showing null. When i run the app directly from flash builder it is showing correctly.
I have added the permissions to configuration file, it is showing the device pin but after it is signed for release it shows null.
Please let me know why it is happening.
Solved! Go to Solution.
02-02-2012 10:25 AM
The device doesn't actually read the configuration file to find those permissions, so you have to check the actual place where it looks.
Extract your .bar file contents and look in META-INF/MANIFEST.MF.
Look for the row that starts with "Entry-Point-User-Actions:" and make sure the read_device_identifying_information permission appears there.
If it doesn't, that explains your symptoms. Now you just need to find the source of the problem, which is that your config file contents aren't being used properly during packaging.
02-02-2012 10:27 AM
02-02-2012 11:07 AM
it is not showing 0 , its showing null and .xml file contains the permission of device pin
Can u let me know where i can find that MANIFEST file and how i can edit it with device reading permission
02-02-2012 08:19 PM
02-03-2012 01:35 AM - edited 02-03-2012 01:38 AM
I have extracted my .bar file contents and looked in META-INF/MANIFEST.MF.
I have looked for the row that starts with "Entry-Point-User-Actions:" and but the read_device_identifying_information permission is not there.
What can i do now ? how can i make this appear on the bar file.
Is there some other location other than blackberry-tablet.xml where i need to add this permission ?
02-03-2012 10:27 AM
normally you just have to update the BB.xml file...
If somehow, the file inside your .bar file is not the one you edit (I put this file in the root directory of my project), then you can try the package option in FB (I suppose you use FB): When creating the bar file, open tab "permissions", and select the permission you want to include.
02-06-2012 06:53 AM
Thanks everyone i have solved the problem. Actually there were 2 BB.xml file in my project, one containing the access permission of device pin and the other didnt contain that permission. I removed the redundant .xml file and every thing went fine Thanks for help guys Appreciated
02-06-2012 07:46 AM