Category "android"

How can I solve "fatal: ambiguous argument 'HEAD~1': unknown revision or path not in the working tree"?

I have only one commit on master and haven't merged it into the remote. I want to remove my commit, keep my changed files, change my branch, and commit them. No

how can i share viewModel between Activities?

I'm learning Android ViewModel now. and I have MainActivity and RegisterActivity which can type name, age, and phone number in there. after typing that informat

Flutter Secure Storage not initializing as itended on app start up

I am working on an application with dynamic splash screen images. This is how I have implemented it. class _SplashScreenState extends State<SplashScreen>

How to dismiss notification since Android 12?

My app creates a notification with two actions the user can choose. After choosing either of the actions, I want the notification to be automatically dismissed.

how to pass intent extras to static shortcuts in android application

i am investigating static shortcuts in a hobby android application i can get the Google Assistant action tool to work with my application and it passes the feat

Widget that contains image with rounded corners

How to make a Material You-like widget with image whose corners are rounded? It is already made in Google Photo, but how to get the same effect? Many ways (like

Plugin com.android.application not found when running app in android studio chipmunk canary 7

I had downloaded android studio chipmunk canary 7 and faces this problem : Plugin [id: 'com.android.application', version: '7.2.0-alpha07', apply: false] was n

Android Studio BumbleBee pair wifi not working

I am trying to connect my Android 11 device with the android studio over adb wifi but it is not working. I updated to the latest stable bumblebee and updated my

Change recyclerview rows after being created

I have a viewPager which contains two fragments. First for showing list of products and another one for showing list of selected products. In the second fragmen

How to change visiblity (visible, invisible or gone ) of setEndIconDrawable in TextInputLayout android?

I am trying to make invisible or visibility gone of endIconDrawable which is the edit icon in the picture above for FirstName field only and want to keep visib

stopping Android Accessibility UI Component on softKey "HOME" Button pressed

Created "AccessibilityService" and am able to show Hints based on the Text Entered.The Problem is i want to stop the activity service when the Host application

Installation failed with message Error: android.os.ParcelableException: java.io.IOException: Requested internal only, but not enough space

I was getting the message > Installation failed with message Failed to establish session. so following some responses to the problem I disabled Instant R

The child view set to app:layout_constraintTop_toBottomOf="parent" cannot be displayed

The child View of ConstraintLayout is set app:layout_constraintTop_toBottomOf="parent" to hide at the bottom of the screen. Just after entering the Activity, wh

Trying to pass a background color through intentPutExtra

I am trying to set the background color with intentPutExtra but it doesn't seem to change, this is my intent from the MainActivity: @Override publ

Room database - edit entities

I have a question. I edited my Room entity from this: @Entity(tableName = "users") public class User { public User(String username, String email, String passwo

Android Studio's project gradle file changed?

I just updated Android Studio and started a new project. But now the project grade file seems different. Here are the lines: plugins { id 'com.android.appli

Room database - edit entities

I have a question. I edited my Room entity from this: @Entity(tableName = "users") public class User { public User(String username, String email, String passwo

How can I change icons color in button?

I created button with text and icon: <Button android:id="@+id/btnLinkToProfile" android:layout_width="fill_parent" android:layout_he

how to fix Zip Path Traversal Vulnerability In Android

I have an app that has startapp(0.5.1) ads, but after reviewing, I got the following error: Your app has an unsafe decompression pattern that could lead to a "s

How to detect when back button pressed in fragment android?

I have project with navigation drawer with fragment, with 5 menu, the problem is when i go to menu 4 and the i press the back button the app closed, but i need