Saturday, September 14, 2013

Flash Builder: Creating Simple Greetings App 1


1) Create a new project.
Go to File/New/Flex Mobile Project.
2) Project Location.
Project name: Greetings.
Click Next.
3) Mobile Settings
Select Blank Application Template.
Click Next.
4) Server Settings.
Application server type: None/Other.
Click Next.
5) Build Paths.
Application ID: com.example.greetings
Click Finish.
6) Project is successfully created.
Notice three important panels:
i) Package Explorer Panel.
ii) Outline Panel.
iii) Main Panel. (Source Tab and Design Tab)
7) Click Design Tab.
8) Flash Builder changes the Design perspective.
9) Set the device to Samsung Galaxy Ace.
10) Drag the Label component to the main panel.
11) Edit the text display via Properties Panel.
Text: Hello.
12) Run.
Find the Run Button.
Click the down-arrow and select Run As/Mobile Application.
13) Since this is the first time you run the project, you need to set its run configurations.
Target Platform: Google Android
Launch method: On desktop: Samsung Galaxy Ace
Click Apply.
Click. Run.
14) You may be required to save the file if you haven’t done so.
15) Simulator runs.
16) Close the simulator.
17) Click Source Tab.
This is your only code so far.

No comments:

Post a Comment