<?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 That's great! in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025910#M40113</link>
    <description>&lt;P&gt;That's great!&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jul 2015 16:44:36 GMT</pubDate>
    <dc:creator>Anusha_M_Intel1</dc:creator>
    <dc:date>2015-07-27T16:44:36Z</dc:date>
    <item>
      <title>Cordova notification error</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025906#M40109</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Been building the same app for a while now, made some minor changes and now I get an error when attempting to display a notification.alert.&lt;/P&gt;

&lt;P&gt;Wondered why this was happening as my alerts no longer appear.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: Monaco, Consolas, 'Lucida Console', 'dejavu sans mono', monospace; font-size: 12px; line-height: normal; white-space: pre-wrap;"&gt;The old format of this exec call has been removed (deprecated since 2.1). Change to: cordova.exec(null, null, "", "Error",[null,"Notification","alert",["The verification code or your name is entered incorrectly","OK","OK"]]);&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;This error does not occur on App Preview or under emulation, only when the app is installed on iOS, the Android version seems OK.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Jul 2015 10:07:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025906#M40109</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-07-25T10:07:36Z</dc:date>
    </item>
    <item>
      <title>Could you post your Cordova</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025907#M40110</link>
      <description>&lt;P&gt;Could you post your Cordova Alert code?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jul 2015 05:01:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025907#M40110</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-07-26T05:01:40Z</dc:date>
    </item>
    <item>
      <title>My Code is below, I have</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025908#M40111</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;My Code is below, I have&amp;nbsp;&lt;/SPAN&gt;changed&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;the URL for security, there error occurs here &lt;/SPAN&gt;navigator.notification.alert("The verification code or your name is entered incorrectly", "Error","OK");&lt;/P&gt;

&lt;P&gt;function getTeams(sel) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; $("#teamslist").empty();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; $("#mydetails").empty();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var myfirst = $("#firstname").val();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var mylast = $("#lastname").val();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var myname = myfirst+" "+mylast;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var mydiv = $("#division").val();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var vcode = $("#vcode").val();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; if (mydiv != "[Select Division]") {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; localStorage.setItem("mydiv", mydiv);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var sqlstr = "http://myurl/getdata.php?div="+mydiv+"&amp;amp;vcode="+vcode+"&amp;amp;yourname="+myname;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; var xhr = new XMLHttpRequest();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; xhr.open("GET",sqlstr,false);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; xhr.onload = function(){&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(xhr.status==200)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; jsonArray = $.parseJSON(xhr.responseText);&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (jsonArray.length == 1) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;for(i=0; i &amp;lt; jsonArray.length; i++)&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;{&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;team = jsonArray&lt;I&gt;.team;&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;localStorage.setItem("myteam", jsonArray&lt;I&gt;.team);&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;//document.getElementById("team").value = jsonArray&lt;I&gt;.team;&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;}&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; setTeam();&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; navigator.notification.alert("The verification code or your name is entered incorrectly", "Error","OK"); &amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if(xhr.status == 404)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; navigator.notification.alert("Web Service Doesn't Exist", "Error","OK");&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; else&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;navigator.notification.alert("Unknown error occured while connecting to server", "Error","OK");&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;
	}&lt;BR /&gt;
	}&lt;BR /&gt;
	xhr.send()&lt;BR /&gt;
	}&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jul 2015 18:34:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025908#M40111</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-07-26T18:34:34Z</dc:date>
    </item>
    <item>
      <title>I think I may have answered</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025909#M40112</link>
      <description>&lt;P&gt;I think I may have answered my own question, I had missed the callback option out of the navigator.notification.alert options, I have now added null (As there is no callback) and it seems to have fixed the issue.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 14:05:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025909#M40112</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-07-27T14:05:40Z</dc:date>
    </item>
    <item>
      <title>That's great!</title>
      <link>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025910#M40113</link>
      <description>&lt;P&gt;That's great!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jul 2015 16:44:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Cordova-notification-error/m-p/1025910#M40113</guid>
      <dc:creator>Anusha_M_Intel1</dc:creator>
      <dc:date>2015-07-27T16:44:36Z</dc:date>
    </item>
  </channel>
</rss>

