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

Android™ Runtime Development

Reply
Contributor
Posts: 23
Registered: ‎09-22-2011
My Device: 9800 Torch
My Carrier: Airtel

Camera issue on BB10 using Android Runtime

Hi Guys,

 

I am developing an App for BB10 using the Android Runtime. I am facing a strange issue while saving the image. Can anyone guide me where the image is being saved?

 

Regards

Rick

New Developer
Posts: 53
Registered: ‎06-07-2011
My Device: 9800 torch
My Carrier: o2

Re: Camera issue on BB10 using Android Runtime

I'm having the same issue, pictures I take with the camera started by 

 

Intent cameraIntent = new Intent("android.media.action.IMAGE_CAPTURE");

 but when the camera returns with onActivityResult the data in the intent is null so you can't recieve the image as specified by http://developer.android.com/guide/topics/media/camera.html#intent-receive

 

also after saving an image I'd expect it to be saved to the pictures and the android gallery option but they're not. Where are images taken by the android camera saved?

New Member
Posts: 1
Registered: ‎07-02-2013
My Device: Blackberry Z10
My Carrier: N/A

Re: Camera issue on BB10 using Android Runtime

Hi,

 

I was wondering if you were able to solve your issue.   I was just tasked with porting my Android to run on BB and this is my big show stopper.  Did you have to provide a URI to write to? I can't for the life of me find where the files are written to after the picture is taken.  Have tried both EXTERNAL & INTERNAL content uri and zippo.

 

Any information you can share would be greatly appreciated.

 

Thanks!!!

Retired
Posts: 140
Registered: ‎04-19-2013
My Device: BlackBerry Z10

Re: Camera issue on BB10 using Android Runtime

There was a bug with this that I believe was fixed recently.

 

What OS version are you testing on?

New Developer
Posts: 53
Registered: ‎06-07-2011
My Device: 9800 torch
My Carrier: o2

Re: Camera issue on BB10 using Android Runtime

Hi DevOne,

 

No I didnt solve it. Always crashed. it was just going to be a stop gap while I dev'd the native version, so I just went ahead and created a native version. Hard going!

Contributor
Posts: 12
Registered: ‎07-04-2013
My Device: BB10
My Carrier: Bell

Re: Camera issue on BB10 using Android Runtime

I'm having the same problem; has anyone figured out how to access the BB10(Z10)'s Photo gallery from an Android app?  

New Contributor
Posts: 4
Registered: ‎06-11-2013
My Device: z10
My Carrier: --

Re: Camera issue on BB10 using Android Runtime

Any update on this?? my app need to invoke the camera intent, but no result comes back to my Activity.