iPhone does not display camera


hi,

 

i wrote mobile device application android , ios. on android works fine. on ios / iphone cannot capture images camera. screen left blank.

 

here snippets of code:

 

 

 

 

videodisplay = new video(videosize, videosize);

 

//...

 

camera=camera.getcamera();

camera.setmode(8000,8000,24);

 

videodisplay.attachcamera(camera);

sv.addchild(videodisplay); // sv: <s:spritevisualelement id="sv" width="250" height="250" />

 

 

 

 

 

i testet camera.issupported(), verified camera installed (*), gives me feedback should work. render mode set cpu (in application xml file). pretty clueless right now.

 

i test on iphone 3gs ios 5.

 

can me out?

 

thanks in advance.

 

* http://help.adobe.com/en_us/as3/dev/wsfffb011ac560372f3fa68e8912e3ab6b8cb-8000.html#ws5b3c cc516d4fbf351e63e3d118a9b90204-7d38

i don't believe iphone 3gs camera can 8000x8000 pixel image. work better if try camera.setmode(320,240,24)?



More discussions in AIR Development


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support