App inventor 2 Error 201: The camera did not return an image."

589 views
Skip to first unread message

Marko Carevic

unread,
Aug 25, 2015, 7:38:14 PM8/25/15
to MIT App Inventor Forum
Hello fellow programmers

I am having a minor glitch with my phone/AI2. 

As I wanted to make a canvas out of picture taken on my mobile phone App, my app gives me an "error 201:  The camera did not return an image."
Phone is a Coolpad F1 (8297W), with Android version of 4.2.2. 

My 1st thought was that camera is not storing taken picture anywhere, and this is my main suspicion of the error. Tried few tutorials about this matter, and all of them failed, so I kinda confirmed the camera problem. 

As my skill in debugging the phone are none, I ask you for some help.  

I am pretty green in this area, and looking for some help. 

Thank you in advance 

Marko

Taifun

unread,
Aug 26, 2015, 2:11:01 PM8/26/15
to MIT App Inventor Forum
does the following snippet work for you?
Taifun

Marko Carevic

unread,
Aug 26, 2015, 3:12:16 PM8/26/15
to MIT App Inventor Forum
Hello Taifun, 

I just wanted to check with my other, older phone, and app works like a charm. 
I will try your app now, and see how it goes. 
My suspicion is that camera does not save the picture, and therefor cant put it on canvas as application requests. 

Will get back to you in few hours

And thank you very much for answer. 

Marko
Reply all
Reply to author
Forward
0 new messages