This 4 day class focuses on practical concerns faced by the corporate IT developer. The primary case-study application connects popular mobile features such as maps and multimedia with a RESTful web service and a JPA persistence tier that connects to a fully-worked enterprise database (15 tables, 998 rows). The mobile side of the application includes 47 Java classes and 8 distinct activities. Supporting applications provide overlapping exercise in key techniques such as using asynchronous tasks, communicating with external applications, and error-handling.
Goals
- Store app-specific information in SQLite databases.
- Make remote connections using HTTP, XML, and JSON, and take advantage of mapping and other web services.
- Implement background work as asynchronous tasks.
- Implement Android services for asynchronous notification, and integrate these services with applications.
- Invoke external applications and services using implicit intents.
- Manage audio, photo, and video content, and integrate built-in media applications in your own Android applications.
- Integrate map views into your application, and provide custom overlays of map markers and other information.
- Publish to app markets.
Outline
- Database Storage
- SQLite
- The SQLiteDatabase Class
- The SQLiteOpenHelper Class
- Installing Databases
- The query Methods
- Using Cursors
- Database Updates
- Networking and Web Services
- java.net
- android.net
- Apache HttpClient
- Consuming RESTful Web Services
- Building URLs
- Parsing JSON
- Parsing XML
- Connected Applications
- Offline Operation and Server Synchronization
- Asynchronous Tasks
- The UI Thread
- Background Tasks
- Loopers and Handlers
- Using AsyncTask
- Using ProgressDialog
- Error Handling
- Services
- The Roles of Services
- Invoking a Service
- Do’s and Don’ts
- Communication with the Application
- Communication with Activities
- Sending Notifications
- Pending Intents
- Downloaders
- Polling Web Services
- Inter-Process Communication
- Breaking Out
- Using the Clipboard
- Linkifying Text
- Implicit Intents
- Invoking Built-In Applications and Services
- Accepting Implicit Intents
- Passing Data
- MIME Types
- Multimedia
- Playing Sounds
- Haptic Feedback (Vibrating)
- Managing Images
- Storage and Retrieval
- Invoking the Camera
- Invoking the Media Recorder
- Gallery and other Image Views
- Location Services and Maps
- Location Services
- Location Notifications
- The Google Maps API
- License Terms and Maps API Keys
- Map View and Map Activity Classes
- Configuring a Map
- Controlling a Map
- Events
- Projections
- Map Overlays
- Item Overlays
- Custom Overlays
- Publishing
- The App Market
- Preparing Your App
- Debug vs. Release Builds
- Signing an APK File
- Publishing Your Application
- Application Metadata
- Updates and Support
To Hire an AMS Android Developer Subject Matter Expert and Instructor who also teaches this class, call us today at 800-798-3901!