" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Obtaining Device platform/OS and OS version using PhoneGap

Posted on November 23rd, 2015 by Sourabha Sahoo

Sometimes you might need to design different UI for mobile devices according to operating system and its version. So to know on which OS and OS version the device is operating, you can use PhoneGap by following the steps bellow. 1.Add the javascript file provided by PhoneGap/Cordova in your html page. 2.Add the event listener […]

Checking Internet connection type in mobile devices using PhoneGap

Posted on November 23rd, 2015 by Sourabha Sahoo

If you want to know whether your cellular device is connected to internet or not and which type of internet connection the device have, you can easily check it by using PhoneGap. Following steps explain how to use Phonegap to get device connection type. 1.Include the Phonegap/Cordova javascript file inside your html page. 2.Add the […]

Getting Images from Gallery and SD card in Smartphones using PhoneGap

Posted on November 23rd, 2015 by Sourabha Sahoo

If you want to get the images from device gallery or SD card, Phonegap can help you to do it by using the following method. 1.Include the Phonegap/Cordova javascript file inside your html page. 2.Create a function to get the images from specified source like Gallery or SD card. function getImage() { navigator.camera.getPicture(onSuccess, onFailure, { […]

iOS Calender integration in Titanium

Posted on November 23rd, 2015 by Soutam Dhara

Titanium Supports differents type of Module for iPhone and Android. This is Titanium-Calender Module for iPhone. You can download the source code from https://github.com/stelford/Titanium-Calendar Details instruction of using this module in titanium app also describe in this link.  

Creating Navigation Group in iPhone using Titanium

Posted on November 23rd, 2015 by Lopamudra Joshi

Navigation group is used to navigate between two or more pages in iPhone in an animated / sliding way. The API provides with a back button which can be used to go back to the previous view. For a navigation group to exist there should be at least a root level window that would act […]

Custom Control In Navigation Group

Posted on November 23rd, 2015 by Lopamudra Joshi `

This tip demonstrates how to add custom controls to a navigation group and change navigation group color/image. For changing color barColor property of a window is set to a color and for changing/ assigning an image to navigation group the barImage property is used. In the following snippet a root window created, in which one navigation […]