I've tried to get parent id of RadioButton (id of RadioGroup) by RadioGroup rg = (RadioGroup) arg0.getParent(); but it failed. Following construction RadioG
I want to keep the same size of the bitmap for the canvas, because when I add the custom view to the LinearLayout shows the canvas with different size and I wan
I have a player layer with subtitle layer like this: Parent of player layer is and XML ConstraintLayout that have a ComposeView child. This ComposeView is my s
I am using Unity Car Pro for car physics. I want the car to slip during the steering. This script is working perfect but it is so real. Here are some images t
I'm trying to make an https server on Android with a programmatically generated self signed certificate. I feel like I'm pretty close but I still can't connect
I want to install Facebook APK to Genymotion. Using Drag&Drop or adb it fails with INSTALL_FAILED_CPU_ABI_INCOMPATIBLE. I have followed instuction on http:/
In Room 2.1.0, it is common to have the following code Version 2 @Entity(tableName = "password") public class Password { @ColumnInfo(name = "dummy0")
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