Mobile Development Articles

Page 11 of 156

How can I record a Video in my Android app?

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 4K+ Views

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 More

How can I read SMS messages from the device programmatically in Android?

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 7K+ Views

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 More

How can I do something like a FlowLayout in Android?

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 852 Views

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 More

How can I check if the Android phone is in Landscape or Portrait?

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 2K+ Views

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 More

FrameLayout VS AbsoluteLayout in Android?

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 863 Views

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

Difference between getContext(), getApplicationContext(), getBaseContext() and this in android?

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 3K+ Views

What is Context in Android? A Context gives us information about the current state of an application. It allows us to interact with Android Components. It allows us to access files and other resources such as pictures, Activities, Fragments and Services. In Android getContext(), getApplicationContext(), getBaseContext(), this are the methods to retrieve different types of Context objects. The Context Class provides access to several resources and services that are needed to build an Android application including − Resources − The resources such as layouts, images and strings which are stored in resource objects are accessed through the Context. System ...

Read More

Difference between FragmentPagerAdapter and FragmentStatePager Adapter

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 1K+ Views

Introduction FragmentPager Adapter and FragmentStatePager Adapter are the two different classes which are used to implement the Pager Adapter within an android application. This pager adapter is used when working with Android’s ViewPager. These pager adapters are responsible for managing the lifecycle of each page which is being displayed within the view pager. The common thing between both of these adapters is that they are the subclass of the PageAdapter class. In this article we will take a look at the Difference between Fragment Pager Adapter and Fragment State Pager Adapter. What is an Adapter in Android? An Android Adapter ...

Read More

Changing API version in Android Studio

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 8K+ Views

Introduction First of all before changing an API (Application Programming Interface) Version we have to know what Android API is and what is its use. An Android API in an Application Program Interface which allows us to add specific functionality to our Android application. In simple language Android API are the set of tools used for developing Android Application. The API version is used by developers to ensure their applications are compatible with the current version of the Android operating system. It is also used by Android phones to determine which applications are compatible with their device. The API version ...

Read More

Android Runtime Permissions

Vaibhav Ahire
Vaibhav Ahire
Updated on 08-May-2023 3K+ Views

Introduction In many android applications nowadays we can get to see the application asks for permission to use a specific feature during runtime. For example the application which uses a device camera asks for camera permission during the runtime of the application, from that user can provide or reject the permission. In this article we will take a look on How to add Runtime permissions within our android application. Implementation We will be creating a simple application in which we will be creating a text view for displaying the heading of our application. After that we are creating a button ...

Read More

Android Studio – A Powerful IDE for Building Apps for All Android Devices

Satish Kumar
Satish Kumar
Updated on 02-May-2023 483 Views

Android Studio is an Integrated Development Environment (IDE) developed by Google for building applications for all Android devices. It is a powerful tool that provides a comprehensive environment for creating and testing Android apps, with features such as code highlighting, debugging, and testing. In this article, we will explore various features of Android Studio that make it an indispensable tool for building Android apps. We will also discuss how Android Studio can be used to create apps for different Android devices, such as smartphones, tablets, wearables, and even TV. Getting Started with Android Studio Before we dive into features of ...

Read More
Showing 101–110 of 1,551 articles
« Prev 1 9 10 11 12 13 156 Next »
Advertisements