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
# 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 >
