Vaibhav Ahire has Published 121 Articles

getApplication() vs getApplicationContext() in Android

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:44:02

2K+ Views

Introduction Android is an operating system designed by Google for mobile devices, based on the Linux kernel and other open-source software. Android is used on smartphones, tablets, watches, televisions and automobiles. Android developers have to use different contexts while developing an application. When it comes to using a context inside ... Read More

When to use Fragments VS Activities in Android App?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:42:42

6K+ Views

Introduction Android apps are created using a variety of components and tools, including activities and fragments. Knowing when to use a fragment versus an activity is key to developing an efficient and successful app. This article will explore the differences between activities and fragments, and guide developers in determining when ... Read More

What the difference between commit() and apply() in Sharedpreferences in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:41:29

1K+ Views

Introduction Many times while building an android application. We came across a scenario where we have to store some of the data inside our mobile application. Such as the applications that store the session of the user. Android provides several different ways which we can use to store the data ... Read More

What is the Android UiThread?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:37:39

298 Views

The Android UIThread is the main thread of the Android operating system. It is responsible for handling all user interface components and events. The UIThread is responsible for creating and managing the user interface, from creating the Activity and Fragment objects to handling user input, and drawing the user ... Read More

How to start an Application using Android ADB Tools ?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:35:45

2K+ Views

Introduction Android Debug Bridge or ADB is a versatile command line tool which allows you to communicate with an Android device to control and manage the application to be installed in an android emulator. With ADB we can copy files, run shell commands and do many more operations. In this ... Read More

How to send POST requests in JSON using HTTP Client in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:34:14

6K+ Views

Introduction Many android applications use APIs within their application so that they can interact with the database and perform read and write operations on the database. There are several libraries which we can use to make API calls within our android application. In this article we will take a look ... Read More

How to see if Wi-Fi is connected on Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:28:05

931 Views

Introduction Many times in android application api calls are being made. For making this api call it is necessary that the device is connected to the internet. Most of the applications before making any api call make sure that the device is connected to the internet. Along with that when ... Read More

How to retrieve the signature of the key used to sign an Android APK?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:26:16

4K+ Views

What is signing of an Android APK Signing an Android APK (Android Package Kit) means applying a digital signature to the APK file using a private key to verify the authenticity and integrity of the package. The signature is created by a developer or an organization and is unique ... Read More

How to resume Android Fragment from BackStack if it exists?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:25:16

1K+ Views

Introduction Android applications are built using different components such as Activities as well as Fragments. Fragments are lighter versions of activity and hence they are used in most of the cases for displaying the UI of the application. Fragments are considered as one of the essential components of Android application. ... Read More

How to remove an activity from the history stack in Android ?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 14:22:37

2K+ Views

Introduction Many times in android applications we use to display so many different types of activities. This activities are used in android applications for performing the different tasks. When we are navigating from one activity to another activity, the previous activity from which we have navigated remains in the stack, ... Read More

Previous 1 ... 4 5 6 7 8 ... 13 Next
Advertisements