Skip to main content
imacle
Participating Frequently
August 24, 2016
Question

DataShare ANE not including camera role (photo gallery) on Android!

  • August 24, 2016
  • 2 replies
  • 772 views

Any idea why DataShare ANE doesn't include camera role (photo gallery) on Android? I only get these apps on my phone. Tested it on many different phones and tablets too. Same result. No save to album/photos...

This topic has been closed for replies.

2 replies

Known Participant
June 13, 2017

weird ignorance from Adobe.

Colin Holgate
Inspiring
June 13, 2017

The problem seems to be a general Android one, and nothing to do with Adobe or AIR. I doubt that the ANE is knowledgeable about all sharing methods there are in Android and iOS, and it's just calling the OS sharing feature.

If you look around for the same issue in other tools you'll find some suggestions, including the fact that the list is scrollable. Maybe Gallery is lower down?

In any case, I've asked the author of the ANE to come and read this, in case I'm wrong!

August 27, 2016

Based on your screenshot, you are possibly running your app on Marshmallow which requires explicit permission from the user to access the camera and photos if the app targets Marshmallow for its build. If that isn't the case, then you should contact the developer of the ANE and give them the specs of your devices (device name and OS version), AIR version you are publishing with, etc and ask them for help

imacle
imacleAuthor
Participating Frequently
August 28, 2016

No, I do not use Marshmallow. Tested it with different Samsung devices on Android 4.4.2, 5.0.2 and 5.1.1 with Air 22.0.0.153.

I tried to use:

cr = new CameraRoll();

cr.addBitmapData(tempBitmapData);

and it worked fine.

Abhishek.Jain​ any idea?