Programming

Creating a Project with Storyboard

In this tutorial we will examine how to create simple a storyboard project with CrossMobile. (Mac only) First Open the CrossMobile manager and click New Project. In the new project window select “Base storyboard project” and click Create. When the Project window opens, select “Visuals” from the side bar and make sure that “Main” is set as the Main Storyboard. And run your project for ios.

Continue reading

Hello World application

Hello World application This tutorial is a presentation of the code of your first “HelloWorld” application. You’ll get a glimpse of your code and you will run your first application. This guide is meant to be used with the evaluation version of CrossMobile. If you haven’t installed CrossMobile yet first look at our first run tutorial. For the needs of our first example we are going to use Netbeans as IDE.

Continue reading

Phonebook

Phonebook application tutorial 1.Creating the project In this project we will create a Simple phonebook. Given a list of people from an xml file that we create the application presents it to the user using a UITableView. We will also implement “add” and “delete” contact actions, but since writing to a file would be beyond the scope of this tutorial, the changes will not be saved. First we need to add the phonebook.

Continue reading

Roll Dice

Roll dice application tutorial In this tutorial we are going to create a simple roll dice application for Android, IOS and Desktop. The user is prompted to choose whether to roll one or two dices. The following instance shows app’s first view on all three devices. 1.Create a new project To create a new project press the new project button.

Continue reading

Simple Browser

Simple Browser Application tutorial 1.Introduction In this tutorial we are going to create a simple browser. This browser will have a UIWebView to load the different pages, a UISearchBar that will search the web via Google and present the results on UIWebView and a UIToolbar for back, forward, and home buttons. 2.Adding the UIWebview First we are going to add the UIWebView. The View will take full width and cover the screen but we have to make sure that we leave enough space for the search bar and the toolbar.

Continue reading

Truth or Dare

Truth or Dare application tutorial In this tutorial we will make a Truth or Dare game. We are going to use landscape orientation, custom image for background, custom buttons and JSON parsing. 1.Creating the project – choosing Landscape view First of all open CrossMobile and click New Project

Continue reading

UIButton Basic Tutorial

UIButton Basic Tutorial Buttons are simple elements that take finger taps as input. In other words, a button (sometimes known as a command button or push button) is a user interface element that provides the user a simple way to trigger an event like searching for a query at a search engine, interacting with dialog boxes, confirming an action. In order to present button function we are going to add one to our “HelloWorld” application.

Continue reading

UILabel Basic Tutorial

In this tutorial we will create an app that displays labels. Labels are created using the UILabel class. Particularly UILabel class implements a read-only text view. You can use this class to draw one or multiple lines of static text, such as those you might use to identify other parts of your user interface. The base UILabel class provides support for both simple and complex styling of the label text. You can also control over aspects of appearance, such as whether the label uses a shadow or draws with a highlight.

Continue reading

UIView Basic Tutorial

UIView Basic Tutorial First of all, we need to introduce the fundamental concepts of application’s view architecture. We are going to present two basic classes the UIView class along with the related CGRect class (that is structure), that both are used in order to representation of an application. The UIView class defines a rectangular area on the screen along with the necessary interface for managing the content in that area.

Continue reading