<?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 Hello! in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048993#M49142</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;No, I am trying to read data from a MYSQL server, so local storage is no viable for me!&lt;/P&gt;

&lt;P&gt;But thanks for trying, those links help me to understand more the process to connect the app to the server.&lt;/P&gt;</description>
    <pubDate>Tue, 05 May 2015 14:35:00 GMT</pubDate>
    <dc:creator>Sero_V_</dc:creator>
    <dc:date>2015-05-05T14:35:00Z</dc:date>
    <item>
      <title>Connect application with MYSQL</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048991#M49140</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;I am a newbie trying to make an application, but i am stock because i am still learning all about this world of hybrid-apps.&lt;/P&gt;

&lt;P&gt;My question is this, i have this application made by the app-designer and it's ok but i have no idea how to connect my application to the server database, i readed a lot of tutorials and I found about the web services so i did it i created the web service but after this point i have no idea! This created 3 files for me but i don't know what to do with them, Do i need an API key to connect my app?&lt;/P&gt;

&lt;P&gt;I know that i must query my app to get the data from the DB with JSON but i don't know where to put or even write code to connect the app. My app will show some budgets, So i need to login with email and password and then show the concepts.&lt;/P&gt;

&lt;P&gt;So i am here asking for some help or someone who can guide me, i just need to learn the path and i will search for myself!&lt;/P&gt;

&lt;P&gt;Hope someone can help me and sorry for my bad english!&lt;/P&gt;

&lt;P&gt;Sergio&lt;/P&gt;

&lt;P&gt;Regards!&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 14:57:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048991#M49140</guid>
      <dc:creator>Sero_V_</dc:creator>
      <dc:date>2015-04-30T14:57:28Z</dc:date>
    </item>
    <item>
      <title>Are you trying to save</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048992#M49141</link>
      <description>&lt;P&gt;Are you trying to save locally?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I believe this link will help you--&amp;nbsp;http://stackoverflow.com/questions/22828109/intel-xdk-connecting-your-mobile-app-to-a-database&lt;/P&gt;

&lt;P&gt;and specifically this one--&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&lt;A href="https://software.intel.com/en-us/articles/html5-local-storage" target="_blank"&gt;https://software.intel.com/en-us/articles/html5-local-storage&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 18:20:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048992#M49141</guid>
      <dc:creator>Amrita_C_Intel</dc:creator>
      <dc:date>2015-04-30T18:20:14Z</dc:date>
    </item>
    <item>
      <title>Hello!</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048993#M49142</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;

&lt;P&gt;No, I am trying to read data from a MYSQL server, so local storage is no viable for me!&lt;/P&gt;

&lt;P&gt;But thanks for trying, those links help me to understand more the process to connect the app to the server.&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 14:35:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048993#M49142</guid>
      <dc:creator>Sero_V_</dc:creator>
      <dc:date>2015-05-05T14:35:00Z</dc:date>
    </item>
    <item>
      <title>You need to create either an</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048994#M49143</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;You need to create either an ASP.NET web service or PHP web service.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Pass your query to the web service and return the result as JSON data.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;Parse the JSON data in javascript in XDK to display your data.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 08:24:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048994#M49143</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-05-06T08:24:13Z</dc:date>
    </item>
    <item>
      <title>Hello</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048995#M49144</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;This is a Brasil portuguese video but explain intel xdk and mysql connection&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=XvkoPP05wtk" target="_blank"&gt;https://www.youtube.com/watch?v=XvkoPP05wtk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Download the files on description may help&lt;/P&gt;

&lt;P&gt;Marcos&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 00:59:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048995#M49144</guid>
      <dc:creator>Marcondes__Marcos</dc:creator>
      <dc:date>2015-08-04T00:59:00Z</dc:date>
    </item>
    <item>
      <title>Create your back end in PHP</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048996#M49145</link>
      <description>&lt;P&gt;Create your back end in PHP or ASP and call them like this:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var input ="Michael";

//Main function call it from your code
function CallBackEnd(){
intel.xdk.device.getRemoteDataWithID("http://yourserver.com/webservice.php","POST","&amp;amp;user="+input,"CallBackS","CallBackF","12345");
}

