Google Geofence API is used when you want to notify users if they are near the specific area in the world (such as Shopping Malls, Airport, Restaurants etc.). For example, the customer has installed an online shopping app and if they are near one of the stores that the app has a tie up with, then store could generate a notification in the app to let the customer know that the store near them has a special offer running for them. This way you can engage more users.
To use the Geofence API, you’ll have to obtain the Google Maps API key using the following set of steps. …
The WorkManager is an API which can schedule your future asynchronous tasks and can run them in the background. The tasks assigned to the WorkManager are executed even if the user is outside the app or app is closed. WorkManager can run your task(s) for one time only as well as many times or periodically.
We’ll build an Android Application which will show the live cases of Coronavirus in RecyclerView. We’ll follow the MVVM Architecture Pattern, and implement LiveData with Kotlin.
Our final application will something like this.
As a Software Developer, you must be worried about your app credentials such as remote server “API_KEY”, ”DATABASE_USERNAME” and “DATABASE_PASSWORD” etc. And of course, it's really a thing to be worried about, right?. But do we still have the solution to this problem? or do we still store our App credentials inside the gradle.properties or build.gradle? and if we do, then I would say these are the old ways. Because once your app becomes popular, then someone can decompile to view the BuildConfig to get the secret keys, and this could land you into serious trouble. …
In Android, we have a problem arising from the fact that Android activities are closely coupled to both UI and data access mechanisms. But application code must be easily scalable, maintainable, readable and also testable, etc. To achieve all of this, we’ll use MVP architectural pattern which divides applications into three layers. And three layers are Model, View and Presenter.
Note: Presenter is the intermediator between Model and View which means View and Model can’t communicate directly with each other. …
Microservice is a software development technique which aims to break down the components of the applications into smaller parts which are independent from each other and can work together. Breaking down the application components provide ease in development, increase code readability and also codebase becomes easy to maintain and test.
To proceed further with Microservices, firstly understand what is the monolithic architectures.
Monolithic means composed all in one place. Monolithic is a traditional way of writing code which incorporates components of the software in a single container and these components are interconnected ,dependent and tightly coupled. …
We all use Google in our daily life to search our queries and we get the response accordingly. But you might have come across a situation where you searched your query but didn’t get the exact links what you’ve been searching for and waste a lot of time to find the exact piece of information you needed. It happens due to Unoptimized queries, so in this guide we’ll learn those tricks which will help save your time as well as give you the exact information you needed.
Blockchain might sound like its too much complicated at first but to be honest its not, if i break this term down into two new words, then they are block and chain. And now block means the container or box which can contain the information such as transactions date, amount of money transferred or deposited and the name of a person whom money was sent. So in simplest term, blockchain is the chain of blocks which are interconnected by a link or node.
What we will learn from this guide
When I was learning Java programming seven years ago from now, I used to ask a lot of questions from myself and friends about this marvellous language but there was one question which popped up most of the time until I didn’t find the satisfactory answer. The question was why java bytecode can run on any machine or platform and how it is different from the other code?. The answer to this question was not easy for me at that time because I was just getting started.
So in this guide, I’m going to answer the following questions
Even if you’re a beginner, intermediate, or senior developer, it doesn’t actually matter because one day you’ll have to deal with file handling.
File handling is nothing but a combination of various operations performed on the files such as opening the file, reading the file, and writing the file, etc.
There are generally two types of files — text file and binary file.
A text file stores the textual information, for example, any message saying “Hello World” and saved as .txt extension, while images are stored in the form of binary numbers such as 0’s or 1’s and saved as .bin …