Muutke küpsiste eelistusi

E-raamat: Beginning Android Programming with Android Studio 4th Edition [Wiley Online]

  • Formaat: 464 pages
  • Ilmumisaeg: 09-Dec-2016
  • Kirjastus: Wrox Press
  • ISBN-10: 1119419336
  • ISBN-13: 9781119419334
  • Wiley Online
  • Hind: 42,28 €*
  • * hind, mis tagab piiramatu üheaegsete kasutajate arvuga ligipääsu piiramatuks ajaks
  • Formaat: 464 pages
  • Ilmumisaeg: 09-Dec-2016
  • Kirjastus: Wrox Press
  • ISBN-10: 1119419336
  • ISBN-13: 9781119419334
Each book aims to teach an important technology or programming language and is designed to take a person from being a novice to a professional by including the most essential information and explaining step by step how to put together real-world projects.

A hands-on introduction to the latest release of the Android OS

As the fastest-growing mobile platform today, the Android OS is a powerful and flexible platform for mobile devices and the new Android 5 release boasts significant new features and enhancements for both smartphone and tablet applications. This full-color resource takes a hands-on approach to teaching you how to create Android applications for the latest OS and the newest devices, including both smartphones and tablets.

  • Addresses how to display notifications, create rich user interfaces, and use activities and intents
  • Reviews mastering views and menus and managing data
  • Discusses working with SMS and messaging APIs
  • Looks at packaging and publishing applications to the android market
  • Shows you how to install and use Eclipse and the Android SDK

Beginning Android Programming starts with the basics and goes on to provide you with everything you need to know to begin to successfully develop your own Android applications.

