Displaying popups Using Flyouts WinJS Control


Flyouts are also a kind of popup. They appear on the screen on request. Unlike the dialogs, flyouts are usually non-modal. It is a WinJS control which can be customized basing upon the requirement.

Unlike the dialogs, Flyouts can be closed by clicking somewhere in the screen area out side the flyout itself. We can customize the look feel along with the display position of the flyout.

Continue reading

Displaying Dialogs in WinJS

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.

Continue reading

Tableview in Cross-Platform App using Alloy in Titanium

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.

Continue reading

Types of Variables in Rhomobile

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.

Continue reading

Choosing a Project Template While Creating a Windows Store Application in WinJS

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.

Continue reading

A Deep Look Into Camera API of Rhomobile

In this post, we will go through the available methods for Camera API in details using Rhodes. This post will just explain the methods and uses of the Camera API from ruby excluding the rho-element javascript API.

Camera Permission:
In order to use the device camera, we need to get the permission by defining the capabilities in build.yml file.

Continue reading

Capturing Image Using Camera API & Uploading it to Server

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.

Capturing Image Using Device Camera:
As described on the previous post, A Deep Look into Camera API of Rhomobile, we need to use take picture method to capture the photo.

Continue reading