Pages

Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Friday, December 3, 2021

How to Create Background Services in Android Studio

 Services in Android 


FOREGROUND : Runs even if app is killed displays notification while running

BACKGROUND : Run like foreground without notification

BOUND :  Bounded to component . alive till component is alive\



Github: https://github.com/OwaisBukhari/BackgroundServices

Youtube: https://youtu.be/D0QxMBjcfl0


Tuesday, July 20, 2021

Fused locations api in android studio

In order to acces the device location one can go networkprovided location or gps provided location . fused location provider api enables us to use location whenever we desires with less use of power consumption .and it enables us to get the best location of the meanwhile . it normally uses the last known location used by amy app in the devices and display it to the user 

KeyPoints-Series-1

  The Android architecture has the Main Thread AKA UI thread, which updates the UI after every  16ms  frame.