Skip to content
AndroidBoss
AndroidBoss
Build Android Apps Like a Boss
Home Contact Us Terms and Conditions Privacy Policy
AndroidBoss
AndroidBoss
Build Android Apps Like a Boss
Home Contact Us Terms and Conditions Privacy Policy

Category: java

Protected apps

How to enable auto start permission programmatically for customized android OS?

November 3, 2021

Mi, Xiaomi, Oppo, Vivo, Huawei, LeTV, Asus like smartphone manufacturers are using a customized android OS that looks like and works differently than the stock android OS. Those manufacturers use lots of security functionality. Like your background service will be stopped after screen lock, the device will go to doze mode, foreground service will not […]

comment 0 Comments
REQUEST_IGNORE_BATTERY_OPTIMIZATIONS Dialog

Android Ignore Battery Optimization Programmatically

October 23, 2021

We develop some android applications with foreground services that execute tasks for a long time. But from Android M or Android 6 or Marshmellow or API v23+, Android decided to put optimize for doze and app standby That causes the app to go to standby mode. The app cannot communicate with a server or do […]

comment 0 Comments

Archives

  • December 2022
  • November 2021
  • October 2021

Categories

  • android
  • beginner
  • coroutines
  • java
  • kotlin

Recent Posts

  • How to disable doze mode in android, kotlin?
  • Debounce in Kotlin Android Search View
  • How to enable auto start permission programmatically for customized android OS?
  • What is a Factory Method in Kotlin?
  • What are Generics in Kotlin?

Recent Comments

No comments to show.