Hi,
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!!!

Reply With Quote


But I had already gone through that post. May be I have not mentioned properly, but I have used that line of code videoControl.getSnapshot("encoding=png&width=240&height=320"); in my source code. When I run it in my emulator and on phone it gives an alert "Application error" and "Null pointer exception" . And when I use videoControl.getSnapshot(null); then application runs properly. 

