This article will provide an understanding of the high-level concepts at the back of the architecture of Android applications. We will see in detail at the two different components that can be used to create an application and the mechanisms that work together to create a unified application.
Those who know Object-oriented languages can understand the concept of encapsulating the elements of application functionalities and then used as objects to creating and manipulating the application. Since Android applications developed in Java and Kotlin. So Android architecture also has the concept of reusable components to the higher level.
Android application is…
In this article, I will tell you about making the feature for recording the screen in the Android App. Actually, I’m developing the internet speed test app for a software company in which I’m doing a full-time job for three months. The app has a feature like when the user starts the internet speed test the screen recorder feature should start recording the screen in the background. So I have successfully implemented this screen recording feature in the app.
Now I am excited to share this feature with you guys. …
In this article, I will teach you how to use Google translate API free unlimited request in any android app. This way is totally free to develop a translation app.
Here is the final output of this example.
In this article, I have shown you the basic working of the translator app. You can check out my translator app at play store. Click here for checking.
I have created some steps to create a Language Translator App. Here you can see these steps in the following.
First of all, if you didn’t read the previous part then this article may not mean. So go to the following link then come back to this article.
Now In this part, I’m going to make features in which the user can see notes, edit and delete. Here are the screenshots of the features.
How to make Note App in Android Studio
Here is the demo video for this article. So that you can check the final result of this tutorial if you follow from start to end.
Now I am going to design an Activity that can store notes. The design will look like this.
Today I’m going to teach you about restartable foreground service even phone will turn off and turn on again or even rebooted the device. It is the perfect way to restart the foreground service and run it continuously. So first discuss the basic concept of foreground service
What is the foreground service?
Now let me tell you a little bit about foreground service. I didn’t take much time to explain it. Basically, foreground service is a background process that remains in a running state even app closed and removed from the recent list.
Let’s start developing an auto-start foreground service.
There are two methods for removing the app from the recent list of app.
1. Using Manifest file
1) Manifest File
As we know Manifest file is used to declare all activities using the activity tag in XML. So if you want to remove the app from the recent list in Android then you are at the right place. We will discuss both methods in this article. In your activity tag, you have to mention three attributes which are listed below.
2) Removing the app from the recent list programmatically in android
Create a new project using an Android studio then go to the resource folder I mean res folder in your android studio project after it expands the values folder and double click on the strings.xml file and make a string array in it with your own values which you want to display in your custom spinner. As I make a String array in the following image.
Recently I was working on my Translator app, I implemented the feature which shows a home screen widget when users copy text from any other app, and this feature was successfully implemented in all Android versions less the Android 10. I didn’t succeed in getting the text from clipboard or clipboard manager in android 10 programmatically.
Actually, I was using the background service to listen to the clipboard copy event.
I used the following code to detect the clipboard copy listener
I’m a good husband, father and Senior Developer.