I am developing a camera application which I want to run on Nokia 3110 also, a 3rd edition phone. When I call getSnapshot() method of VideoControl class it only works with the 'null' parameter and gives 120x160 default resolution in the obtained image. But I want to change the resolution to 480x640 and others. For that when I used "encoding=image/png&width=480&height=640" it throws a null pointer exception. Does anyone has any idea where am I going wrong and how to obtain a different resolution than 120x160 ?

Please help!!!