You are on page 1of 3

Introduction to bada: A Developer's Guide - (draft preview, July 2010)

Contents
About this ePublication ............................................................................................................................... vii

Preface ....................................................................................................................................................... viii

Introduction ................................................................................................................................................... 1

Overview of the book................................................................................................................................ 1

Part 1: About bada ........................................................................................................................................ 3

Chapter 1: The mobile difference ................................................................................................................. 4

1.1 The mobile context ............................................................................................................................. 4

1.2 Characteristics of mobile software ...................................................................................................... 6

1.3 Mobile app development best-practices ............................................................................................ 10

Chapter 2: bada basics ................................................................................................................................ 15

2.1 Your first bada application................................................................................................................ 16

2.2 The application UI ............................................................................................................................ 26

2.3 UI Builder ......................................................................................................................................... 32

2.4 Hooking up your Forms to your code ............................................................................................... 42

2.5 The App Icon and other properties ................................................................................................... 49

2.6 Becoming multilingual in 3 easy steps ............................................................................................. 50

2.7 From idea to published app ............................................................................................................... 54

Chapter 3: Beyond the basics ...................................................................................................................... 70

3.1 Expanding the application skeleton .................................................................................................. 70

3.2 Using the UI Framework .................................................................................................................. 78

i
Introduction to bada: A Developer's Guide - (draft preview, July 2010)

3.3 Using graphics .................................................................................................................................. 88

3.4 The BuddyFix UI revisited ............................................................................................................. 105

Chapter 4: bada fundamentals ................................................................................................................... 116

4.1 Architecture overview ..................................................................................................................... 116

4.2 bada coding idioms ......................................................................................................................... 117

4.3 bada basic functionality .................................................................................................................. 138

4.4 Security and the privilege model in bada ........................................................................................ 147

Chapter 5: Exploring bada server.............................................................................................................. 151

5.1 What are the services? .................................................................................................................... 151

5.2 How it works ................................................................................................................................... 155

5.3 Services in detail ............................................................................................................................. 158

Chapter 6: bada Namespaces .................................................................................................................... 189

6.1 using directives and declarations ................................................................................................. 190

6.2 How this chapter is organized ......................................................................................................... 192

6.3 Namespaces in detail....................................................................................................................... 195

Part 2: Recipes .......................................................................................................................................... 258

Introduction ........................................................................................................................................... 260

2.1 Adding a Form ................................................................................................................................ 262

2.2 Adding a button to a Form .............................................................................................................. 267

2.3 Adding softkeys to a Form .............................................................................................................. 274

2.4 Adding an option menu to a Form .................................................................................................. 278

2.5 Display MessageBox to confirm an action ..................................................................................... 284

2.6 Using a keypad control ................................................................................................................... 288

ii
Introduction to bada: A Developer's Guide - (draft preview, July 2010)

2.7 Get touch events.............................................................................................................................. 298

2.8 Using base applications................................................................................................................... 306

2.9 Get magnetic field from Compass Sensor....................................................................................... 315

2.10 Get geographic data from provider and show map ....................................................................... 321

Appendix A: A UML primer .................................................................................................................... 327

Appendix B: A software engineering process model for mobile app development.................................. 329

iii

You might also like