• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

MediaException: There is no matching DataSource.locator

 
chandrap prakash
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i developed an application in j2me using MMAPI 1.2 to capture a image using device camera .
When i test this application on Nokia and Motorola mobile,i am able to take a snapshot.
But when i test on LG KP500 mobile ,its throws :

javax.microedition.media.MediaException: There is no matching DataSource.locator:capture://video Exception.

So i am not getting what is the matching locator for LG mobile.
My j2me code for this exception is :

private Player mPlayer;

try{
mPlayer = Manager.createPlayer("capture://video");
}
catch (MediaException me) { ahowAlert(me.getMessage()); }

Thanks & Regards,

Chandra Prakash
 
Peter Miklosko
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure as LG documentation is little alien to me, but seem that this model is not fully compliant with some standards (Video and Camera - original guide here )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic