I've just started developing with Android Enterprise and need to deploy an app in work profile. My policy (see below) allows installation of apk with debug bu
I have a class name MyPhoneStateListener. Here, I want to use getContentResolver, but there is some problem in the class. It's not my main activity. Cursor cur
I have an action bar with the following menu items; <menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.c
I would like to make 10 images in collage format the sample layout is given bellow: this is sample image I would like to make this type of
Path clickPath = new Path(); clickPath.moveTo(x, y); GestureDescription.StrokeDescription clickStroke = new GestureDescription.StrokeDescription(clickPath, 0, 1
I am trying to load an image from a URL into my imageview using glide but it is not working. I cannot download and display the image. I have added all the depen
Whenever I try to clean my flutter project by using the command flutter clean I get an error saying Failed to remove build. A program may still be using a fi
I have the below navigation stack. I am trying to navigate from login to signup. Things seem to work completely fine on the android emulator. But when i try to
I have used mtsahkis's example to implement a screen capture system on Android: https://github.com/mtsahakis/MediaProjectionDemo/blob/master/src/com/mtsahakis/m
I am using Firebase Recycler Adapter (Firebase UI Library) to populate Recycler View. I want to hide an item(row) on a condition. I have a LinearLayout contain
How does the Android Viewmodel works internally? How Viewmodel save the data when the activity gets destroyed and recreated when the device get rotated
Whenever I try to clean my flutter project by using the command flutter clean I get an error saying Failed to remove build. A program may still be using a fi
I got this error while using windows command prompt to connect a android virtual device to visual studio code. However opens the android virtual device but stil
I got this error while using windows command prompt to connect a android virtual device to visual studio code. However opens the android virtual device but stil
All I am getting following error in build.gradle in Android Studio : Could not get unknown property 'mavenUser' for Credentials [username: null] of typ
All I am getting following error in build.gradle in Android Studio : Could not get unknown property 'mavenUser' for Credentials [username: null] of typ
I am creating a PopupMenuButton() in the AppBar section. This is my file: import 'dart:js'; import 'package:bfdi_app/settings.dart'; import 'package:cached_n
public void parseEml(Message msg) throws Exception { Address[] froms = msg.getFrom(); if (froms != null) { InternetAddress addr = (InternetAddr
When I fetch data from Firebase Firestore, data is not shown. And it gives me this problem. Is it related to Firebase or anything else? W/DynamiteModule( 4887):
I am facing a problem in writing a shell script for android devices to be run only on sh present in the device (/system/bin/sh). I have written the following s