Vaibhav Ahire has Published 121 Articles

How to programmatically set style attributes in a view on Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 09-May-2023 11:45:03

3K+ Views

Introduction Many times we have seen a case while developing an android application that we have set the same style for multiple views across our application. We have seen writing the code to set the style multiple times. To reduce the code duplication and optimization of our code we can ... Read More

How to prevent custom views from losing state across screen orientation changes ?

Vaibhav Ahire

Vaibhav Ahire

Updated on 09-May-2023 10:31:57

280 Views

Introduction Many times in android applications we can get to see when the user changes the screen orientation of the device from portrait to landscape. In that case we can get to see that some of the views within the application loses its state. For example when a user enters ... Read More

How to parse XML using SAX parser in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 09-May-2023 10:27:49

282 Views

Introduction Android is an open-source operating system which is based on the linux kernel which is developed by Google. There are several ways which we can use to parse the data within our android application such as JSON parsing, xml parsing and many more. For parsing of the XML file ... Read More

How to parse the AndroidManifest.xml file inside an .apk package

Vaibhav Ahire

Vaibhav Ahire

Updated on 09-May-2023 10:21:49

924 Views

Introduction Android application package also referred as .apk file is generally installed on a mobile device which helps to run the android application on a mobile device. This apk file is a zip file which contains the application code, resources and a manifest file. AndroidManifest.xml file is considered as one ... Read More

How to open the Google Play Store in an Android app?

Vaibhav Ahire

Vaibhav Ahire

Updated on 09-May-2023 10:12:00

317 Views

Introduction Many times in android applications we can see that OTP received for user authentication is detected automatically and it is added within the application automatically. Users don't have to add the otp manually. This can be done in android applications with the help of broadcast receivers. In this article ... Read More

How to listen for incoming SMS messages in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 08-May-2023 17:10:03

6K+ Views

Introduction Many times in android applications we can see that OTP received for user authentication is detected automatically and it is added within the application automatically. Users don't have to add the otp manually. This can be done in android applications with the help of broadcast receivers. In this article ... Read More

How to launch Google Maps Directions via an intent on Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 08-May-2023 17:05:30

1K+ Views

Introduction Many times in android applications the address to the specific store or a location is being displayed in the form of an icon. On clicking on that google map icon the application redirects us to the Google Maps application in which we will get to see the route from ... Read More

How to integrate PayPal in an Android app?

Vaibhav Ahire

Vaibhav Ahire

Updated on 08-May-2023 17:01:54

2K+ Views

Introduction We can get to see different payment gateways used within any android application for collecting payments from the application users for providing the specific services such as Paytm, Razorpay, Paypal and many others. In this article we will take a look on How to integrate PayPal in an android ... Read More

How to implement the Drag and Drop functionality over a Recycler View in an Android App ?

Vaibhav Ahire

Vaibhav Ahire

Updated on 08-May-2023 16:54:17

565 Views

Many times in an android application we can get to see the data is being displayed in the form of a list such as in task tracker application we can get to see different types of tasks arranged in the form of a list in a specific order. Now inside ... Read More

How to implement my own URI scheme on Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 08-May-2023 16:52:18

1K+ Views

Introduction When we have to connect our android application to other applications or websites we can use URI (Uniform Resource Identifier) to connect. In this article we will take a look on How we can create a URI scheme for our android application. Implementation We will be creating a simple ... Read More

Advertisements