Phonegap 3.0 plugins can be added to the project using the CLI (Command Line Interface). Phonegap 3.0 had made the developers life much easier to utilize the plugins. We just need to follow two basic steps to use the plugins.
Here are the two basic steps we need to flow.
1. Adding the plugin to application
Before moving forward, I would like to elaborate the basic structure used with Phonegap 3.0 plugins. The plugins will be having the below structure. Continue reading →
Flip view by default comes with the style templates, which can be customized to produce a different appearance. Editing or styling the flip view container or its next and previous buttons can be done through these style sheet.
By default flip views for Windows store app have their own Next and Previous buttons, which are defined in their default styles sheet with a class named as “Arrow”. We can find the default style sheet from this MSDN Link .
Let’s replace the default arrow with a custom Image to change the flip view appearance. Continue reading →
In this post we will discover the use of Google API to get the latitude and longitude by passing the address/location in PhoneGap application.
It is very easy to get the geographic coordinates (latitude & longitude) from a particular address using Google API. Google API exposes Geocoder() method which takes the address as input parameter and returns the geometry.location as output. We can parse the geometry.location to get the latitude and longitude value.
Here is the code snippets to get the latitude and longitude value from specific address. Continue reading →
Here are three basic steps we need to flow to create the plugin.
1. Creating the Native Java Interface
3. Configuring the plugin Continue reading →
In this post we will discover the use of Google API to get the current address and type of address by using the PhoneGap geolocation API and Google API.
Sometimes we need to get the address of a location from geolocation value. It is very very easy to get the same using Google API and PhoneGap. First we need to get the geolocation value i.e latitude and longitude using PhoneGap geolocation API.
Here are the steps that we need to follow.
Flipviews are a common control provided along with the windows store library. They are commonly used for magazines and news applications where reading content page wise is essential. It provides a unique swipe effect where you can see pages sliding horizontally or vertically according to your requirement.
For Swipe gestures using mouse, as per the default style, there are arrows on both side boundaries of the flip view pointing towards the required direction of movement.
We will Look into a situation where we need to remove the arrows of the flip view from it’s style. This situation may arise when we want an entirely touch application where swiping the screen might be the only option. Continue reading →
We can get desired format of output, using the advance use of ‘render’. If we need to render some data in different format like STRING, JSON, XML, following are the different ways to do the job.
Method 1 : Render as String def get_string
render :string => ‘This is a sample line’
end Continue reading →
Introduction Table view may contain different sections where each of those section may contain several rows. Here I am describing the way to calculate total number of rows present in a table view which have different section.
Summary : Now easily we can get the total number of rows present on a table view with Alloy using Titanium.