Introduction xvii
Chapter 1 Getting Started With Android Programming 1(28)
What Is Android?
2(6)
Android Versions
2(1)
Features of Android
3(1)
Architecture of Android
4(1)
Android Devices in the Market
4(3)
The Android Market
7(1)
Obtaining the Required Tools
8(16)
Android Studio
8(6)
Android SDK
14(1)
Creating Android Virtual Devices (AVDs)
15(9)
The Android Developer Community
24(1)
Launching Your First Android Application
24(2)
Summary
26(3)
Chapter 2 Using Android Studio For Android Development 29(18)
Exploring the IDE
30(8)
Using Code Completion
38(1)
Debugging Your Application
39(5)
Setting Breakpoints
39(4)
Navigating Paused Code
43(1)
Publishing Your Application
44(1)
Generating a Signed APK
44(1)
Summary
45(2)
Chapter 3 Activities, Fragments, And Intents 47(54)
Understanding Activities
48(13)
Applying Styles and Themes to an Activity
53(1)
Hiding the Activity Title
54(2)
Displaying a Dialog Window
56(3)
Displaying a Progress Dialog
59(2)
Linking Activities Using Intents
61(14)
Returning Results from an Intent
66(4)
Passing Data Using an Intent Object
70(5)
Fragments
75(19)
Adding Fragments Dynamically
81(3)
Life Cycle of a Fragment
84(4)
Interactions Between Fragments
88(4)
Understanding the Intent Object
92(1)
Using Intent Filters
93(1)
Displaying Notifications
94(4)
Summary
98(3)
Chapter 4 Getting To Know The Android User Interface 101(46)
Understanding the Components of a Screen
102(22)
Views and ViewGroups
103(1)
FrameLayout
104(1)
LinearLayout (Horizontal) and LinearLayout (Vertical)
104(10)
TableLayout
114(2)
RelativeLayout
116(1)
FrameLayout
117(4)
ScrollView
121(3)
Adapting to Display Orientation
124(3)
Anchoring Views
125(2)
Managing Changes to Screen Orientation
127(6)
Persisting State Information During Changes in Configuration
131(1)
Detecting Orientation Changes
132(1)
Controlling the Orientation of the Activity
132(1)
Utilizing the Action Bar
133(9)
Adding Action Items to the Action Bar
136(6)
Creating the User Interface Programmatically
142(3)
Listening for UI Notifications
145(1)
Summary
145(2)
Chapter 5 Designing Your User Interface With Views 147(56)
Using Basic Views
148(19)
TextView View
148(1)
Button, ImageButton, EditText, CheckBox, ToggleButton, RadioButton, and RadioGroup Views
149(9)
ProgressBar View
158(6)
AutoCompleteTextView View
164(3)
Using Picker Views
167(8)
TimePicker View
167(5)
DatePicker View
172(3)
Using List Views to Display Long Lists
175(11)
ListView View
175(9)
Using the Spinner View
184(2)
Understanding Specialized Fragments
186(13)
Using a ListFragment
187(4)
Using a DialogFragment
191(3)
Using a PreferenceFragment
194(5)
Summary
199(4)
Chapter 6 Displaying Pictures And Menus With Views 203(28)
Using Image Views to Display Pictures
203(12)
ImageView View
204(2)
ImageSwitcher
206(5)
GridView
211(4)
Using Menus with Views
215(10)
Creating the Helper Methods
215(2)
Options Menu
217(3)
Context Menu
220(5)
Using WebView
225(3)
WebView
225(3)
Summary
228(3)
Chapter 7 Data Persistence 231(38)
Saving and Loading User Preferences
232(14)
Accessing Preferences Using an Activity
232(10)
Programmatically Retrieving and Modifying the Preferences Values
242(4)
Persisting Data to Files
246(8)
Saving to Internal Storage
246(4)
Saving to External Storage (SD Card)
250(3)
Choosing the Best Storage Option
253(1)
Creating and Using Databases
254(12)
Creating the DBAdapter Helper Class
254(6)
Using the Database Programmatically
260(6)
Summary
266(3)
Chapter 8 Content Providers 269(28)
Sharing Data in Android
270(1)
Using a Content Provider
271(10)
Predefined Query String Constants
278(1)
Projections
279(1)
Filtering
280(1)
Sorting
280(1)
Creating Your Own Content Providers
281(8)
Using the Content Provider
289(5)
Summary
294(3)
Chapter 9 Messaging 297(28)
SMS Messaging
298(21)
Sending SMS Messages Programmatically
298(4)
Sending SMS Messages Using Intent
302(1)
Receiving SMS Messages
302(16)
Caveats and Warnings
318(1)
Sending Email
319(3)
Summary
322(3)
Chapter 10 Location-Based Services 325(26)
Displaying Maps
326(14)
Creating the Project
326(1)
Obtaining the Maps API Key
326(1)
Displaying the Map
327(2)
Displaying the Zoom Control
329(3)
Changing Views
332(1)
Navigating to a Specific Location
333(2)
Getting the Location That Was Touched
335(2)
Geocoding and Reverse Geocoding
337(3)
Getting Location Data
340(8)
Monitoring a Location
348(1)
Summary
348(3)
Chapter 11 Networking 351(30)
Consuming Web Services Using HTTP
352(18)
Downloading Binary Data
354(7)
Downloading Text Content
361(3)
Accessing Web Services Using the GET Method
364(6)
Consuming JSON Services
370(7)
Summary
377(4)
Chapter 12 Developing Android Services 381(34)
Creating Your Own Services
382(15)
Performing Long-Running Tasks in a Service
386(5)
Performing Repeated Tasks in a Service
391(3)
Executing Asynchronous Tasks on Separate Threads Using IntentService
394(3)
Establishing Communication Between a Service and an Activity
397(4)
Binding Activities to Services
401(5)
Understanding Threading
406(5)
Summary
411(4)
Appendix: Answers To Exercises 415(6)
Index 421
J. F. DiMarzio began developing games in BASIC on the TRS-80 Color Computer II in 1984. Today he is a seasoned Android developer with two professional applications and one game on the Android Marketplace, and an industry track record with major organizations including the U.S. Department of Defense and the Walt Disney Company. An accomplished author, he has written 13 books over the past 14 years. Visit us at wrox.com where you have access to free code samples, Programmer to Programmer forums, and discussions on the latest happenings in the industry from around the world.