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…

Dagger With Retrofit And RxJava Example | RecyclerView
| | |

Dagger With Retrofit And RxJava Example | RecyclerView

This is the third part of Dagger with Retrofit tutorial. In this part, we’re going to make our network request with RxJava and simply show data in RecyclerView. Note: I strongly recommend you to see my previous blogs this series. If you haven’t seen my previous blogs, then I’m afraid you will not understand. So, without further ado…

Dagger with Retrofit Example – Using Dependency Injection in Activity
| |

Dagger with Retrofit Example – Using Dependency Injection in Activity

This is the second part of Dagger with Retrofit tutorial. In the first part, we’ve achieved the hard part of how to set up dependency injection. In this article, we’re gonna see how we can use the dependencies in our Activity. So, let’s begin with adding Dagger to our Activity. Below is the MainActivity. @Override protected void…

Dagger with Retrofit Example – Set up Dependency Injection
| |

Dagger with Retrofit Example – Set up Dependency Injection

 Today, we’re going to learn about Dagger 2. Dagger 2, first of all, is really an annotation processor or just the code generator. Many of the people seem to think that Dagger 2 is how you do dependency injection, actually, it’s not. It is just a boilerplate code generator and dependency injection is something…

Java TCP Client Server Chat Application using Sockets
| |

Java TCP Client Server Chat Application using Sockets

This is a very simple Client/Server Chat Application using TCP Sockets Java. Complete Code for Client & Server can be found below for download. How it Works Here is an example of how a very simple client-server chat application works. These are the stages involved: Step 1:  In any Client/Server Application, we need to run the…