Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
New Developer
Posts: 199
Registered: ‎12-29-2010
My Device: Not Specified

Re: BlackBerry Tablet OS SDK 0.9.4 has been released

Should we not be seeing permission requests for our apps deployed to the simulator?

 

When I first launched the browser, it asked a bunch of permission questions...

 

I don't see the same for my app... I've done a full build (sans signing), and pushed to the VM, and it just launches and executes without issue... That's nice, but seems like something isn't working properly...

 

I added the following lines to my blackberry-tablet.xml:

  <permission>play_audio</permission>
  <permission>access_shared</permission>

Developer
Posts: 2,462
Registered: ‎11-04-2010
My Device: Bold 9700

Re: BlackBerry Tablet OS SDK 0.9.4 has been released

@killerspaz: i can confirm there is something weird going on. i think i read somewhere that its a known issue and that the permission dialogs will work on the device. whenever i do the permission thing in blackberry-tablet.xml, i only get a pop up for the first permission. the rest never show up.

J. Rab (Blog) (Twitter)
--
1. If you liked my post or found it useful please click on the thumbs up and provide a Like!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!

Approved Apps: OnTrack | ssShots | Hangman
New Developer
Posts: 199
Registered: ‎12-29-2010
My Device: Not Specified

Re: BlackBerry Tablet OS SDK 0.9.4 has been released

hmm.. i'm not even getting the first one.. I wonder if order matters.. i'll play with this more this week.

Developer
Posts: 345
Registered: ‎03-13-2011
My Device: Playbook

Re: BlackBerry Tablet OS SDK 0.9.4 has been released

Could it be that permission are disabled in dev mode? Just a thought
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: BlackBerry Tablet OS SDK 0.9.4 has been released

See my post in the 0.9.4 Simulator Issues thread regarding which permissions work and which don't. 

 

The browser happens to use three that do currently work, that's all.


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!
Developer
Posts: 6,473
Registered: ‎12-08-2010
My Device: PlayBook, Z10

Re: BlackBerry Tablet OS SDK 0.9.4 has been released

 


killerspaz wrote:

I added the following lines to my blackberry-tablet.xml:

  <permission>play_audio</permission>
  <permission>access_shared</permission>


 

By the way, in case you're using access_shared  because you use SharedObject, note that it's probably not required for that, in spite of the docs.  I filed a doc issue reporting that.  Elena agreed with my suspicion that it's probably intended only for apps that access stuff in the shared/ folder tree, where data can be shared between apps.  (If that's what you're doing, then fine... consider this just a note for others.)


Peter Hansen -- (BB10 and dev-related blog posts at http://peterhansen.ca.)
Author of White Noise and Battery Guru for BB10 and for PlayBook | Get more from your battery!