Android Room Persistence Example
| | | | | | |

Android Room Persistence Example

Today we’re gonna look out a new Android Architecture Component library called Room. The room is basically a “Persistence library that provides an abstraction over SQLite“. The room is a new way to create the database in your Android apps. Although the Android framework provides built-in support for SQLite database, there are many drawbacks working with SQLite….

Android WorkManager Example
| | | |

Android WorkManager Example

Hi, guys today I’m gonna talked to you about a new library Google released is WorkManager. WorkManager is a part of AndroidJetpack and an Architecture Component for a background work. WorkManager chooses an appropriate way to schedule a background task depending on the device API level and including dependencies. It might use JobScheduler, Firebase JobDispatcher, or AlarmManager. …

Online Offline Audio Streaming With ExoPlayer
| | |

Online Offline Audio Streaming With ExoPlayer

Recently I’ve been working on a media player application in my previous freelancing project. The application includes so much online, offline audio and video streaming. So, I tried to use Android framework classes such as MediaPlayer and AudioPlayer to play media files. As it turned out after so many hours of frustration, MediaPlayer sends out weird exceptions and  I…

Android Example : Animate marker on Google map with current location
| | |

Android Example : Animate marker on Google map with current location

Hi, guys today we’re going to see how we can animate marker on google map with user current location. In this blog, we’re going to use the Google Map API for google maps. I’m not going to show how you can get Google Map API from Google Console. If you want to see how to…

Android Download Manager Example
| | |

Android Download Manager Example

Hey guy’s, today we’re going to learn how can we download a file, mp3, ppt or image from the internet with DownloadManager. Downloading a file from the internet is a basic need of the app right. So, with DownloadManager it’s very easy. DownloadManager is an android system service that handles long-running HTTP downloads. Apps request for downloads…

Current Location With Google Map Street View Android
| | | |

Current Location With Google Map Street View Android

Hey guy’s, today we’re going to learn how we can show the current location of the user on GoogleMapStreetView. I’m going to reuse the code from my previous blog => Android Google Map Street View Example. The previous Article was about how to show GoogleMapStreetView in Android app. In this blog, we’re not going to set up Google Map Console…

Android Google Map Street View Example
| | | |

Android Google Map Street View Example

Hey, today we’re going to learn how we can integrate Google Map Street View into our Android app. Google Street View provides panoramic 360* views. The coverage available through the Google Map Android API v2 is the same as that for Google Map. You can read more about Street View here. Google Map Setup  First, sign…

Solved issue, Recycler View changes the views when scrolling.
| | | |

Solved issue, Recycler View changes the views when scrolling.

I’ve met this problem with Recycler View. When I update a view, like changing the CheckBox, SwitchCompat, change the background color of view etc. After that when I scroll down or go up the view back to its normal position like the changes that I made it’s gone from view. It is because RecyclerView recycles every view which is…

RxJava with Examples | Reactive Programming for Beginners
| | |

RxJava with Examples | Reactive Programming for Beginners

Hey, guys today we’re going to learn about RxJava. RxJava stands for a Reactive extension. RxJava is one of the most popular libraries for reactive programming. Reactive programming basically provides a simple way of asynchronous programming. RxJava follows the Observer pattern. People are gonna say’s you like asynchronous is complex, it’s very hard. All this true working…