June 2012

Application Class: Application-wide data sharing #android

Read Time 2 minutes There are cases when we need to share same data to all application components and we want anyone to be able to update that data. Example of this use-case can be application settings e.g shared preferences. Application class instance is initiated before any other component and remained there till the application terminate. You can think …

Application Class: Application-wide data sharing #android Read More »

Scheduling activities, services and broadcasts #Android

Read Time 2 minutes AlarmManager comes into play when we need to schedule different task in some future time/date or we need to execute some task repeatedly. AlarmManager is android service provided for scheduling purposes. We can use AlarmManager to start activities/services and to send broadcast in some future date/time. Activities, Services or broadcasts registered with AlarmManager will be …

Scheduling activities, services and broadcasts #Android Read More »