MMAPI Problem

I have used MMAPI and successfully added an animated gif on form and Canvas. It is working fine on WTK 2.5 Emulator.

But now the problem is that it is not working on Mobile. I have tried it on Nokia N91 and Sony Ericson 750i. but i both cases it does not worked.

Can any one tell me why?

[308 byte] By [Atiqea] at [2007-11-27 3:55:35]
# 1

You must verify the device's supported format .

public static boolean isFormatSupported(String contentType)

{

String[] contentTypes = Manager.getSupportedContentTypes(null);

int len = contentTypes.length;

for (int i = 0; i < len; i++)

{

if (contentTypes.equals(contentType)) return true;

}

return false;

}

PeppeMEa at 2007-7-12 8:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2
Thanks for replying. Can you tell me which phone supports MMAPI.
Atiqea at 2007-7-12 8:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
http://www.j2mepolish.org/devices/devices-mmapi.htmlfilter by mmapi http://developers.sun.com/techtopics/mobility/device/device
PeppeMEa at 2007-7-12 8:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
Thanx For replying.
Atiqea at 2007-7-12 8:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Why do you not assign the duke star for a reply?
PeppeMEa at 2007-7-12 8:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
Because it didnot solve my problem. But no problem i think you deserve Duke Star ok Here it is.
Atiqea at 2007-7-12 8:59:46 > top of Java-index,Java Mobility Forums,Java ME Technologies...