Found 1966 Articles for Apps/Applications

How can we switch off an Android phone programmatically?

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 a look on How we can switch off our android phone programmatically. Implementation We will be creating a simple project in which we will be displaying a simple text view for displaying a heading in which we will be displaying the simple heading. Along with this text view we ... Read More

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

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

4K+ 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. They are generally used to create a complex, dynamic user interface that is both robust and highly customizable. Managing the Fragments in an android application is a bit tricky and particular when it comes to resuming fragments from the back stack. One activity within an android application can contain multiple ... Read More

How can I do a synchronous request with Volley in Android?

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

569 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 from a remote server. In this article, we will discuss how to make synchronous requests with Volley in an Android App Implementation of a Synchronous request in Android We will be creating a simple application in which we will be simply displaying two text views. In the first text view ... Read More

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

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

880 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 status of the GPS Receiver in our android device whether the GPS is on or off. In this article we will take a look on How can we check the current status of the GPS Receiver in Android. Implementation We will be creating a simple application in which we will ... Read More

Fragments within Fragments in Android

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

4K+ 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 call one more fragment into the current fragment. In this article we will take a look on How to call a fragment into another fragment in Android. Implementation We will be creating a simple application in which we will be displaying a text view inside our parent activity. Inside this ... Read More

Converting a view to Bitmap without displaying it in Android?

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

185 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 without displaying it in Android. Implementation We will be creating a simple application in which we will be displaying a text view, a button and an image view. Inside the text view we will be displaying the heading of our application. After that we will be adding a button, on ... Read More

Content Providers in Android with Example

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

3K+ 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. Content Providers are one of the four fundamental components of Android application development, along with activities, services, and broadcast receivers. Applications that need to access data from other applications use Content Providers. Content Providers are usually used to store and retrieve data from a storage medium. This storage medium can ... Read More

Best Flutter Alternatives for App Development

Vaibhav Ahire
Updated on 30-Mar-2023 12:26:34

507 Views

Introduction Flutter has gained massive popularity among the developers for building cross platform mobile applications. It is not only the one option for developing cross platform mobile applications but there are so many alternatives available. Flutter is a free and open source SDK of Google which provides support for app development across both Android as well as IOS platform. The benefit of using flutter is that we can develop applications for both android as well as IOS using the same codebase. The Flutter applications are being developed using Dart as a programming language. The apps developed in flutter are developed ... Read More

App Development for Android : 2023 Challenges and Solutions

Vaibhav Ahire
Updated on 30-Mar-2023 12:25:35

237 Views

Introduction Android is one of the famous operating systems which is used across many mobile devices. Almost 75 % of mobile devices across the world are using android as their mobile operating system. Hence learning android development will be beneficial which will help you to deliver your applications to the huge number of audience. For building this application you should move towards learning android development. In this article we will take a look at some Challenges and solutions for it which are faced while learning android development. Device Fragmentation As the market of android operating systems is growing very fast ... Read More

Android Tools and Methods to find Memory Leaks

Vaibhav Ahire
Updated on 30-Mar-2023 12:23:38

390 Views

Introduction Android applications are nowadays being developed with the help of so many complex tools to integrate so many features within our applications. There are numerous APIs and other processes which are being carried out within the android application which makes the application consume more memory. The consumption of huge memory by the android application leads to the memory leak within the android application. Due to this huge memory consumption by android application there are a lot many problems arise within android application. One of the most common issues is memory leaks, which can cause the app to become sluggish, ... Read More

Advertisements