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

Native Development

Reply
New Developer
Posts: 4
Registered: ‎07-16-2014
My Device: Z 10
My Carrier: AirTel

HeadLess App issue

can a headless app share or use the sandbox of UI app
if yes then how?
if No then what is the way to use the data of ui app

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: HeadLess App issue

Both the headless and GUI component of your application share the same sandbox, so yes, they can share the same files.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
New Developer
Posts: 4
Registered: ‎07-16-2014
My Device: Z 10
My Carrier: AirTel

Re: HeadLess App issue

thanks for reply

as u said both headless and UI app share same sandBox

actually its my first time i m trying to make a headless app

actually i want to make some database in UI part

and i want to access that database in my headless part to take some decision

pls tell me how can i do it??

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: HeadLess App issue

Both the headless and GUI application's could access a file in the application's sandbox area, such as the data directory.  I recommend having a look at the link below, which explains this further.  

 

Working with the file system

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker