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
Contributor
Posts: 31
Registered: ‎08-30-2010
My Device: Not Specified

Playbook/Qt: access photo gallery

Hi,

 

I need to access the Playbook 2 photo gallery from my Qt4.8/Qml app:

1.) to show the pictures and let the user select pictures(s)

2.) getting all pictures in photo gallery

3.) add new pictures to photo gallery

 

So, are there means to either open the native gallery app for picture selection or to get at least all picture file names from the gallery? And, is it possible to add pictures from Qt?

 

Regards,

 

Developer
Posts: 188
Registered: ‎01-27-2012
My Device: playbook
My Carrier: ...

Re: Playbook/Qt: access photo gallery

You can use Qt to access the shared file system no problem.

You need to add

<action>access_shared</action>

 to the bar descriptor though. Then you can use the standard Qt classes for file access.

See HERE for a good start.

Cheers,

Jon