Hacking Android 341

13.1 The Android/Linux:junction 342

Tool chain 342 ■ Building an application 343 ■ Installing and running the application 344 ■ Build script 346

13.2 A better way 347

The static flag, revisited 347 ■ Linking 349 ■ Exit, not return 351 Startup code 352

13.3 What time is it? 355

Daytime Server application 355 ■ daytime. c 355 ■ The SQLite database 358 ■ Building and running Daytime Server 360

13.4 Daytime Client 362

Activity 362 ■ Socket client 363 ■ Testing Daytime Client 364

13.5 Summary 365

appendix A Installing the Android SDK 367

appendix B Signing and installing applications on an Android device 375 index 383

0 0

Post a comment