Embarcadero Technologies 4
Creating a Sample Application ......................................................................................... 46
Designing the User Interface ......................................................................................... 46
Retrieving the Contacts List ........................................................................................... 49
Implementing the Control Elements Functionality...................................................... 51
Keeping Address Book in Sync ..................................................................................... 54
Configuring Access to Address Book ........................................................................... 55
Running the Sample Application ...................................................................................... 57
See Also .............................................................................................................................. 59
Code Samples ................................................................................................................. 59
Mobile Tutorial: Using a Button Component with Different Styles (iOS and Android) .... 60
Buttons in Mobile Platforms .............................................................................................. 60
Define the Look and Feel for a Button Component ....................................................... 61
Using TintColor and IconTintColor on Buttons ........................................................... 62
Using Styled and Colored Buttons on Target Platforms ............................................. 64
Customizing Buttons with Styles ................................................................................... 64
Placing an Image over a Button .................................................................................... 64
Create a Segmented Control Using Button Components.............................................. 65
Create a Scope Bar on a Toolbar Component ................................................................ 67
Important Differences Between a TButton and TSpeedButton ..................................... 68
See Also .............................................................................................................................. 68
Mobile Tutorial: Using a Calendar Component to Pick a Date (iOS and Android) .......... 69
Calendar in Mobile Platforms ............................................................................................ 69
Implementing an Event Handler for User Changes to the Date .................................... 71
See Also .............................................................................................................................. 72
Samples ........................................................................................................................... 73
Mobile Tutorial: Using Combo Box Components to Pick Items from a List (iOS and Android)
................................................................................................................................................. 74
Implementing a Picker in Multi-Device Applications ...................................................... 74
Building a List of Items Using Code.................................................................................. 76
Displaying a Specific Item ................................................................................................. 77
Implementing an Event Handler for the User's Selection ............................................... 78
See Also .............................................................................................................................. 79
Samples ........................................................................................................................... 80
Mobile Tutorial: Using a Map Component to Work with Maps (iOS and Android) ......... 81
Basic Features of the TMapView Component ................................................................. 81
Creating a Sample Application ......................................................................................... 82
Configuring Android Applications to Use the TMapView component ...................... 82
Designing the User Interface ......................................................................................... 82
Running the Sample Application ...................................................................................... 87
See Also .............................................................................................................................. 88
Code Samples ................................................................................................................. 88
Mobile Tutorial: Using a MultiView Component to Display Alternate Views of Information (iOS
and Android) ........................................................................................................................... 89
About the TMultiView Component ................................................................................... 89
Master Pane Presentation Modes ................................................................................. 90
评论4
最新资源