id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73,019,685 | No platform plugin when trying to build a Qt project for Android | <p>When i build a QT project with Qt Creator 7.0.1 using the Kit "Android Qt 6.3.0 Clang arm64-v8a", I have a message error : "No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. please include one."</p>
<p>Following the answers in : <a href="https://forum.qt... | When i build a QT project with Qt Creator 7.0.1 using the Kit "Android Qt 6.3.0 Clang arm64-v8a", I have a message error : "No platform plugin, neither libqtforandroid.so or libqtforandroidGL.so, included in package. please include one." Following the answers in : https://forum.qt.io/topic/43080/qt-... | android|c++|qt|plugins | 0 | 2022-07-18T08:56:04.980Z | 2,022 | 7 | 8 | 0 | 122 | 0 | 681 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
73,019,696 | Why aren't the radio buttons displayed when I use MaterialAlertDialogBuilder? | <p>The Code A is based the <a href="https://material.io/components/dialogs/android#confirmation-dialog" rel="nofollow noreferrer">article</a>.</p>
<p>And I get Image A when I run Code A, it seems that all the radio buttons aren't displayed .</p>
<p>What's wrong with my code?</p>
<p><strong>Code A</strong></p>
<pre><co... | The Code A is based the article . And I get Image A when I run Code A, it seems that all the radio buttons aren't displayed . What's wrong with my code? Code A [CODE] themes.xml [CODE] Image A | android-studio|material-design | 0 | 2022-07-18T08:57:01.680Z | 2,022 | 7 | 8 | 0 | 131 | 1 | 192 | 77 | 2 | 2 | true | false | false | false | false | false | zero |
73,020,002 | How to install a specific version of package only on IOS or Android? in React Native, using react-native.config.js | <p>I saw that this file react-native.config.js can configure platform-specific dependency configurations</p>
<pre><code>module.exports = {
dependencies: {
'react-native-webview': {
platforms: {
ios: null,
},
},
},
};
</code></pre>
<p>here the documentation
<a href="https://github.com/rea... | I saw that this file react-native.config.js can configure platform-specific dependency configurations [CODE] here the documentation https://github.com/react-native-community/cli/blob/main/docs/projects.md#dependencies But I didn't understand how to set a specific version for a library. I need expo-modules-core to be at... | android|ios|react-native | 0 | 2022-07-18T09:23:00.117Z | 2,022 | 7 | 9 | 0 | 57 | 0 | 492 | 114 | 3 | 1 | true | true | false | false | false | false | zero |
73,020,013 | CSS styling not working on android mobile | <p>Designed a simple webpage that is mobile responsive. The css file loads on desktop view, and on the ios, but does not load the style on mobile android devices.
Tested on vivo 1610 and on the Samsung S20. Tried different solutions nothing seems to be working.</p>
<p>Ignore this i'm just trying to beat the algorithm.
... | Designed a simple webpage that is mobile responsive. The css file loads on desktop view, and on the ios, but does not load the style on mobile android devices. Tested on vivo 1610 and on the Samsung S20. Tried different solutions nothing seems to be working. Ignore this i'm just trying to beat the algorithm. Lorem ipsu... | android|html|css|mobile | 0 | 2022-07-18T09:23:42.187Z | 2,022 | 7 | 9 | 0 | 67 | 1 | 723 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
73,020,080 | Pin a view to Bottom Sheet in Jetpack Compose | <p>I'm trying to implement a persistent Bottom Sheet in Jetpack Compose which has a button that should be pinned to the bottom of this sheet at all time, it shouldn't get dragged with the other contents when expanding. I couldn't find an easy way to do it except manipulating other views heights relative to the bottom s... | I'm trying to implement a persistent Bottom Sheet in Jetpack Compose which has a button that should be pinned to the bottom of this sheet at all time, it shouldn't get dragged with the other contents when expanding. I couldn't find an easy way to do it except manipulating other views heights relative to the bottom shee... | android|kotlin|android-jetpack-compose|bottom-sheet | 1 | 2022-07-18T09:29:13.817Z | 2,022 | 7 | 9 | 0 | 135 | 1 | 441 | 45 | 4 | 0 | false | false | false | false | false | false | low |
73,020,191 | How to get the difference between two Dates in minutes in Java | <p>I have a list of Dates that looks like this:</p>
<pre><code>I/System.out: TAG: Mon Jun 20 15:36:00 GMT+02:00 2022
I/System.out: TAG: Mon Jun 20 15:51:55 GMT+02:00 2022
I/System.out: TAG: Mon Jun 20 15:52:14 GMT+02:00 2022
I/System.out: TAG: Mon Jun 20 16:24:01 GMT+02:00 2022
I/System.out: TAG: Mon Jun 20 18:39:07 GM... | I have a list of Dates that looks like this: [CODE] How do I calculate to subtract each i+1 element from the i element(example: TAG: Mon Jun 20 15:51:55 GMT+02:00 2022 - TAG: Mon Jun 20 15:36:00 GMT+02:00 2022) difference is 21 minutes. I tryed something like this: [CODE] and I get 434 minutes instead of 98... Can some... | java|android | 0 | 2022-07-18T09:39:14.033Z | 2,022 | 7 | 9 | 0 | 72 | 2 | 347 | 62 | 2 | 2 | true | false | false | false | false | false | zero |
73,020,273 | Android Gradle - SonarCloud Integration with Jacoco Plugin, coverage is always 0.0% | <p>I am trying to sync my locally generated Coverage Report from Jacoco to SonarCloud, even though there are no errors, the Coverage is always 0.0%. I am able to generate a JacocTestReport.xml with an overall coverage of 86%.</p>
<p>Below are the code snippets for build.gradle file. Please guide me how to sync the cove... | I am trying to sync my locally generated Coverage Report from Jacoco to SonarCloud, even though there are no errors, the Coverage is always 0.0%. I am able to generate a JacocTestReport.xml with an overall coverage of 86%. Below are the code snippets for build.gradle file. Please guide me how to sync the coverage repor... | android|gradle|sonarqube|jacoco|sonarcloud | 0 | 2022-07-18T09:45:32.797Z | 2,022 | 7 | 9 | 0 | 139 | 1 | 484 | 83 | 5 | 3 | true | false | false | false | false | false | zero |
73,020,326 | The element type 'MatchValidator' can't be assigned to the list type 'FieldValidator<dynamic>' | <p>I am new to flutter.</p>
<p>I do not understand why this error appearing : The element type 'MatchValidator' can't be assigned to the list type 'FieldValidator'.</p>
<p>I am using package form_field_validator in my reset password screen.</p>
<p>In TextFormField Validator i am using MultiValidator() in which Required... | I am new to flutter. I do not understand why this error appearing : The element type 'MatchValidator' can't be assigned to the list type 'FieldValidator'. I am using package form_field_validator in my reset password screen. In TextFormField Validator i am using MultiValidator() in which RequiredValidator, MaxLengthVali... | android|ios|flutter|dart|validation | 0 | 2022-07-18T09:49:29.037Z | 2,022 | 7 | 9 | 0 | 33 | 0 | 606 | 94 | 5 | 1 | true | true | false | false | false | false | zero |
73,020,381 | GeoCoder Does not show contryName | <p>I am making an android application.In my application I want to get the Country name of my location using my LocationTracker Class I created , but I cant get the Country name using GeoCoder</p>
<p>Here is my LocationTracker Class</p>
<pre><code>package com.farzin.locationmap.Location;
import android.app.AlertDialog... | I am making an android application.In my application I want to get the Country name of my location using my LocationTracker Class I created , but I cant get the Country name using GeoCoder Here is my LocationTracker Class [CODE] Here is my Main Activity Where im trying to create for Toast the Country Name For testing [... | java|android|android-studio|location|geocoder | 0 | 2022-07-18T09:54:29.973Z | 2,022 | 7 | 9 | 0 | 37 | 2 | 486 | 33 | 5 | 2 | true | false | false | false | false | false | zero |
73,020,383 | React Native Expo: Custom Fonts Not Loading Along With Google Fonts | <p>I'm trying to load downloaded fonts along with google fonts using <code>Font.loadAsync</code> but it is giving me error:</p>
<pre class="lang-bash prettyprint-override"><code>Unable to resolve module ../../assets/fonts/sf-ui-text/SFUIText-Bold.ttf from /Users/bilal/Work/datumbrain/erp-app/src/utils/useFonts.js:
Non... | I'm trying to load downloaded fonts along with google fonts using Font.loadAsync but it is giving me error: [CODE] Here is my code in App.js : [CODE] and useFonts.js : [CODE] | javascript|android|react-native|expo|google-fonts | 0 | 2022-07-18T09:54:37.140Z | 2,022 | 7 | 9 | 0 | 115 | 2 | 174 | 67 | 5 | 3 | true | false | false | false | false | false | zero |
73,020,424 | Getting an error while adding FCM API Key to Azure Notification Hub | <p>I have created a Azure Notification hub namespace, I'm trying to configure the Google FCM section of it by entering the API Key, but when I do that it is giving me this error</p>
<blockquote>
<p>Error updating notification hub
{"error":{"code":"BadRequest","message":"Inva... | I have created a Azure Notification hub namespace, I'm trying to configure the Google FCM section of it by entering the API Key, but when I do that it is giving me this error Error updating notification hub {"error":{"code":"BadRequest","message":"Invalid Firebase credential... | xamarin.forms|xamarin.android|firebase-cloud-messaging|azure-notificationhub | 1 | 2022-07-18T09:57:47.247Z | 2,022 | 7 | 9 | 0 | 122 | 1 | 515 | 67 | 4 | 0 | false | false | false | false | false | false | low |
73,020,468 | Qt Android change apk name depending on the buid type | <p>I'm trying to change the apk filename depending on the build type but it's always getting the debug filename.<br>
This is the code in build.gradle:</p>
<pre><code>android.applicationVariants.all { variant ->
variant.outputs.all {
if(variant.buildType.name == "release")
outputFile... | I'm trying to change the apk filename depending on the build type but it's always getting the debug filename. This is the code in build.gradle: [CODE] This is not working because even if I compile my app in release mode, the apk name is android-build-debug.apk | android|qt|gradle | 0 | 2022-07-18T10:01:42.117Z | 2,022 | 7 | 10 | 0 | 21 | 0 | 260 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
73,020,591 | login and signup using firebase in fragments | <p>can anyone tell me how to do signup and login by using fragments. I have use viewpager2 and tab layout to represent the login and signup and now i am stuck at how to do the backend of login and signup.</p> | can anyone tell me how to do signup and login by using fragments. I have use viewpager2 and tab layout to represent the login and signup and now i am stuck at how to do the backend of login and signup. | firebase|android-fragments | 0 | 2022-07-18T10:09:58.703Z | 2,022 | 7 | 10 | 0 | 15 | 0 | 201 | 44 | 2 | 0 | false | true | false | false | false | false | zero |
73,020,776 | Appium Cannot get the element as the element ID will vary from time to time | <p>I am using Appium to scrapy some data from an app,</p>
<p>the element xpath is android.view.View[@content-desc="25"]
but what i want to get is the value "25".
<a href="https://i.stack.imgur.com/blja6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/blja6.jpg" alt="enter image de... | I am using Appium to scrapy some data from an app, the element xpath is android.view.View[@content-desc="25"] but what i want to get is the value "25". For example, the time its shows is 11:25 in Appium , it shows me that el1 = driver.find_element(by=AppiumBy.ACCESSIBILITY_ID, value="25") ... | appium|appium-android|python-appium | 0 | 2022-07-18T10:22:35.970Z | 2,022 | 7 | 10 | 0 | 47 | 0 | 387 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
73,020,785 | Does Material Components provide edit text dialog when I use Jetpack Compose? | <p>I need a edit text dialog when I use Jetpack Compose in my project.</p>
<p>The Code A is from the <a href="https://stackoverflow.com/questions/18799216/how-to-make-a-edittext-box-in-a-dialog">article</a>.</p>
<p><strong>Q1:</strong> I don't know if Code A can use in Jetpack Compose, could you tell me?</p>
<p>I was ... | I need a edit text dialog when I use Jetpack Compose in my project. The Code A is from the article . Q1: I don't know if Code A can use in Jetpack Compose, could you tell me? I was told that Dialogs are available in the Material library for Jetpack Compose It seems that Material library only provide Alert dialog, Simpl... | android|material-ui | 1 | 2022-07-18T10:23:35.557Z | 2,022 | 7 | 10 | 0 | 112 | 1 | 449 | 77 | 2 | 1 | true | false | false | false | false | false | low |
73,020,867 | How to save retrofit response in shared preferences in and use it repository layer | <p>I have post method where I am sending login request to server but first I want to save that response using shared preferences in my repository how can save retrofit response in shared preferences</p>
<p>below my interface class I have implemented login post request logic</p>
<pre><code>interface MeloApi {
@Head... | I have post method where I am sending login request to server but first I want to save that response using shared preferences in my repository how can save retrofit response in shared preferences below my interface class I have implemented login post request logic [CODE] below my loginModel class [CODE] below LoginResp... | android|json|kotlin|retrofit|sharedpreferences | 0 | 2022-07-18T10:30:19.303Z | 2,022 | 7 | 10 | 0 | 34 | 1 | 453 | 82 | 5 | 7 | true | false | false | false | false | false | zero |
73,020,885 | Android Studio Chipmunk fails to build and run tests in parallel on multiple emulators | <p>I just upgraded Android Studio to Chipmunk | 2021.2.1 Patch 1 (detailed version below). When I run tests on one emulator and then try to start tests on another the build fails.</p>
<p>I noticed that building tests for the second emulator gradle is trying to access test-result.pb file in the same folder as already cr... | I just upgraded Android Studio to Chipmunk | 2021.2.1 Patch 1 (detailed version below). When I run tests on one emulator and then try to start tests on another the build fails. I noticed that building tests for the second emulator gradle is trying to access test-result.pb file in the same folder as already created for ... | android|android-studio|android-emulator|android-testing|android-studio-chipmunk | 1 | 2022-07-18T10:31:47.523Z | 2,022 | 7 | 10 | 0 | 265 | 0 | 1,650 | 86 | 5 | 0 | false | true | false | false | false | false | low |
73,020,947 | Why does the information fetched from API doesn't get displayed in Activity? | <p>I have been trying to fetch information from following API link. When I run the App, the progress bar keeps playing with out any information being displayed. Below are Activity and Viewmodel.</p>
<p>MainActivity.kt</p>
<pre><code> import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import andr... | I have been trying to fetch information from following API link. When I run the App, the progress bar keeps playing with out any information being displayed. Below are Activity and Viewmodel. MainActivity.kt [CODE] Viewmodel class named [Mainviewmodel.kt] [CODE] Adapter class [MainAdapter.kt] [CODE] ApiService.kt [CODE... | android|android-recyclerview|retrofit2 | 0 | 2022-07-18T10:35:38.787Z | 2,022 | 7 | 10 | 0 | 21 | 0 | 414 | 76 | 3 | 5 | true | true | false | false | false | false | zero |
73,020,969 | Access Expo SecureStore from custom native code | <p>I'm using Expo's <a href="https://docs.expo.dev/versions/latest/sdk/securestore/" rel="nofollow noreferrer">SecureStore</a> to securely store a user identification respectively API key.</p>
<p>The app also sets up an Android Service that subscribes to the ACTION_SCREEN_ON intent. In this Service I need to access the... | I'm using Expo's SecureStore to securely store a user identification respectively API key. The app also sets up an Android Service that subscribes to the ACTION_SCREEN_ON intent. In this Service I need to access the API key that I've saved with SecureStore to perform authenticated API calls. What I've tried: As describ... | java|android|react-native|expo | 0 | 2022-07-18T10:38:21.650Z | 2,022 | 7 | 10 | 0 | 26 | 0 | 1,124 | 47 | 4 | 1 | true | true | false | false | false | false | zero |
73,021,089 | I cannot change the progressbar's progress when i am setting progressbar max and min value | <p>How to change the progressbar's progress color when you have set max and min value of progressbar. i have a progressbar and try to set max value as 15 and min value as -5. i want to show progress from -5 to 0 as progress and change the color of progress as red and show green color as 0 to 15 to the progressbar.</p>
... | How to change the progressbar's progress color when you have set max and min value of progressbar. i have a progressbar and try to set max value as 15 and min value as -5. i want to show progress from -5 to 0 as progress and change the color of progress as red and show green color as 0 to 15 to the progressbar. [CODE] | android|xml|kotlin|programmatically | 0 | 2022-07-18T10:46:21.587Z | 2,022 | 7 | 10 | 0 | 37 | 2 | 319 | 90 | 4 | 1 | true | false | false | false | false | false | zero |
73,021,099 | How to style a received message notification to look like a other sms notifications | <p>I have implemented a Broadcast Receiver that listens for new messages in Xamarin Android and I get the Originating Address and the message body of the Sms and the I set the earlier as the title of the notification and the later as the body of the notification. There is just one problem, my notification does not look... | I have implemented a Broadcast Receiver that listens for new messages in Xamarin Android and I get the Originating Address and the message body of the Sms and the I set the earlier as the title of the notification and the later as the body of the notification. There is just one problem, my notification does not look li... | android|xamarin | 0 | 2022-07-18T10:47:11.577Z | 2,022 | 7 | 10 | 0 | 32 | 0 | 877 | 83 | 2 | 1 | true | true | false | false | false | false | zero |
73,021,146 | How can I make a Navigation Drawer go to the back of the Layout when Closed? | <p>In my layout xml file i have a webView and a Navigation Drawer:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk... | In my layout xml file i have a webView and a Navigation Drawer: [CODE] When I run this, I can't click on the webview at all. But if i switch the order of the webview and the navigation drawer, then i can press on the webview but i cannot open the navigation drawer (or it can't be seen). I want to be able to click and o... | android|xml|kotlin|android-layout | 0 | 2022-07-18T10:50:47.150Z | 2,022 | 7 | 10 | 0 | 44 | 1 | 367 | 76 | 4 | 1 | true | false | false | false | false | false | zero |
73,021,178 | How can I access buildToolsVersion in android? | <p>I need to access <strong>buildToolsVersion</strong> value in <strong>.gitlab-ci.yml</strong> file. But buildToolsVersion is not defined in <strong>gradle</strong>. How exactly can I access this?</p> | I need to access buildToolsVersion value in .gitlab-ci.yml file. But buildToolsVersion is not defined in gradle . How exactly can I access this? | android|gradle|gitlab-ci.yml | 1 | 2022-07-18T10:53:01.773Z | 2,022 | 7 | 10 | 0 | 21 | 0 | 144 | 46 | 3 | 0 | false | true | false | false | false | false | low |
73,021,308 | Service context onCreate method gets initialized but then appears not initialized on method for storage of sqlite Data | <p>I am implementing a foreground service, which runs in the background and its purpose is to store sensor data periodically on a SQLite Database. However i am having issues on the initialization of the SQlHelperClass, as the context appears to be null when the relevant method for the data storage executes.</p>
<p>Firs... | I am implementing a foreground service, which runs in the background and its purpose is to store sensor data periodically on a SQLite Database. However i am having issues on the initialization of the SQlHelperClass, as the context appears to be null when the relevant method for the data storage executes. First, i am in... | android|service|null | 0 | 2022-07-18T11:03:19.783Z | 2,022 | 7 | 11 | 0 | 56 | 0 | 1,468 | 118 | 3 | 4 | true | true | false | false | false | false | zero |
73,021,400 | RecyclerView, with a RemoteMediator | <p>I have a list of items displayed in a RecyclerView that is back by paging3 and a RemoteMediator. It is pretty basic, but for some reason when 1st 2 pages are loaded (1st load), it is never at the top it is always at the bottom of the 1st list, with the 1st item of the 2nd page of right at the bottom.</p> | I have a list of items displayed in a RecyclerView that is back by paging3 and a RemoteMediator. It is pretty basic, but for some reason when 1st 2 pages are loaded (1st load), it is never at the top it is always at the bottom of the 1st list, with the 1st item of the 2nd page of right at the bottom. | android|android-recyclerview|android-paging-3 | 0 | 2022-07-18T11:11:26.247Z | 2,022 | 7 | 11 | 0 | 24 | 0 | 301 | 35 | 3 | 0 | false | true | false | false | false | false | zero |
73,021,483 | Input dispatching timed out (ANR)(Waited 5000ms for MotionEvent) | <p>I have published my app few days ago and in that so many ANR is generating.</p>
<p>Input dispatching timed out (cabef3d main.MainNavigationActivity (server) is not responding. Waited 5000ms for MotionEvent)</p>
<p>Above is the ANR gnerating most of time</p>
<p>Below here I'm giving screenshot of both log of playstor... | I have published my app few days ago and in that so many ANR is generating. Input dispatching timed out (cabef3d main.MainNavigationActivity (server) is not responding. Waited 5000ms for MotionEvent) Above is the ANR gnerating most of time Below here I'm giving screenshot of both log of playstore and my code playstore ... | java|android|crash|crashlytics|android-anr-dialog | 1 | 2022-07-18T11:17:37.527Z | 2,022 | 7 | 11 | 0 | 243 | 1 | 340 | 64 | 5 | 0 | false | false | false | false | false | false | low |
73,021,522 | Android project locally built and remotely Jenkins built different result | <p>I am trying to build an Android project after restructuring, using Jenkins (2.277.4) and Gradle (7.4.2).</p>
<p>before restructuring I had project structure like this</p>
<pre><code>.
├── buildSrc
│ ├── build
│ ├── build.gradle
│ └── src
├── common
│ ├── build
│ ├── build.gradle
│ ├── proguard-rules.pro
... | I am trying to build an Android project after restructuring, using Jenkins (2.277.4) and Gradle (7.4.2). before restructuring I had project structure like this [CODE] with versioning in app/build.gradle [CODE] and output with gradle task executed was as expected both locally built and remotely Jenkins built: "99.0... | android|jenkins|gradle|android-gradle-plugin|build.gradle | 0 | 2022-07-18T11:20:47.337Z | 2,022 | 7 | 11 | 0 | 22 | 0 | 1,010 | 73 | 5 | 10 | true | true | false | false | false | false | zero |
73,021,591 | What is the relation between Android vitals JankStats and firebase total/frozen/slow frames | <p>I'm trying to send new JankStats performance statics to <a href="https://firebase.google.com/docs/perf-mon" rel="nofollow noreferrer">firebase performance monitoring</a>.</p>
<p>Firebase performance dashboard accepts the following metrics</p>
<pre><code>FRAMES_TOTAL("_fr_tot"),
FRAMES_SLOW("_fr_slo&qu... | I'm trying to send new JankStats performance statics to firebase performance monitoring . Firebase performance dashboard accepts the following metrics [CODE] However, Android Vitals recently delivered JankStats library with the following values. [CODE] What is the relation between [JankStatsAggregator] parameters and f... | android|firebase-performance|android-vitals | 0 | 2022-07-18T11:27:01.370Z | 2,022 | 7 | 11 | 0 | 77 | 1 | 384 | 91 | 3 | 2 | true | false | false | false | false | false | zero |
73,021,611 | Can't convert object of type String to Custom model error in Firebase Android | <p>I am creating a chat feature into my app and I am getting error while reading the value from firebase realtime database. And error is shown in image.</p>
<p>Here is my addValueEventListener method for getting the chats from database.<a href="https://i.stack.imgur.com/U6qAJ.png" rel="nofollow noreferrer"><img src="ht... | I am creating a chat feature into my app and I am getting error while reading the value from firebase realtime database. And error is shown in image. Here is my addValueEventListener method for getting the chats from database. [CODE] And here is I am getting reference and setting the value to the database. [CODE] Here ... | java|android|firebase|firebase-realtime-database | 0 | 2022-07-18T11:28:41.850Z | 2,022 | 7 | 11 | 0 | 36 | 1 | 582 | 77 | 4 | 4 | true | false | false | false | false | false | zero |
73,021,659 | Work Manager not working in flutter when implementing in native side | <p>-I am developing app in Flutter and I need to run some code of line in background for specific time on everyday so i implemented work manager in native and then i pass call to flutter using method channel but the Problem is WorkManager Not Working in Background Or After Terminating Application. (I am Running Applica... | -I am developing app in Flutter and I need to run some code of line in background for specific time on everyday so i implemented work manager in native and then i pass call to flutter using method channel but the Problem is WorkManager Not Working in Background Or After Terminating Application. (I am Running Applicatio... | android|flutter|dart|android-workmanager | 0 | 2022-07-18T11:32:39.427Z | 2,022 | 7 | 11 | 0 | 182 | 0 | 380 | 68 | 4 | 1 | true | true | false | false | false | false | zero |
73,021,687 | How can I transfer data new intent | <blockquote>
<p>my Onbindview holder</p>
</blockquote>
<pre><code> Glide.with(holder.t1.getContext())
.load("http://example/example/images/" +data.get(position).getImage()).into(holder.img);
}
</code></pre>
<blockquote>
<p>And my interface</p>
</blockquote>
<pre><code>itemView.setOnClickListene... | my Onbindview holder [CODE] And my interface [CODE] my new activity [CODE] finally my photo is not coming. I just can't get the image data in the new activity. This data is registered in mysql and I am pulling from the directory with retrofit. New display my imageview display And my xml | java|android | 0 | 2022-07-18T11:34:54.507Z | 2,022 | 7 | 11 | 0 | 49 | 3 | 287 | 34 | 2 | 3 | true | false | false | false | false | false | zero |
73,021,844 | How to make a class from that code? In order to not mess the Activity with a ton of code | <p>I want create a class called Permissions from below code and then call that in a click of a button. Because there is an @Override method in this activity and I don't know how to override methods inside a class. If I make a class for it the code would be much cleaner and easier to understand.</p>
<pre><code>public cl... | I want create a class called Permissions from below code and then call that in a click of a button. Because there is an @Override method in this activity and I don't know how to override methods inside a class. If I make a class for it the code would be much cleaner and easier to understand. [CODE] Source: https://gith... | java|android | 0 | 2022-07-18T11:47:40.210Z | 2,022 | 7 | 11 | 0 | 52 | 2 | 356 | 88 | 2 | 1 | true | false | false | false | false | false | zero |
73,021,874 | I want to draw some ractangles on PDF. Where for PDF i am using pdf url | <p>I want to draw some rectangles on PDF. Where for the PDF I am using pdf url (like: <a href="https://exampl.net/test/testpdf.pdf" rel="nofollow noreferrer">https://exampl.net/test/testpdf.pdf</a>) and rectangles draws on PDF to based on provided by, left, right, top, bottom, height and width. And also I want, click l... | I want to draw some rectangles on PDF. Where for the PDF I am using pdf url (like: https://exampl.net/test/testpdf.pdf ) and rectangles draws on PDF to based on provided by, left, right, top, bottom, height and width. And also I want, click listener on rectangle area. How can I achieve this? When i am using. [CODE] But... | android | 0 | 2022-07-18T11:50:14.977Z | 2,022 | 7 | 11 | 0 | 22 | 0 | 375 | 71 | 1 | 1 | true | true | false | false | false | false | zero |
73,021,938 | How to create new Activity/fragment in kotlin folder | <p>I decided to change the java folder in my project.<br/>
I renamed app->src->main->java folder to app->src->main->kotlin</p>
<p><a href="https://i.stack.imgur.com/qjAK5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qjAK5.png" alt="Kotlin folder" /></a></p>
<p>Then I correct the ... | I decided to change the java folder in my project. I renamed app->src->main->java folder to app->src->main->kotlin Then I correct the path in the Gradle by below code [CODE] problem: When I want to create new activity or fragment by the wizard, new classes are created on the java folder even if I do right-click on the ... | java|android-studio|kotlin|gradle | 0 | 2022-07-18T11:55:58.443Z | 2,022 | 7 | 11 | 0 | 33 | 0 | 407 | 52 | 4 | 1 | true | true | false | false | false | false | zero |
73,021,955 | How to Save WebView State in Fragment? | <p>I am developing a tiny web browser using Android's WebView and Jetpack Navigation Component.</p>
<p>The problem appears when I load a URL on the Home Page and then navigate to the Settings page and then come back to the Home Page, the WebView reloads itself. Even though I am saving its state to a <code>Bundle</code>... | I am developing a tiny web browser using Android's WebView and Jetpack Navigation Component. The problem appears when I load a URL on the Home Page and then navigate to the Settings page and then come back to the Home Page, the WebView reloads itself. Even though I am saving its state to a Bundle in ViewModel, that som... | android|webview | -1 | 2022-07-18T11:57:22.443Z | 2,022 | 7 | 11 | 0 | 44 | 1 | 738 | 38 | 2 | 2 | true | false | false | false | false | true | negative |
73,021,958 | Audio player with range seekbar | <p>I am creating a audio player, for Android mobile application, writed in Java langauge. This audio player will be feature a trim support. Trying with this library: <a href="https://github.com/anothem/android-range-seek-bar" rel="nofollow noreferrer">https://github.com/anothem/android-range-seek-bar</a> Problem is wit... | I am creating a audio player, for Android mobile application, writed in Java langauge. This audio player will be feature a trim support. Trying with this library: https://github.com/anothem/android-range-seek-bar Problem is with implementing this range seekbar, as a audio seekbar which plays only audio separated by two... | java|android|seekbar|audio-player|rangeseekbar | 0 | 2022-07-18T11:57:29.810Z | 2,022 | 7 | 11 | 0 | 75 | 0 | 712 | 31 | 5 | 2 | true | true | false | false | false | false | zero |
73,022,113 | billing library 5 QueryPurchasesAsync always returns service disconnected | <p>Migrating from Billing library 4.0 to 5.0, i am unable to check the purchase state.</p>
<pre><code>billingClient.queryPurchasesAsync(QueryPurchasesParams.newBuilder().setProductType(BillingClient.ProductType.INAPP).build(), new PurchasesResponseListener() {
@Override
public void onQueryPurchasesResp... | Migrating from Billing library 4.0 to 5.0, i am unable to check the purchase state. [CODE] | android|in-app-billing|android-billing|play-billing-library | 0 | 2022-07-18T12:10:01.940Z | 2,022 | 7 | 12 | 0 | 132 | 0 | 90 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
73,022,289 | The program does not work on some devices | <p>Good afternoon!
Such a situation, I wrote a program for Android and the following situation arises:
Emulating on Nexus 5 Android 11 (API 30) - works
I run on a real device Honor 9 Android 9 (API 28) - works
Galaxy A50 Android 11 - working</p>
<p>I also run it with friends on their phones and the following happens, w... | Good afternoon! Such a situation, I wrote a program for Android and the following situation arises: Emulating on Nexus 5 Android 11 (API 30) - works I run on a real device Honor 9 Android 9 (API 28) - works Galaxy A50 Android 11 - working I also run it with friends on their phones and the following happens, which seems... | android|kotlin | 1 | 2022-07-18T12:25:22.063Z | 2,022 | 7 | 12 | 0 | 41 | 1 | 887 | 41 | 2 | 1 | true | false | false | false | false | false | low |
73,022,484 | Capture barcode scanned in .NET MAUI Android | <p>in MAUI Android Application,how to receive a system broadcast for every barcode scanned,i need this function,please tell me,thank you everyone</p> | in MAUI Android Application,how to receive a system broadcast for every barcode scanned,i need this function,please tell me,thank you everyone | android|.net|barcode|maui | 0 | 2022-07-18T12:43:24.150Z | 2,022 | 7 | 12 | 0 | 173 | 0 | 142 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
73,022,559 | how to write requestWindowFeature(Window.FEATURE_NO_TITLE) with API 31+ in Android-Compose | <p>how to write this code</p>
<pre><code>requestWindowFeature(Window.FEATURE_NO_TITLE)
</code></pre>
<p>in APi 31+</p>
<p>with SuperClass <strong>ComponentActivity</strong> in jetpackcompose, because with this code not hidden titlebar, used Kotlin</p>
<pre><code>class MainActivity:ComponentActivity() {
override f... | how to write this code [CODE] in APi 31+ with SuperClass ComponentActivity in jetpackcompose, because with this code not hidden titlebar, used Kotlin [CODE] | android|android-jetpack-compose | 0 | 2022-07-18T12:48:47.203Z | 2,022 | 7 | 12 | 0 | 40 | 1 | 156 | 90 | 2 | 2 | true | false | false | false | false | false | zero |
73,022,560 | Android Xamarin.Forms app crashes upon opening | <p>I have a Xamarin.Forms application (android). Everything used to be fine until the last build that I downloaded from the App Center. When I try to open the app, it appears for a moment, and then disappears. I see it is sitting on the background:</p>
<p><a href="https://i.stack.imgur.com/qCcft.png" rel="nofollow nore... | I have a Xamarin.Forms application (android). Everything used to be fine until the last build that I downloaded from the App Center. When I try to open the app, it appears for a moment, and then disappears. I see it is sitting on the background: But when I press it, it immediately disappears again. I tried to get the l... | android|xamarin.forms | 0 | 2022-07-18T12:48:48.273Z | 2,022 | 7 | 12 | 0 | 72 | 0 | 2,139 | 46 | 2 | 0 | false | true | false | false | false | false | zero |
73,022,603 | dropzone js and android studio webview | <p>I need your help please!
Actually I'm using dropzone js to upload files (images and videos) on my webserver. It works just fine.
Now I work on an android version of the app. To do so, I use the webview feature.
But dropzone doesn't seem to get on well with that. The file chooser is not triggered when I click on the ... | I need your help please! Actually I'm using dropzone js to upload files (images and videos) on my webserver. It works just fine. Now I work on an android version of the app. To do so, I use the webview feature. But dropzone doesn't seem to get on well with that. The file chooser is not triggered when I click on the dro... | javascript|android|webview|dropzone | 0 | 2022-07-18T12:51:33.630Z | 2,022 | 7 | 12 | 0 | 27 | 0 | 402 | 38 | 4 | 0 | false | true | false | false | false | false | zero |
73,022,684 | Clearing SharedFlow: Converting flow to mutableFlow | <p>I've an API that returns flow which I'm converting to sharedFlow using shareIn(). I've a use case where I want to reset the cached value in the sharedFlow and force the flow to fetch new data. We've a <code>resetReplayCache()</code> however it's only available for MutableSharedFlow.</p>
<pre><code>class User(val id:... | I've an API that returns flow which I'm converting to sharedFlow using shareIn(). I've a use case where I want to reset the cached value in the sharedFlow and force the flow to fetch new data. We've a resetReplayCache() however it's only available for MutableSharedFlow. [CODE] I'd really appreciate some pointers on eit... | android|kotlin|kotlin-sharedflow | 0 | 2022-07-18T12:58:13.617Z | 2,022 | 7 | 12 | 0 | 80 | 0 | 402 | 51 | 3 | 1 | true | true | false | false | false | false | zero |
73,022,759 | in Google Maps API, can you code a multi-line string (e.g. representing a specific zone on a map) and ask for directions which avoid that zone? | <p>I am trying to make a travel app. I want to be able to give it a start point and an endpoint. If the journey crosses a certain zone (mapped out using multi-line string or polygon), I want to be able to ask for directions that avoids this zone. Is this possible? I was thinking of using geojson to mark out the multi-l... | I am trying to make a travel app. I want to be able to give it a start point and an endpoint. If the journey crosses a certain zone (mapped out using multi-line string or polygon), I want to be able to ask for directions that avoids this zone. Is this possible? I was thinking of using geojson to mark out the multi-line... | python|android|google-maps|google-maps-api-3|geojson | 0 | 2022-07-18T13:03:52.537Z | 2,022 | 7 | 13 | 0 | 7 | 0 | 393 | 143 | 5 | 0 | false | true | false | false | false | false | zero |
73,022,796 | Hilt - Android - Cannot inject members into int | <p>I have an interface like below:</p>
<pre><code>@EntryPoint
@InstallIn (SingletonComponent::class)
interface Listener {
fun onQuestionClicked(id: Int)
}
</code></pre>
<p>In my Adapter class for RecyclerView I have used :</p>
<p>// bind your view here</p>
<pre><code>binding.root.setOnClickListener {
val myEn... | I have an interface like below: [CODE] In my Adapter class for RecyclerView I have used : // bind your view here [CODE] In my Fragment Class : [CODE] I have created a Hilt ListernerModule its : [CODE] But I get the Error As : [CODE] | android|kotlin|dagger-hilt | 0 | 2022-07-18T13:06:48.270Z | 2,022 | 7 | 13 | 0 | 31 | 0 | 232 | 47 | 3 | 5 | true | true | false | false | false | false | zero |
73,022,856 | How to fetch the content of the epub file fetched using epublib and output through text-to-speech | <p>I'm trying to implement <a href="https://github.com/AvinashSKaranth/epublibDroid" rel="nofollow noreferrer">Epublib</a> library while parsing .epub file in my project. I'm able to load the file onto the web view but cannot find any way to get the content of the file to further implement it in text to speech output. ... | I'm trying to implement Epublib library while parsing .epub file in my project. I'm able to load the file onto the web view but cannot find any way to get the content of the file to further implement it in text to speech output. Any suggestion for the same? [CODE] | java|android|android-studio|kotlin|epublib | 0 | 2022-07-18T13:10:42.160Z | 2,022 | 7 | 13 | 0 | 29 | 0 | 264 | 97 | 5 | 1 | true | true | false | false | false | false | zero |
73,022,864 | How to handle back press on AndroidViewBinding & finish host compose? | <p>The composable host an AndroidView that is a FragmentContainerView which has multiple child Fragments on back press of the FragmentContainerView we want to close the @Game composable.</p>
<pre><code>@Composable
fun Game(data: Bundle? = null) {
val user = GamingHubAuthManager.getUser().observeAsState()
Andr... | The composable host an AndroidView that is a FragmentContainerView which has multiple child Fragments on back press of the FragmentContainerView we want to close the @Game composable. [CODE] | android|kotlin|android-jetpack-compose | 1 | 2022-07-18T13:11:18.583Z | 2,022 | 7 | 13 | 0 | 50 | 1 | 190 | 69 | 3 | 1 | true | false | false | false | false | false | low |
73,022,892 | Center focus of Horizontal Recyclerview? | <p>I am trying to achieve focus on the recycler view. Suppose I have a list of items 10 items so the focus point should be between 5 and 6. If 3 items then the focus should be 2. I have used flexbox layout manager that manages the center but then the list is not scrollable.</p>
<p>I have posted the same issue on GitHub... | I am trying to achieve focus on the recycler view. Suppose I have a list of items 10 items so the focus point should be between 5 and 6. If 3 items then the focus should be 2. I have used flexbox layout manager that manages the center but then the list is not scrollable. I have posted the same issue on GitHub :- Check ... | android|android-recyclerview|flexbox | 0 | 2022-07-18T13:13:29.483Z | 2,022 | 7 | 13 | 0 | 21 | 0 | 418 | 40 | 3 | 0 | false | true | false | false | false | false | zero |
73,022,960 | Action Google Play Policies. We have determined your app contains code to facilitate Disruptive Ads | <p>After a recent review, we found that your app is not compliant with one or more of our Developer Program Policies. See below for more information about your app’s status and how to correct the issue.</p>
<p>Issue with your app</p>
<p>We have determined your app contains code to facilitate Disruptive Ads.
Affected Ve... | After a recent review, we found that your app is not compliant with one or more of our Developer Program Policies. See below for more information about your app’s status and how to correct the issue. Issue with your app We have determined your app contains code to facilitate Disruptive Ads. Affected Versions: APK:201 I... | android|admob | 0 | 2022-07-18T13:18:23.603Z | 2,022 | 7 | 13 | 0 | 171 | 0 | 418 | 99 | 2 | 0 | false | true | false | false | false | false | zero |
73,022,961 | How do I resolve this issue where my Meteor Android app doesn't connect? | <p>I'm trying to run my Meteor Android app on my phone, the app installs on the phone as expected but it doesn't connect, it seems to be a problem creating a websocket based on the IP address of the phone.</p>
<p>Could this be an something relating to setting up a proxy service on Windows 11 to allow connections to the... | I'm trying to run my Meteor Android app on my phone, the app installs on the phone as expected but it doesn't connect, it seems to be a problem creating a websocket based on the IP address of the phone. Could this be an something relating to setting up a proxy service on Windows 11 to allow connections to the WSL virtu... | android|meteor|adb|windows-subsystem-for-linux|wsl-2 | 1 | 2022-07-18T13:18:24.053Z | 2,022 | 7 | 13 | 0 | 84 | 0 | 770 | 72 | 5 | 3 | true | true | false | false | false | false | low |
73,022,970 | How do i apply a default font to all Text() elements in the app using Jetpack Compose? | <p>I need to apply a common font to all the Text() used in my entire app. Currently i am applying it manually to each text using a style or font as follows. How can i specify this as a global theme for the app? In normal xml layouts, i was using a custom TextView widget to achieve this.</p>
<pre><code> Text(
... | I need to apply a common font to all the Text() used in my entire app. Currently i am applying it manually to each text using a style or font as follows. How can i specify this as a global theme for the app? In normal xml layouts, i was using a custom TextView widget to achieve this. [CODE] | android|kotlin|android-jetpack-compose|android-jetpack | 0 | 2022-07-18T13:18:41.643Z | 2,022 | 7 | 13 | 0 | 195 | 3 | 291 | 86 | 4 | 1 | true | false | false | false | false | false | zero |
73,023,035 | Callback not received while handling permission with rememberLauncherForActivityResult() with contract ActivityResultContracts.RequestPermission() | <p>System request ui gets triggered but the result is not posted to launcher.</p>
<p>Can anyone explain me that what I am doing wrong in the code snippet and point me the correct way to get this running.</p>
<pre><code>val launcher = rememberLauncherForActivityResult(
contract = ActivityResultContracts.RequestPermi... | System request ui gets triggered but the result is not posted to launcher. Can anyone explain me that what I am doing wrong in the code snippet and point me the correct way to get this running. [CODE] | android|android-jetpack-compose|android-permissions|jetpack-compose-accompanist|activityresultcontracts | 0 | 2022-07-18T13:23:57.233Z | 2,022 | 7 | 13 | 0 | 54 | 0 | 200 | 146 | 5 | 1 | true | true | false | false | false | false | zero |
73,023,087 | Navigation Android locking menu | <p>I'm using android Navigations for handeling my backstack. <br>
I want to create a transition from the fragment <em>data</em> to fragment <em>map</em>. <br>
Right now I have the problem, when I execute a Navigation Event from a button in my app like this:</p>
<pre><code> NavController navController = Navigation... | I'm using android Navigations for handeling my backstack. I want to create a transition from the fragment data to fragment map . Right now I have the problem, when I execute a Navigation Event from a button in my app like this: [CODE] I get navigated to my destination map . But I can't click data in my navigation menu ... | java|android|navigation | 0 | 2022-07-18T13:26:56.627Z | 2,022 | 7 | 13 | 0 | 13 | 0 | 672 | 31 | 3 | 3 | true | true | false | false | false | false | zero |
73,023,095 | Convert Live Data to kotlin flow in jetpack compose | <p>Hey I am new in jetpack compose. I am checking in internet is available or not and consume through live data. Now I started learning jetpack compose so I want to use Flow, So any guys help me to convert this LiveData to flow and use in jetpack compose.</p>
<p><strong>NetworkConnection.kt</strong></p>
<pre><code>impo... | Hey I am new in jetpack compose. I am checking in internet is available or not and consume through live data. Now I started learning jetpack compose so I want to use Flow, So any guys help me to convert this LiveData to flow and use in jetpack compose. NetworkConnection.kt [CODE] Can someone help me which way of doing ... | android|kotlin|android-jetpack-compose|android-jetpack|kotlin-flow | 2 | 2022-07-18T13:27:29.530Z | 2,022 | 7 | 13 | 0 | 145 | 2 | 476 | 51 | 5 | 2 | true | false | false | false | false | false | low |
73,023,110 | Android print pdf file missing annotations | <p>The annotations in the PDF document are lost as a result.Only PDF content can be printed.
The core code for printing is as follows:</p>
<pre><code>public class PdfDocumentAdapter extends PrintDocumentAdapter {
Context context = null;
String pathName = "";
public PdfDocumentAdapter(Context ctxt, String path... | The annotations in the PDF document are lost as a result.Only PDF content can be printed. The core code for printing is as follows: [CODE] Using the above code to call the system's print interface to print, the annotations in the PDF document are lost as a result.Only PDF content can be printed. | android | 0 | 2022-07-18T13:28:32.840Z | 2,022 | 7 | 13 | 0 | 19 | 0 | 296 | 42 | 1 | 1 | true | true | false | false | false | false | zero |
73,023,133 | Failed to resolve: com.github.unsplash:unsplash-photopicker-android:1.0.1 | <p>I was trying to make a new project starting with dependencies when I got this:</p>
<pre><code>1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not fin... | I was trying to make a new project starting with dependencies when I got this: [CODE] I tried to implement this library as mentioned here: https://github.com/unsplash/unsplash-photopicker-android , so I also included maven repo like this: [CODE] I have no idea why this error occured and would be happy if you can help m... | android|gradle | 0 | 2022-07-18T13:30:08.717Z | 2,022 | 7 | 13 | 0 | 65 | 0 | 355 | 73 | 2 | 3 | true | true | false | false | false | false | zero |
73,023,135 | Room error - "Cannot figure out how to save this field into database. You can consider adding a type converter for it." | <p>I want to store class Reservation that a user makes when going to a cinema to watch a movie and I can't figure out how to convert it so that room can store it in the data base.</p>
<p>Errors appear for members: places and codeQR.</p>
<p>Class Reservation:</p>
<pre><code>@Entity(tableName = "reservations", ... | I want to store class Reservation that a user makes when going to a cinema to watch a movie and I can't figure out how to convert it so that room can store it in the data base. Errors appear for members: places and codeQR. Class Reservation: [CODE] Class Film: [CODE] I also get the following error by the ReservationOfM... | java|android|sql|database|android-room | -2 | 2022-07-18T13:30:25.260Z | 2,022 | 7 | 13 | 0 | 44 | 1 | 861 | 119 | 5 | 3 | true | false | false | false | false | true | negative |
73,023,166 | How can I connect to a network service on hosting OS from Multiplatform commonTest | <p>I am testing out KMM, and having a KMM library connecting to a grpc service on hosting machine.</p>
<p>I then have a simple test in <code>commonTest</code>, trying to make the connection to the service. I then run the test from AS, choosing <code>Android</code> as the target. However, I simply cannot make it work:</... | I am testing out KMM, and having a KMM library connecting to a grpc service on hosting machine. I then have a simple test in commonTest , trying to make the connection to the service. I then run the test from AS, choosing Android as the target. However, I simply cannot make it work: If I use localhost as the destinatio... | android|kotlin|kotlin-multiplatform|kotlin-multiplatform-mobile | 0 | 2022-07-18T13:32:07.850Z | 2,022 | 7 | 13 | 0 | 28 | 0 | 582 | 82 | 4 | 0 | false | true | false | false | false | false | zero |
73,023,296 | Https Server for Android with Qt6 | <p>I'm trying to build an https server on Android using Qt 6.3.0 since the qt module Qt HTTP Server is not available yet. Is it possible to code it from scratch? Is there any code that i can use or start with?</p>
<p>Thank you for your help.</p> | I'm trying to build an https server on Android using Qt 6.3.0 since the qt module Qt HTTP Server is not available yet. Is it possible to code it from scratch? Is there any code that i can use or start with? Thank you for your help. | android|httpserver|qt6 | 0 | 2022-07-18T13:40:31.283Z | 2,022 | 7 | 13 | 0 | 33 | 0 | 231 | 33 | 3 | 0 | false | true | false | false | false | false | zero |
73,023,299 | Jetpack compose paginated list UI updation on item Click | <p>How to make UI changes in a paginated list with jetpack compose.</p>
<p>Use case</p>
<p>I have a paginated list which has data name(string) and like(boolean). If i click on the particular item in the list, i need to place a like button in the UI. But the image is not updated in UI based on condition.</p>
<p>Snippet<... | How to make UI changes in a paginated list with jetpack compose. Use case I have a paginated list which has data name(string) and like(boolean). If i click on the particular item in the list, i need to place a like button in the UI. But the image is not updated in UI based on condition. Snippet userList -> LazyPagingIt... | android|android-jetpack-compose|android-jetpack|android-paging|android-paging-3 | 0 | 2022-07-18T13:40:35.557Z | 2,022 | 7 | 13 | 0 | 68 | 1 | 395 | 56 | 5 | 2 | true | false | false | false | false | false | zero |
73,023,326 | Create dynamic real time line chart with MPAndroidChart | <p>I'd like to preface by saying I'm a novice at creating apps with Android.</p>
<p>I've been following [this][1] tutorial on youtube, however as it is quite old, some of the methods have been outdated.</p>
<p>The idea is I want to create a line graph that is being updated dynamically/in real time, through an API. I ha... | I'd like to preface by saying I'm a novice at creating apps with Android. I've been following [this][1] tutorial on youtube, however as it is quite old, some of the methods have been outdated. The idea is I want to create a line graph that is being updated dynamically/in real time, through an API. I have also been read... | android|graph|dynamic|charts | 0 | 2022-07-18T13:42:31.433Z | 2,022 | 7 | 13 | 0 | 83 | 0 | 1,116 | 55 | 4 | 2 | true | true | false | false | false | false | zero |
73,023,373 | How to change defaul font family in react native | <p>I have a working app but I want to change default font family at app level. How to accomplish that without changing font family in every text element?</p> | I have a working app but I want to change default font family at app level. How to accomplish that without changing font family in every text element? | android|react-native | 1 | 2022-07-18T13:45:17.203Z | 2,022 | 7 | 13 | 0 | 27 | 1 | 150 | 48 | 2 | 0 | false | false | false | false | false | false | low |
73,023,396 | How to securely share data between two Flutter apps (credentials) | <p>I’m a little bit stuck on a subject.. I was developing 2 mobile applications with Flutter, each with an authentication system. I would like to develop the following functionality:</p>
<ol>
<li>I log on to the "A" application, I save my credentials.</li>
<li>I open the "B" app, I can find the acco... | I’m a little bit stuck on a subject.. I was developing 2 mobile applications with Flutter, each with an authentication system. I would like to develop the following functionality: I log on to the "A" application, I save my credentials. I open the "B" app, I can find the account with which I signed i... | android|ios|flutter|authentication | 0 | 2022-07-18T13:47:16.700Z | 2,022 | 7 | 13 | 0 | 66 | 1 | 793 | 65 | 4 | 0 | false | false | false | false | false | false | zero |
73,023,415 | How can I transfer image new intent | <p>This is my adapter and I save my image string type in Responsemodel class.</p>
<pre class="lang-java prettyprint-override"><code>public class MyAdapter extends RecyclerView.Adapter<MyAdapter.myviewholder>
{
List<ResponseModel> data;
private final IOtobusSaatleriInterface iOtobusSaatleriInterfac... | This is my adapter and I save my image string type in Responsemodel class. [CODE] and my new empty activity [CODE] And my new empty activity [CODE] My problem is I can access name data but image cannot be displayed. How can I access the selected photo? I take the photos in mysql database and with the url recyclerview. | java|android | 1 | 2022-07-18T13:48:33.247Z | 2,022 | 7 | 13 | 0 | 33 | 1 | 319 | 35 | 2 | 3 | true | false | false | false | false | false | low |
73,023,468 | How to properly update minSdkVersion on Flutter 3.0.5? | <p>I am getting this error after updating minSdkVersion according to this question's <a href="https://stackoverflow.com/questions/52060516/how-to-change-android-minsdkversion-in-flutter-project/70316521#70316521">answer</a>.</p>
<p>Here is the error.</p>
<p>(For some reason I can't post the raw error output.)
<a href="... | I am getting this error after updating minSdkVersion according to this question's answer . Here is the error. (For some reason I can't post the raw error output.) Here is my build.gradle: [CODE] Here is my local.propertis [CODE] | android|flutter|dart|build.gradle|android-sdk-tools | 0 | 2022-07-18T13:51:46.263Z | 2,022 | 7 | 13 | 0 | 198 | 0 | 228 | 54 | 5 | 2 | true | true | false | false | false | false | zero |
73,023,534 | Android java audio player playing in background | <p>I am creating a audio player, for Android mobile application, writed in Java langauge. I am struggling with adding to my mobile app possiblity to play audio in background. When I get back during playing audio in player to menu or minimalize app audio stops.</p>
<p>I searched for solution in net but I can't find how ... | I am creating a audio player, for Android mobile application, writed in Java langauge. I am struggling with adding to my mobile app possiblity to play audio in background. When I get back during playing audio in player to menu or minimalize app audio stops. I searched for solution in net but I can't find how to do this... | java|android|audio|media-player | 0 | 2022-07-18T13:57:09.657Z | 2,022 | 7 | 13 | 0 | 65 | 1 | 439 | 47 | 4 | 2 | true | false | false | false | false | false | zero |
73,023,554 | Android AAID error "AdvertisingIdClient is not connected. " with lib play-services-ads-identifier | <p>I had a Exception log like this when I get AAID with lib 'com.google.android.gms:play-services-ads-identifier:18.0.1' and 'com.google.android.gms:play-services-base:18.1.0'(ps: 17.0.0 is not work too)</p>
<pre><code>2022-07-18 21:45:27.124 31613-31650/com.xx.myapplication W/System.err: java.io.IOException: Advertisi... | I had a Exception log like this when I get AAID with lib 'com.google.android.gms:play-services-ads-identifier:18.0.1' and 'com.google.android.gms:play-services-base:18.1.0'(ps: 17.0.0 is not work too) [CODE] and the code is below: [CODE] Google's doc indicate the IOException without solution. I'd like guys offer help :... | android | 0 | 2022-07-18T13:58:20.623Z | 2,022 | 7 | 13 | 0 | 31 | 0 | 321 | 97 | 1 | 2 | true | true | false | false | false | false | zero |
73,023,593 | How to get transparent while erasing the canvas in Jetpack Compose , now I'm getting white color? | <p>how can I make some parts of canvas transparent? I want user to be able to erase parts of an photo like this <a href="https://i.stack.imgur.com/qO4bO.jpg" rel="nofollow noreferrer">link</a> shows to be transparent. my canvas code:</p>
<pre><code>Canvas(
modifier = modifier
.background(Color.Transparent)
... | how can I make some parts of canvas transparent? I want user to be able to erase parts of an photo like this link shows to be transparent. my canvas code: [CODE] | android|kotlin|canvas|android-jetpack-compose|transparent | 3 | 2022-07-18T14:00:45.463Z | 2,022 | 7 | 14 | 0 | 188 | 1 | 161 | 97 | 5 | 1 | true | false | false | false | false | false | low |
73,023,668 | Data safety form in google play console | <p>I need to fill data safety form in google play console. I have few doubts.</p>
<p><strong>Name and email</strong></p>
<p>Usually in android phones, the user logs in with a gmail id before starting to use the phone. This gmail id can be requested by the app like a permissions alert dialog. Now my doubt is, I am getti... | I need to fill data safety form in google play console. I have few doubts. Name and email Usually in android phones, the user logs in with a gmail id before starting to use the phone. This gmail id can be requested by the app like a permissions alert dialog. Now my doubt is, I am getting user's email id not like this b... | android|forms|google-play|google-play-console | 0 | 2022-07-18T14:05:45.727Z | 2,022 | 7 | 14 | 0 | 305 | 1 | 752 | 39 | 4 | 0 | false | false | false | false | false | false | zero |
73,023,689 | Android Studio installer doesn't open Windows 11 | <p>I have downloaded the latest version of android studio for windows but when I try to open the installer it shows "<strong>how do you want to open this file?</strong>" and asks me to choose an application.</p>
<p>PS: I have Java installed.<br />
PS2: Windows 11</p> | I have downloaded the latest version of android studio for windows but when I try to open the installer it shows " how do you want to open this file? " and asks me to choose an application. PS: I have Java installed. PS2: Windows 11 | android-studio | 0 | 2022-07-18T14:07:30.813Z | 2,022 | 7 | 14 | 0 | 8 | 0 | 242 | 48 | 1 | 0 | false | true | false | false | false | false | zero |
73,023,753 | How to get rid of white space from a card jetpack compose | <p>I am working on this design where I have a column that has text and image on top and I have this card view but I want to remove this white space. The card is white I just added the blue to show the white space showing. How can I remove the white space. I want the <code>R.color.purple_700</code> to fill that space.</... | I am working on this design where I have a column that has text and image on top and I have this card view but I want to remove this white space. The card is white I just added the blue to show the white space showing. How can I remove the white space. I want the R.color.purple_700 to fill that space. Here is my code [... | android-jetpack-compose|android-jetpack | 1 | 2022-07-18T14:12:02.857Z | 2,022 | 7 | 14 | 0 | 88 | 1 | 325 | 57 | 2 | 1 | true | false | false | false | false | false | low |
73,023,755 | JetpackCompose how to createChooser and listen for result | <p>I want to show a system dialog to user to select from available applications for sharing text from my app. I can do this by using createChooser function from Intent class. But i also want to listen for the system dialog result, so that i can disable/enable my share button to prevent creating multiple system dialogs ... | I want to show a system dialog to user to select from available applications for sharing text from my app. I can do this by using createChooser function from Intent class. But i also want to listen for the system dialog result, so that i can disable/enable my share button to prevent creating multiple system dialogs ove... | android|kotlin|android-jetpack-compose | 0 | 2022-07-18T14:12:08.470Z | 2,022 | 7 | 14 | 0 | 58 | 1 | 790 | 57 | 3 | 0 | false | false | false | false | false | false | zero |
73,023,785 | Wordpress app made in android studio popup not working | <p>Hello i just made my wordpress android app in android studio watching some youtube tutorial bit my elementor popup or the cart side bar is not showing on pressing the button on footer menu. I dont know the solution and i cant find it anywhere on internet can anyone who knows android studio help me on this that will... | Hello i just made my wordpress android app in android studio watching some youtube tutorial bit my elementor popup or the cart side bar is not showing on pressing the button on footer menu. I dont know the solution and i cant find it anywhere on internet can anyone who knows android studio help me on this that will be ... | wordpress|android-studio|popup|elementor | 0 | 2022-07-18T14:14:30.483Z | 2,022 | 7 | 14 | 0 | 10 | 0 | 325 | 54 | 4 | 0 | false | true | false | false | false | false | zero |
73,023,823 | Simple Mobile Tools Keyboard set theme color | <p>I'm trying to build the Android project Simple-Keyboard and have the default theme be "Black & White" because the default theme of Dark is too dark for my users. I tried changing the theme in styles.xml:</p>
<p><code><style name="AppTheme" parent="AppTheme.BlackAndWhite" /></... | I'm trying to build the Android project Simple-Keyboard and have the default theme be "Black & White" because the default theme of Dark is too dark for my users. I tried changing the theme in styles.xml: <style name="AppTheme" parent="AppTheme.BlackAndWhite" /> But it still defaults to the... | android|keyboard | 0 | 2022-07-18T14:16:57.260Z | 2,022 | 7 | 14 | 0 | 26 | 1 | 672 | 44 | 2 | 0 | false | false | false | false | false | false | zero |
73,023,872 | Is it Possible to Create a Flutter App which has no Interface? | <p>I would like to know if it is possible to create a flutter app which has no interface and just runs in the background like a background Activity. If yes, how can I accomplish that?</p> | I would like to know if it is possible to create a flutter app which has no interface and just runs in the background like a background Activity. If yes, how can I accomplish that? | android|flutter|android-activity | 0 | 2022-07-18T14:20:54.553Z | 2,022 | 7 | 14 | 0 | 29 | 1 | 180 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
73,023,962 | How to show only avg and max values in labels on Y axis using MPAndroidChart? | <p>I have graph which show speed value on Y axis. I want to show exactly 2 values: avg value (i. e. middle value label) and max value. I'm using <code>YAxis.setLabelCount(2)</code> to set only two labels on Axis. But graph always showing me min value and another one or two values. The behavior that i want:</p>
<p>If we... | I have graph which show speed value on Y axis. I want to show exactly 2 values: avg value (i. e. middle value label) and max value. I'm using YAxis.setLabelCount(2) to set only two labels on Axis. But graph always showing me min value and another one or two values. The behavior that i want: If we have max speed 2.4 mil... | android|kotlin|mpandroidchart | 1 | 2022-07-18T14:26:38.100Z | 2,022 | 7 | 14 | 0 | 77 | 1 | 402 | 77 | 3 | 0 | false | false | false | false | false | false | low |
73,023,991 | I am trying to make this type of editext background, with outer shadow | <p><a href="https://i.stack.imgur.com/jnXUa.png" rel="nofollow noreferrer">enter image description here</a>
how to like this type of background of edittext
[enter image description here][2]</p> | enter image description here how to like this type of background of edittext [enter image description here][2] | android | 0 | 2022-07-18T14:28:11.017Z | 2,022 | 7 | 14 | 0 | 15 | 0 | 110 | 70 | 1 | 0 | false | true | false | false | false | false | zero |
73,024,036 | Create gradle file programmatically from build.gradle file | <p>I have an assignment task so I have downloaded the project to implement the task
but found in readme file</p>
<blockquote>
<p>"you still need to register for an <a href="https://api.nasa.gov/" rel="nofollow noreferrer">API key</a>
and add it to <code>app/local.gradle</code> - see <code>local.gradle.example</cod... | I have an assignment task so I have downloaded the project to implement the task but found in readme file "you still need to register for an API key and add it to app/local.gradle - see local.gradle.example for details." and found inside local.gradle.example [CODE] and the app/local.gradle was not there and i... | android|gradle|groovy | 0 | 2022-07-18T14:31:45.550Z | 2,022 | 7 | 14 | 0 | 46 | 1 | 679 | 58 | 3 | 2 | true | false | false | false | false | false | zero |
73,024,091 | Kotlin: I have a problem while switching from one Activity to another? | <p>I have a problem when I want to switch between two activities.</p>
<p>This is my code on the first activity. I want to switch to the CatDoorActivity.</p>
<pre><code>modifier = Modifier.clickable {
val intent = Intent(this, CatDoorActivity::class.java)
intent.putExtra("UUID", deviceU... | I have a problem when I want to switch between two activities. This is my code on the first activity. I want to switch to the CatDoorActivity. [CODE] My Problem is this exception after running that code: [CODE] I have added the activity to the AndroidManifest.xml: [CODE] The bottom of the exception says something about... | kotlin|android-intent|android-activity|android-room|kotlin-coroutines | 1 | 2022-07-18T14:36:07Z | -1 | -1 | -1 | -1 | 57 | 0 | 695 | 70 | 5 | 5 | true | true | false | false | false | false | low |
73,024,164 | SocketException: Connection refused | <p>ave created an API using Laravel and I am trying to fetch the data in flutter using HTTP but I keep getting this error.</p>
<p>The error I keep getting in Emulator is <strong>SocketException:Connection refused (OS Error:Connection refused, errno=111), address = 127.0.0.1, port = 41068</strong></p>
<p>Below is an exc... | ave created an API using Laravel and I am trying to fetch the data in flutter using HTTP but I keep getting this error. The error I keep getting in Emulator is SocketException:Connection refused (OS Error:Connection refused, errno=111), address = 127.0.0.1, port = 41068 Below is an excerpt of my code. [CODE] } I added ... | android|flutter|dart | 0 | 2022-07-18T14:40:42.647Z | 2,022 | 7 | 14 | 0 | 52 | 1 | 624 | 35 | 3 | 3 | true | false | false | false | false | false | zero |
73,024,185 | MenuProviders are not switched automatically inside a ViewPager | <p>I have a ViewPager with 2 Fragments. Each Fragment holds a MenuProvider which is added as follows:</p>
<pre><code>@Override
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
requireActivity().addMenuProvider(new MyMenuProvider1... | I have a ViewPager with 2 Fragments. Each Fragment holds a MenuProvider which is added as follows: [CODE] But after opening the Activity containing the ViewPager I always see the menu of the second fragment, and switching fragments doesn't change anything. Looks like the MenuProvider of the second fragment is always ov... | android|android-fragments|menu|android-viewpager | 0 | 2022-07-18T14:42:30.953Z | 2,022 | 7 | 14 | 0 | 232 | 2 | 516 | 63 | 4 | 1 | true | false | false | false | false | false | zero |
73,024,289 | React native: I'm getting error with Keystore file in GitHub Actions with android build apk | <p>I converted my-upload-key.keystore to base64 and imported the content as ANDROID_SIGNING_KEY in my repository secrets. But I get this error when I try to run CI/CD actions.</p>
<pre><code>> Keystore file '/home/runner/work/SampleApp/SampleApp/android/app/my-upload-key.keystore' not found for signing config 'relea... | I converted my-upload-key.keystore to base64 and imported the content as ANDROID_SIGNING_KEY in my repository secrets. But I get this error when I try to run CI/CD actions. [CODE] my yml code: [CODE] /app/build.gradle [CODE] I know my-upload-key.keystore is not supposed to upload to my repository but the thing is, why ... | android|react-native|github-actions|keystore|cicd | 0 | 2022-07-18T14:49:41.427Z | 2,022 | 7 | 14 | 0 | 150 | 1 | 400 | 91 | 5 | 3 | true | false | false | false | false | false | zero |
73,024,355 | How to configure JaCoCo (to exclude some source files) for Android project with isTestCoverageEnabled=true | <p>The code coverage works perfectly fine for me when just set <code>isTestCoverageEnabled = true</code> in my BuildType Android Gradle configuration. It creates 2 tasks
<code>createReleaseUnitTestCoverageReport</code> for release build type and <code>createDebugUnitTestCoverageReport</code> for debug one.</p>
<p>The i... | The code coverage works perfectly fine for me when just set isTestCoverageEnabled = true in my BuildType Android Gradle configuration. It creates 2 tasks createReleaseUnitTestCoverageReport for release build type and createDebugUnitTestCoverageReport for debug one. The issue that all source files appear in the report a... | android|gradle|code-coverage|jacoco|android-jacoco | 0 | 2022-07-18T14:54:27.160Z | 2,022 | 7 | 14 | 0 | 51 | 0 | 676 | 106 | 5 | 1 | true | true | false | false | false | false | zero |
73,024,638 | Should I request for location permissions when using bluetooth for pre Android 12 devices when targeting Android 12 (targetSdkVersion 32) | <p>My app scans and connects to BLE devices from a foreground service. I want to upgrade SDK and target Android 12 (<code>targetSdkVersion 32</code>) and support older versions of Android.</p>
<p>Android 12 introduced changes regarding bluetooth permissions.</p>
<p><a href="https://developer.android.com/guide/topics/co... | My app scans and connects to BLE devices from a foreground service. I want to upgrade SDK and target Android 12 ( targetSdkVersion 32 ) and support older versions of Android. Android 12 introduced changes regarding bluetooth permissions. Android documentation says : Since Android 12: BLUETOOTH_ADVERTISE, BLUETOOTH_CONN... | android|bluetooth|location|android-permissions | 1 | 2022-07-18T15:13:18.667Z | 2,022 | 7 | 15 | 0 | 159 | 1 | 1,515 | 137 | 4 | 1 | true | false | false | false | false | false | low |
73,024,658 | Android Material Date Range Picker - How to change the text color of only the selected range dates? | <p>I am attempting to reproduce this style with the <a href="https://material.io/components/date-pickers/android#date-range-pickers" rel="nofollow noreferrer">Material Range Date Picker</a>:</p>
<p>[Calendar date picker with all the selected days in white textColor. The unselected days have a black textColor]<img src="... | I am attempting to reproduce this style with the Material Range Date Picker : [Calendar date picker with all the selected days in white textColor. The unselected days have a black textColor] This is what I have been able to achieve so far: [Calendar date picker with only the selected boundary days in white textColor. T... | android|xml|android-layout|material-components-android|android-datepicker | 2 | 2022-07-18T15:14:40.223Z | 2,022 | 7 | 15 | 0 | 190 | 1 | 758 | 99 | 5 | 1 | true | false | false | false | false | false | low |
73,024,802 | Send (Flush) Data to firmware using Usb Serial Port Android | <p>I ve got an issue.
I want to send file from my android to a hardware.
But unfortunetely when the file has more than 10 kb , it seems some line of text are missing. Its doesnt send and write the file perfectly to my hardware when i check it. but if its less than, its seems working fine.
I have no much knowleges abou... | I ve got an issue. I want to send file from my android to a hardware. But unfortunetely when the file has more than 10 kb , it seems some line of text are missing. Its doesnt send and write the file perfectly to my hardware when i check it. but if its less than, its seems working fine. I have no much knowleges about mi... | java|android|serial-port|micropython|firmware | 0 | 2022-07-18T15:25:11.223Z | 2,022 | 7 | 15 | 0 | 25 | 0 | 578 | 59 | 5 | 1 | true | true | false | false | false | false | zero |
73,024,819 | creating aab file from quasar project. used latest version of Java and Gradle. Error Could not compile settings file ...gradle | <p>I created a Quasar project and now trying to deploy using cordova.
Installed latest version of Gradle (7.5)
Installed lates versione of JDK (16.02..)
Installed the latest version of Android Studio.</p>
<p>launching: "quasar build -m cordova -T android"
all good then:</p>
<p>For some reason is using Gradle ... | I created a Quasar project and now trying to deploy using cordova. Installed latest version of Gradle (7.5) Installed lates versione of JDK (16.02..) Installed the latest version of Android Studio. launching: "quasar build -m cordova -T android" all good then: For some reason is using Gradle 7.1.1!. After sus... | android|cordova|gradle|quasar|android-app-bundle | 0 | 2022-07-18T15:26:23.877Z | 2,022 | 7 | 15 | 0 | 24 | 0 | 871 | 126 | 5 | 0 | false | true | false | false | false | false | zero |
73,024,962 | Flutter Post API in Flutter IOS | <p>The Post API is working in Android but it is giving 403 Forbidden Error in ISO phone when I run it. I am also getting the output in Thunder VSC, Postman, and my Android Flutter Application. But I am not getting Output or response in IOS iPhone.Please can anyone help me?</p>
<p><a href="https://i.stack.imgur.com/aNgu... | The Post API is working in Android but it is giving 403 Forbidden Error in ISO phone when I run it. I am also getting the output in Thunder VSC, Postman, and my Android Flutter Application. But I am not getting Output or response in IOS iPhone.Please can anyone help me? | flutter|api|flutter-dependencies|flutter-ios|flutter-android | 0 | 2022-07-18T15:36:21.857Z | 2,022 | 7 | 15 | 0 | 30 | 0 | 270 | 31 | 5 | 0 | false | true | false | false | false | false | zero |
73,024,998 | SimpleDateFormat Unparseable date only on phone | <p>I need to parse a string from my database which has "Mon Jul 18 12:58:05 2022" string as value. Weirdly it only works with emulator. But, if i try to uses my app in my phone it throws Unparseable date error. My phone is using android 9 which use sdk 28, so i think it should be fine. I alread tried to remov... | I need to parse a string from my database which has "Mon Jul 18 12:58:05 2022" string as value. Weirdly it only works with emulator. But, if i try to uses my app in my phone it throws Unparseable date error. My phone is using android 9 which use sdk 28, so i think it should be fine. I alread tried to remove t... | android|kotlin | 0 | 2022-07-18T15:40:20.877Z | 2,022 | 7 | 15 | 0 | 25 | 0 | 597 | 47 | 2 | 1 | true | true | false | false | false | false | zero |
73,025,040 | Repeating error Failed to convert a value of type java.lang.String to double | <p>Keep getting this error repeating when applying changes.</p>
<p>Current data using String -> Failed to convert value of type java.lang.Long to String</p>
<p>Current data declared as Double -> Failed to convert a value of type java.lang.String to double</p>
<pre><code>searchDB = FirebaseDatabase.getInstance().g... | Keep getting this error repeating when applying changes. Current data using String -> Failed to convert value of type java.lang.Long to String Current data declared as Double -> Failed to convert a value of type java.lang.String to double [CODE] ========================================================================= ... | android|firebase|firebase-realtime-database | 0 | 2022-07-18T15:42:45.153Z | 2,022 | 7 | 15 | 0 | 37 | 2 | 326 | 76 | 3 | 2 | true | false | false | false | false | false | zero |
73,025,070 | UnknownHostException on Android Devices whereas it is working on IOS Devices | <p>I am getting UnknownhostException on android application whereas same URL is working on Chrome browser of my android mobile device and on IOS application as well.</p>
<p>Unable to understand the cause of it.</p> | I am getting UnknownhostException on android application whereas same URL is working on Chrome browser of my android mobile device and on IOS application as well. Unable to understand the cause of it. | android|ios|url|mobile|unknown-host | 0 | 2022-07-18T15:44:55.607Z | 2,022 | 7 | 15 | 0 | 13 | 0 | 200 | 76 | 5 | 0 | false | true | false | false | false | false | zero |
73,025,120 | Where to set Visibility to False in Jetpack Compose? Relaunching Animation everytime Composable comes into view? | <p>I would like to relaunch an animation everytime it comes into view, meaning if I scroll down a little with composable out of view, then scroll back up, the animation should relaunch. All the examples I've been seeing people have been setting the visibility to false with a button, however, I do NOT have a button. I w... | I would like to relaunch an animation everytime it comes into view, meaning if I scroll down a little with composable out of view, then scroll back up, the animation should relaunch. All the examples I've been seeing people have been setting the visibility to false with a button, however, I do NOT have a button. I woul... | android|android-studio|kotlin|android-jetpack-compose|android-jetpack | 1 | 2022-07-18T15:48:18.977Z | 2,022 | 7 | 15 | 0 | 165 | 0 | 572 | 112 | 5 | 1 | true | true | false | false | false | false | low |
73,025,151 | Theme.MaterialComponents not found build Flutter Android app | <p>hi developer im trying to compile my flutter app for android but i'm getting this error, and i can't fix it?</p>
<blockquote>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong: Execution failed for task ':app:processDebugResources'.</li>
</ul>
<blockquote>
<p>A failure occurred while executing... | hi developer im trying to compile my flutter app for android but i'm getting this error, and i can't fix it? FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidRe... | android|flutter | 0 | 2022-07-18T15:50:20.267Z | 2,022 | 7 | 15 | 0 | 37 | 0 | 691 | 60 | 2 | 1 | true | true | false | false | false | false | zero |
73,025,203 | Reference NativeModule instance in NativeModule | <p>Can a callback or promise in a React Native module be invoked with arguments referencing another React Native module in any way? The documentation only references primitive types and plain objects and arrays, but since the primary instance of <code>ReactContextBaseJavaModule</code> is already bridged to JavaScript, ... | Can a callback or promise in a React Native module be invoked with arguments referencing another React Native module in any way? The documentation only references primitive types and plain objects and arrays, but since the primary instance of ReactContextBaseJavaModule is already bridged to JavaScript, I was hoping it ... | java|android|react-native | 0 | 2022-07-18T15:54:18.097Z | 2,022 | 7 | 15 | 0 | 13 | 0 | 421 | 47 | 3 | 1 | true | true | false | false | false | false | zero |
73,025,431 | App in not working on android[ Connection refused (OS Error: Connection refused, errno = 111) ] address = localhost, port = 51034 | <ul>
<li>i'm trying to make an app with simple signin/singup functionality
using flutter and nodejs.</li>
<li>in postman it can send request</li>
<li>i run it on chrome it work perfectly but not working in android emmulator(and physical device).</li>
</ul>
<blockquote>
<p>then "i found out that i have to make chan... | i'm trying to make an app with simple signin/singup functionality using flutter and nodejs. in postman it can send request i run it on chrome it work perfectly but not working in android emmulator(and physical device). then "i found out that i have to make change with local host" but don't know what... might ... | android|node.js|mongodb|flutter|mongoose | 0 | 2022-07-18T16:11:37.697Z | 2,022 | 7 | 16 | 0 | 21 | 0 | 425 | 129 | 5 | 4 | true | true | false | false | false | false | zero |
73,025,529 | Chromium Browser for wrapping HTML app into Android apps | <p>I am working with Windows 7. I have an HTML web app that I want to wrap into mobile app using Chromium based browser engine.</p>
<p>In the past, I used Crosswalk Project but Crosswalk seems to have been canceled by the creator. I am trying to source a list of Chromium browser Android app wrappers for HTML apps or an... | I am working with Windows 7. I have an HTML web app that I want to wrap into mobile app using Chromium based browser engine. In the past, I used Crosswalk Project but Crosswalk seems to have been canceled by the creator. I am trying to source a list of Chromium browser Android app wrappers for HTML apps or any other go... | android|webview|android-webview | 0 | 2022-07-18T16:18:30.277Z | 2,022 | 7 | 16 | 0 | 38 | 0 | 393 | 56 | 3 | 1 | true | true | false | false | false | false | zero |
73,025,598 | Can't add to a list from async function | <p>i try to learn Xamarin.Forms and async methods. But since this morning i'm stuck :(.
I can't add a single string to my list. I used stop point on every line of my function (the first i will send) and every variable as what it should have inside. But for a reason i don't understand these data won't add to my lists. T... | i try to learn Xamarin.Forms and async methods. But since this morning i'm stuck :(. I can't add a single string to my list. I used stop point on every line of my function (the first i will send) and every variable as what it should have inside. But for a reason i don't understand these data won't add to my lists. The ... | c#|android|ios|xamarin|xamarin.forms | 0 | 2022-07-18T16:25:07.150Z | 2,022 | 7 | 16 | 0 | 97 | 1 | 893 | 39 | 5 | 3 | true | false | false | false | false | false | zero |
73,025,636 | Give all the permission to application in Android build | <p>I am working on custom Android 11 project.</p>
<p>I want to grant all the permission to an specific application from Android source code.so that it hasn't been to ask user to grant permission.
Like setting application has all the permission.</p>
<p>Is it possible to do that?</p> | I am working on custom Android 11 project. I want to grant all the permission to an specific application from Android source code.so that it hasn't been to ask user to grant permission. Like setting application has all the permission. Is it possible to do that? | android|android-studio | 0 | 2022-07-18T16:28:43.630Z | 2,022 | 7 | 16 | 0 | 46 | 1 | 261 | 55 | 2 | 0 | false | false | false | false | false | false | zero |
73,025,652 | TopAppBar and padding (Jetpack Compose) | <p>I have a slightly different expectation for padding to work. How can this problem be solved? I see this only at TopAppBar.</p>
<pre class="lang-kotlin prettyprint-override"><code> CenterAlignedTopAppBar(
title = { Text(title) },
modifier = Modifier.statusBarsPadding(), // or padding(top = 24.dp)
... | I have a slightly different expectation for padding to work. How can this problem be solved? I see this only at TopAppBar. [CODE] UPD For example, here it works as it should -> link | android|android-jetpack-compose | 0 | 2022-07-18T16:30:08.283Z | 2,022 | 7 | 16 | 0 | 147 | 1 | 181 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
73,025,675 | Create Message voice action for non en-us locales | <p>I would like to know which are my posibilities as a developer to implements a send message voice action, in a messaging app (like a custom Telegram app), for spanish users. I want to implement the send new message action, I does not interested in replying to received messages (this is already implemented).</p>
<p>Th... | I would like to know which are my posibilities as a developer to implements a send message voice action, in a messaging app (like a custom Telegram app), for spanish users. I want to implement the send new message action, I does not interested in replying to received messages (this is already implemented). This is an e... | android|app-actions | 0 | 2022-07-18T16:31:47.343Z | 2,022 | 7 | 16 | 0 | 57 | 1 | 1,057 | 49 | 2 | 0 | false | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.