android Questions

2

I have setup in app purchasing on Android and the Google Play Store. When I try to purchase the product from the Android app it returns this error: The item that you were attempting to purchase cou...
Courtund asked 20/11, 2023 at 18:55

4

Solved

I want to create a square grid inside ConstraintLayout. My first thought was to create a horizontal chain, give some margin value and set to all single view size attributes width = match_constraint...
Dewees asked 19/7, 2018 at 19:4

6

Why is my SDK is not opening and telling me the SDK is not recognized as an internal or external command and I need help to update my SDK? But it keeps telling me the SDK manager is opening but ul...
Eulogist asked 2/6, 2015 at 22:12

4

I recently updated to Android Studio Iguana 2023.2.1, Build #AI-232.10227.8.2321.11479570. I am on a MacOS (Sonoma 14.4 on my personal computer, Ventura 13.6.3 on work computer) I updated yesterday...

3

Solved

I'm trying to call a java method from native C code in an Android Application. This sounds quite simple with the usage of JNI, but my code always crashes when finally calling the method itself. Her...
Unreflective asked 23/9, 2011 at 14:44

2

I'm sending push notifications to an expo app, and I would like to customize the icon of the notification. How can this be done?
Privity asked 4/7, 2019 at 14:16

3

I am having one android target. I have some audio file in mnt/sdcard0. How can I play through adb command? Music player application is already installed in the target.
Rillet asked 25/5, 2015 at 11:44

2

Solved

I have problem with saving data to sqldelight 1.4 in Android app. I created table: CREATE TABLE myTable( id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, name TEXT ); In repo class I have insert f...
Zapata asked 23/1, 2021 at 20:17

1

I have a question about jetpack compose modifier. I can't understand foldin and foldout, what are them and when I can use them? Thank you
Spivey asked 14/6, 2022 at 17:12

3

This is the stacktrace we are seeing on Firebase: Fatal Exception: java.lang.RuntimeException Using WebView from more than one process at once with the same data directory is not supported. https:/...
Fiend asked 31/5, 2021 at 15:31

5

I am getting this error after completing the app instagram clone. I haven't run the app for a while so when I came back running the app it is giving me this error does anyone know the solution? The...
Benzocaine asked 17/6, 2023 at 9:54

5

Solved

I have already done with java but find difficult with Kotlin. I have already search with google but none of them work for me. /** * Get the json data from json file. * * @param context the con...
Retroflexion asked 10/7, 2019 at 2:21

7

I am using Room Db using coroutines in kotlin. This is my Dao interface: @Dao interface CheckListNameDao { @Insert suspend fun insertName(name: CheckListName) @Query("SELECT * FROM CheckLis...
Hardening asked 4/2, 2020 at 5:12

2

Solved

I have the following Composable @Composable fun ClickableBar(text: String, action: () -> Unit) { Row( modifier = Modifier .height(40.dp) .background(color = AppPrimaryGreen) .fillMaxWidth()...
Kendrakendrah asked 25/8 at 6:13

4

Solved

I cannot see the button to go in a list of setting and applications in android emulator. There is only 3 tap button in the lower screen "Overview", "Home", "Back" And no button for apps-list. Can ...
Lassitude asked 5/12, 2019 at 3:55

2

Here is my layout xml. I would like to be able to pull the scroll view to refresh. <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schem...
Ness asked 10/4, 2014 at 1:6

7

I used following method to get the screen size: public static Point getScreenSize(Context context) { WindowManager wm = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); int w = ...
Gulgee asked 27/7, 2016 at 13:58

3

Solved

I am creating a regular HTTP connection using this code: URLConnection cn = new URL( "http://...." ).openConnection(); cn.connect(); How do I find out the default user agent for my HTTP connecti...
Ecumenical asked 5/1, 2013 at 4:31

7

Solved

In the process of migrating my app to Jetpack compose, I've come to a part of my app where a TextField needs autocompletion functionality. However, as of version 1.0.0-alpha05, I couldn't find any ...
Sociality asked 18/10, 2020 at 23:35

1

Solved

I have created a new MAUI .NET 8.0 project (no changes from the default that Visual Studio 2022 creates) called TestMauiApp. I've then added a MAUI class library to the solution called MauiLibrary,...
Clay asked 7/12, 2023 at 21:1

13

Solved

I have an error in my build.gradle file (android/build.gradle) in my Flutter project. The App is running completely normal but this error is still not looking good to me. Does anyone ever had this ...
Coxcombry asked 15/8, 2022 at 5:58

9

I'm trying to use Google's SMS Retriever API for Automatic SMS Verification. I have followed the directions here but my app is not receiving any SMS messages. Here is what I've done: I've added th...
Landrum asked 24/12, 2018 at 0:51

8

[Running] dart "c:\Users\PC\AndroidStudioProjects\FlutterXD\lib\main.dart" ../../Documents/FlutterDev/flutter/packages/flutter/lib/src/material/animated_icons.dart:9:8: Error: Dart librar...
Expeditious asked 6/2, 2023 at 0:15

1

On Android you can auto fill credit card information from the credit cards saved by the OS within native apps. Is there any functionality built into Flutter to use this or a package?
Doykos asked 17/2, 2021 at 15:42

10

Solved

The below is the displayed output in the console: [2011-08-10 15:59:37 - Activities] ------------------------------ [2011-08-10 15:59:37 - Activities] Android Launch! [2011-08-10 15:59:37 ...
Knave asked 10/8, 2011 at 10:37

© 2022 - 2024 — McMap. All rights reserved.