Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Mobile Media API question  (Read 839 times)
0 Members and 1 Guest are viewing this topic.
Offline Dud

Junior Newbie




Java games rock!


« Posted 2005-03-07 09:24:56 »

Hi all,

I'm fairly new to J2ME and had a question...

I want to write an MIDP 2.0 app that allows the user to take a picture from within the application -  is it straightforward to use the Mobile Media API (JSR 135) API to access the built-in camera on Java phones in order to take a picture?

Assuming it is, would it be safe to assume that such an application could use the camera on any phone that supports this API?

If anyone has done anything along these lines I'd be interested to hear about it.

Regards
Dud
Offline davidaprice

Junior Member





« Reply #1 - Posted 2005-03-07 14:47:45 »

Hi,

Check out the Camera MIDlet tutorial example at Forum Nokia - it does just what you're asking. It's fairly straightforward to use.

The MMAPI has many optional parts, and one of those is the camera support. Don't assume that a phone that has a camera and implements the MMAPI will necessarily support the camera part of the MMAPI. In Nokia phones, the Series 40 phones do not support the camera part (if they support MMAPI, it is just for playing audio), but the Series 60 phones (except the original 7650) do support the camera part of the MMAPI. Even in Series 60, only the most recent phones support the camera's full resolution via the MMAPI (7610 onwards, I think, but I'm not sure).

I'm afraid I'm not familiar with the other manufacturers' phones  Sad.
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (34 views)
2014-07-18 06:55:21

Zero Volt (30 views)
2014-07-17 23:47:54

danieldean (25 views)
2014-07-17 23:41:23

MustardPeter (27 views)
2014-07-16 23:30:00

Cero (42 views)
2014-07-16 00:42:17

Riven (44 views)
2014-07-14 18:02:53

OpenGLShaders (32 views)
2014-07-14 16:23:47

Riven (33 views)
2014-07-14 11:51:35

quew8 (30 views)
2014-07-13 13:57:52

SHC (66 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!