<?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 I had major issues on Sony in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918119#M13003</link>
    <description>&lt;P&gt;I had major issues on Sony Xperia, it just would not process the Geolocation details, it just sat there doing nothing.&lt;/P&gt;

&lt;P&gt;I had to add&amp;nbsp;var options = { enableHighAccuracy: true }; but the knock on effect is that saving the data can take 4 or 5 seconds where as on other devices the data will save in a fraction of a second.&lt;/P&gt;

&lt;P&gt;function getLocation(){&lt;BR /&gt;
	var options = { enableHighAccuracy: true };&lt;BR /&gt;
	if (navigator.geolocation){&lt;BR /&gt;
	navigator.geolocation.getCurrentPosition(saveReading, onError,options);&lt;BR /&gt;
	}&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; navigator.notification.alert("Cannot get Geolocation Data.");&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	}&lt;BR /&gt;
	function onError(error) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; navigator.notification.alert('code: ' &amp;nbsp; &amp;nbsp;+ error.code &amp;nbsp; &amp;nbsp;+ '\n' + 'message: ' + error.message + '\n');&lt;BR /&gt;
	}&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2015 08:40:59 GMT</pubDate>
    <dc:creator>Nick_F_2</dc:creator>
    <dc:date>2015-10-15T08:40:59Z</dc:date>
    <item>
      <title>XDK geolocation</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918113#M12997</link>
      <description>&lt;P&gt;Hi - I'm using the getCurrentPosition method in an XDK build, using the Intel example code (see below).It works fine and returns good latitude and longitude, but fails to return the failure, even with gps, wifi and cellular all turned off (Samsung S3). Instead it just hangs. I guess I could write a JS timeout function, but the thread nature of JS processing makes this a bit problematic. Any ideas?&lt;/P&gt;

&lt;PRE class="prettyprint" style="font-size: 13px; font-family: 'Courier New', Courier, monospace; background-color: rgb(245, 245, 245);"&gt;
&lt;CODE style="font-family: 'Courier New', Courier, monospace;"&gt;var getLocation = function() 
{
    var suc = function(p){
        alert("geolocation success");
        if (p.coords.latitude != undefined)
        {
            currentLatitude = p.coords.latitude;
            currentLongitude = p.coords.longitude;
        }

    };
    var fail = function(){ 
        alert("geolocation failed"); 
        getLocation();
    };

    intel.xdk.geolocation.getCurrentPosition(suc,fail);
}&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;CODE style="font-family: 'Courier New', Courier, monospace;"&gt;Many thanks - Alan&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Feb 2014 14:24:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918113#M12997</guid>
      <dc:creator>Alan_B_</dc:creator>
      <dc:date>2014-02-17T14:24:01Z</dc:date>
    </item>
    <item>
      <title>There are some issues,</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918114#M12998</link>
      <description>&lt;P&gt;There are some issues, especially with Samsung devices, and geo data. A fix has been proposed but not yet implemented. This is a general issue with Android devices that varies with the manufacturer. If you search StackOverflow for PhoneGap or Cordova issues related to gps you'll find a variety of solutions. I believe the proposed fix to our container will show up near the end of March, but since it is so hard to test over the wide variety of devices out there, it's not possible to guarantee it will resolve all gps issues.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Mar 2014 03:57:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918114#M12998</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2014-03-12T03:57:08Z</dc:date>
    </item>
    <item>
      <title> Hello Paul F.</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918115#M12999</link>
      <description>&lt;P&gt;&amp;nbsp;Hello Paul F.&lt;/P&gt;

&lt;P&gt;Is the geolocation problem yet solved. I am having the same problem as previously posted, Geolocation is not working &amp;nbsp;on android phones but is working on the emulator. &amp;nbsp;I am using &amp;nbsp;navigator.geolocation.getCurrentPosition &amp;nbsp;for&amp;nbsp;locating the position.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 14:35:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918115#M12999</guid>
      <dc:creator>Yonas_H_</dc:creator>
      <dc:date>2015-10-07T14:35:14Z</dc:date>
    </item>
    <item>
      <title>I am using geolocation plugin</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918116#M13000</link>
      <description>&lt;P&gt;I am using geolocation plugin with sucess, Android and iOS. No problem on devices. You can see:&lt;/P&gt;

&lt;P&gt;-&amp;nbsp;https://play.google.com/store/apps/details?id=com.hamiltonhtsnet.com.br.faleparaowhatsapp&lt;/P&gt;

&lt;P&gt;- &lt;A href="https://play.google.com/store/apps/details?id=com.hamiltonhtsnet.com.br.fraseprontawhatsapp" target="_blank"&gt;https://play.google.com/store/apps/details?id=com.hamiltonhtsnet.com.br.fraseprontawhatsapp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;-&amp;nbsp;https://play.google.com/store/apps/details?id=com.hamiltonhtsnet.com.br.meurastro&lt;/P&gt;

&lt;P&gt;Always CLI 4.2.1 and CW14&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 17:12:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918116#M13000</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2015-10-07T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918117#M13001</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;You need to manually switch on the permissions on Android inorder to enable Location. Go to settings, select location and turn it on.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 17:50:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918117#M13001</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2015-10-07T17:50:43Z</dc:date>
    </item>
    <item>
      <title>Yonas, try the "Hello-Cordova</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918118#M13002</link>
      <description>&lt;P&gt;Yonas, try the "Hello-Cordova" sample to make sure geo works. It provides a very good example of geo and allows you to see if it works or does not work on a specific device.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2015 22:22:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918118#M13002</guid>
      <dc:creator>PaulF_IntelCorp</dc:creator>
      <dc:date>2015-10-07T22:22:23Z</dc:date>
    </item>
    <item>
      <title>I had major issues on Sony</title>
      <link>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918119#M13003</link>
      <description>&lt;P&gt;I had major issues on Sony Xperia, it just would not process the Geolocation details, it just sat there doing nothing.&lt;/P&gt;

&lt;P&gt;I had to add&amp;nbsp;var options = { enableHighAccuracy: true }; but the knock on effect is that saving the data can take 4 or 5 seconds where as on other devices the data will save in a fraction of a second.&lt;/P&gt;

&lt;P&gt;function getLocation(){&lt;BR /&gt;
	var options = { enableHighAccuracy: true };&lt;BR /&gt;
	if (navigator.geolocation){&lt;BR /&gt;
	navigator.geolocation.getCurrentPosition(saveReading, onError,options);&lt;BR /&gt;
	}&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; navigator.notification.alert("Cannot get Geolocation Data.");&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	}&lt;BR /&gt;
	function onError(error) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; navigator.notification.alert('code: ' &amp;nbsp; &amp;nbsp;+ error.code &amp;nbsp; &amp;nbsp;+ '\n' + 'message: ' + error.message + '\n');&lt;BR /&gt;
	}&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 08:40:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/XDK-geolocation/m-p/918119#M13003</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-10-15T08:40:59Z</dc:date>
    </item>
  </channel>
</rss>

