Vaibhav Ahire has Published 121 Articles

How to access data/data folder in Android device?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 13:44:37

18K+ Views

Introduction Mobile devices have now become a large part of our daily lives. We can use these mobile devices to gain information to communicate with the rest of the world and perform our day to day tasks. While performing so many day to day tasks on our mobile devices we ... Read More

How do I open front camera programmatically on the Android platform?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 13:41:40

3K+ Views

Introduction Many mobile applications specify the feature within it to capture the user's image through the front camera. We can get to see this type of feature in applications such as Snapchat, Instagram and others. In this article we will take a look on How to open front camera in ... Read More

How do I get a string from resources using its name in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 13:39:54

2K+ Views

Introduction Android applications use different types of strings to be displayed inside different types of views such as text view, buttons and others. In most of the cases instead of hard coding the strings inside the code. It is preferred to add these strings inside the strings.xml file so that ... Read More

How can we switch off an Android phone programmatically?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 13:38:28

2K+ Views

Introduction Android phones are designed with a wide range of features and capabilities, including a Power button that allows users to turn the device on and off. Power button in an android device is used to switch on and switch off the mobile device. In this article we will take ... Read More

How can I get the currently displayed Fragment instance in Android ?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 12:46:00

3K+ 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 can I do a synchronous request with Volley in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 12:43:52

492 Views

What is a synchronous request in Android Synchronous requests with Volley in Android App can be useful for developers who wish to retrieve data from a server and be able to immediately use it in their application. This can be useful for tasks such as loading images or data ... Read More

How can I check the current status of the GPS receiver in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 12:39:45

769 Views

Introduction There are many android applications which take location from the users for delivering any specific product or service at their doorstep. This application generally uses GPS to get the location of their user for delivering their service. To get the location from the GPS, we should check the current ... Read More

Fragments within Fragments in Android

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 12:36:22

3K+ Views

Introduction Many times while building an android application we come under a scenario in which we have to display one fragment into another fragment. For example we are using tab layout with fragments within our application and we want to open another fragment on button click then we have to ... Read More

Converting a view to Bitmap without displaying it in Android?

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 12:32:26

145 Views

Introduction In android applications many times we have to get a bitmap from a view and use that bitmap within our android application. The bitmaps are generally created by passing the views to it. In this article we will take a look at How to convert a view to bitmap ... Read More

Content Providers in Android with Example

Vaibhav Ahire

Vaibhav Ahire

Updated on 30-Mar-2023 12:29:45

2K+ Views

What are Content Providers in Android ? Content Providers in Android are a component of the Android operating system that enable applications to store and share data with other applications. A Content Provider provides an interface between an application and the Android data sources such as databases, files, and SharedPreferences. ... Read More

Previous 1 ... 6 7 8 9 10 ... 13 Next
Advertisements