View Single Post
Old October 7th, 2011, 06:30 AM   #17 (permalink)
King_bob
Junior Member
 
Join Date: Apr 2011
Posts: 51
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 14 Times in 13 Posts
Default

I actually tried the exact same thing and it didnt work (though with a unique application).
Also the hacked Skype application will no install on the LeOS, (mabe it needs the lvl 9 api (since as far as i know android.hardware.camera.open(int) is only available from android version 2.3)?

unfortunately I am unsure how to enable the front cam of the lenovo. they deliver a documetation with an example of how to take a picture using the front camera, but not how to open the front camera

Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
intent.putExtra("camerasensortype", 1);
intent.putExtra("needpath", true);
intent.putExtra("needuri", true);
startActivityForResult(intent, REQUEST_CODE_TAKE_PICTURE);

the again, i also do not know which name space the constaint REQUEST_CODE_TAKE_PICTURE is in, so I havent been able to try this either


My bad, should read instructions properly when installing but when I try starting a video call it just crashes.

update: I got my application to work now if I could only get my hands on the skype code
King_bob is offline  
Last edited by King_bob; October 7th, 2011 at 06:58 AM.
Reply With Quote
The Following User Says Thank You to King_bob For This Useful Post:
EarlyMon (October 7th, 2011)