Latest Posts

Badge for TabLayout using setCustomView

layout/tab_header_badge.xml

References https://mobikul.com/make-custom-tabs-icons-android/ https://stackoverflow.com/questions/41530141/how-to-show-notification-counter-in-a-tablayout https://stackoverflow.com/questions/43266079/how-to-add-badge-to-android-tablayout

Continue reading »

Tablayout with Icons on Android

or

References https://stackoverflow.com/questions/30892545/tablayout-with-icons-only

Continue reading »

Scheduling in Spring with Quartz

References http://www.baeldung.com/spring-quartz-schedule

Continue reading »

Access to application class in Broadcast Receiver

References https://stackoverflow.com/questions/24825684/access-to-application-class-in-broadcast-receiver

Continue reading »

Check Google Play Services Availability on Android

It should be called on onResume:

References https://www.programcreek.com/java-api-examples/?api=com.google.android.gms.common.GoogleApiAvailability

Continue reading »

Interprocess Communication between Activity and Service using Messenger on Android

MyService

MainActivity

AndroidManifest.xml

References https://www.youtube.com/watch?v=yAmnirP0d4U&t=0s&list=PLshdtb5UWjSp0879mLeCsDQN6L73XBZTk https://developer.android.com/guide/components/bound-services

Continue reading »

Schedule tasks with AlarmManager on Android

Receiver Class

Manifest file

onCreate of Service

Rereferences https://developer.android.com/training/scheduling/alarms https://stackoverflow.com/questions/4459058/alarm-manager-example https://www.javatpoint.com/android-alarmmanager

Continue reading »
1 2 3 70