<?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 Try to use like this: in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/How-to-use-build-function/m-p/1020978#M38178</link>
    <description>&lt;P&gt;Try to use like this:&lt;/P&gt;

&lt;P&gt;function apertura(){&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;$.ajax ({&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: "http://.......",&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataType:"application/json", //o que espero receber&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; success: function(retorno) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; funPegaTempoRefresh(retorno);&lt;BR /&gt;
	&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; error: function (jqXHR,textStatus,errorThrown) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; funAvisaProblema(jqXHR,textStatus,errorThrown)&lt;BR /&gt;
	&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;&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;</description>
    <pubDate>Sun, 31 May 2015 20:39:46 GMT</pubDate>
    <dc:creator>Hamilton_Tenório_da_</dc:creator>
    <dc:date>2015-05-31T20:39:46Z</dc:date>
    <item>
      <title>How to use build function</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-use-build-function/m-p/1020977#M38177</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;recently I have written a code for an application and that code works correctly using the emulators of INTEL XDK but, when I create the file .apk for my smarthphone and install it, It opens correctly but it doesn't work. For example in the following code I want that when you click on botton appear an "alarm" page and is send a web request. The web page ask an authorization and I use the "xmlhttprequest" function for it. I repeat that it works correctly using emulator but not when I install it on my smarthphone.&lt;/P&gt;

&lt;P&gt;Could you help me?&lt;/P&gt;

&lt;P&gt;thank you very much&lt;/P&gt;

&lt;P&gt;(ps: "url" is the url of my personal webpage that is protected by admin and password)&lt;/P&gt;

&lt;PRE class="brush:xml;"&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;


    &amp;lt;head&amp;gt;
        &amp;lt;meta charset="UTF-8"&amp;gt;
        &amp;lt;link rel="stylesheet" type="text/css" href="jqm/jquery.mobile-min.css"&amp;gt;
        &amp;lt;title&amp;gt;Blank App Designer Packaged Web App Project Template&amp;lt;/title&amp;gt;
        &amp;lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"&amp;gt;

        &amp;lt;meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no"&amp;gt;

        &amp;lt;style&amp;gt;

                @-ms-viewport { width: 100vw ; min-zoom: 100% ; zoom: 100% ; }          @viewport { width: 100vw ; min-zoom: 100% zoom: 100% ; }
                @-ms-viewport { user-zoom: fixed ; min-zoom: 100% ; }                   @viewport { user-zoom: fixed ; min-zoom: 100% ; }

        &amp;lt;/style&amp;gt;

        &amp;lt;link rel="stylesheet" href="css/app.css"&amp;gt;
        &amp;lt;link rel="stylesheet" type="text/css" href="css/index_main.less.css" class="main-less"&amp;gt;

  
        &amp;lt;script src="cordova.js" id="xdkJScordova_"&amp;gt;&amp;lt;/script&amp;gt;

        &amp;lt;script src="js/app.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;!-- for your event code, see README and file comments for details --&amp;gt;
        &amp;lt;script src="js/init-app.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;!-- for your init code, see README and file comments for details --&amp;gt;
        &amp;lt;script src="xdk/init-dev.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;!-- normalizes device and document ready events, see file for details --&amp;gt;
        &amp;lt;script type="application/javascript" src="lib/jquery.min.js"&amp;gt;&amp;lt;/script&amp;gt;
        &amp;lt;script type="application/javascript" src="jqm/jquery.mobile-min.js" data-ver="0"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;/head&amp;gt;

    &amp;lt;body&amp;gt;

        &amp;lt;div class="upage vertical-col left" id="mainpage" data-role="page"&amp;gt;
            &amp;lt;a class="widget uib_w_1 d-margins" data-uib="jquery_mobile/button" data-ver="0" onclick="apertura()" data-role="button" data-theme="a"&amp;gt;Button&amp;lt;/a&amp;gt;

        &amp;lt;/div&amp;gt;
        &amp;lt;script type="text/javascript"&amp;gt;
            function apertura(){
                var request =XMLHttpRequest();
                request.open("GET", "url",false,"admin","password");
                request.send(null);

                alert('messaggio')
            }
        &amp;lt;/script&amp;gt;
    &amp;lt;/body&amp;gt;

&amp;lt;/html&amp;gt;&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 13:04:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-use-build-function/m-p/1020977#M38177</guid>
      <dc:creator>Denis_S_</dc:creator>
      <dc:date>2015-05-31T13:04:53Z</dc:date>
    </item>
    <item>
      <title>Try to use like this:</title>
      <link>https://community.intel.com/t5/Software-Archive/How-to-use-build-function/m-p/1020978#M38178</link>
      <description>&lt;P&gt;Try to use like this:&lt;/P&gt;

&lt;P&gt;function apertura(){&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;$.ajax ({&lt;/SPAN&gt;&lt;BR /&gt;
	&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; url: "http://.......",&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; dataType:"application/json", //o que espero receber&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; success: function(retorno) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; funPegaTempoRefresh(retorno);&lt;BR /&gt;
	&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; error: function (jqXHR,textStatus,errorThrown) {&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; funAvisaProblema(jqXHR,textStatus,errorThrown)&lt;BR /&gt;
	&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;&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2015 20:39:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/How-to-use-build-function/m-p/1020978#M38178</guid>
      <dc:creator>Hamilton_Tenório_da_</dc:creator>
      <dc:date>2015-05-31T20:39:46Z</dc:date>
    </item>
  </channel>
</rss>

