wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes API for interacting with camera in a mobile device Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "API for interacting with camera in a mobile device" Watch "API for interacting with camera in a mobile device" New topic
Author

API for interacting with camera in a mobile device

Sayantan Auddy
Ranch Hand

Joined: Dec 18, 2008
Posts: 35
Hi,

Is there any API which can be used to interact with a camera in a mobile device. I was thinking of a mobile application that can extract text from the photos clicked by the device's camera.
Thanks in advance.

Sayantan.


Sayantan Auddy,SCJP 5.0
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16160
    
  21

Yes there is. It's not part of the core JME set, however. There's a JSR spec for media interaction on Java Mobile Devices. I'll leave you to your favorite search engine to locate it.

It is important to note, however, that not all mobile devices will include this functionality. Then again, not all devices have cameras in them, either.


Customer surveys are for companies who didn't pay proper attention to begin with.
Sayantan Auddy
Ranch Hand

Joined: Dec 18, 2008
Posts: 35
I have read about the Mobile Media API (MMAPI) but the problem is that there is only one device that supports MMAPI according to the article I read. Will try to find out about the JSR spec that you mentioned. Thanks for the info
Sayantan Auddy
Ranch Hand

Joined: Dec 18, 2008
Posts: 35
Oops!! MMAPI (JSR 135) is the JSR spec that you mentioned.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: API for interacting with camera in a mobile device