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.
Introduction: In my last blog ( Capture whole screen at any time with Corona ) I have explained you that how easily we can take screenshot of the screen of our app using corona. So today I am going to explain you that how can corona can be useful to take a picture of specific display object.
Description: As we already know that the ‘display’ API can be used to capture any screen, in similar way display library has funcion called ‘capture’ used to take the picture of a pointed UI element.
So let’s have a screen where we will have few UI elements and then we will capture one of the display object present on screen.
Introduction: Think of a scenario where you are in certain position of a game level where you need to save the screenshot of that instance and probably you can share them later to your social network. So don’t worry more. Using Corona with few simple steps you can implement this feature to you application
Description: Corona provides several API which makes your life easy while developing your application. ‘Display’ is the one of the API which generally called to populate UI element on the screen but it also have some function which can be called to capture the screen. Continue reading →
While working with projects, data binding is one of the most important factor for any application. We need to bind the data to the controls in order to display the same to the user. After any successful data insertion data viewing plays a great role. So the user can verify their data on screen. WinJS provides an extensive support for the same as well.