Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Android Articles
Page 8 of 125
How to define a GUI layout using XML files in Android?
Introduction GUI (Graphical User Interface) of any android application lets users interact with the various functionalities of android applications. The GUI is the main part of the application which is visible to the user. GUI of any android applications can be designed in several different ways such as using XML, Dart, Kotlin and many more. In this article we will take a look at How to define a GUI layout of an android application using XMl files. Implementation We will be creating a simple application in which we will be creating a text view for displaying the heading of our ...
Read MoreHow to create a custom shaped bitmap marker with Android maps API?
Introduction Many android applications nowadays use Google Maps within it to display the map to the users. For example we use many food delivery applications in which we can get to see our order status along with the location of the delivery boy on Google Maps. We can get to see different types of markers on each of the application depending on their use case. In this article we will take a look on How to create a custom shaped bitmap marker with android maps API? Implementation We will be creating a simple application in which we will be displaying ...
Read MoreHow to close an Android application gracefully?
Introduction In many android applications we can see that when the application is being closed an animation is added to it which will close the application by displaying a closing animation to it. This will make the application user interface better. In this article we will take a look on How to close an Android application gracefully ? Implementation We will be creating a simple application in which we will be creating a text view in which we will be displaying the heading of our application. After that we will be creating a button which we will be using to ...
Read MoreHow to check programmatically if an application is installed or not in Android?
Introduction Many times in android applications we have to take help of some other applications from our application. We have to open another application from our application. For example if we want to open a Google map from our application to show the route between two locations. Before opening the Google Maps we have to firstly check whether the Google Maps application is currently installed on the user device. In this article we will take a look at How we can check whether the application is installed or not. Implementation We will be creating a simple application in which we ...
Read MoreHow do I return a boolean from AsyncTask in Android?
Introduction Async Task is a class in android which is being used to perform some background long running tasks such as loading the images from the internet in background. If the image is huge in size then we can load that image from the internet as a background task using AsyncTask in Android. In this article we will take a look at How to return a boolean from an Async Task in Android. Implementation We will be creating a simple application in which we will be displaying a text view for heading of the application. Then we are creating one ...
Read MoreHow can I record a Video in my Android app?
Introduction Video Recording is a most common feature which we can currently get to see in many android applications. This feature is mostly seen used in payments applications where the application has to verify the identity of the user for authentication as well as doing their KYC. In this article we will take a look on How to record a video within our android application. We will be building a simple android application in which we will be displaying a button and a video view in which when a user clicks on a button we will record a video and ...
Read MoreHow can I read SMS messages from the device programmatically in Android?
Introduction Many times in android applications we get to see that the app reads sms from the users mobile device and displays that within the application. Such as when we are creating an sms application we display the sms from users mobile device within our application. In this article we will take a look on How can i read sms messages from the device programmatically in Android. Implementation We will be creating a simple application in which we will be creating a text view in which we will be displaying the heading of the application. After that we will be ...
Read MoreHow can I do something like a FlowLayout in Android?
Many times in android applications we have to explain to the user about the step by step guide for performing a certain task within an application such as How to book a service which is being provided within our application. For that we have to display a detailed guide on this in the form of flow layout. In this article we will take a look on How to create something like a Flow Layout in Android. Implementation We will be creating a simple application in which we will be displaying a simple text view. After creating this text view we ...
Read MoreHow can I check if the Android phone is in Landscape or Portrait?
Introduction Many times while launching a specific screen for an android application, we have to check the orientation of the device whether the device is in portrait mode or a landscape mode. In this article we will take a look at How we can check if the Android phone is in Landscape mode or a portrait mode. Implementation We will be creating a simple application in which we will be displaying two text views. First text view we will be using it to display the heading of our application. In the second text view we will be displaying the ...
Read MoreFrameLayout VS AbsoluteLayout in Android?
Introduction Frame Layout and Absolute Layout are two different layouts used for developing an Android application. Frame layout is simply used to display a single child view in a stacked layout, where UI elements are placed on top of each other in a stacked manner. It is similar to that of Relative Layout which is used to display multiple UI Elements. Whereas Absolute Layout is used to specify the exact location of elements on the screen. Absolute Layout is less flexible to maintain different screen sizes. What is Frame Layout in Android? Frame Layout is a View Group class which ...
Read More