ImageView

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