Category "android"

ImageButton color getting changed to default on reloading the activity/app

On button (ImageButton) click I'm changing its background color to something else but as soon as I reload the app or open another activity and come back, the bu

Android Studio Device Manager shows my physical device offline the next time when I try to run my app

I pair my phone using the Pair using wifi option in Android Studio and it gets paired and even the app runs on my phone. But the next day when I come the device

Android Studio compose preview not working

I can't preview any composables with Android Studio Arctic Fox Beta 4. Even the default one that is generated with an empty compose project. Running the default

Build android error at stage app:mergeDebugResources, ParseError AttributeNSNotUnique

I've been trying to build my Android Application on Android Studio 4.2 with Gradle 4.2.1, but I am faced with the following error of which I was only able to fi

Should I turn my Activities into Fragments?

I went to the YouTube Academy for Kotlin Android Development and created a semi complex app with Google FireBase, I have hit a roadblock in some code using an E

Not receiving notification when it is sent while the application is killed/closed

My desired outcome is to be able to display a notification when one is received regardless of whether the app is in foreground/background/kill. I am currently a

Classifier does not have a companion object, and thus must be initialized here

I have an Activity where an interface is declared and I have a ViewModel class which has overridden interface and want to invoke the method of interface from Ac

API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.applicationId'

When building gradle I'm getting this message: API 'BaseVariant.getApplicationIdTextResource' is obsolete and has been replaced with 'VariantProperties.app

Next focus on custom view inside RecyclerView

I have RecyclerView that represent forms. These RecyclerView are made of multiple type of View. Each of them has a base_layout and specific View depending on th

handling back button android

I have a problem while hitting the back button on an activity, in particular, the back button on the activity closes the application and destroys all the activi

What's the difference between calling super.onCreate() and calling through to the superclass? [closed]

The following screenshot is from official Android documentation of android.app.Application#onCreate() which says If you override this method,

After updated my Xcode 13.3.1, I unable to run my flutter project with the error CocoaPods not installed or not in valid state

Error in console: Warning: CocoaPods not installed. Skipping pod install. CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that respo

Remediation for Unsafe Encryption Mode Usage

I am trying to update the application. However, Google rejected it because we could not use AES/ECB/NoPadding. The reason we use AES/ECB/NoPadding is to connect

Generate Signed Bundle: Errors while building Bundle file. 'other' has different root

The following error occur when I tried to Generate Signed Bundle. Note: Error occurs after I updated my android studio 3.6.3 to version 4.0 and Gradle build to

Evenly distribute elements on screen

I want to evenly distribute the elements "checkbox, desayuno,elegir hora" to the full width of the screen.After the "elegir hora" button there is a small Textvi

Firebase Crashlytics: Combine/Merge Similar Issues?

I had Firebase Crashlytics installed in my Android app, and the reporting is operational. However, I found that some issues are very similar: And it'd be helpf

"Failed to find cgroup for tid XXX", application crashes with background thread

I'm trying to build a custom launcher for Android, and I'm following this guide to have a clue of what I'm doing. Till the first part everything's ok, it works

I'm using Expo App in my Android Device to connect into the my Desktop's Expo

I'm using Expo App on my Android device to connect to my Desktop (Ubuntu 20.04.4 LTS) Expo (I signed in both my same Expo Account)I am also connected to the sam

Flutter Upgrade Breaks iOS Build

After upgrading Flutter to 2.10.5 my XCode build is giving me: Error output from Xcode build: ↳ objc[49279]: Class AppleTypeCRetimerRestoreInfoHelper

How to prevent bottom sheet from animating corner shape to square?

I've designed my bottom sheet like this <style name="ShapeAppearanceOverlay.BottomSheet" parent=""> <item name="cornerSize">30dp</item>