SPECIAL OFFERS
Keep up with new releases and promotions. Sign up to hear from us.
Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
Wi>Android Apps with App Inventor provides hands-on walkthroughs that cover every area of App Inventor development, including the Google and MIT versions of App Inventor.Kloss begins with the absolute basics of program structure, syntax, flow, and function, and then demonstrates simple ways to solve today’s most common mobile development problems. Along the way, you’ll build a dozen real Android apps, from games and geotrackers to navigation systems and news tickers. By the time you’re done, you’ll be comfortable implementing advanced apps and mashups integrating realtime multimedia data from all kinds of Web services with the communication and sensor-based features of your smartphone.
Topics covered include
This book will empower you to explore, experiment, build your skills and confidence, and start writing professional-quality Android apps—for yourself, and for everyone else!
Companion files for this title can be found at informit.com/title/9780321812704
Preface by Hal Abelson xv
Preface xvii
Acknowledgments xxi
About the Author xxiii
Introduction 1
Structure and Overview 2
Requirements 5
History 5
Part I: Preparing Your First App 13
Chapter 1: Preparation and Installation 15
System Requirements 17
Login Data for App Inventor 27
Installation of the App Inventor Setup Software 29
Android Device Settings 33
Chapter 2: The Development Environment 39
Welcome to App Inventor! 40
App Inventor Designer 41
App Inventor Blocks Editor 53
Integrate Android Phone 63
Using the Emulator 69
Start-Up Problems 72
Chapter 3: Developing Your First App 81
Creating the Project “LaughBag” 82
Designing the User Interface 84
Developing App Functionality 97
Creating and Installing the App 107
Part II: Easy Projects as a Warm-Up 131
Chapter 4: Basic Terms and Central Concepts 133
Properties and Property Blocks 133
Events and Event Handlers 135
Methods and Method Blocks 137
Chapter 5: The AI References 139
Component Reference 139
Blocks Reference 143
Concepts Reference 145
Chapter 6: Graphical User Interface 147
Displaying Text with the Label Component 147
Triggering Actions with the Button Component 150
Selecting Options with the CheckBox Component 153
Entering Text with the TextBox Component 158
Entering Confidential Text with the PasswordTextBox Component 161
Displaying Notices and Alerts with the Notifier Component 164
Tidying the Screen with the Screen Arrangement Components 167
Actions at App Start with the Screen Component 171
Chapter 7: Multimedia 175
Media Access Options 175
The Basic Principle: Synergy 178
Displaying Local and Online Images with the Image Component 179
Taking Photos and Displaying Them with the Camera Component 183
Managing Images with the ImagePicker Component 188
Sound Effects and Vibration with the Sound Component 192
Playing Audio Files with the Player Component 195
Playing Movies with the VideoPlayer Component 199
Recording Audio with the SoundRecorder Component 203
Chapter 8: Example Project: Creating a Media Center 211
Ergonomic Redesig