<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Thanks Gerald, and in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021433#M38397</link>
    <description>&lt;P&gt;Thanks Gerald, and congratulations on figuring it out.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Yes, the console widget shows up on the device. That's what makes it handy. Obviously, not something you want to distribute in your final app, but it has proved itself useful from time to time. The best solution in these cases is the over-the-wire debugging that the XDK affords, and second best is the weinre debugging option. &amp;nbsp;But that little console widget can sometimes be handy.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Apr 2015 16:14:07 GMT</pubDate>
    <dc:creator>Chris_P_Intel</dc:creator>
    <dc:date>2015-04-17T16:14:07Z</dc:date>
    <item>
      <title>Google maps Crosswalk Android build</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021427#M38391</link>
      <description>&lt;P&gt;Hey everyone!&lt;BR /&gt;
	&lt;BR /&gt;
	I'm having a problem with Google maps with my App, basically when I run the app on the emulator the map works fine, when I run it on the Intel XDK app preview the map works fine, but when I build the app to a crosswalk android app, I get an empty panel and no map.&lt;BR /&gt;
	&lt;BR /&gt;
	I &lt;STRONG&gt;have&lt;/STRONG&gt; whitelisted the domain &lt;A href="http://maps.google.com" target="_blank"&gt;http://maps.google.com&lt;/A&gt; in my build settings but still see no map...&lt;BR /&gt;
	&lt;BR /&gt;
	My HTML code is:&lt;BR /&gt;
	&amp;lt;div class="upage vertical-col left panel" data-nav="nav_side" id="map_canvas" data-header="map_header" data-load="loadFinder" data-footer="none" style="width:320px;height:100%;min-height:100%;text-align:center;"&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;Determining Your Location&amp;lt;/h1&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;lt;/div&amp;gt;&lt;/P&gt;

&lt;P&gt;And I just load the map with the simple JS code:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var mapOptions = {
        zoom:11,
        center: latlng,
        mapTypeId: google.maps.MapTypeId.ROADMAP,
        styles: lightMapStyle,
        zoomControl: true,
        zoomControlOptions: {
          style: google.maps.ZoomControlStyle.SMALL,
          position: google.maps.ControlPosition.LEFT_TOP
        },
    };
var _map = new google.maps.Map(document.getElementById("map_canvas"), mapOptions);&lt;/PRE&gt;

&lt;P&gt;I'm not sure if I've missed something to do with the build settings...&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2015 17:46:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021427#M38391</guid>
      <dc:creator>Gerald_C_</dc:creator>
      <dc:date>2015-04-12T17:46:34Z</dc:date>
    </item>
    <item>
      <title>Little update, my Google maps</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021428#M38392</link>
      <description>&lt;P&gt;Little update, my Google maps autocomplete input is not working either...&lt;BR /&gt;
	&lt;BR /&gt;
	Hmmmm Sadly the Intel XDK debugger doesn't work on my phone so I could at least see what error is occuring....&lt;/P&gt;</description>
      <pubDate>Sun, 12 Apr 2015 17:53:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021428#M38392</guid>
      <dc:creator>Gerald_C_</dc:creator>
      <dc:date>2015-04-12T17:53:59Z</dc:date>
    </item>
    <item>
      <title>I don't have a solution, but</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021429#M38393</link>
      <description>&lt;P&gt;I don't have a solution, but there is a Console widget in App Designer. It'll let you see any console.log messages right on your app, and you can also evaluate javascript there. &amp;nbsp;You might be able to use it to help debug your app.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 16:16:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021429#M38393</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-04-13T16:16:33Z</dc:date>
    </item>
    <item>
      <title>Thanks Chris, I'll give this</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021430#M38394</link>
      <description>&lt;P&gt;Thanks Chris, I'll give this a go but will this "Console widget" show up when I &lt;STRONG&gt;build the app to my device&lt;/STRONG&gt;?&lt;BR /&gt;
	&lt;BR /&gt;
	Because as I said before the Intel App preview works fine on my phone, it's only when I build the app and install it on my phone that the Google maps and Google Maps Autocomplete stop working... :(&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 19:58:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021430#M38394</guid>
      <dc:creator>Gerald_C_</dc:creator>
      <dc:date>2015-04-13T19:58:41Z</dc:date>
    </item>
    <item>
      <title>Could it be because don't</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021431#M38395</link>
      <description>&lt;P&gt;Could it be because don't have the googlemaps JS library locally?&lt;BR /&gt;
	&lt;BR /&gt;
	i.e. I'm using this:&lt;BR /&gt;
	&lt;BR /&gt;
	&amp;lt;script type="text/javascript" src="http://maps.google.com/maps/api/js?libraries=places&amp;amp;sensor=false"&amp;gt;&amp;lt;/script&amp;gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2015 20:05:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021431#M38395</guid>
      <dc:creator>Gerald_C_</dc:creator>
      <dc:date>2015-04-13T20:05:17Z</dc:date>
    </item>
    <item>
      <title>So basically I found out I</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021432#M38396</link>
      <description>&lt;P&gt;So basically I found out I needed to whitelist more domains than just *.google.com&lt;BR /&gt;
	&lt;BR /&gt;
	I got Google maps working now by whitelisting the following domains:&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;A href="http://*.google.com" target="_blank"&gt;http://*.google.com&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="http://*.gstatic.com" target="_blank"&gt;http://*.gstatic.com&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="http://*.googleapis.com" target="_blank"&gt;http://*.googleapis.com&lt;/A&gt;&lt;BR /&gt;
	&lt;A href="http://*.googleusercontent.com" target="_blank"&gt;http://*.googleusercontent.com&lt;/A&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Now for the last problem my Google maps autocomplete is still not working which I'm pretty sure once again I am missing a white listed domain will post something once I find out.&lt;BR /&gt;
	&lt;BR /&gt;
	Hope this hopes anyone else as this is no where to be found in any Intel XDK documentation....&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2015 07:17:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021432#M38396</guid>
      <dc:creator>Gerald_C_</dc:creator>
      <dc:date>2015-04-16T07:17:24Z</dc:date>
    </item>
    <item>
      <title>Thanks Gerald, and</title>
      <link>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021433#M38397</link>
      <description>&lt;P&gt;Thanks Gerald, and congratulations on figuring it out.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Yes, the console widget shows up on the device. That's what makes it handy. Obviously, not something you want to distribute in your final app, but it has proved itself useful from time to time. The best solution in these cases is the over-the-wire debugging that the XDK affords, and second best is the weinre debugging option. &amp;nbsp;But that little console widget can sometimes be handy.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Apr 2015 16:14:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Google-maps-Crosswalk-Android-build/m-p/1021433#M38397</guid>
      <dc:creator>Chris_P_Intel</dc:creator>
      <dc:date>2015-04-17T16:14:07Z</dc:date>
    </item>
  </channel>
</rss>