//Success callback
function CallBackS(uniqueid,data){
console.log(data);
alert("Response from server is "+data );
}
//Error call back
function CallBackF(uniqueid,data){
alert("Network problem");
}

The main function above will POST  the variable user via the value "input".

In you PHP code you can do:

&amp;lt;?php
$data = $_POST['user'];
echo "$data";
?&amp;gt;

In Html 

Do this: &amp;lt;button onclick="CallBackEnd();"&amp;gt;Push Data&amp;lt;/button&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2015 11:28:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048996#M49145</guid>
      <dc:creator>Michael_O_2</dc:creator>
      <dc:date>2015-08-10T11:28:25Z</dc:date>
    </item>
    <item>
      <title>Quote:Michael O. wrote:</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048997#M49146</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Michael O. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Create your back end in PHP or ASP and call them like this:&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;var input ="Michael";

//Main function call it from your code
function CallBackEnd(){
intel.xdk.device.getRemoteDataWithID("http://yourserver.com/webservice.php","POST","&amp;amp;user="+input,"CallBackS","CallBackF","12345");
}

//Success callback
function CallBackS(uniqueid,data){
console.log(data);
alert("Response from server is "+data );
}
//Error call back
function CallBackF(uniqueid,data){
alert("Network problem");
}

The main function above will POST  the variable user via the value "input".

In you PHP code you can do:

&amp;lt;?php
$data = $_POST['user'];
echo "$data";
?&amp;gt;

In Html 

Do this: &amp;lt;button onclick="CallBackEnd();"&amp;gt;Push Data&amp;lt;/button&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hello Michael,&lt;/P&gt;

&lt;P&gt;I am new to mobile and web development, so please give me a working example of Web API or web service to retrieve and insert data on SQL and MySQL server using Intel XDK for mobile applications.&lt;/P&gt;

&lt;P&gt;How to write, deploy Self Developed Web API or Web Service and consume those service for my mobile app.&lt;/P&gt;

&lt;P&gt;Thanks to you in advance you can contact me &lt;A href="mailto:20krish@gmail.com"&gt;20krish@gmail.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 22:17:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048997#M49146</guid>
      <dc:creator>Krishna_A_</dc:creator>
      <dc:date>2015-10-05T22:17:14Z</dc:date>
    </item>
    <item>
      <title>See here for both a PHP and</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048998#M49147</link>
      <description>&lt;P&gt;See here for both a PHP and ASP.NET example.&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;A href="https://software.intel.com/en-us/forums/intel-xdk/topic/549664" target="_blank"&gt;https://software.intel.com/en-us/forums/intel-xdk/topic/549664&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 06:53:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048998#M49147</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-10-06T06:53:56Z</dc:date>
    </item>
    <item>
      <title>Hello Nick,</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048999#M49148</link>
      <description>&lt;P&gt;Hello Nick,&lt;/P&gt;

&lt;P&gt;With your help i have done data fetching from my SQL Server to my website using C#.&lt;/P&gt;

&lt;P&gt;But i am still unable to fetching data in mobile app.&lt;/P&gt;

&lt;P&gt;If there is any suggestions, please suggest me.&lt;/P&gt;

&lt;P&gt;I would try today for mobile app in Intel XDK.&lt;/P&gt;

&lt;P&gt;Thanks Again Bro...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 15:08:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1048999#M49148</guid>
      <dc:creator>Krishna_A_</dc:creator>
      <dc:date>2015-10-06T15:08:56Z</dc:date>
    </item>
    <item>
      <title>Have you published your</title>
      <link>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1049000#M49149</link>
      <description>&lt;P&gt;Have you published your webservice to a webserver for the purposes of testing.&lt;/P&gt;

&lt;P&gt;Can you PM me a link to the webservice with any relevant inputs required to retrieve the data so I can take a look.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2015 17:25:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Connect-application-with-MYSQL/m-p/1049000#M49149</guid>
      <dc:creator>Nick_F_2</dc:creator>
      <dc:date>2015-10-06T17:25:05Z</dc:date>
    </item>
  </channel>
</rss>

