Introduction Dialogs are the one of the most basic part of an application. Usually we need dialogs to inform the user about some kind of notifications or to take the quick user input on screen without navigating to a separate page of the application. We can display also dialogs in widows store application.
Informative Dialogs This kind of dialogs are the one which usually used to notify the user about any information. It has an information in the body with a button to close the dialog.
Introduction : Its a very common functionality or requirement to display data in rows format. In order to do so Titanium provides API like ‘TableView’ which can be used to make table format with different rows. Below is a description on how to use the table view with Alloy in Titanium. Alloy supports the most popular design pattern i.e. MVC, which generally have model, view and controller structures. We will follow the same pattern in Titanium.
Description : Using Alloy, we will have a view which will hold all the UI components to be displayed on screen and will have a controller for this corresponding view. Currently we will not go for building any model as we don’t need it.
Variable is a symbol or name that stands for a value. Variables play an important role in computer programming because they enable programmers to write flexible programs. Rather than entering data directly into a program, a programmer can use variables to represent the data. Later, when the program is executed, the variables are replaced with real data. This makes it possible for the same program to process different sets of data.
There are five types of variables supported in Rhomobile. These types of variables are explained below.
Introduction: As a WinJS application programmer, we need to choose a right project template to begin with the application. Templates are the pre-built frames to support the programmers with some pre-written code architectures. So we need to choose the correct template among them.
Visual studio offers 6 types of templates for WinJS as follows.
Camera Permission: In order to use the device camera, we need to get the permission by defining the capabilities in build.yml file.
In this post, we will see how to capture the image using Camera API and store it to app base path so as to gain permission to later upload it to server. We will see the way to store the details of the image on the rhom ( SQLite database ), then later upload the file to server on the time of sync process.