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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,947,719 | Convert UTC date string like "2022-07-07T08:17:12.117000" to your local Timezone in Kotlin and Java. Alternative to Moment library available in react | <p>I have used the moment library to convert the date string in my local timezone in react but i have to implement the same in android but the problem is moment library is not available for java/kotlin.
I have tried every possible solution on stactoverflow but the exception occur while parsing the date string.
Format o... | I have used the moment library to convert the date string in my local timezone in react but i have to implement the same in android but the problem is moment library is not available for java/kotlin. I have tried every possible solution on stactoverflow but the exception occur while parsing the date string. Format of t... | java|android|react-native|kotlin|momentjs | -1 | 2022-07-12T06:07:29.890Z | 2,022 | 7 | 6 | 1 | 170 | 2 | 402 | 149 | 5 | 0 | false | false | false | false | false | true | negative |
72,947,779 | How can we pick text from suggestion bar of keyboard application in andriod using appium | <p>Am trying to automate the keyboard application. Iam unable to see the UI code of respective application when i inspect. and need to pick the data into text editor which is present in suggestion bar of keyboard app...could anyone help me out for this problem</p> | Am trying to automate the keyboard application. Iam unable to see the UI code of respective application when i inspect. and need to pick the data into text editor which is present in suggestion bar of keyboard app...could anyone help me out for this problem | mobile|appium-android|appium-java | 0 | 2022-07-12T06:14:08.363Z | 2,022 | 7 | 6 | 1 | 22 | 0 | 257 | 88 | 3 | 0 | false | true | false | false | false | false | zero |
72,947,851 | Can I declare a broadcast receiver into a separate module than App? | <p>I have two modules in my Android project, one is the default one 'app' and another is a 'sample' module, both modules have their separate manifest files. I wish to define a broadcast receiver and it's code into a sub-module - 'sample'.</p>
<p>My primary assumption is sub-module's manifest will get merged into primar... | I have two modules in my Android project, one is the default one 'app' and another is a 'sample' module, both modules have their separate manifest files. I wish to define a broadcast receiver and it's code into a sub-module - 'sample'. My primary assumption is sub-module's manifest will get merged into primary-manifest... | android|broadcastreceiver|android-module | 0 | 2022-07-12T06:22:14.670Z | 2,022 | 7 | 6 | 1 | 43 | 0 | 658 | 67 | 3 | 0 | false | true | false | false | false | false | zero |
72,947,883 | Tcp Client Can not handle large data | <p>Below I have attached the Tcp client code.</p>
<p>Problem : When tcp server send the smaller data then there are no problem. And When tcp server sends large data or package size is too large then there is error and it takes only half message or anything not complete message.And Error is always on Deserialze because ... | Below I have attached the Tcp client code. Problem : When tcp server send the smaller data then there are no problem. And When tcp server sends large data or package size is too large then there is error and it takes only half message or anything not complete message.And Error is always on Deserialze because package is... | c#|xamarin|xamarin.forms|tcp|xamarin.android | 0 | 2022-07-12T06:26:56.240Z | 2,022 | 7 | 6 | 1 | 106 | 1 | 428 | 36 | 5 | 2 | true | false | false | false | false | false | zero |
72,947,950 | I want to make fields required | <p>I want to make all fields required on this register screen. If user leave any field empty, I want to give him warning like "Enter your name" or whatever the field is, based on the field name, I want to give error. Please let me know What changed I have to change in this code.</p>
<pre><code>class MyRegiste... | I want to make all fields required on this register screen. If user leave any field empty, I want to give him warning like "Enter your name" or whatever the field is, based on the field name, I want to give error. Please let me know What changed I have to change in this code. [CODE] This is the full code of m... | android|ios|flutter|dart | 0 | 2022-07-12T06:33:54.920Z | 2,022 | 7 | 6 | 1 | 43 | 1 | 442 | 30 | 4 | 1 | true | false | false | false | false | false | zero |
72,947,955 | Flutter, change Icon state with boolean from one widget to another | <p>I have two widgets. First is the ParticipantScreen() that displays the second widget in GridView.builder() - ParticipantCard(). Both widgets have mic icons to mute participants. When I mute local participant I click mic icon on ParticipantScreen(), and regarding to that I want to change mic icon state in Participant... | I have two widgets. First is the ParticipantScreen() that displays the second widget in GridView.builder() - ParticipantCard(). Both widgets have mic icons to mute participants. When I mute local participant I click mic icon on ParticipantScreen(), and regarding to that I want to change mic icon state in ParticipantCar... | android|flutter|widget | 0 | 2022-07-12T06:34:22.763Z | 2,022 | 7 | 6 | 1 | 52 | 1 | 510 | 66 | 3 | 0 | false | false | false | false | false | false | zero |
72,948,052 | Android 13 - READ_EXTERNAL_STORAGE_PERMISSION still usable | <p>The behaviour changes for Android 13 mention this:</p>
<blockquote>
<p>If your app targets Android 13, you must request one or more new
permissions instead of the READ_EXTERNAL_STORAGE and
WRITE_EXTERNAL_STORAGE permissions.</p>
</blockquote>
<p>(<a href="https://developer.android.com/about/versions/13/behavior-chan... | The behaviour changes for Android 13 mention this: If your app targets Android 13, you must request one or more new permissions instead of the READ_EXTERNAL_STORAGE and WRITE_EXTERNAL_STORAGE permissions. ( https://developer.android.com/about/versions/13/behavior-changes-13#granular-media-permissions ) The new permissi... | android|android-permissions|android-13 | 6 | 2022-07-12T06:43:59.130Z | 2,022 | 7 | 6 | 1 | 1,611 | 1 | 1,106 | 58 | 3 | 0 | false | false | false | false | false | false | medium |
72,948,182 | implementing hilt in android with kapt Execution failed for task ':app:kaptDebugKotlin' | <p>I have been using hilt in my several android projects. But since I have updated my android studio to latest version Chipmunk// 2021.2.1, this error comes every time when I just build project</p>
<blockquote>
<p>Execution failed for task ':app:kaptDebugKotlin'.</p>
<blockquote>
<p>A failure occurred while executing o... | I have been using hilt in my several android projects. But since I have updated my android studio to latest version Chipmunk// 2021.2.1, this error comes every time when I just build project Execution failed for task ':app:kaptDebugKotlin'. A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptWit... | android|kotlin|dagger-hilt|kapt | 2 | 2022-07-12T06:55:36.757Z | 2,022 | 7 | 6 | 1 | 227 | 0 | 561 | 87 | 4 | 6 | true | true | false | false | false | false | low |
72,948,466 | Google Play reject my wear os companion app with crashed when launch on phone | <p>Can anyone help me clarify what does "Your application crashed when launch on phone" means for a wear os companion app? I tested my wear os app on API 28 and API 30, everything works fine. It is just an incremental update, but it keeps getting rejected recently by google play.</p> | Can anyone help me clarify what does "Your application crashed when launch on phone" means for a wear os companion app? I tested my wear os app on API 28 and API 30, everything works fine. It is just an incremental update, but it keeps getting rejected recently by google play. | android|google-play|wear-os|android-wear-2.0|android-wear-3.0 | 1 | 2022-07-12T07:22:23.787Z | 2,022 | 7 | 7 | 1 | 78 | 2 | 287 | 77 | 5 | 0 | false | false | false | false | false | false | low |
72,948,569 | How do I fix android builder error EvalissuesException in android studio | <p>Am starting out my first Android project. I have encountered so many errors but i have been able to fix some but this one has become pain in the head. How can I go about it
<a href="https://i.stack.imgur.com/rXs16.png" rel="nofollow noreferrer">enter image description here</a></p> | Am starting out my first Android project. I have encountered so many errors but i have been able to fix some but this one has become pain in the head. How can I go about it enter image description here | android | 0 | 2022-07-12T07:31:12.590Z | 2,022 | 7 | 7 | 1 | 12 | 1 | 201 | 72 | 1 | 0 | false | false | false | false | false | false | zero |
72,948,658 | SSL certificate is untrusted still works in iOS app | <p>SSL certificate chain issue is "incomplete" means we have an invalid or missing intermediate (bundle) certificate. In Android app, It shows proper error "Untrusted SSL" and app never works.
But in iOS app, it's not providing any SSL error and app works.
Just want to know if intermediate certifica... | SSL certificate chain issue is "incomplete" means we have an invalid or missing intermediate (bundle) certificate. In Android app, It shows proper error "Untrusted SSL" and app never works. But in iOS app, it's not providing any SSL error and app works. Just want to know if intermediate certificate ... | android|ios|android-studio|ssl|mobile | 0 | 2022-07-12T07:38:58.327Z | 2,022 | 7 | 7 | 1 | 46 | 0 | 438 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
72,948,775 | Compose Navigation: How to use a ModalBottomSheetLayout as a navigation destination | <p>Is it possible to use a <code>ModalBottomSheetLayout</code> as a navigation destination when using the AndroidX Navigation Compose library?</p>
<p>Currently the library support composables and dialogs as destination but I'm not sure if and how can it be used to have a modal bottom sheet as destination.</p> | Is it possible to use a ModalBottomSheetLayout as a navigation destination when using the AndroidX Navigation Compose library? Currently the library support composables and dialogs as destination but I'm not sure if and how can it be used to have a modal bottom sheet as destination. | android-jetpack-compose|bottom-sheet|android-jetpack-navigation | 0 | 2022-07-12T07:51:36.330Z | 2,022 | 7 | 7 | 1 | 26 | 1 | 283 | 83 | 3 | 0 | false | false | false | false | false | false | zero |
72,948,832 | Android studio: apk is not installing | <p>I am working on react-native application and for running app I have tried with emulator and on emulator apk is shwoing on screen and it's working fine but when I tried it with physical device I am getting log of that app installed on my phone but apk is not showing.</p>
<p><strong>Note:</strong> Previously it's show... | I am working on react-native application and for running app I have tried with emulator and on emulator apk is shwoing on screen and it's working fine but when I tried it with physical device I am getting log of that app installed on my phone but apk is not showing. Note: Previously it's showing apk in my same device b... | android|react-native|android-studio|mobile|apk | 0 | 2022-07-12T07:55:39.467Z | 2,022 | 7 | 7 | 1 | 65 | 1 | 470 | 37 | 5 | 0 | false | false | false | false | false | false | zero |
72,948,859 | Android: Reload/Refresh WebView made with loadDataWithBaseURL | <p>I am making an app with WebView. I am using "loadDataWithBaseURL" but there is a problem. When I try to refresh the page, it's goto baseUrl website instead of the refreshing the current HTML page.</p>
<pre><code>String html = "<html>\n" +
"<head><title>Refresh... | I am making an app with WebView. I am using "loadDataWithBaseURL" but there is a problem. When I try to refresh the page, it's goto baseUrl website instead of the refreshing the current HTML page. [CODE] Whenever I try to refresh the page using plain HTML and Javascript both method, it's goto base URL https:/... | android|android-studio|webview|android-webview | 0 | 2022-07-12T07:57:57.427Z | 2,022 | 7 | 7 | 1 | 30 | 0 | 374 | 61 | 4 | 1 | true | true | false | false | false | false | zero |
72,948,889 | How to discard non compliant version of Android app "Ready to send for review " on production track? | <p>Currently the play console prevents us from publishing a compliant version on the internal test track.</p>
<p>The reason seems that we have a non compliant version also "Ready to send for review" on the production track (build 206, cf picture).<a href="https://i.stack.imgur.com/VfWw5.png" rel="nofollow nor... | Currently the play console prevents us from publishing a compliant version on the internal test track. The reason seems that we have a non compliant version also "Ready to send for review" on the production track (build 206, cf picture). Everytime we send for review these changes, the non compliant version ge... | android|google-play-console|android-app-bundle|google-play-internal-testing | 1 | 2022-07-12T08:01:00.357Z | 2,022 | 7 | 8 | 1 | 98 | 0 | 730 | 100 | 4 | 0 | false | true | false | false | false | false | low |
72,949,044 | scroll lags when trying to listen to scroll position in android jetpack compose | <p>I'm using Jetpack compose in my project. I have a scrollable column. I want to show a column as the top bar when the user scrolls the screen. For this purpose, I listen to the state of the scroll in this way:</p>
<pre class="lang-kotlin prettyprint-override"><code>val scrollState = rememberScrollState()
Box {
... | I'm using Jetpack compose in my project. I have a scrollable column. I want to show a column as the top bar when the user scrolls the screen. For this purpose, I listen to the state of the scroll in this way: [CODE] and the TopBar is another composable: [CODE] The problem is that due to constant recomposition, the scro... | android|android-jetpack-compose|android-jetpack|compose-recomposition | 1 | 2022-07-12T08:13:53.800Z | 2,022 | 7 | 8 | 1 | 126 | 1 | 404 | 79 | 4 | 2 | true | false | false | false | false | false | low |
72,949,066 | Native screenshot is causing error in Flutter | <p>As you can see I have implemented native screenshot like this :</p>
<pre><code>screenShot()async{
String capturedImage;
capturedImage = await NativeScreenshot.takeScreenshot();
}
</code></pre>
<p>I'm having issue with Built Screenshot Path: <code>/storage/emulated/0/CMS/native_screenshot-20220712134258.png</code>
<c... | As you can see I have implemented native screenshot like this : [CODE] I'm having issue with Built Screenshot Path: /storage/emulated/0/CMS/native_screenshot-20220712134258.png Error writing bitmap: /storage/emulated/0/CMS/native_screenshot-20220712134258.png: open failed: EPERM (Operation not permitted) The bitmap can... | android|flutter|dart | 0 | 2022-07-12T08:16:00.233Z | 2,022 | 7 | 8 | 1 | 41 | 0 | 348 | 45 | 3 | 1 | true | true | false | false | false | false | zero |
72,949,105 | Getting Error while building Android 12 for emulator | <p>I am getting error while building the AOSP 12 source code for emulator.</p>
<blockquote>
<p>select lunch target and build</p>
<ol>
<li>source build/envsetup.sh</li>
<li>lunch aosp_car_x86_64-userdebug</li>
<li>export ALLOW_MISSING_DEPENDENCIES=true</li>
<li>make -j8</li>
</ol>
</blockquote>
<pre><code>[100% 741/741]... | I am getting error while building the AOSP 12 source code for emulator. select lunch target and build source build/envsetup.sh lunch aosp_car_x86_64-userdebug export ALLOW_MISSING_DEPENDENCIES=true make -j8 [CODE] | android|android-source | 0 | 2022-07-12T08:19:15.310Z | 2,022 | 7 | 8 | 1 | 136 | 2 | 213 | 52 | 2 | 1 | true | false | false | false | false | false | zero |
72,949,193 | React native white screen when i build my apk with firebase | <p>i have a problem when i build an apk using the command expo build:android. I've got a white screen. It seems the problem is related to firebase because i had to add react native fcm to receive notifications on my app. When i comment everything related to fcm/firebase (androidmanifest, build.gradle...) my apk works. ... | i have a problem when i build an apk using the command expo build:android. I've got a white screen. It seems the problem is related to firebase because i had to add react native fcm to receive notifications on my app. When i comment everything related to fcm/firebase (androidmanifest, build.gradle...) my apk works. The... | android|react-native|build|firebase-cloud-messaging|apk | 0 | 2022-07-12T08:25:01.820Z | 2,022 | 7 | 8 | 1 | 62 | 1 | 770 | 59 | 5 | 0 | false | false | false | false | false | false | zero |
72,949,206 | Rotating text view based on gesture detection | <pre><code>I am trying to get a text view to rotate and point to the area on the screen that the user touches. I can get the coordinates of the point that the user taps on. Users will write the text in the text view and I am trying to give a functionality where users are able to rotate the text view based on touch gest... | [CODE] Any help would be really appreciated. Thank you in advance. I have tried all these in my attempt but no luck | android|android-studio|android-layout | 0 | 2022-07-12T08:26:11.050Z | 2,022 | 7 | 8 | 1 | 25 | 0 | 115 | 45 | 3 | 1 | true | true | false | false | false | false | zero |
72,949,230 | Foreground Service for sensor data stops after a small period of time | <p>I am developing an android application where sensor data are recorded from the sensors, displayed in graphs and also stored in an SQLite database. I want the sensor data process to run when the app is not visible in the screen, so i designed a foreground service for that purpose. The service seems to be running ok ... | I am developing an android application where sensor data are recorded from the sensors, displayed in graphs and also stored in an SQLite database. I want the sensor data process to run when the app is not visible in the screen, so i designed a foreground service for that purpose. The service seems to be running ok for ... | android|service|sensors|foreground | 0 | 2022-07-12T08:27:54.287Z | 2,022 | 7 | 8 | 1 | 73 | 1 | 784 | 69 | 4 | 2 | true | false | false | false | false | false | zero |
72,949,245 | Grant runtime permissions error while replaceing the Android Default Dialer App with my custom one | <p>I wanna replace the system default dialer app "phone" with my custom dialer,but whenever I change the default dialer in System Settings, it will throw the SecureException and the system ui will reboot:</p>
<pre><code> 07-12 15:42:35.072 869 869 E AndroidRuntime: java.lang.SecurityException: Cannot ... | I wanna replace the system default dialer app "phone" with my custom dialer,but whenever I change the default dialer in System Settings, it will throw the SecureException and the system ui will reboot: [CODE] My custom dialer app used the platform signature,the sharedUid "android.uid.system" I have ... | android | 0 | 2022-07-12T08:29:13.397Z | 2,022 | 7 | 8 | 1 | 36 | 0 | 398 | 98 | 1 | 2 | true | true | false | false | false | false | zero |
72,949,253 | How to keep running a Health application in background (wear OS / Kotlin) | <p>I know that there is similar topic here:
<a href="https://stackoverflow.com/questions/72815761/how-to-keep-running-an-application-in-background-in-android-weargalaxy-watch-4">How to keep running an application in background in Android Wear(Galaxy watch 4) using Kotlin</a> but I have quite different problem. Here is ... | I know that there is similar topic here: How to keep running an application in background in Android Wear(Galaxy watch 4) using Kotlin but I have quite different problem. Here is two type of receiving Health data from sensors: https://github.com/android/health-samples/tree/main/health-services 1 - MeasureData 2 - Passi... | android|kotlin|wear-os | 1 | 2022-07-12T08:29:41.053Z | 2,022 | 7 | 8 | 1 | 84 | 0 | 1,516 | 73 | 3 | 0 | false | true | false | false | false | false | low |
72,949,259 | how to adjust app session timeout permanently in firebase analytics? | <p>I want to know the number of visitors on each screen of my Android application.
So I decided to use "Firebase Analytics"</p>
<p>I set up customized events and succeeded in finding out the number of visitors on each screen.</p>
<p>However, the session's duration time is set to 30 minutes, so only informatio... | I want to know the number of visitors on each screen of my Android application. So I decided to use "Firebase Analytics" I set up customized events and succeeded in finding out the number of visitors on each screen. However, the session's duration time is set to 30 minutes, so only information such as the scr... | android|firebase-analytics | 0 | 2022-07-12T08:30:19.300Z | 2,022 | 7 | 8 | 1 | 48 | 0 | 555 | 68 | 2 | 0 | false | true | false | false | false | false | zero |
72,949,263 | List find method finds nothing, but let is called (?!) | <p>i have the following code:</p>
<pre><code> myList.find { it.code == item.bin }.let {
// 1
} ?: run {
// 2
}
</code></pre>
<p>I would expect that, if item is found, I enter block 1 , otherwise block 2 ;
But instead I enter block 1 in a... | i have the following code: [CODE] I would expect that, if item is found, I enter block 1 , otherwise block 2 ; But instead I enter block 1 in all cases, and if nothing is found , it is null Android studio seems aware of this, as the block 2 is grey (it is code never called), but I can't figure why Please may someone ex... | android|android-studio|kotlin | 0 | 2022-07-12T08:30:49.300Z | 2,022 | 7 | 8 | 1 | 37 | 2 | 331 | 54 | 3 | 1 | true | false | false | false | false | false | zero |
72,949,270 | Recording and Reproducing Infrared waves in Android | <p>I am new to stack overflow and I am developing an android app which can record and retransmit IR codes via audio input. But i dont know how to do it. Can someone please help me about it. I have built the hardware (An headphone jack with IR Emitter and IR Receiver connected to it) and i can send IR codes by first pac... | I am new to stack overflow and I am developing an android app which can record and retransmit IR codes via audio input. But i dont know how to do it. Can someone please help me about it. I have built the hardware (An headphone jack with IR Emitter and IR Receiver connected to it) and i can send IR codes by first packin... | java|android|audio|wav|infrared | 0 | 2022-07-12T08:31:33.953Z | 2,022 | 7 | 8 | 1 | 34 | 0 | 1,158 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
72,949,295 | Unresolved reference: inflate | <pre><code>override fun getView(p0: Int, p1: View?, p2: ViewGroup?): View {
var myView=LayoutInflater.inflate(R.layout.row_custom_listitem, null)
var myNote=listNotes[p0]
myView.tvTitle.text=myNote.noteName
myView.tvDes.text=myNote.noteDes
</code></pre>
<p>The output is:<... | [CODE] The output is: Unresolved reference: inflate I selected import under the red mark at inflate, but there is no change. The packages have been imported but inflate is still underlined in red. Kindly help me to solve this issue. [CODE] I modified my code as above, but I am not sure if this is right or will do the s... | android|view|layout-inflater | 0 | 2022-07-12T08:33:36.273Z | 2,022 | 7 | 8 | 1 | 67 | 2 | 328 | 29 | 3 | 2 | true | false | false | false | false | false | zero |
72,949,378 | while converting kivy app to apk getting this error with python 3.10,kivy 2.1.0 | <p>while converting kivy app to apk getting this error with python 3.10,kivy 2.1.0</p>
<p>[INFO]: Stripping libraries in private dir
[INFO]: Frying eggs in /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp/_python_bundle__arm64-v8a/_python_bundle/site-packages
[INFO]: <- directory... | while converting kivy app to apk getting this error with python 3.10,kivy 2.1.0 [INFO]: Stripping libraries in private dir [INFO]: Frying eggs in /content/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp/_python_bundle__arm64-v8a/_python_bundle/site-packages [INFO]: <- directory context /content/.bui... | python|android|kivy | 0 | 2022-07-12T08:41:15.973Z | 2,022 | 7 | 8 | 1 | 60 | 1 | 964 | 79 | 3 | 1 | true | false | false | false | false | false | zero |
72,949,601 | A problem occurred evaluating project ':app'. (flutter) | <p>im trying to clone project, im fixing the android embedding problem, etc. and im facing this problem.</p>
<p>`FAILURE: Build failed with an exception.</p>
<ul>
<li><p>Where:
Build file 'C:\Users\muham\OneDrive\Documents\KP\sipintar-enterprise-mobile-dev_upgrade\sipintar-enterprise-mobile-dev_upgrade\sipintar-enterpr... | im trying to clone project, im fixing the android embedding problem, etc. and im facing this problem. `FAILURE: Build failed with an exception. Where: Build file 'C:\Users\muham\OneDrive\Documents\KP\sipintar-enterprise-mobile-dev_upgrade\sipintar-enterprise-mobile-dev_upgrade\sipintar-enterprise-mobile-dev_upgrade\and... | android|flutter|kotlin|gradle | 1 | 2022-07-12T08:58:54.810Z | 2,022 | 7 | 8 | 1 | 303 | 0 | 814 | 55 | 4 | 0 | false | true | false | false | false | false | low |
72,949,694 | How to pass/recevice data from java/Kotlin to C++ code or vice versa in android | <p>I am working on AOSP11/12(Android) and want to communicate data from java/Kotlin to C++ code or vice versa.</p>
<p>Is that better way to create new service and communicate data or need to create NDK application?</p> | I am working on AOSP11/12(Android) and want to communicate data from java/Kotlin to C++ code or vice versa. Is that better way to create new service and communicate data or need to create NDK application? | android|kotlin|android-ndk|java-native-interface|system-services | 0 | 2022-07-12T09:05:09.440Z | 2,022 | 7 | 9 | 1 | 61 | 1 | 204 | 79 | 5 | 0 | false | false | false | false | false | false | zero |
72,949,696 | How to make Android web view not a less secure app | <p>I'm trying to sign in my google account through WebView component in my Android app but it ends up with following page. So I want to make my app secure as google expected. How to do that ? <a href="https://i.stack.imgur.com/PiHAz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PiHAz.png" alt="ente... | I'm trying to sign in my google account through WebView component in my Android app but it ends up with following page. So I want to make my app secure as google expected. How to do that ? | android|android-webview|google-signin | 0 | 2022-07-12T09:05:14.363Z | 2,022 | 7 | 9 | 1 | 24 | 0 | 188 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,949,699 | How can I inject an application shared ViewModel throught Hilt | <p>I need to share a view model with most activities in my app</p>
<p>At first, I tried this way</p>
<pre class="lang-kotlin prettyprint-override"><code>@HiltViewModel
class SharedViewModel @Inject constructor() : ViewModel(){
...
}
</code></pre>
<pre class="lang-kotlin prettyprint-override"><code>@AndroidEntryPoin... | I need to share a view model with most activities in my app At first, I tried this way [CODE] [CODE] [CODE] It was built successfully, but Hilt actually created a new instance for each activity. I want ActivityA & ActivityB & more Activity to share the same instance of SharedViewModel. So I changed to this way [CODE] [... | android|kotlin|dependency-injection|viewmodel|dagger-hilt | 0 | 2022-07-12T09:05:41.630Z | 2,022 | 7 | 9 | 1 | 73 | 1 | 438 | 62 | 5 | 6 | true | false | false | false | false | false | zero |
72,949,735 | passing data from itemView of Adapter between two Fragments | <p>Below code of adapter of RecyclerView</p>
<pre><code> public interface SelectMarket {
void selectMarket(DataMarket dataMarket);
}
public class viewHolder extends RecyclerView.ViewHolder{
TextView marketTitleName;
public viewHolder(@NonNull View itemView) {
super(itemView);
marketTitleNam... | Below code of adapter of RecyclerView [CODE] In the code I shows you the ViewHolder where I set onClickListener I want to click on that and then go to other Fragment called SelectRoomFragment and in Method of SelectMarket() I wrote inside the codes which will help me to go the the Next Fragment like this : [CODE] The O... | java|android|firebase|android-layout | 0 | 2022-07-12T09:08:10.423Z | 2,022 | 7 | 9 | 1 | 32 | 1 | 367 | 59 | 4 | 2 | true | false | false | false | false | false | zero |
72,949,768 | How to use SlidingTabLayout to show (by highlight) in which fragment we are? | <p>I'm working on an Android Studio app and I would like to hava an indicator of in which fragment user is.
There is 4 pages, each one with some fragments and I would like to highlight the fragment where user is (the yellow bar)</p>
<p><a href="https://i.stack.imgur.com/TTAyu.png" rel="nofollow noreferrer"><img src="ht... | I'm working on an Android Studio app and I would like to hava an indicator of in which fragment user is. There is 4 pages, each one with some fragments and I would like to highlight the fragment where user is (the yellow bar) Actually, the yellow bar don't move when fragment change. Is it possible to make changement au... | java|android|android-fragments|highlight | 0 | 2022-07-12T09:10:47.983Z | 2,022 | 7 | 9 | 1 | 46 | 1 | 679 | 76 | 4 | 4 | true | false | false | false | false | false | zero |
72,949,779 | Unable to reconnect after disconnecting from the network on android platform? | <p>System : webrtc android application</p>
<p>Question:</p>
<ol>
<li><p>Switch wifi on and off in seconds, the UDP socket cannot send packets, and error 101</p>
</li>
<li><p>why the packet did not reach the network,the socket invalid? but on windows systeam,
the socket sends data without error, when i turn off the wif... | System : webrtc android application Question: Switch wifi on and off in seconds, the UDP socket cannot send packets, and error 101 why the packet did not reach the network,the socket invalid? but on windows systeam, the socket sends data without error, when i turn off the wifi? ICE restart must be executed to connect s... | android|webrtc|ice | 0 | 2022-07-12T09:11:21.820Z | 2,022 | 7 | 9 | 1 | 23 | 0 | 422 | 77 | 3 | 0 | false | true | false | false | false | false | zero |
72,949,828 | Trying to load library work fine on debug mode but shows java.lang.NullPointerException: on release mode | <p>Running the Library work fine on debug mode but when I run the code on release, the library throws null pointer.</p>
<p>Any Idea on what need to be done on the library to make it work on release mode.</p>
<p>Any idea will be appreciated.</p>
<pre><code>E/AndroidRuntime(15357): FATAL EXCEPTION: main
E/AndroidRuntime(... | Running the Library work fine on debug mode but when I run the code on release, the library throws null pointer. Any Idea on what need to be done on the library to make it work on release mode. Any idea will be appreciated. [CODE] | android|flutter|plugins | 0 | 2022-07-12T09:13:58.867Z | 2,022 | 7 | 9 | 1 | 32 | 0 | 230 | 104 | 3 | 1 | true | true | false | false | false | false | zero |
72,949,852 | How to permanently install an app in React Native | <p><code>npm start</code></p>
<p><code>Select a - for android</code></p>
<p>However, with this, you only have the app running temporarily and have to do it repeatedly to launch it.</p>
<p>Is there a way to permanently install an app by <strong>Build -> Install</strong> like on Android Studio?</p>
<p>Thank you all in... | npm start Select a - for android However, with this, you only have the app running temporarily and have to do it repeatedly to launch it. Is there a way to permanently install an app by Build -> Install like on Android Studio? Thank you all in advance. | javascript|android|react-native|installation|apk | 0 | 2022-07-12T09:15:19.240Z | 2,022 | 7 | 9 | 1 | 37 | 2 | 252 | 49 | 5 | 0 | false | false | false | false | false | false | zero |
72,949,856 | How do I save images in storage particular folder (gallery) & Get image from storage in above android 11 or below with java? | <p>As in my Drawing art project I want Save Painted images to storage or retrieval same image in my app Recycler view with Android Java & I got & save images from below android 11 but not from above 11 what should I do ??</p>
<p>Thankful if got help from someone & if I got solution than sure put in my answe... | As in my Drawing art project I want Save Painted images to storage or retrieval same image in my app Recycler view with Android Java & I got & save images from below android 11 but not from above 11 what should I do ?? Thankful if got help from someone & if I got solution than sure put in my answer....Thank-You | android|image|get|save|storage | 1 | 2022-07-12T09:15:23.653Z | 2,022 | 7 | 9 | 1 | 53 | 1 | 312 | 124 | 5 | 0 | false | false | false | false | false | false | low |
72,949,939 | How to generate a ogg file with haptic data and to realize audio-coupled haptics effects described in the guidance UX Foundation for Haptic Framework | <p>I'm trying to develop an application to play the audio with my haptic data. I can realize the haptic effect of <code>HapticGenerator</code> on Pixel 4 XL. but I can't understand the section <strong><a href="https://source.android.com/devices/input/haptics/haptics-ux-foundation#tips-for-implementing" rel="nofollow no... | I'm trying to develop an application to play the audio with my haptic data. I can realize the haptic effect of HapticGenerator on Pixel 4 XL. but I can't understand the section Audio-coupled haptics: Tips for implementing in the guidance. How should I generate the special OGG file and write the implementation code? | android|android-vibration|haptic-feedback|audioeffect | 0 | 2022-07-12T09:20:45.893Z | 2,022 | 7 | 9 | 1 | 40 | 0 | 316 | 149 | 4 | 0 | false | true | false | false | false | false | zero |
72,949,943 | is Android 9 end of support | <p>I am wondering if Android 9 is end-of-support. I found on Wiki that it is end-of-support since Mar 7 2022 (<a href="https://en.wikipedia.org/wiki/Android_Pie" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Android_Pie</a>, <a href="https://endoflife.date/android" rel="nofollow noreferrer">https://endoflife.... | I am wondering if Android 9 is end-of-support. I found on Wiki that it is end-of-support since Mar 7 2022 ( https://en.wikipedia.org/wiki/Android_Pie , https://endoflife.date/android ), but I cannot find any official link. Does anyone know the official link or where to send email please. Thanks, | android|android-9.0-pie | 0 | 2022-07-12T09:21:10.563Z | 2,022 | 7 | 9 | 1 | 40 | 0 | 296 | 27 | 2 | 0 | false | true | false | false | false | false | zero |
72,949,977 | How get IMEI of device? | <p>I a beginner in android development and I try to get device <strong>IMEI</strong> but I have a problem of permission.</p>
<p>I don't have <code>android.permission.READ_PRIVILEGED_PHONE_STATE</code> property in my project but the function <code>getImei()</code> of <code>TelephonyManger.java</code> require this permis... | I a beginner in android development and I try to get device IMEI but I have a problem of permission. I don't have android.permission.READ_PRIVILEGED_PHONE_STATE property in my project but the function getImei() of TelephonyManger.java require this permission. How can I resolve this? I am a little lost. | android|android-studio|kotlin|telephonymanager | 0 | 2022-07-12T09:24:04.793Z | 2,022 | 7 | 9 | 1 | 76 | 2 | 303 | 23 | 4 | 0 | false | false | false | false | false | false | zero |
72,950,158 | Android: Gradle build task adds a final keyword to a method | <p>I'm experiencing something strange, that never happened to me before.
This is simple class that extends an Application class:</p>
<pre><code>public class MyApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
}
}
</code></pre>
<p>It is a library module, than I ... | I'm experiencing something strange, that never happened to me before. This is simple class that extends an Application class: [CODE] It is a library module, than I try to extend it from an application module: [CODE] Now when compiling with minifyEnabled=true I'm getting strange result: In library module class get chang... | android|gradle|proguard | 1 | 2022-07-12T09:37:54.943Z | 2,022 | 7 | 9 | 1 | 21 | 0 | 649 | 59 | 3 | 3 | true | true | false | false | false | false | low |
72,950,292 | How to disable a button in flutter untill all Text feilds are filled | <p>I have a registration form with multiple text feilds and a Radio button and a birthdate picker. I want to disable the submit button untill the user key in all the required feilds.
I managed to do something but it only validates one text feild.</p>
<pre><code>
bool activateTheButton =false;
@override
initState(){
... | I have a registration form with multiple text feilds and a Radio button and a birthdate picker. I want to disable the submit button untill the user key in all the required feilds. I managed to do something but it only validates one text feild. [CODE] How can I make it so that all the textfeilds along with the radio but... | flutter|android-studio|dart|flutter-layout|dart-ui | 0 | 2022-07-12T09:47:42.317Z | 2,022 | 7 | 9 | 1 | 46 | 3 | 417 | 68 | 5 | 1 | true | false | false | false | false | false | zero |
72,950,355 | SQLite INSERT, changes() sometimes return 1, even if row already existed | <p>I've got dedup table:
<code>CREATE TABLE UniqueFile (filePath TEXT NOT NULL UNIQUE, created INTEGER NOT NULL DEFAULT (strftime('%s', 'now')))</code></p>
<p>which along with SQLite <code>changes()</code> function I use to determine if file entry is inserted for the first time or not.</p>
<p>Below function is supposed... | I've got dedup table: CREATE TABLE UniqueFile (filePath TEXT NOT NULL UNIQUE, created INTEGER NOT NULL DEFAULT (strftime('%s', 'now'))) which along with SQLite changes() function I use to determine if file entry is inserted for the first time or not. Below function is supposed to indicate if the entry is processed for ... | java|android|sqlite|kotlin | 1 | 2022-07-12T09:51:54.803Z | 2,022 | 7 | 9 | 1 | 33 | 1 | 1,108 | 72 | 4 | 3 | true | false | false | false | false | false | low |
72,950,444 | Android: Get RGB data from part of image rendered into a Surface? | <p>I tried to use <a href="https://developer.android.com/reference/android/media/ImageReader" rel="nofollow noreferrer">ImageReader</a> class in Android that allows direct application access to image data rendered into a Surface.
I used it as:</p>
<pre><code>mImageReader = ImageReader.newInstance(getGrabberWidth(), get... | I tried to use ImageReader class in Android that allows direct application access to image data rendered into a Surface. I used it as: [CODE] while my Virtual Display is defined as: [CODE] where 2 functions getGrabberWidth() and getGrabberHeight() simply return width and height of my screen. With all this I get whole s... | java|android|screen|screenshot|image-reader | 0 | 2022-07-12T09:58:27.187Z | 2,022 | 7 | 9 | 1 | 28 | 0 | 1,148 | 65 | 5 | 2 | true | true | false | false | false | false | zero |
72,950,480 | separate Preview resource files in Jetpack Compose | <p>Is it possible to use separate <code>Preview</code> resources in jetpack compose, let's say a different strings file or manifest?</p> | Is it possible to use separate Preview resources in jetpack compose, let's say a different strings file or manifest? | android|android-jetpack-compose|preview | 0 | 2022-07-12T10:01:23.680Z | 2,022 | 7 | 10 | 1 | 32 | 0 | 116 | 50 | 3 | 0 | false | true | false | false | false | false | zero |
72,950,585 | Android library manifest: don't leak / merge tag to client | <p>Is there a way to make my library's application tag in the manifest not leak/merge into the apps using the library? (without having to add <code>tools:replace="android:theme"</code> to all apps)</p>
<p></p>
<pre><code><application
android:theme="@style/Theme.MyTheme" />
</code></pre>
<... | Is there a way to make my library's application tag in the manifest not leak/merge into the apps using the library? (without having to add tools:replace="android:theme" to all apps) [CODE] Here I would like to not leak/export the theme. Adding android:exported=false on the Manifest won't help. The Theme is ne... | android|android-manifest | 0 | 2022-07-12T10:09:33.807Z | 2,022 | 7 | 10 | 1 | 22 | 0 | 397 | 58 | 2 | 1 | true | true | false | false | false | false | zero |
72,950,608 | searchview with recyclerview android | <p>I want to write a search in my program that has a suggestion. This should be done with a get request, just like you see in the picture, and a token should also be used. Does anyone know how to do this? Or suggest a sample code?
<a href="https://i.stack.imgur.com/Wiu1Q.png" rel="nofollow noreferrer">enter image descr... | I want to write a search in my program that has a suggestion. This should be done with a get request, just like you see in the picture, and a token should also be used. Does anyone know how to do this? Or suggest a sample code? enter image description here | android|kotlin|android-recyclerview|retrofit|searchview | 0 | 2022-07-12T10:11:40.860Z | 2,022 | 7 | 10 | 1 | 33 | 0 | 256 | 36 | 5 | 0 | false | true | false | false | false | false | zero |
72,950,611 | Flutter "Exception caught by image resource service... Unable to load asset: appleandbook.png" | <p>I made a mistake learning the image widget.I browsed dozens of forums and watched videos but it never improved, I will be glad if you help.
The scripts I wrote are as follows:
main.dart</p>
<p>return Center(
child: MaterialApp(
title: 'Flutter Learning',
debugShowCheckedModeBanner: false,
theme: ThemeData().copyWith... | I made a mistake learning the image widget.I browsed dozens of forums and watched videos but it never improved, I will be glad if you help. The scripts I wrote are as follows: main.dart return Center( child: MaterialApp( title: 'Flutter Learning', debugShowCheckedModeBanner: false, theme: ThemeData().copyWith( cardThem... | android|flutter|visual-studio-code | 1 | 2022-07-12T10:11:55.683Z | 2,022 | 7 | 10 | 1 | 105 | 2 | 550 | 94 | 3 | 4 | true | false | false | false | false | false | low |
72,950,653 | PBKDF2 Key Derivative in Android Studio is not working | <p>I am trying to implement PBKDF2 with Hmac Sha1 in my android app for encrypting the password.
But the encoded key is too short and returns incorrect value comparing to what i get from <a href="https://8gwifi.org/pbkdf.jsp" rel="nofollow noreferrer">https://8gwifi.org/pbkdf.jsp</a> website.
Below is the code i use</p... | I am trying to implement PBKDF2 with Hmac Sha1 in my android app for encrypting the password. But the encoded key is too short and returns incorrect value comparing to what i get from https://8gwifi.org/pbkdf.jsp website. Below is the code i use [CODE] Expected key is 7b3318d9fedb813a3c474ec043681fef but i'm getting [B... | android|encryption|sha1|pbkdf2 | 0 | 2022-07-12T10:15:22.837Z | 2,022 | 7 | 10 | 1 | 32 | 1 | 328 | 54 | 4 | 1 | true | false | false | false | false | false | zero |
72,950,711 | Access to android/media on android 11 | <p>I have an app that need access to "Android/Media*", but due google play policies i cant use "manage all files" permision,
Could any show me how to access to external storage(read files on any path of device), with out "manage al files" permision,
Note: with that permission the app work ... | I have an app that need access to "Android/Media*", but due google play policies i cant use "manage all files" permision, Could any show me how to access to external storage(read files on any path of device), with out "manage al files" permision, Note: with that permission the app work gre... | android-studio | 0 | 2022-07-12T10:19:37.630Z | 2,022 | 7 | 10 | 1 | 36 | 0 | 418 | 37 | 1 | 0 | false | true | false | false | false | false | zero |
72,950,744 | How to Render OpenGL on Android with C#? | <p>I have an existing application written in C# for .NET 6 that renders OpenGL with the lightweight OpenTK (v4) OpenGL bindings, which support .NET 5+, Open GL 3+, and OpenGL ES 2+.</p>
<p>According to the <a href="https://opentk.net/faq.html" rel="nofollow noreferrer">OpenTK FAQ</a>:</p>
<blockquote>
<p>OpenTK runs on... | I have an existing application written in C# for .NET 6 that renders OpenGL with the lightweight OpenTK (v4) OpenGL bindings, which support .NET 5+, Open GL 3+, and OpenGL ES 2+. According to the OpenTK FAQ : OpenTK runs on Windows, Linux, and MacOS X. (Older versions of OpenTK supported Android and iOS as well; curren... | c#|xamarin.android|opengl-es|.net-6.0 | 1 | 2022-07-12T10:22:52.550Z | 2,022 | 7 | 10 | 1 | 169 | 0 | 1,555 | 40 | 4 | 0 | false | true | false | false | false | false | low |
72,950,795 | Why doesn't the edit box dialog fill in initial value when I use Jetpack Compose? | <p>I use the following code to show a edit box dialog with initial value on which a use can input a new description and save it.</p>
<p>I think that the initial value <em>"Hello"</em> will be shown on <em>TextField</em> when I click the <em>"Edit Description"</em> button, but in fact, none is show... | I use the following code to show a edit box dialog with initial value on which a use can input a new description and save it. I think that the initial value "Hello" will be shown on TextField when I click the "Edit Description" button, but in fact, none is shown on TextField. What's wrong with my co... | android|android-jetpack-compose | 1 | 2022-07-12T10:25:58.070Z | 2,022 | 7 | 10 | 1 | 55 | 1 | 330 | 81 | 2 | 1 | true | false | false | false | false | false | low |
72,950,821 | Different behaviors for zxing decode the same qrcode on Android and IOS | <p>I used the same byte data to generate QR codes on both Android and iOS devices, but I got different results when decoding them with zxing. decoding iOS is always short</p> | I used the same byte data to generate QR codes on both Android and iOS devices, but I got different results when decoding them with zxing. decoding iOS is always short | android|ios|zxing | 0 | 2022-07-12T10:27:42.573Z | 2,022 | 7 | 10 | 1 | 26 | 0 | 167 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
72,950,937 | android.buildTypes.release.ndk.debugSymbolLevel: shoud I choose SYMBOL_TABLE or FULL? | <p>I see <a href="https://developer.android.com/studio/build/shrink-code#native-crash-support" rel="nofollow noreferrer">here</a> that I compile my Android project (that contains native C++ code) with <code>android.buildTypes.release.ndk.debugSymbolLevel</code> in order to be able to have detailed crash logs for my nat... | I see here that I compile my Android project (that contains native C++ code) with android.buildTypes.release.ndk.debugSymbolLevel in order to be able to have detailed crash logs for my native code. I have the choice between two flags : SYMBOL_TABLE | FULL Nevertheless, I am not sure to fully understand the difference b... | android|gradle|android-ndk|android-gradle-plugin|build.gradle | 0 | 2022-07-12T10:35:50.907Z | 2,022 | 7 | 10 | 1 | 46 | 0 | 598 | 85 | 5 | 0 | false | true | false | false | false | false | zero |
72,950,986 | How can i add a ListView with different content on particular items? | <p><a href="https://i.stack.imgur.com/n8ZGZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n8ZGZ.png" alt="Recycleview" /></a>I have to make a list view or a recycle view with different badges on particular items in a list and some items can also be expanded when clicked.</p>
<p>Based on the badge i... | I have to make a list view or a recycle view with different badges on particular items in a list and some items can also be expanded when clicked. Based on the badge in the recycle item the expandable view is shown. | java|android|android-layout|listview|recycleview | 1 | 2022-07-12T10:40:24.770Z | 2,022 | 7 | 10 | 1 | 43 | 0 | 215 | 68 | 5 | 0 | false | true | false | false | false | false | low |
72,951,101 | Room TypeConverter with constructor error: java.lang.IllegalArgumentException | <p>I have been struggling with this error for a long time. I have seen similar topics while no answer has brought the result. Following this tutorial <a href="https://www.section.io/engineering-education/storing-custom-data-types-with-custom-typeconverter-in-room-database/" rel="nofollow noreferrer">https://www.section... | I have been struggling with this error for a long time. I have seen similar topics while no answer has brought the result. Following this tutorial https://www.section.io/engineering-education/storing-custom-data-types-with-custom-typeconverter-in-room-database/ . Error: java.lang.RuntimeException: Unable to start activ... | android|kotlin|android-room|dagger-hilt|typeconverter | 1 | 2022-07-12T10:51:36.593Z | 2,022 | 7 | 10 | 1 | 42 | 1 | 817 | 77 | 5 | 5 | true | false | false | false | false | false | low |
72,951,102 | Android 13 crash: Getting securityException (calling identity is not authorized) crash on android 13 | <p>facebookincubator/Battery-Metrics repo's getSnapshot method in class SystemMetricsCollector is crashing because of <strong>java.lang.SecurityException: Calling identity is not authorized</strong> on android 13. It was working on android 12 and on versions before. Logs for the crash are:</p>
<p><code>java.lang.Runtim... | facebookincubator/Battery-Metrics repo's getSnapshot method in class SystemMetricsCollector is crashing because of java.lang.SecurityException: Calling identity is not authorized on android 13. It was working on android 12 and on versions before. Logs for the crash are: java.lang.RuntimeException: Unable to start activ... | android|crash|securityexception|android-securityexception|android-13 | 0 | 2022-07-12T10:51:36.697Z | 2,022 | 7 | 10 | 1 | 195 | 0 | 3,371 | 100 | 5 | 0 | false | true | false | false | false | false | zero |
72,951,171 | Is it possible to update TextFormField using shared state (and without violating good practices)? | <p>I am trying to make test project according to good practices.</p>
<p>Please note that I DON'T want any "hacky" approach. I am willing to learn good way of solving it.</p>
<p>My understanding of "lifting state up" is that any change updates the state, and then view is redrawn (rebuild) using curre... | I am trying to make test project according to good practices. Please note that I DON'T want any "hacky" approach. I am willing to learn good way of solving it. My understanding of "lifting state up" is that any change updates the state, and then view is redrawn (rebuild) using current state. It is g... | android|flutter|flutter-provider | 1 | 2022-07-12T10:56:23.297Z | 2,022 | 7 | 10 | 1 | 24 | 0 | 1,082 | 97 | 3 | 5 | true | true | false | false | false | false | low |
72,951,250 | Why react builds a broken APK sometimes? | <p>I use the following command to build an APK of the application:</p>
<pre><code>npx react-native run-android --variant=release
</code></pre>
<p>In the most of times, it builds an APK inside the following path, which is broken. By broken I mean a installable APK that throws "<strong>has stopped</strong>" whe... | I use the following command to build an APK of the application: [CODE] In the most of times, it builds an APK inside the following path, which is broken. By broken I mean a installable APK that throws " has stopped " when I open it after installation. [CODE] The fun part is, the same mentioned command builds ... | android|reactjs|react-native|build | 0 | 2022-07-12T11:01:53.427Z | 2,022 | 7 | 11 | 1 | 24 | 0 | 543 | 40 | 4 | 2 | true | true | false | false | false | false | zero |
72,951,314 | Cannot resolve symbol in Room database | <p><strong>I have a problems in MainDao.class:</strong></p>
<ul>
<li>Cannot resolve symbol 'notes_table'</li>
<li>Cannot resolve symbol 'id'</li>
<li>Cannot resolve symbol 'notes_table'</li>
<li>Cannot resolve symbol 'title'</li>
<li>Cannot resolve symbol 'description'</li>
</ul>
<p><strong>How can I fix this?</strong>... | I have a problems in MainDao.class: Cannot resolve symbol 'notes_table' Cannot resolve symbol 'id' Cannot resolve symbol 'notes_table' Cannot resolve symbol 'title' Cannot resolve symbol 'description' How can I fix this? My Code: Class MainDao [CODE] Class RoomDB.java [CODE] Class Notes.java [CODE] | java|android|database|roomdb | 0 | 2022-07-12T11:07:07.687Z | 2,022 | 7 | 11 | 1 | 50 | 0 | 299 | 38 | 4 | 3 | true | true | false | false | false | false | zero |
72,951,327 | mutableStateListOf change not reflecting in UI - Jetpack Compose | <p>in my ViewModel:</p>
<pre><code>private val _itemList = mutableStateListOf<Post>()
val itemList: List<Post> = _itemList
fun likePost(newPost: Post){
val index = _itemList.indexOf(newPost)
_itemList[index] = _itemList[index].copy(isLiked = true)
}
</code></pre>
<p>Here my Post data class:... | in my ViewModel: [CODE] Here my Post data class: [CODE] And here my Composable: [CODE] The change does not update in the UI instantly, I first have to scroll the updated item out of the screen so it recomposes or switch to another Screen and go back to see the change. | android|kotlin|android-jetpack-compose | 1 | 2022-07-12T11:07:52.123Z | 2,022 | 7 | 11 | 1 | 91 | 2 | 268 | 64 | 3 | 3 | true | false | false | false | false | false | low |
72,951,357 | how to draw prespctive image in android canvas | <p>i have searched about how to draw prespctive image in canvas like in the picture but i dont find anything thing. if its not possible using canvas, how i can make something like it?
<a href="https://i.stack.imgur.com/ajiBy.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ajiBy.jpg" alt="image" /></a... | i have searched about how to draw prespctive image in canvas like in the picture but i dont find anything thing. if its not possible using canvas, how i can make something like it? i find this:- [CODE] but this cut the image. | java|android|canvas|graphics|drawing | 0 | 2022-07-12T11:09:46.547Z | 2,022 | 7 | 11 | 1 | 41 | 1 | 225 | 46 | 5 | 1 | true | false | false | false | false | false | zero |
72,951,365 | Could not find method compile() for arguments [com.facebook.react:react-native:+] | <p>I am constantly getting this error when I am upgrading my rn version from <code>0.66.2</code> to <code>0.68.2</code>.</p>
<p><strong>What went wrong</strong></p>
<p>A problem occurred evaluating project ':react-native-os'.</p>
<blockquote>
<p>Could not find method compile() for arguments [com.facebook.react:react-na... | I am constantly getting this error when I am upgrading my rn version from 0.66.2 to 0.68.2 . What went wrong A problem occurred evaluating project ':react-native-os'. Could not find method compile() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.De... | android|react-native|react-native-os | 1 | 2022-07-12T11:10:33.190Z | 2,022 | 7 | 11 | 1 | 349 | 1 | 343 | 81 | 3 | 0 | false | false | false | false | false | false | low |
72,951,673 | Android Studio, C++ Function Recording, futex_wait cpu duration is same as wall duration | <p>Verision: Android Studio Arctic Fox|2020.3.1 Patch 3
Step:</p>
<ol>
<li>CPU Profiler</li>
<li>C++ Function Record</li>
<li>After recorded, select any thread, and see its summary</li>
</ol>
<p>Question: some function (e.g futex_wait_ex) the wall duration is same as cpu duration. but actually futex_wait_ex do NOT cost... | Verision: Android Studio Arctic Fox|2020.3.1 Patch 3 Step: CPU Profiler C++ Function Record After recorded, select any thread, and see its summary Question: some function (e.g futex_wait_ex) the wall duration is same as cpu duration. but actually futex_wait_ex do NOT cost too much CPU time. This is a BUG ? | android|android-studio|native | 0 | 2022-07-12T11:37:26.057Z | 2,022 | 7 | 11 | 1 | 15 | 0 | 307 | 88 | 3 | 0 | false | true | false | false | false | false | zero |
72,951,933 | What does virtual display in Android do with Image pixels when smaller display dimensions are set than grabbed one? | <p>I dont understand what happens with pixels in Virtual Display in Android when output dimensions are reduced compared to the input ones ?</p>
<p>When I have for example input = size of my Display = 1920x960 and I set outputs to be 1920/3 and 960/3, what happens in that case with image pixels:</p>
<ol>
<li>pixel densi... | I dont understand what happens with pixels in Virtual Display in Android when output dimensions are reduced compared to the input ones ? When I have for example input = size of my Display = 1920x960 and I set outputs to be 1920/3 and 960/3, what happens in that case with image pixels: pixel density is increased or mayb... | java|android|screen|pixel|image-resizing | 0 | 2022-07-12T11:58:09.970Z | 2,022 | 7 | 11 | 1 | 62 | 1 | 514 | 115 | 5 | 0 | false | false | false | false | false | false | zero |
72,951,942 | How to capture a video with CameraX without saving the output to the Gallery? | <p>I am following the <a href="https://developer.android.com/training/camerax/video-capture" rel="nofollow noreferrer">official documentation</a> to capture a video with CameraX, and I want to avoid saving the captured video in the gallery.<br />
For now I am working on this part of the documentation code:</p>
<pre cla... | I am following the official documentation to capture a video with CameraX, and I want to avoid saving the captured video in the gallery. For now I am working on this part of the documentation code: [CODE] I noticed that prepaeRecording() can take FileOutputOptions instead of MediaStoreOutput , so I thought it could be ... | android|kotlin|android-camerax | 1 | 2022-07-12T11:59:08.480Z | 2,022 | 7 | 11 | 1 | 111 | 1 | 557 | 77 | 3 | 1 | true | false | false | false | false | false | low |
72,951,947 | Fixed footer bounce and flickers when page is scrolled on firefox-mobile android | <p>I have a React web-app where the fixed footer component creates some unexpected behaviour but only on Firefox-mobile. Its working well on desktop Chrome/Firefox and also on Chrome-mobile and Safari.</p>
<p>footer</p>
<pre><code><Container className="footer-container">
<a style={{textDecorati... | I have a React web-app where the fixed footer component creates some unexpected behaviour but only on Firefox-mobile. Its working well on desktop Chrome/Firefox and also on Chrome-mobile and Safari. footer [CODE] css [CODE] the issue What I've tried so far after some research on similar issues as trial and error: remov... | javascript|css|reactjs|mobile|firefox-android | 0 | 2022-07-12T11:59:25.373Z | 2,022 | 7 | 11 | 1 | 35 | 0 | 553 | 80 | 5 | 2 | true | true | false | false | false | false | zero |
72,951,949 | unity Bézier Path creator android moving problem is start laggy when scene changed | <blockquote>
<p>Im using bêziers path not vertex one. And in editor(windows) there is
no problem with it. im building for android and trying to play with
galaxy m21. first scene is completely normal. but when it comes for
other scenes it start moving laggy (because of path follower i think).
(im not talking about side ... | Im using bêziers path not vertex one. And in editor(windows) there is no problem with it. im building for android and trying to play with galaxy m21. first scene is completely normal. but when it comes for other scenes it start moving laggy (because of path follower i think). (im not talking about side walks just movem... | android|unity3d|path|bezier | -1 | 2022-07-12T11:59:32.110Z | 2,022 | 7 | 11 | 1 | 49 | 1 | 1,182 | 82 | 4 | 0 | false | false | false | false | false | true | negative |
72,951,971 | Alexa app to app account linking in android app , Skill Activation Api gives error | <p>here is the link</p>
<p><a href="https://developer.amazon.com/en-US/docs/alexa/account-linking/app-to-app-account-linking-starting-from-your-app.html" rel="nofollow noreferrer">https://developer.amazon.com/en-US/docs/alexa/account-linking/app-to-app-account-linking-starting-from-your-app.html</a></p>
<p>Steps that I... | here is the link https://developer.amazon.com/en-US/docs/alexa/account-linking/app-to-app-account-linking-starting-from-your-app.html Steps that I followed in my Android App. I completed the LWA fallback url setup , in fallback URL I have used client ID that is received from Account linking page of Alexa custom skill. ... | android|amazon-web-services|alexa|alexa-skills-kit | 0 | 2022-07-12T12:01:41.410Z | 2,022 | 7 | 12 | 1 | 81 | 0 | 863 | 82 | 4 | 3 | true | true | false | false | false | false | zero |
72,952,015 | Android flash image | <p>I try to flash an image view for 3 seconds and then return it to its original image. here is my code:</p>
<pre><code> public class MainActivity extends AppCompatActivity
implements View.OnClickListener{
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanc... | I try to flash an image view for 3 seconds and then return it to its original image. here is my code: [CODE] So basically I want this code flow: While the actual flow is the following : Could you tell me the reason for this behavior as well as how to solve this? | imageview|wait|android-vectordrawable | 0 | 2022-07-12T12:04:43.547Z | 2,022 | 7 | 12 | 1 | 53 | 0 | 262 | 19 | 3 | 1 | true | true | false | false | false | false | zero |
72,952,051 | Swap two cards in Jetpack Compose | <p>I'm new to Jetpack Compose and animation. And I'd like to implement some custom animation.
I have two cards (green and lavender one), by clicking on them - they change places.</p>
<pre><code>fun TwoCards() {
var upperCardNumber by remember {
mutableStateOf(0)
}
ConstraintLayout(
Modifier
... | I'm new to Jetpack Compose and animation. And I'd like to implement some custom animation. I have two cards (green and lavender one), by clicking on them - they change places. [CODE] But I'd like to implement some animation when user clicks on those cards: the upper card should move to the left and lower card - to the ... | android-jetpack-compose|jetpack-compose-animation | 0 | 2022-07-12T12:07:49.590Z | 2,022 | 7 | 12 | 1 | 52 | 0 | 514 | 33 | 2 | 1 | true | true | false | false | false | false | zero |
72,952,289 | How to use visual transformation on Text in Jetpack compose? | <p>I need to implement visual transformation in Text but somehow Text doesn't have this parameter only TextFiled does have this parameter. How to find solution about this?</p>
<p>Example;</p>
<pre><code>TextField(
visualTransformation = // have this parameter
)
Text(
visualTransformation = // doesnt have this ... | I need to implement visual transformation in Text but somehow Text doesn't have this parameter only TextFiled does have this parameter. How to find solution about this? Example; [CODE] I need that because i have to show big decimal contains comma and dot seperator and i have visual transformation of this. | android-jetpack-compose | 0 | 2022-07-12T12:26:01.380Z | 2,022 | 7 | 12 | 1 | 131 | 1 | 306 | 60 | 1 | 1 | true | false | false | false | false | false | zero |
72,952,330 | AppCenter Build failed with Custom flavours | <p>I'm trying to build and distribute an app in the app center from an Azure branch.</p>
<p>The App Center is trying to build a different variant and I don't know how I can change it.</p>
<p>This is the error:</p>
<pre><code>Execution failed for task ':app:process{clientName}DevReleaseGoogleServices'.
> No matching ... | I'm trying to build and distribute an app in the app center from an Azure branch. The App Center is trying to build a different variant and I don't know how I can change it. This is the error: [CODE] and this is the default YAML that is running (and I don't know how to change this default Gradle) [CODE] Changing the fo... | android|gradlew|visual-studio-app-center | 0 | 2022-07-12T12:28:39.873Z | 2,022 | 7 | 12 | 1 | 50 | 0 | 412 | 43 | 3 | 3 | true | true | false | false | false | false | zero |
72,952,485 | Failing to get actual file path from storage in android | <p>I have been trying to upload a file to a server using a multi-part API. To do this, I am firing an implicit intent so that the user can select a file from the device's storage.
In <code>onActivityResult</code>, I do the following steps:</p>
<ol>
<li>Get <code>Uri</code> from the <code>Intent</code> object</li>
<li>G... | I have been trying to upload a file to a server using a multi-part API. To do this, I am firing an implicit intent so that the user can select a file from the device's storage. In onActivityResult , I do the following steps: Get Uri from the Intent object Get the file path from that fetched Uri Create a File object fro... | android | 0 | 2022-07-12T12:39:50.573Z | 2,022 | 7 | 12 | 1 | 52 | 1 | 1,321 | 55 | 1 | 2 | true | false | false | false | false | false | zero |
72,952,766 | Android Compose in an exsiting project is very slow at first time | <p>I Added compose to an existing project.
I rewrited a fragment ui with compose , and when I'm starting the
fragment it takes a long time to start.</p>
<p>Adding a fragment from another fragment:</p>
<pre class="lang-kotlin prettyprint-override"><code> val fragment = FragmentWithComposeUi()
requireActivity().addFragm... | I Added compose to an existing project. I rewrited a fragment ui with compose , and when I'm starting the fragment it takes a long time to start. Adding a fragment from another fragment: [CODE] addFragment() function to add the fragment. [CODE] FragmentWithComposeUi class : [CODE] build.gradle I tried using the new com... | android|kotlin|android-fragments|android-jetpack-compose | 1 | 2022-07-12T13:01:16.227Z | 2,022 | 7 | 13 | 1 | 57 | 0 | 439 | 65 | 4 | 5 | true | true | false | false | false | false | low |
72,952,806 | Package is currently froze when I try to autoupdate app - Android | <p>i'm trying to create a auto-update application using a BroadcastReceiver to control the status instalation:</p>
<p>Everything works fine. But I want to reopen the updated app.</p>
<p>When I try to do that I get the following error:</p>
<pre><code>Failure starting process com.artech.logitrans16.logitransapp
java.... | i'm trying to create a auto-update application using a BroadcastReceiver to control the status instalation: Everything works fine. But I want to reopen the updated app. When I try to do that I get the following error: [CODE] This is the BroadcastReceiver part code: [CODE] I'm trying AlarmManager to reopen the app after... | android | 0 | 2022-07-12T13:04:43.100Z | 2,022 | 7 | 13 | 1 | 18 | 0 | 438 | 65 | 1 | 2 | true | true | false | false | false | false | zero |
72,952,850 | Update app version in Flutter programmatically on build command | <p>Goal: increment build-name and build-number on each flutter build apk instance, but programmatically.</p>
<p>In the native configuration, build.gradle sets the versionCode(build-number) & versionName(build-name) after get this data from localProperties, data that is static.</p>
<p>If we use --build-name=X.X.XX -... | Goal: increment build-name and build-number on each flutter build apk instance, but programmatically. In the native configuration, build.gradle sets the versionCode(build-number) & versionName(build-name) after get this data from localProperties, data that is static. If we use --build-name=X.X.XX --build-number=X in th... | android|flutter|build|apk | 0 | 2022-07-12T13:08:01.647Z | 2,022 | 7 | 13 | 1 | 64 | 0 | 896 | 63 | 4 | 0 | false | true | false | false | false | false | zero |
72,952,855 | Consuming gradle dependencies in Xamarin.Forms | <p>I am creating a Xamarin.Forms app in which I want to use <a href="https://docs.dolby.io/communications-apis/docs/initializing-android" rel="nofollow noreferrer">the Dolby Android SDK</a>. I have gotten this to work as an Android app by adding <code>implementation "com.voxeet.sdk:sdk:3.4.1"</code> to my <co... | I am creating a Xamarin.Forms app in which I want to use the Dolby Android SDK . I have gotten this to work as an Android app by adding implementation "com.voxeet.sdk:sdk:3.4.1" to my build.gradle and adding maven { url "https://android-sdk.voxeet.com/release" } to the repositories array. From what ... | android|xamarin|xamarin.forms|xamarin.android|dolby | 0 | 2022-07-12T13:08:22.070Z | 2,022 | 7 | 13 | 1 | 73 | 0 | 846 | 46 | 5 | 0 | false | true | false | false | false | false | zero |
72,952,868 | BottomNavigation customization | <p>Good afternoon
I'm new to Jetpack Compose and I'm having some difficulties customizing BottomNavigation as I need. My current result is this:</p>
<p><a href="https://i.stack.imgur.com/HeePA.png" rel="nofollow noreferrer">Current result</a></p>
<p>And I want this be like this:</p>
<p><a href="https://i.stack.imgur.co... | Good afternoon I'm new to Jetpack Compose and I'm having some difficulties customizing BottomNavigation as I need. My current result is this: Current result And I want this be like this: Expected result The text doesn't seem to me to be applying the style I gave it. It also looks like there is a white box as the bottom... | android-jetpack-compose|android-bottomnav | 0 | 2022-07-12T13:09:51.410Z | 2,022 | 7 | 13 | 1 | 53 | 1 | 478 | 30 | 2 | 1 | true | false | false | false | false | false | zero |
72,952,961 | Fetching Google Fit historical data using headless JobScheduler when the app is terminated | <p>I am trying to fetch a snapshot of Google Fit data every 15-20 minutes even if the app is terminated. I was able to trigger a function for reading and syncing data with my server using JobScheduler, but Google Fit fetching APIs return null-values without throwing any errors. The same fetching and syncing code works ... | I am trying to fetch a snapshot of Google Fit data every 15-20 minutes even if the app is terminated. I was able to trigger a function for reading and syncing data with my server using JobScheduler, but Google Fit fetching APIs return null-values without throwing any errors. The same fetching and syncing code works whe... | android|google-fit|android-jobscheduler|google-fit-sdk|google-fitness-api | 0 | 2022-07-12T13:17:08.253Z | 2,022 | 7 | 13 | 1 | 32 | 0 | 541 | 90 | 5 | 0 | false | true | false | false | false | false | zero |
72,952,981 | How to access Camera2 returned Java datatype for camera settings in Delphi? | <p>I am trying to access the various settings of the Camera2 API in Delphi 11.1 and struggle with how to get access to some of the returned values in my Delphi application:</p>
<pre><code>function TPlatformCamera.GetCapabilities: string;
var
LCharacteristics : JCameraCharacteristics;
Orientation : Integer;
O... | I am trying to access the various settings of the Camera2 API in Delphi 11.1 and struggle with how to get access to some of the returned values in my Delphi application: [CODE] The orientation result works, but how to access Obj ? CONTROL_AE_AVAILABLE_ANTIBANDING_MODE returns an Array of Integer as it seems (listed as ... | android|delphi|android-camera2 | 0 | 2022-07-12T13:18:38.453Z | 2,022 | 7 | 13 | 1 | 45 | 0 | 508 | 75 | 3 | 1 | true | true | false | false | false | false | zero |
72,953,011 | I can't make a menu bar | <p>I want to build menubar like this video ('https://www.youtube.com/watch?v=-PUZ8LrWFWc') But it's not working. I tried pressing on menu button but nothing happened. I tried moving the button code and wrap it with Row and used GestureDetector and build a button in it like in the video but nothing happened.</p>
<p>this... | I want to build menubar like this video ('https://www.youtube.com/watch?v=-PUZ8LrWFWc') But it's not working. I tried pressing on menu button but nothing happened. I tried moving the button code and wrap it with Row and used GestureDetector and build a button in it like in the video but nothing happened. this's code be... | android|ios|flutter|dart|flutter-layout | 0 | 2022-07-12T13:21:05.510Z | 2,022 | 7 | 13 | 1 | 32 | 0 | 416 | 23 | 5 | 2 | true | true | false | false | false | false | zero |
72,953,014 | Android: Bluetooth AVRCP Controller in Android 11 | <p>Actually, we are working on a device on Android 11. We have configured it as BT Sink.
We are able to configure A2dp Sink and able to play music from our phone and audio output is coming from connected speakers.</p>
<p>Now we want to configure the AVRCP profile so that we can play/stop/next music from device(sink) it... | Actually, we are working on a device on Android 11. We have configured it as BT Sink. We are able to configure A2dp Sink and able to play music from our phone and audio output is coming from connected speakers. Now we want to configure the AVRCP profile so that we can play/stop/next music from device(sink) itself Can a... | android-bluetooth|bluetooth-profile | 0 | 2022-07-12T13:21:20.797Z | 2,022 | 7 | 13 | 1 | 75 | 0 | 416 | 49 | 2 | 0 | false | true | false | false | false | false | zero |
72,953,106 | How do I take a photo WITH an overlay using camera2 api? | <p>I'm trying to take a picture using camera2 api with an overlay. How can I add the overlay to the photo before it saves to my files? I want an overlay that goes on the photo that is taken that then gets saved with it. Sorry if this is a bad question, it's just that I've searched everywhere online and found nothing us... | I'm trying to take a picture using camera2 api with an overlay. How can I add the overlay to the photo before it saves to my files? I want an overlay that goes on the photo that is taken that then gets saved with it. Sorry if this is a bad question, it's just that I've searched everywhere online and found nothing usefu... | java|android|android-camera2 | 0 | 2022-07-12T13:27:07.960Z | 2,022 | 7 | 13 | 1 | 32 | 0 | 403 | 56 | 3 | 1 | true | true | false | false | false | false | zero |
72,953,222 | Searching makes my RecycleView disappear, already used EditText and SearchView | <p>My search function is an exact copy of these videos (the first link has a gDrive source code in its description):</p>
<ul>
<li><a href="https://www.youtube.com/watch?v=Pr4Jz5Lc5pM" rel="nofollow noreferrer">How to search in Firebase database Android</a> (<a href="https://drive.google.com/file/d/1oB_9ljVSfoLkuUGwgDq... | My search function is an exact copy of these videos (the first link has a gDrive source code in its description): How to search in Firebase database Android ( Google Drive code ) 3. How to Search in Firebase Database in Android Problem : recycleView gives out no item after using searchView, the code should have worked ... | java|android|firebase-realtime-database|searchview | 0 | 2022-07-12T13:36:01.177Z | 2,022 | 7 | 13 | 1 | 24 | 0 | 836 | 78 | 4 | 2 | true | true | false | false | false | false | zero |
72,953,294 | How can I save and load each bitmap after drawing, instead of re-drawing each stroke every time | <p>I'm working on a drawing application in Android/Java, and at the moment I re-draw every stroke instead of just loading the Bitmap. I'm thinking it will be a good idea to store a bitmap after each stroke and just load that onto the Canvas, but I'm not sure how to go about doing that.</p>
<p>This is what I have so far... | I'm working on a drawing application in Android/Java, and at the moment I re-draw every stroke instead of just loading the Bitmap. I'm thinking it will be a good idea to store a bitmap after each stroke and just load that onto the Canvas, but I'm not sure how to go about doing that. This is what I have so far: [CODE] T... | java|android|bitmap | 0 | 2022-07-12T13:40:59.553Z | 2,022 | 7 | 13 | 1 | 26 | 0 | 859 | 95 | 3 | 1 | true | true | false | false | false | false | zero |
72,953,411 | Joda LocalDate -- How to check if it's been 24 hours since an event | <p>Description: I'm making a mobile app for a client where inventory can be recorded, but two inventory records can't happen within 24 hours of each other.</p>
<p>Approach: I'm storing the inventory along with the date on Firestore as a string with format "dd/MM/yyyy hh:mm:ss" at the conclusion of the process... | Description: I'm making a mobile app for a client where inventory can be recorded, but two inventory records can't happen within 24 hours of each other. Approach: I'm storing the inventory along with the date on Firestore as a string with format "dd/MM/yyyy hh:mm:ss" at the conclusion of the process. [CODE] [... | java|android|google-cloud-firestore | 0 | 2022-07-12T13:48:10.340Z | 2,022 | 7 | 13 | 1 | 30 | 1 | 538 | 67 | 3 | 2 | true | false | false | false | false | false | zero |
72,953,450 | Buttons will not show on displayed fragment | <p>I am currently creating a chat application for a project in Android Studio using Kotlin, Firebase Cloud Storage and Cloud Firestore, and Glide, and I am following a few tutorials to do so. Everything was fine until I created a fragment to handle the user's account settings, such as name, bio, etc. The fragment appea... | I am currently creating a chat application for a project in Android Studio using Kotlin, Firebase Cloud Storage and Cloud Firestore, and Glide, and I am following a few tutorials to do so. Everything was fine until I created a fragment to handle the user's account settings, such as name, bio, etc. The fragment appears ... | kotlin|android-fragments|google-cloud-firestore|android-glide | 0 | 2022-07-12T13:49:48.070Z | 2,022 | 7 | 13 | 1 | 22 | 0 | 972 | 43 | 4 | 2 | true | true | false | false | false | false | zero |
72,953,475 | How to Inject constructor to abstract class with Dagger2 | <p>I have an abstract ViewModel</p>
<pre><code>abstract class AbstractViewModel(
protected val dataStore: dataStore,
protected val schedulerProvider: SchedulerProvider
): ViewModel() {
abstract fun doSomething()
}
</code></pre>
<p>that is inherited by many ViewModels</p>
<pre><code>class InheritedViewModel1 ... | I have an abstract ViewModel [CODE] that is inherited by many ViewModels [CODE] This works perfectly fine. However, what bothers me is that I have many many ViewModels inheriting from the abstract class, thus, for each ViewModel I have to tell dagger to provide it like [CODE] I am wondering is there any way to move the... | java|android|kotlin|dagger-2 | 0 | 2022-07-12T13:51:33.613Z | 2,022 | 7 | 13 | 1 | 82 | 0 | 587 | 56 | 4 | 4 | true | true | false | false | false | false | zero |
72,953,617 | Android debugSymbolLevel = { SYMBOL_TABLE | FULL } not working | <p>I want to upload an Android app with debug symbols to Google Play Console in order to have detailed crash logs for my C++ code.</p>
<p>So I followed the steps <a href="https://developer.android.com/studio/build/shrink-code#native-crash-support" rel="nofollow noreferrer">here</a> and added this line:</p>
<pre><code>a... | I want to upload an Android app with debug symbols to Google Play Console in order to have detailed crash logs for my C++ code. So I followed the steps here and added this line: [CODE] At the top of my Gradle file just below the 'apply plugin:' lines (in the Gradle at :app level) I also tried to add: [CODE] in: buildTy... | android|gradle|android-ndk|android-gradle-plugin|build.gradle | 0 | 2022-07-12T14:01:19.970Z | 2,022 | 7 | 14 | 1 | 71 | 1 | 702 | 62 | 5 | 2 | true | false | false | false | false | false | zero |
72,953,690 | Android for Cars - How to tell if the car is parked? | <p>So far I found a <a href="https://developer.android.google.cn/reference/kotlin/androidx/car/app/model/ParkedOnlyOnClickListener?hl=zh-cn" rel="nofollow noreferrer">ParkedOnlyOnClickListener</a> that is triggered when the car is parked. But how can I query directly to see if the car is parked at the moment or not?</p... | So far I found a ParkedOnlyOnClickListener that is triggered when the car is parked. But how can I query directly to see if the car is parked at the moment or not? Alternatively, is there a way to tell if the engine is on or off? I know there is a speed API , but this is not good enough for me. | android|android-auto|android-automotive | 0 | 2022-07-12T14:07:13.683Z | 2,022 | 7 | 14 | 1 | 58 | 0 | 295 | 52 | 3 | 0 | false | true | false | false | false | false | zero |
72,953,730 | Not able to access action bar of app when bottom sheet is opened | <p>I have a bookmark button in the action bar which is not clickable when I open a bottom sheet by clicking a button (the button is in fragment).</p>
<p>Here is the code :</p>
<p><strong>activity_learn.xml</strong></p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.constraintla... | I have a bookmark button in the action bar which is not clickable when I open a bottom sheet by clicking a button (the button is in fragment). Here is the code : activity_learn.xml [CODE] mcq_fragment.xml [CODE] correct_wrong_bottom_sheet_dialog.xml [CODE] McqFragment.java [CODE] when the bottom sheet is opened in mcq ... | java|android|xml|android-layout|bottom-sheet | 0 | 2022-07-12T14:10:32.070Z | 2,022 | 7 | 14 | 1 | 28 | 0 | 385 | 64 | 5 | 4 | true | true | false | false | false | false | zero |
72,953,762 | How to compile a kernel for Pixel4 Android12 | <p>I tried following the method provided in this link below,
<a href="https://source.android.com/setup/build/building-kernels" rel="nofollow noreferrer">https://source.android.com/setup/build/building-kernels</a>.
Download the kernel code, and then compile the kernel. After the compilation is successful, put kernel_and... | I tried following the method provided in this link below, https://source.android.com/setup/build/building-kernels . Download the kernel code, and then compile the kernel. After the compilation is successful, put kernel_android-msm-coral-4.14-android12L\out\android-msm-pixel-4.14\private\msm-google\arch\arm64\boot\Image... | android|kernel|pixel | 0 | 2022-07-12T14:12:20.793Z | 2,022 | 7 | 14 | 1 | 75 | 0 | 817 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
72,953,797 | Enable DSI display in linux kernel | <p>I have arm64 android based system with HDMI output
I want add support DSI interface
I include in build next drivers:</p>
<ul>
<li>edt-ft5406</li>
<li>rpi-panel-attiny-regulator</li>
<li>panel-simple</li>
<li>tc358762</li>
<li>rpi_backlight</li>
</ul>
<p>kernel message write that connector was created successfully bu... | I have arm64 android based system with HDMI output I want add support DSI interface I include in build next drivers: edt-ft5406 rpi-panel-attiny-regulator panel-simple tc358762 rpi_backlight kernel message write that connector was created successfully but no image [ 14.959988] vc4-drm gpu: bound fe700000.dsi (ops vc4_d... | android|linux|raspberry-pi | 0 | 2022-07-12T14:14:48.833Z | 2,022 | 7 | 14 | 1 | 79 | 0 | 1,025 | 34 | 3 | 0 | false | true | false | false | false | false | zero |
72,953,911 | is it possible to use animation slide and keep the button in the new position? | <p>I have an animation xml file named <strong>slide_in_left_to_right</strong>:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:shareInterpolator="false">
<translate
androi... | I have an animation xml file named slide_in_left_to_right : [CODE] I would like to know if it's possible to keep Button which is going to slide in the new position for a certain time. | android|android-studio|android-animation|android-button | 0 | 2022-07-12T14:22:59.080Z | 2,022 | 7 | 14 | 1 | 23 | 0 | 183 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
72,954,039 | java.io.NotSerializableException: androidx.emoji2.text.SpannableBuilder? | <p>I just started running into an error that I just don't understand. I'm making a note editor app and the resulting error occurs after I try to save my data in the editor activity. Usually, this save method works just fine but in this particular context it causes an issue.</p>
<p>Here are the related code blocks:</p>
... | I just started running into an error that I just don't understand. I'm making a note editor app and the resulting error occurs after I try to save my data in the editor activity. Usually, this save method works just fine but in this particular context it causes an issue. Here are the related code blocks: [CODE] [CODE] ... | java|android|android-studio|serialization | 0 | 2022-07-12T14:33:05.887Z | 2,022 | 7 | 14 | 1 | 36 | 1 | 3,814 | 72 | 4 | 3 | true | false | false | false | false | false | zero |
72,954,046 | Is it possible to create public static variables in activity and access them from Flutter plugin in Android implementation? | <p>The problem I have is only relevant for the Android version of the Flutter plugin, because context/activity is needed. I already made the implementation ActivityAware. Basically, the plugin needs some initialization to be usable by apps. The initialization values are different for different apps. My question is: Is ... | The problem I have is only relevant for the Android version of the Flutter plugin, because context/activity is needed. I already made the implementation ActivityAware. Basically, the plugin needs some initialization to be usable by apps. The initialization values are different for different apps. My question is: Is it ... | android|flutter|flutter-plugin|flutter-android | 0 | 2022-07-12T14:33:21.897Z | 2,022 | 7 | 14 | 1 | 25 | 1 | 748 | 123 | 4 | 0 | false | false | false | false | false | false | zero |
72,954,094 | Can we exclude specific fragments from being saved in navigation component stacks? | <p>I've been searching on this topic for a while now, without any success. Since the last update of <a href="https://developer.android.com/jetpack/androidx/releases/navigation#2.5.0" rel="nofollow noreferrer">Navigation Component 2.5.0</a> in combination with <code>BottomNavigationView</code> the nav controller retain ... | I've been searching on this topic for a while now, without any success. Since the last update of Navigation Component 2.5.0 in combination with BottomNavigationView the nav controller retain the stack state for each tab of BottomNavView . Now, I am asking if there is any way to exclude a graph or some fragments from th... | android|android-fragments|android-architecture-components|android-architecture-navigation | 1 | 2022-07-12T14:36:52.650Z | 2,022 | 7 | 14 | 1 | 48 | 1 | 1,908 | 82 | 4 | 0 | false | false | false | false | false | false | low |
72,954,102 | Developing Flutter apps using VSCode remote development | <p>I have searched for a while for a good solution to this but there doesn't seem to be many others with the same setup as I have.</p>
<p>My setup consists of a low spec laptop (Surface pro 3) and a server machine (much higher spec) running ProxMox (which is where my Ubuntu 22.04 development VM resides).</p>
<p>What I ... | I have searched for a while for a good solution to this but there doesn't seem to be many others with the same setup as I have. My setup consists of a low spec laptop (Surface pro 3) and a server machine (much higher spec) running ProxMox (which is where my Ubuntu 22.04 development VM resides). What I am trying to achi... | android|flutter|dart|vscode-remote | 6 | 2022-07-12T14:37:36.650Z | 2,022 | 7 | 14 | 1 | 698 | 1 | 1,098 | 55 | 4 | 0 | false | false | false | false | false | false | medium |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.