MediaException: There is no matching DataSource.locator
posted 7 years ago
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 :