Skip to main content
Participating Frequently
October 16, 2011
Question

How to save to CameraRoll on Playbook?

  • October 16, 2011
  • 1 reply
  • 488 views

Hi! I'm working on an air app for playbook and I really want to know if it is possible to save images on the device's CameraRoll.

I'm compiling my app with AIR 2.6 sdk, exporting through Flash Builder and testing with a real playbook.

My project doesn't have any errors and I also checked the use_camera permission from the project properties (not sure if this is necessary for saving an image) but I'm not getting any image when testing my app...

I'm using the code bellow, the same that works with no problems on an iPad.

if (CameraRoll.supportsAddBitmapData) {
    
var cameraRoll:CameraRoll = new CameraRoll();
     cameraRoll
.addBitmapData(_bitmapData3);
}

This topic has been closed for replies.

1 reply

JulianJeAuthor
Participating Frequently
October 17, 2011

Never mind, I found the answer. I must check the acces_shared from the permissions list when packaging the app.