Video tutorial to delete specific row from a table view in Alloy using Titanium

Introduction :

As we can dynamically add rows to a table view, we can also delete a specific row from a table view.

Titanium provides ‘deleteRow’ method using which we can delete any row.

With the help of below video, I am going to describe the way to delete row.

Summary :

So using the above code block we can add the functionality to delete any specific row from a table view.


Written ByRaju Mahato, Software Developer, Mindfire Solutions

Using PhoneGap notification API to display customized alert

Introduction: In each and every mobile application we need to display customize message to user and the message should be well formatted and well designed. As we know PhoneGap application is based on JavaScript , we normally use JavaScript to display the message. But PhoneGap provides the mechanism to display well formatted message using Notification API.

 Description: As PhoneGap supports JavaScript we can use the JavaScript to show the alert but that alert will not look good in mobile devices.The alert will display with the page name as alert header. Continue reading

Remove all rows from a table view using Titanium with Alloy

Introduction :

There might be a scenario where we need to delete all rows from a table view. At this point also Titanium provides a way to meet our requirement.

Here I am going to describe you the way to delete all rows using the below video.



Summary :
Here we came to know about the way to delete all rows from a table view using Alloy with Titanium.



Written ByRaju Mahato, Software Developer, Mindfire Solutions

Detecting current postion of mobile devices using PhoneGap Geolocation API

Introduction: Geolocation is the property by which we can detect the current position of the device using latitude and longitude. We can get the location by invoking GPS(Global Positioning System) and the location obtain from network signals such as IP address, WiFi and mobile networks. PhoneGap provides the geolocation API which can be used to detect the device position by invoking the GPS. So with out using any native plugin, we can get the device geolocation simply using JavaScript.

Description: PhoneGap Geolocation API is basically based upon the W3C Geolocation API and it follows the same specification that W3C Geolocation does to detect the device latitude and longitude. So after integrating the Geolocation API, when we run the application in device it will ask for the user permission in iOS devices as per the privacy guidelines. If we cancel the permission then the app will not be able to obtain the geolocation.

Continue reading

Creating PhoneGap Android application using version 3.0.

Introduction: Previously PhoneGap was providing total package as a single version which contains all the necessary files for each platform. We are downloading the zip as a version and integrating the required files inside our Android application. It was working same till version 2.9 but from version 3.0 onwards the scenario is little different.

Description: From 3.0 onwards PhoneGap is not providing the zip file to download and integrate the same with our application. Now it is giving the install option, so we can directly install the PhoneGap into our system and use the same to create the application. Here we will focus on creating the Android application using version 3.0.

To install the PhoneGap we need some dependencies which will help PhoneGap to work properly. Continue reading

Writting on Canvas in Windows Store App

This video demonstrate the canvas in action with Windows Store app. We can write or make drawings using canvas. We can draw/write custom lines/letters using finger/mouse/pen on screen in Windows Store Apps. We are using Html5, CSS and JS to demonstrate the same.

Presented By: Nirmal Hota, Cross-Platform Mobile and Windows Phone Lead, Mindfire Solutions