Showing posts with label XDK-Intel. Show all posts
Showing posts with label XDK-Intel. Show all posts

Friday, June 6, 2014

Fast Track to Intel® XDK NEW

Wonderful tutorial for developing mobile apps with XDK

Quote from site : 

Fast Track to Intel® XDK NEW is designed to teach experienced web developers and designers how to design, implement, and package web applications for mobile devices. The course is task-based, with you learning by performing a series of hands-on tasks. Over the next four hours you will create a web application named “Friends with Beer” that enables users to create a themed contact manager that uses many mobile-specific features such as calculating geoposition, video playback, push notifications, phone dialing, sending emails, and more!

 https://software.intel.com/en-us/html5/articles/fast-track-to-intel-xdk-new


Thursday, June 5, 2014

XDK Intel - Ajax calls

Sample from  StackOverflow

http://stackoverflow.com/questions/21890565/intel-xdk-doesnt-let-me-make-ajax-calls
<html>
<head>
    <title>AJAX and XDK</title>
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0;" />
    <script type="text/javascript" charset="utf-8" src="http://code.jquery.com/jquery-2.0.3.min.js"></script>  
    <script src="intelxdk.js"></script>
    <script src="xhr.js"></script>
    <script>
        function doAJAX() {
            $.ajax({
                type:'GET',
                url:'http://time.jsontest.com/',
                success: function (data) {
                    alert(JSON.stringify(data))
                }
            });
        }
</script>
<style>
    body {font-family:arial;background-color:white}
</style>    
</head>
<body>         
    <h3>AJAX Call</h3>
    <button onclick="doAJAX()">AJAX Call</button>
</body>
</html>