This post is a part 40 of Intel XDK Complete Tutorial post series. With just few lines of code you can hide status bar in Intel XDK //event is fired when all Intel XDK apis are loaded. document.addEventListener("intel.xdk.device.ready",function(){ //this function actually hides the status bar intel.xdk.device.hideStatusBar(); },false);
This post is a part 44 of Intel XDK Complete Tutorial post series. In this tutorial I will show you how you can lock your Intel XDK apps orientation and also detect the current orientation. Locking Orientation intel.xdk.device.setRotateOrientation() function is used to lock orientation. Lock to “portrait” orientation intel.xdk.device.setRotateOrientation("portrait"); Lock to “landscape” orientation intel.xdk.device.setRotateOrientation("landscape"); Unlock […]
This post is a part 1 of Intel XDK Complete Tutorial post series. Cross-platform mobile application development is a technique of writing single codebase for apps that will be in the end installed and used in different mobile operating systems. Applications built using this technique are called as cross-platform mobile apps. Cross-platform mobile apps that […]
In this tutorial I will show how to detect phone shake with just few lines of JavaScript code. We will be using shake.js library to detect it. This library uses Device Orientation API to function. Example Here is just few lines of code to detect phone shake View Demo <script type="text/javascript" src="https://cdn.rawgit.com/alexgibson/shake.js/master/shake.js"></script> <script> […]
APP Framework is a CSS and JavaScript library which is used to design mobile applications created using HTML5 Mobile frameworks like Phonegap or Intel XDK. Intel APP Framework can do more things than just designing, its primary objective is to design apps. This is a tutorial for beginners who don’t have any knowledge about APP […]