Skip to main content
imacle
Participating Frequently
Aug 24, 2016 2:26 PM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

4 replies

Known Participant
Jun 13, 2017 6:17 AM UTC

weird ignorance from Adobe.

Translate
Colin Holgate
Inspiring
Jun 13, 2017 1:44 PM UTC

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!

Translate
Aug 27, 2016 1:49 AM UTC

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

Translate
imacle
imacleAuthor
Participating Frequently
Aug 28, 2016 2:54 PM UTC

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?

Translate