i am trying to display the google map in mobile using google API as user enter the location it will display the image for that code is
retriveStaticMap(width, height,longitude, latitude,zoom, format);
this.image = Image.createImage(gMap.retrieveStaticImage(35, 35, lanLng[0], lanLng[1], 10, "png32"));
for 35*35 image get displayed
but if i increase size from 35 to 35 it showing illegalArgumentException
as i am using sun java wireless toolkit 2.5.2
emulator as screen size of 240*291
if i resize the image to 240*291 it get blur
so pleeeeeeeeeeeeeeee give me solution