<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to use Google Maps data within your mobile application</title>
	<atom:link href="http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/</link>
	<description>J2ME, Flash Lite, Symbian, Iphone, Android, Ajax and other stuff..</description>
	<pubDate>Thu, 21 Aug 2008 19:33:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Olaseni</title>
		<link>http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/#comment-635</link>
		<dc:creator>Olaseni</dc:creator>
		<pubDate>Sun, 22 Jun 2008 07:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=37#comment-635</guid>
		<description>Hi,
Please I need help in finding a source code for designing a map on mobile application, I intend using a scanned image for the map.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Please I need help in finding a source code for designing a map on mobile application, I intend using a scanned image for the map.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pit</title>
		<link>http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/#comment-549</link>
		<dc:creator>pit</dc:creator>
		<pubDate>Mon, 09 Jun 2008 09:58:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=37#comment-549</guid>
		<description>Hi Francesco,

sorry for the delay of my answer, but I totally missed your reply... :-/

Anyway, do you have this problem on emulators, or on real devices?

Pit</description>
		<content:encoded><![CDATA[<p>Hi Francesco,</p>
<p>sorry for the delay of my answer, but I totally missed your reply&#8230; :-/</p>
<p>Anyway, do you have this problem on emulators, or on real devices?</p>
<p>Pit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/#comment-390</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Fri, 23 May 2008 11:06:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=37#comment-390</guid>
		<description>Hi Pit,
thanks for your fast answer. I tried to change the format for the static map to png16 (I was using png32) and it works :D

Now I have a problem with displaying the image: I can see just the first few pixels while the rest of the screen is black (width is alright, while the problem is with the height)

My code is pretty simple:

Image map = gMap.retrieveStaticImage(320, 240, lanLng[0], lanLng[1], 15, "png16");
Form f = new Form("Image");     
f.append(map);
display.setCurrent(f);

It is my first approach to midlets and I don't really know what's wrong. I also trying using canvas but I get the same result. Do you have any suggestion?

thanks again,
francesco</description>
		<content:encoded><![CDATA[<p>Hi Pit,<br />
thanks for your fast answer. I tried to change the format for the static map to png16 (I was using png32) and it works <img src='http://www.jappit.com/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Now I have a problem with displaying the image: I can see just the first few pixels while the rest of the screen is black (width is alright, while the problem is with the height)</p>
<p>My code is pretty simple:</p>
<p>Image map = gMap.retrieveStaticImage(320, 240, lanLng[0], lanLng[1], 15, &#8220;png16&#8243;);<br />
Form f = new Form(&#8221;Image&#8221;);<br />
f.append(map);<br />
display.setCurrent(f);</p>
<p>It is my first approach to midlets and I don&#8217;t really know what&#8217;s wrong. I also trying using canvas but I get the same result. Do you have any suggestion?</p>
<p>thanks again,<br />
francesco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pit</title>
		<link>http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/#comment-380</link>
		<dc:creator>pit</dc:creator>
		<pubDate>Thu, 22 May 2008 15:43:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=37#comment-380</guid>
		<description>Hi Francesco,

this has probably something to do with illegal/corrupt data coming from server. If you try getting the map URL directly in your browser, does it work?

Also, which format are you using for your static maps?

Pit</description>
		<content:encoded><![CDATA[<p>Hi Francesco,</p>
<p>this has probably something to do with illegal/corrupt data coming from server. If you try getting the map URL directly in your browser, does it work?</p>
<p>Also, which format are you using for your static maps?</p>
<p>Pit</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://www.jappit.com/blog/2008/05/14/how-to-use-google-maps-data-within-your-mobile-application/#comment-379</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Thu, 22 May 2008 15:37:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.jappit.com/blog/?p=37#comment-379</guid>
		<description>Hi!
I'm trying to execute the code you posted on the Forum Nokia Wiki. I use the Sun Wireless Toolkit and the EsclipseME IDE.
I get the following exception when invoking the retrieveStaticImage method:

java.lang.IllegalArgumentException: 
	at javax.microedition.lcdui.ImmutableImage.(+11)
	at javax.microedition.lcdui.Image.createImage(+40)
	at GoogleMaps.retrieveStaticImage(+28)
...

could you help me?

thanks a lot,
francesco</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I&#8217;m trying to execute the code you posted on the Forum Nokia Wiki. I use the Sun Wireless Toolkit and the EsclipseME IDE.<br />
I get the following exception when invoking the retrieveStaticImage method:</p>
<p>java.lang.IllegalArgumentException:<br />
	at javax.microedition.lcdui.ImmutableImage.(+11)<br />
	at javax.microedition.lcdui.Image.createImage(+40)<br />
	at GoogleMaps.retrieveStaticImage(+28)<br />
&#8230;</p>
<p>could you help me?</p>
<p>thanks a lot,<br />
francesco</p>
]]></content:encoded>
	</item>
</channel>
</rss>
