Android 5 programming by example : turn your ideas into elegant and powerful mobile applications using the latest Android Studio for the Android Lollipop platform /
If you have a great idea for a mobile app, and some familiarity with Java, or a similar procedural programming language, then all you need is this book to turn your idea into a reality.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2015.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Setting up the Development Environment
- What is Android 5?
- Lollipop from a user's perspective
- Lollipop from a developer's perspective
- Material Design
- Other devices
- Installing and configuring the development environment
- Installing the SDK
- Managing the SDK tools
- Creating a Hello World app
- Testing the app on a physical device
- Setting up a virtual device
- Monitoring devices
- SummaryChapter 2: Building a UI
- Applying a Material Design theme
- Adding animated widgets
- Designing an XML layout
- Controlling the widget behavior with Java
- Creating alternative layouts
- Summary
- Chapter 3: Activities and Fragments
- Adding a CardView widget
- Adding images and text to the layout
- Creating a second Activity
- Applying Fragments
- Adding static Fragments
- Adding menus and toolbars
- Adding menu items to the menu XML files
- Configuring the toolbar
- Summary
- Chapter 4: Managing RecyclerViews and their DataCreating a RecyclerView
- Adding a CardView with Layout
- Adding a LayoutManager
- Adding a Dataset
- Creating an Adapter
- Responding to the RecyclerView selections
- Creating the OnClickListener
- Adding the new Activity
- Creating the portrait layout
- Creating the landscape layout
- Connecting Views to web pages
- Summary
- Chapter 5: Detecting Touchscreen Gestures
- Adding a GestureDetector to a view
- Adding the gallery data
- Adding the GestureDetector
- Viewing gesture activity with DDMSImplementing a SimpleOnGestureListener
- Adding a GestureDetector to an Activity
- Designing the splash screen layout
- Editing the Manifest
- Adding the GestureDetector
- Summary
- Chapter 6: Notifications and the Action Bar
- Constructing a ViewPager
- Creating the layout
- Adding a ViewPager and FragmentPagerAdapter
- Adding tabs and dates
- Programming notifications
- Adding a standard notification and icon
- Expanding a notification
- Issuing heads-up and lock screen notifications
- Summary
- Chapter 7: Maps, Locations, and Google ServicesBuilding a location-aware app with Google Maps
- Acquiring an API Key
- Acquiring the last known location
- Requesting location updates
- Moving around and animating a Google Map
- Summary
- Chapter 8: Apps for TVs, Cars, and Wearables
- Android Wear
- Constructing and connecting to a wearable AVD
- Connecting a wearable AVD with another emulator
- Creating a wearable project
- Designing a UI for wearables
- Designing the layout
- Adding cards
- Customizing cards
- Accessing sensor data