JSR 234 -- Media Processor Input Types for Sony Ericsson k790

Hi,

This method 'getSupportedMediaProcessorInputTypes()' is supposed to return a string array of all the supported media processor input types. However, on the k790, it just returns null.

In the docs, to support JSR 234, you're required to support at least JPEG and Raw image input types, but those are not working; they throw the media execeptionunable to create Media Processor for input type ...

Any suggestions?

Thanks

[465 byte] By [conlanriosa] at [2007-11-27 2:32:09]
# 1
Can anyone help?Thanks
conlanriosa at 2007-7-12 2:47:42 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
I have the K790 too. I tried to get input types and my code doesn't work. Please post the midlet that you used. I will try it on my phone.
w234a at 2007-7-12 2:47:42 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3

Here is what i tried.

import javax.microedition.media.Manager;

import javax.microedition.amms.GlobalManager;

import javax.microedition.midlet.*;

import javax.microedition.lcdui.*;

public class media extends MIDlet {

public void startApp() {

List list = new List("Input Content Types", Choice.IMPLICIT);

String[] inputTypes = GlobalManager.getSupportedMediaProcessorInputTypes();

for(int i = 0; i < inputTypes.length; ++i) {

list.append(inputTypes[i], null);

}

Display.getDisplay(this).setCurrent(list);

}

public void pauseApp() {}

public void destroyApp(boolean unconditional) {}

}

w234a at 2007-7-12 2:47:42 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
By not working, I meant that it and stops quickly. I am not able see anything on screen.
w234a at 2007-7-12 2:47:42 > top of Java-index,Java Mobility Forums,Java ME Technologies...