android Questions

3

I have a Composable which needs to fetch some data from my local Room Database when called. When I navigate to another Composable and then navigate back it should fetch the data again. I fetch the ...

2

Solved

I'm following the docs as stated her https://insert-koin.io/docs/reference/koin-android/viewmodel/#viewmodel-and-injection-parameters The only difference is my viewmodel has 2 (besides Koin injecte...
Affettuoso asked 23/12, 2021 at 9:19

12

Solved

I'm building a FLutter code that has the following error for both Android and IOS: ../../development/flutter/.pub-cache/hosted/pub.dartlang.org/uuid_enhanced-3.0.2/lib/uuid.dart:9:7: Error: 'Unmodi...
Gentlefolk asked 13/10, 2021 at 9:39

4

Often I am in situations where I need to show a menu on hover and for mobile devices menu should open on click. Now e.g. consider following example: .btn { width: 200px; background-color:...
Rejuvenate asked 23/12, 2016 at 14:5

2

Solved

I've upgraded from Kotlin 1.7 to Kotlin 1.9 in my KMM project. though I have Gradle 7.6 AGP 7.4.2 After the upgrade lintAnalyzeDebug task reports error on every dependency: Module was compiled with...
Synaesthesia asked 14/7, 2023 at 17:44

1

Solved

Integrating Firebase into my Android app and have configured it with the SHA-256 certificate fingerprint from my Google key. However, the setup isn't working, and all requests to Firebase are block...

3

I use FCM in my project and it works pretty well. But there is one issue: on some Android devices instead of coloured application icon (when no custom default icon is set and no icon is set in the ...

3

I need to use NIST P-256 elliptic curves to encrypt and decrypt data. Now that I have generated the key pair, but how do I use them to encrypt and decrypt? The official website only says how to us...
Kush asked 18/7, 2019 at 5:22

6

Solved

I'm trying to retrieve the SHA-1 Fingerprint Certificate for my Flutter Project. This can usually be done going into the Gradle Panel on the right side in Android Studio and clicking on signingRepo...

3

Solved

I want to send "CTRL + W" to the Chrome for Android to close active tab. I tried lots of things but there is no success to achieve it from terminal. (If i connect a USB Keyboard with OTG, i can clo...
Camion asked 5/10, 2014 at 16:35

7

Solved

I'm new to Android programming and I'm currently developing an app. Can someone help me on how to validate the date that is being input by the user if is it valid or not? private Pattern pattern; ...
Pilotage asked 2/7, 2013 at 2:41

2

Solved

I have an Immersive application that's hiding the system bar using the Compose accompanist library in system navigation val systemUiController: SystemUiController = rememberSystemUiController() sy...
Kiangsi asked 16/11, 2022 at 18:30

1

Official article about Jetpack Compose phases and this article about deferring reads for performance suggests moving any state reads from Composition phase to Layout or Draw phases such as Modifier...
Semolina asked 1/6, 2022 at 7:22

4

I am following this tutorial in Android Studio. When trying to Import the project, I get a dialog saying: "The project is using an unsupported version of Gradle." Please point to a supported Grad...
Swafford asked 8/12, 2014 at 15:34

5

Solved

I have a project that was using Android Gradle Plugin 7.4.2, I used the upgrade assistant to update to 8.0.2 but now my project doesn't build with the following error: Cause: jni extracted from pa...
Humoresque asked 24/7, 2023 at 10:34

2

Solved

How can I reduce the spacing between actionbar homeasup button and action bar title? It used to have a smaller spacing but somehow the spacing has increased. I didn't make any changes in the xml o...
Batson asked 4/12, 2016 at 17:47

3

I have a problem with my project. When i want to run my project i got this error. I want to try this on Android 14 Beta. A problem occurred configuring project ':app'. Could not create task ':app:...
Inhesion asked 17/7, 2023 at 11:58

4

I wrote a program that invokes Google Translator android application via Intent.ACTION_VIEW. The problem is that invoking the Google Translator App does not work anymore, although it did once. The...
Pipsissewa asked 2/10, 2013 at 8:1

2

Solved

I am able to do SwipeToDismiss but I want to restore the swiped LazyColumn item back to its original state. I don't want to remove swiped item but want to restore it to its original state. I am abl...
Wigley asked 28/1, 2022 at 5:44

4

Solved

This is how my app looks normally: I would like to make the status bar area and bottom navigation bar hidden so that image is shown in fullscreen. Tried SystemChrome.setEnabledSystemUIOverlays...
Havstad asked 28/1, 2019 at 18:45

4

Solved

Please note I have read the documentation and I'm referencing the point where the error happens as well as the steps I have taken. Please don't advice me to follow the instructions that I have alre...
Incogitant asked 5/7, 2018 at 17:14

9

Solved

I am trying to upload an Application on the Google Play store. I am building the .apk and signing it using Maven. I have used maven-jarsigner-plugin to sign the .apk file. I am using the key that I...
Nicolettenicoli asked 21/5, 2013 at 23:42

3

Solved

Trying to add elevation to my TopAppBar in Scaffold topBar. Using Jetpack compose, material 3. This is how it worked before: TopAppBar( title = { Text(text = title) }, elevation = 3.dp //Not va...
Profusion asked 7/1, 2023 at 17:37

2

I tried to create restart with react-native-restart, but I get an error when calling RNRestart.Restart(): [Unhandled promise rejection: TypeError: null is not an object (evaluating '_reactNativeRe...
Lifeboat asked 25/5, 2022 at 16:50

5

I also tried using the ApplicationContext but it still leaks for some reason. Found a similar post about the issue here AdActivity leak on AdMob (SDK 7.0) for Android but without an answer. Also...
Rheingold asked 23/2, 2020 at 5:38

© 2022 - 2024 — McMap. All rights reserved.