Starting With WinDev Mobile 19 Express

Where we display a Hello Message on Button Click.

When you Start WinDev Mobile, it will show many things, such as an online tutorials window and other necessary windows. Just close all other windows if it is not necessary. Your first image in WinDev will be as in the following:

create a project

Inside create a Project window. There are many platforms from where you can start your application, but we will start from an Android Application.

Choose Create a Project and select Android Application.

Android Application

After you choose Android Application you will enter into a new window "Wizard for Project Creation”. Inside that window description is the first step where you need to give the Project Name and Location where you want to save the application. There is the summary block too where you can put a short summary of your project. After that just click on the arrow button.

click on arrow button

In the next description window there is an Attached Documents panel where, if you have something to upload with your application such as a Read Me note, Diagram or Specifications, you can upload there. Just go to Next by clicking on the arrow button.

clicking on the arrow Button

In the Next Window you need to browse your Android SDK, provide the path in the path of SDK field. If you don't have the Android SDK then download it from the source, unzip it and paste it into this path: 

SDK Manager

Check whether or not your SDK Manager has the necessary files. It is necessary to have Android SDK Tools and Support Library, without this your application won't work.

Support Library

description

In the next window you need to select the device on which you want to run your first application.

select the Device

Make it Next and again Next and you will be there on Step Two of the Wizard for Project Creation – Charters. In that there is a Style Book where you need to choose the theme for your application. Choose ActivAndroid 4-Holo Dark.

ActivAndroid

Then you don't need to stop, just make it next and next, they will prompt you by asking if you want to make a database for your application or not, right now it is really not necessary so we choose “No we don't want to add Database”, then again Next and make it OK at last.

A window will open asking for “what do you want to do?” In that choose WinDev Mobile Editor.

WinDev Mobile Editor

You will see nothing happened at all in WinDev Mobile Express, Now go to Home, then New and you will see that a Wheel Shaped UI will open. Here's the image:

new project

project

Inside this you need to choose Window, then a new window will appear. Click Blank and then select ActivAndroid4 Holo as theme. Click OK.

blank

You will see your screen will look like the following image, then you need to save your application by clicking the Save button:

create application

first applicatio

Whatever name you provide in the save title field will show at the top of the screen on your mobile.

To design our application you need to add some controls, so for that go to the top menu. Click the Creation tab and then click the OK button. Now drag the button into your Mobile Screen.

button

Now right-click on the button and select Description, then change the name of the button to "Click me for popup".

Click me for Pop Up

It is not yet ready, we need to do it like when we click on the button, it  will show a message. For that right-click on the button and select code. Under Btn_Click_Me_for_Pop_up write the following code:

Info(“Hey There Buddy! I am your First Android Application”)

Select Code

Now it's over, just press F9 to run our application.

run our Application

I hope you liked it. Have a good day.


Similar Articles