Button

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. Let’s name this project Dice. Then press Code button to open your new project with NetBeans. As our first HelloWorld project each CrossMobile project has the basic three files Main.java, ApplicationDelegate.java and ViewController.java.

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 Name your Project TruthOrDare and press Create: Go to the visuals tab, select “Left” for Initial Orientation and choose only “Left” on Supported Orientations.

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