Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/thrawn01/android-service-dialog-demo

Example of getting a Service and Dialog working with orientation changes
https://github.com/thrawn01/android-service-dialog-demo

Last synced: 5 days ago
JSON representation

Example of getting a Service and Dialog working with orientation changes

Awesome Lists containing this project

README

        

## Android Application Demo
This application demo shows how to accomplish the following

### Service Example
This demo demonstrates how to create a service that will carry out several workloads in a sequential
manner using a ServiceIntent(). In addition the service notifies the Activity Thread when it is
working using a handler passed via bindService()

### Progress Dialog Example
This demo demonstrates how to create a progress dialog that survives orientation change and
application exit and re-entry

### Notification Example
This demo demonstrates how to create a notification bar while a service is running.
*NOTE: This Notification example does not demo PendingIntent, but instead marks the MainActivity as
android:launchMode="singleTask" to avoid issues that may arrise when using the back button after
opening the MainActivity via the Notification*