Sunday, September 15, 2013

Flash Builder: Creating Converter App 2

-----
Flash Builder 46 Creating Converter App 2
1) Create new Flex Mobile Project.
1a) Project Location.
Project name: Converter2.
1b) Mobile Settings.
Target platforms: all.
Application Template:Blank.
1c) Server Settings.
Application server type: None.
1d) Build Paths.
Application ID: com.example.converter2
2) Project creation done.
3) Set Device and Switch to Design mode.
4) Set Run Configuration.
Target Platform: Google Android
Launch Method: On Desktop:Samsung Galaxy Ace
5) Drag the the label component to the top-left position of the View.
Type the text as "Select Measurement".
6) Add a RadioButtonGroup.
6a) Drag the RadioButtonGroup to a position below the label.
6b) Click each of the Radio buttons and edit their labels.
7) Drag other components to the View.
7a) Set their texts/labels and IDs as follows:
7b) Set text2 and text property "Enabled:False"
8) Check your codes.
Notice that the <fx:Declarations> tag contains the declaration of the variable radiogroup1. This variable stores the value of the selected radio buttons within the group.
9)Run.
9a) Initial outcome.
9b) Rotate. (Go to menu Device/Rotate Left or Press Ctrl+L)
The objects arrangement does not fit the screen.
To simplify development process, we will use View Application template.

No comments:

Post a Comment