Due to a series of strange events, I am in the middle of a project targeting mobile phones (like Pocket PC ). I have searched a long way, but to get the front camera on any platform (reliably) could not find any way to try Android, J2ME and Windows Mobile, just allow the camera to capture the video .
Can anyone provide any insight on how to get it done on Windows Mobile, Symbian / J2ME or any other platform?
Edit : I've tried searching, but it does not mention the front camera.
I did it in both J2ME and Symbian (S60). Check this for a Symbian example (you may have to register for Forum in Nokia), to start using Front Camera only, start using Camera Index 1 (Index is 0 back camera):
< Code> m_pCamera = CCAMA :: NLL (* this, 1)
Although ensure that the device contains the CCMA :: Cameras (available) (if its front camera and back camera is again Will return 2).
Check this with the SDN for JME 2 instead, instead of starting the default camera (back camera):
mPlayer = Manager.createPlayer ("Capture: // Video");
You just need to start the front camera:
mPlayer = Manager.createPlayer ("Capture: // devcam1");
Enjoy!
Comments
Post a Comment