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,752,240 | How do I load.vtt file into the video thumbnails(Imageview) in my videoview android? | <p>I've saved that file locally, but I'm not sure how to load it.</p>
<p>my .vtt file have data like below :-</p>
<pre><code> WEBVTT 00:00:00.000 --> 00:00:05.000
/xxxxx/xxxx-xxx-xx-xxx.webp#xywh=0,0,160,90
00:00:05.000 --> 00:00:10.000
/xxxxx/xxxx-xxx-xx-xxx.webp#xywh=160,0,160,90
00:00:10.000 --> 00:00:... | I've saved that file locally, but I'm not sure how to load it. my .vtt file have data like below :- [CODE] I finds a lot in stack but i am not getting any .vtt related answer for android videoview When I drag in videoview Android, I want thumbnails to appear on the frame like below | android|webvtt|vtt | 0 | 2022-09-17T04:58:55.220Z | 2,022 | 9 | 4 | 5 | 66 | 1 | 282 | 84 | 3 | 1 | true | false | false | false | false | false | zero |
73,752,284 | How to change button position go down (constraint layout) in kotlin android ? I need space to display a message once the button is clicked | <pre><code><Button
android:id="@+id/heartRateButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
android:text="@string/heartRate_button"
android:backgroundTi... | [CODE] So basically what I want to change is the app:layout_constraintVertical_bias="0.647". But I need to be able to change it in the mainActivity.kt file instead of in the XML file. | android|kotlin | 0 | 2022-09-17T05:09:29.563Z | 2,022 | 9 | 5 | 5 | 21 | 2 | 193 | 138 | 2 | 1 | true | false | false | false | false | false | zero |
73,752,287 | Where does this "isGranted" variable come from when getting permissions? | <p>I'm only a beginner Kotlin programmer, with some experience in other languages but nothing particularly advanced. I'm struggling to understand what exactly is happening in this code, which comes from an Android course but matches <a href="https://developer.android.com/training/permissions/requesting#request-permissi... | I'm only a beginner Kotlin programmer, with some experience in other languages but nothing particularly advanced. I'm struggling to understand what exactly is happening in this code, which comes from an Android course but matches this article on requesting permissions from the user. I understand the overall effect, but... | android|kotlin|lambda|android-permissions | 0 | 2022-09-17T05:09:53.047Z | 2,022 | 9 | 5 | 5 | 37 | 2 | 1,295 | 72 | 4 | 1 | true | false | false | false | false | false | zero |
73,752,421 | Error Play Store app is either not installed or not the official version on Google Play Asset Delivery | <p>I'm following <a href="https://developer.android.com/guide/playcore/asset-delivery" rel="nofollow noreferrer">this document</a> to setup Play Asset Delivery which download few <strong>on-demand packages</strong> in my app.<br>
It works very well on all my devices when I upload into google play internal testing/produ... | I'm following this document to setup Play Asset Delivery which download few on-demand packages in my app. It works very well on all my devices when I upload into google play internal testing/production channel. [CODE] But I got many error reports from firebase crashlytics which I don't know how to resolve: [CODE] This ... | android|kotlin|google-play|google-play-services | 0 | 2022-09-17T05:45:43.640Z | 2,022 | 9 | 5 | 5 | 29 | 1 | 738 | 102 | 4 | 3 | true | false | false | false | false | false | zero |
73,752,526 | Sinch Camera Local view is not opening camera showing only black screen when i try to video call from Sinch library | <p>I Am working on a video call type app , and for video call I am using Sinch Library for video call
But when in initializing the call my camera is not opening ,its showing only black screen on my view , i have give all permissions also Ask runtime permission for camera but still its showing me only black screen</p>
<... | I Am working on a video call type app , and for video call I am using Sinch Library for video call But when in initializing the call my camera is not opening ,its showing only black screen on my view , i have give all permissions also Ask runtime permission for camera but still its showing me only black screen Here is ... | java|android|webrtc|sinch | 0 | 2022-09-17T06:07:41.757Z | 2,022 | 9 | 6 | 5 | 53 | 0 | 480 | 115 | 4 | 3 | true | true | false | false | false | false | zero |
73,752,561 | Flutter Not establishing connection with mySQL | <p>This is my source code.
I have internet permission in android manifest. I have also tried ip address instead of localhost. All my database and password is correct. I don't know how to detect this error.</p>
<pre><code>class _MyHomePageState extends State<MyHomePage> {
Future db() async {
List name = [... | This is my source code. I have internet permission in android manifest. I have also tried ip address instead of localhost. All my database and password is correct. I don't know how to detect this error. [CODE] | android|flutter|dart | 0 | 2022-09-17T06:15:21.313Z | 2,022 | 9 | 6 | 5 | 19 | 0 | 209 | 46 | 3 | 1 | true | true | false | false | false | false | zero |
73,752,599 | How to add a background component under IntroSlider in Flutter? | <p>So, I used the IntroSlider package and I have successfully executed it. However, I don't want to use just a simple background color. I wanted to create a background with components on it that I have already created in a separate dart file. How will I e able to combine them? The following are the codes that I have cr... | So, I used the IntroSlider package and I have successfully executed it. However, I don't want to use just a simple background color. I wanted to create a background with components on it that I have already created in a separate dart file. How will I e able to combine them? The following are the codes that I have creat... | flutter|android-studio|dart | 1 | 2022-09-17T06:24:03.550Z | 2,022 | 9 | 6 | 5 | 32 | 1 | 561 | 63 | 3 | 2 | true | false | false | false | false | false | low |
73,752,604 | Could not find core-1.3.2.jar | <p>There is a problem when i want to build the game in Unity in android Build.</p>
<blockquote>
<ul>
<li>What went wrong:
Could not determine the dependencies of task ':launcher:lintVitalRelease'.
Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'.
Could not find core-1.3.2.jar (android... | There is a problem when i want to build the game in Unity in android Build. What went wrong: Could not determine the dependencies of task ':launcher:lintVitalRelease'. Could not resolve all artifacts for configuration ':launcher:debugRuntimeClasspath'. Could not find core-1.3.2.jar (androidx.core:core:1.3.2). Searched ... | android|unity3d | -1 | 2022-09-17T06:25:00.420Z | 2,022 | 9 | 6 | 5 | 14 | 0 | 514 | 29 | 2 | 0 | false | true | false | false | false | true | negative |
73,752,605 | Visual Studio Android app keeps running old app | <p>I have come into a problem with my Android app. I keep trying to run the emulator through visual studio, but it keeps giving me this error: `Running "TodoApp" with {"rootTag":311}
ERROR Invariant Violation: "TodoApp" has not been registered. This can happen if:</p>
<ul>
<li>Metro (the ... | I have come into a problem with my Android app. I keep trying to run the emulator through visual studio, but it keeps giving me this error: `Running "TodoApp" with {"rootTag":311} ERROR Invariant Violation: "TodoApp" has not been registered. This can happen if: Metro (the local dev server)... | android|emulation | 0 | 2022-09-17T06:25:06.007Z | 2,022 | 9 | 6 | 5 | 18 | 0 | 907 | 47 | 2 | 0 | false | true | false | false | false | false | zero |
73,752,701 | Play Store Developer Policy - Payment | <p>I know some Apps, for example MDM or KIOSK apps where you need a licence key which can be purchased at the companys web dashboard to run the app on an android device. This license key is the first thing which is prompted after starting the app, and without the key the app cannot be deployed on an device. Does such a... | I know some Apps, for example MDM or KIOSK apps where you need a licence key which can be purchased at the companys web dashboard to run the app on an android device. This license key is the first thing which is prompted after starting the app, and without the key the app cannot be deployed on an device. Does such a de... | android|google-play|payment | 0 | 2022-09-17T06:39:59.383Z | 2,022 | 9 | 6 | 5 | 16 | 0 | 483 | 37 | 3 | 0 | false | true | false | false | false | false | zero |
73,752,798 | Why the paths returned by getFilesDir, getDatabasePath looks different than emulator in Android Studio Device Manager? | <p>I was wondering, why the paths returned by <code>getFilesDir</code>, <code>getDatabasePath</code> look different than emulator in Android Studio Device Manager?</p>
<h2>Logging in source code</h2>
<pre><code>getFilesDir = /data/user/0/com.xxx.yyy/files
getDatabasePath = /data/user/0/com.xxx.yyy/databases
getExternal... | I was wondering, why the paths returned by getFilesDir , getDatabasePath look different than emulator in Android Studio Device Manager? Logging in source code [CODE] Browsing in Android Studio Device Manager (Using emulator) [CODE] May I know, the reason behind of the path different shown in source code logging, compar... | android | 0 | 2022-09-17T06:53:50.557Z | 2,022 | 9 | 6 | 5 | 15 | 0 | 376 | 118 | 1 | 2 | true | true | false | false | false | false | zero |
73,752,915 | What is the exact location refered by "root" in Android Auto Backup rule? | <p>Currently, I have the following backup rule for Android Auto Backup</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<!-- /data/user/0/com.xxx.yyy/databases -->
<include domain="database" path="." />
<!-- /data... | Currently, I have the following backup rule for Android Auto Backup [CODE] Based on https://developer.android.com/guide/topics/data/autobackup [CODE] I was still wondering whether I should apply [CODE] May I know, which folder location, the root is actually referring to? Thanks. | android | 0 | 2022-09-17T07:11:49.967Z | 2,022 | 9 | 7 | 5 | 12 | 0 | 279 | 73 | 1 | 3 | true | true | false | false | false | false | zero |
73,752,947 | Pinging Android watch from desktop PC | <p>I was trying to use adb to wirelessly debug my watch. In the process I found out that I cannot ping any phone on the home network that I have setup - I can ping my laptop after disabling firewall</p>
<p>Reply from 192.168.0.***: Destination host unreachable.</p>
<p>This is about the only thing I can get. I tried pin... | I was trying to use adb to wirelessly debug my watch. In the process I found out that I cannot ping any phone on the home network that I have setup - I can ping my laptop after disabling firewall Reply from 192.168.0.***: Destination host unreachable. This is about the only thing I can get. I tried pinging two phones, ... | android|networking | -1 | 2022-09-17T07:19:36.993Z | 2,022 | 9 | 7 | 5 | 15 | 0 | 397 | 37 | 2 | 0 | false | true | false | false | false | true | negative |
73,753,010 | How to implement payment gateway in Android kotlin and unlock the contact after payment successfull | <p>I have got my first project on fiverr and it's 80% completed</p>
<p>The only thing left is implement payment gateway and when payment is done unlock the address and contact of person who has posted the ad</p>
<p>Basically its a room rental app where specific persons post ads and user can get the contact number of th... | I have got my first project on fiverr and it's 80% completed The only thing left is implement payment gateway and when payment is done unlock the address and contact of person who has posted the ad Basically its a room rental app where specific persons post ads and user can get the contact number of those persons posti... | android|kotlin|payment|unlock | 0 | 2022-09-17T07:30:41.580Z | 2,022 | 9 | 7 | 5 | 17 | 0 | 602 | 99 | 4 | 0 | false | true | false | false | false | false | zero |
73,753,068 | The subheader looks not the same when switching between LTR and RTL, Why? (DrawerLayout) | <p><strong>There is padding beginning of the subheader in the LTR (English language)</strong></p>
<p><a href="https://i.stack.imgur.com/G2QCx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G2QCx.jpg" alt="enter image description here" /></a></p>
<p><strong>But there is no padding beginning of the su... | There is padding beginning of the subheader in the LTR (English language) But there is no padding beginning of the subheader in the RTL (Arabic language) The XML looks normal nothing is special, How can I solve this problem? I'm using Material You. | android|material-design|navigation-drawer | 0 | 2022-09-17T07:41:00.890Z | 2,022 | 9 | 7 | 5 | 11 | 0 | 248 | 88 | 3 | 0 | false | true | false | false | false | false | zero |
73,753,201 | Cannot find symbol for makeText method in the Toast class? | <pre class="lang-java prettyprint-override"><code>public void showToast(View view) {
Toast toast = new Toast.makeText(this, R.string.toast_message, Toast.LENGTH_SHORT);
toast.show();
}
</code></pre>
<pre class="lang-none prettyprint-override"><code>error: cannot find symbol
Toast toast = new Toast.makeT... | [CODE] [CODE] As far as I can tell everything looks right, but for some reason I still keep getting this error. | java|android | 0 | 2022-09-17T08:04:31.983Z | 2,022 | 9 | 8 | 5 | 32 | 3 | 111 | 58 | 2 | 2 | true | false | false | false | false | false | zero |
73,753,296 | how to integrate offline google map in android java | <p>**i am creating an application which is provide offline google map to my user **
The following its the code that this post provided (<a href="https://stackoverflow.com/questions/14784841/tileprovider-using-local-tiles">TileProvider using local tiles</a>)</p>
<p>i using this code but i don't know how and where to us... | **i am creating an application which is provide offline google map to my user ** The following its the code that this post provided ( TileProvider using local tiles ) i using this code but i don't know how and where to use it did i have to download google map manually and stored it my assets folder but i don't know how... | java|android|offline | -3 | 2022-09-17T08:19:43.603Z | 2,022 | 9 | 8 | 5 | 18 | 0 | 560 | 51 | 3 | 0 | false | true | false | false | false | true | negative |
73,753,317 | How does the arcoreimg Tool calculates the score? | <p>Im using the arcoreimg Tool from ARCore for the first time for a Project and with the</p>
<pre><code>arcoreimg.exe eval-img --input_image_path=dog.png
</code></pre>
<p>command I calculated the img score of numerous pictures, but i still have no Idea how this tool calculates the score. I played around with different ... | Im using the arcoreimg Tool from ARCore for the first time for a Project and with the [CODE] command I calculated the img score of numerous pictures, but i still have no Idea how this tool calculates the score. I played around with different coloring, contrasts, backgrounds and dont get a consistent result. Which condi... | unity3d|augmented-reality|arcore|android-sdk-tools | -1 | 2022-09-17T08:25:43.517Z | 2,022 | 9 | 8 | 5 | 12 | 0 | 383 | 49 | 4 | 1 | true | true | false | false | false | true | negative |
73,753,379 | How to use proxy in React native? | <p>The idea is whenever a user opens our store site through webview or in-app browser, the user's location is mocked to, let's say USA, ignoring the actual location of the user. How can this be corrected? For example, if a user opens Amazon's site through webview, Amazon USA will always be opened rather than the user's... | The idea is whenever a user opens our store site through webview or in-app browser, the user's location is mocked to, let's say USA, ignoring the actual location of the user. How can this be corrected? For example, if a user opens Amazon's site through webview, Amazon USA will always be opened rather than the user's ho... | android|ios|react-native | 0 | 2022-09-17T08:35:25.310Z | 2,022 | 9 | 8 | 5 | 38 | 0 | 368 | 33 | 3 | 0 | false | true | false | false | false | false | zero |
73,753,391 | How To Manage Nested Navigation Flow Using Navigation Controller Using FragmentContainerView? | <p><a href="https://i.stack.imgur.com/A2Vad.png" rel="nofollow noreferrer">image description here</a></p>
<ol>
<li>load fragment pager in fragment landing and load fragment list one in view pager.</li>
<li>when click on square box load fragment archive in fragment landing.</li>
<li>when click on list fragments list ite... | image description here load fragment pager in fragment landing and load fragment list one in view pager. when click on square box load fragment archive in fragment landing. when click on list fragments list item load fragment list detail fragment in fragment landing. how to follow this flow with navigation controller? | android|kotlin|android-fragments|navigation|uinavigationcontroller | 0 | 2022-09-17T08:37:59.790Z | 2,022 | 9 | 8 | 5 | 22 | 0 | 319 | 93 | 5 | 0 | false | true | false | false | false | false | zero |
73,753,426 | How to resume ViewPager2 from the same position when the fragment containing it was stopped and resumed later? | <p>I have a ViewPager2 which is a horizontal ImageView scroller which is autoscrolling enabled. This autoscrolling is implemented using Timer.schedule().</p>
<p>The issue that I am struggling to solve is I want this autoscroll to stop right there when the fragment containing that is no longer visible to the User, and o... | I have a ViewPager2 which is a horizontal ImageView scroller which is autoscrolling enabled. This autoscrolling is implemented using Timer.schedule(). The issue that I am struggling to solve is I want this autoscroll to stop right there when the fragment containing that is no longer visible to the User, and once the Us... | android|android-fragments|android-recyclerview|android-viewpager|android-viewpager2 | 0 | 2022-09-17T08:43:53.780Z | 2,022 | 9 | 8 | 5 | 26 | 1 | 520 | 110 | 5 | 1 | true | false | false | false | false | false | zero |
73,753,478 | cant read field value and exit if statement | <pre><code><?php
require_once 'configuration.php';
$response = array();
if($_POST['writ_num'] && $_POST['writ_title'] && $_POST['writ_content'] && $_POST['writ_date']){
$writ_num = isset($_POST["writ_num"]) ? $_POST["writ_num"] : "";
... | [CODE] Register.java [CODE] I am developing apps using php and Android studio. An error occurred while connecting php. I think it's a problem to get out without going around the if statement. I think there is no problem with the code, so can you tell me what the problem is? It's not a matter of the number of fields bec... | java|php|android | -1 | 2022-09-17T08:52:12.140Z | 2,022 | 9 | 8 | 5 | 31 | 0 | 376 | 43 | 3 | 3 | true | true | false | false | false | true | negative |
73,753,520 | How to mint ethereum token from Java\Kotlin? | <p>I have blockchain extension for my project and want to extend android client to work with ethereum directly by using web3j. My current issue is get contract instance to execute mint function.</p>
<p>Contract has been deployed by using Remix IDE and Metamask account. Code snippets which shows work with chain use some... | I have blockchain extension for my project and want to extend android client to work with ethereum directly by using web3j. My current issue is get contract instance to execute mint function. Contract has been deployed by using Remix IDE and Metamask account. Code snippets which shows work with chain use some token cla... | java|android|ethereum|web3-java | 0 | 2022-09-17T08:57:31.990Z | 2,022 | 9 | 8 | 5 | 35 | 1 | 613 | 44 | 4 | 1 | true | false | false | false | false | false | zero |
73,753,526 | Invalid GmsCore APK, remote loading disabledrequires the Google Play Store but it is missing Firebase object access showing null pointer exception | <p>I am writing a sign-in page but the problem here is that every time I click on signin button it doesn't show my homepage but the words "please waiting" keep showing up. I am a newbie to java and firebase, I also searched a lot of websites but didn't find a solution. Does anyone, please help me?</p>
<p>Real... | I am writing a sign-in page but the problem here is that every time I click on signin button it doesn't show my homepage but the words "please waiting" keep showing up. I am a newbie to java and firebase, I also searched a lot of websites but didn't find a solution. Does anyone, please help me? Realtime datab... | java|android|firebase|google-cloud-platform|firebase-realtime-database | 1 | 2022-09-17T08:59:25.487Z | 2,022 | 9 | 8 | 5 | 94 | 1 | 420 | 146 | 5 | 2 | true | false | false | false | false | false | low |
73,753,533 | What is the problem with this function Download on Kotlin? | <p>What is the problem with this function Download on Kotlin?</p>
<pre><code>fun download (progressCallback: (Float , Long) -> Unit , tries: Int = 1): YoutubeDLResponse? {
var retry = tries
check(initialized) { "youtube-dl was not initialized! call YoutubeDLWrapper.init() first!" }
var response... | What is the problem with this function Download on Kotlin? [CODE] | android|kotlin|download | -2 | 2022-09-17T09:00:30.637Z | 2,022 | 9 | 9 | 5 | 29 | 0 | 65 | 58 | 3 | 1 | true | true | false | false | false | true | negative |
73,753,545 | calling a suspended kotlin function from unity android wrapper | <p>i am writing unity plugin for android sdk.</p>
<p>in android sdk, there is file: OfferSDK.kt:</p>
<p>there is a function defined in it as below:</p>
<pre><code> suspend fun getOffers(): String {
// some stuffs going here ...
}
</code></pre>
<p>from unity side:
i have already added android framework aar file... | i am writing unity plugin for android sdk. in android sdk, there is file: OfferSDK.kt: there is a function defined in it as below: [CODE] from unity side: i have already added android framework aar file at Assets/Plugins/Android/ C# side code looks as below: [CODE] error i am getting is: [CODE] | java|android|kotlin|unity3d | 0 | 2022-09-17T09:01:45.330Z | 2,022 | 9 | 9 | 5 | 12 | 0 | 295 | 62 | 4 | 3 | true | true | false | false | false | false | zero |
73,753,644 | Setting Default orientation to landscape in jetpack compose? | <p>I saw in another question talking about how to find out the orientation, But I want to know how we can set the default orientation of an activity to Landscape in jetpack compose?</p>
<p>I searched through some websites and some videos in YouTube, but I couldn't find it. thanks for help</p> | I saw in another question talking about how to find out the orientation, But I want to know how we can set the default orientation of an activity to Landscape in jetpack compose? I searched through some websites and some videos in YouTube, but I couldn't find it. thanks for help | kotlin|android-jetpack-compose|android-jetpack|jetpack | 2 | 2022-09-17T09:21:47.913Z | 2,022 | 9 | 9 | 5 | 21 | 1 | 279 | 60 | 4 | 0 | false | false | false | false | false | false | low |
73,753,667 | How to get Android Documents folder storage permissions in Flutter? | <p>In my flutter app, I am trying to save a file downloaded from an API. It is sufficient to save the file to the Downloads directory, regardless of the file type.</p>
<p>My Android <code>compileSDK = 32</code>. I understand that <code>permissions_handler 10.0.0</code> does not support the API 33 permissions. I downgra... | In my flutter app, I am trying to save a file downloaded from an API. It is sufficient to save the file to the Downloads directory, regardless of the file type. My Android compileSDK = 32 . I understand that permissions_handler 10.0.0 does not support the API 33 permissions. I downgraded to 9.2.0 and it compiles. path_... | android|flutter | 0 | 2022-09-17T09:25:31.087Z | 2,022 | 9 | 9 | 5 | 162 | 4 | 1,040 | 67 | 2 | 4 | true | false | false | false | false | false | zero |
73,753,680 | Is it possible to register course and marks through single interface though they are different tables? | <p><a href="https://i.stack.imgur.com/IoGqv.png" rel="nofollow noreferrer">My Apps interfaces</a></p>
<p>Our login and Register User interface are working. Login button on login screen has intent activity for Studentactivity which shoudl show his subjects and final marks on list view. If first time we want to use butto... | My Apps interfaces Our login and Register User interface are working. Login button on login screen has intent activity for Studentactivity which shoudl show his subjects and final marks on list view. If first time we want to use button register course. This registercourse button is connecting intent to register course ... | android | 0 | 2022-09-17T09:26:36.497Z | 2,022 | 9 | 9 | 5 | 17 | 0 | 1,123 | 102 | 1 | 1 | true | true | false | false | false | false | zero |
73,753,828 | How can i solve this problem on VS Code for Flutter? | <p>Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.5.1-all.zip'.
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'.
A problem occurred configuring root project 'android'.
Could not resolve all... | Could not run phased build action using connection to Gradle distribution 'https://services.gradle.org/distributions/gradle-7.5.1-all.zip'. org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'android'. A problem occurred configuring root project 'android'. Could not resolve all fi... | java|android|flutter|visual-studio-code|gradle | -3 | 2022-09-17T09:49:04.017Z | 2,022 | 9 | 9 | 5 | 39 | 0 | 643 | 52 | 5 | 0 | false | true | false | false | false | true | negative |
73,753,866 | Show Data from Arraylist in list view in Kotlin and Android Studio | <p>In my code Im showing the project name in the list view. But I want to show the name of all added Contacts.</p>
<pre><code>showAllContactsBtn.setOnClickListener(){
val arrayAdapter: ArrayAdapter<Contact> = ArrayAdapter(
this,android.R.layout.simple_list_item_1,listOfAllNames
... | In my code Im showing the project name in the list view. But I want to show the name of all added Contacts. [CODE] How do I show the names like in Toast "list of All names . name"? | android-studio|kotlin|listview | 0 | 2022-09-17T09:53:57.670Z | 2,022 | 9 | 9 | 5 | 26 | 1 | 190 | 66 | 3 | 1 | true | false | false | false | false | false | zero |
73,753,907 | Android: is there a way to dump crash logs locally on test device with no computer connected | <p>I'm experiencing pesky SIGSEGV faults in my Android app. They are inconsistent to reproduce and mostly happen after my app has been restarted a couple of times. The problem is, when the app restarts, Android Studio stops showing the logs, making it very hard for me to figure out what the issue is. When I restart the... | I'm experiencing pesky SIGSEGV faults in my Android app. They are inconsistent to reproduce and mostly happen after my app has been restarted a couple of times. The problem is, when the app restarts, Android Studio stops showing the logs, making it very hard for me to figure out what the issue is. When I restart the ap... | android|android-studio|segmentation-fault|crash | 0 | 2022-09-17T10:00:14.173Z | 2,022 | 9 | 10 | 5 | 29 | 1 | 775 | 92 | 4 | 0 | false | false | false | false | false | false | zero |
73,753,933 | android emulator cannot launch | <p>i can't run my flutter emulator ,i tried everything deleteing android studio and user's data ,also creating new device this is what showed up to me :</p>
<p>NFO | Android emulator version 31.3.10.0 (build_id 8807927) (CL:N/A) emulator: INFO: Found systemPath C:\Users\SOFT\AppData\Local\Android\Sdk\system-images\andr... | i can't run my flutter emulator ,i tried everything deleteing android studio and user's data ,also creating new device this is what showed up to me : NFO | Android emulator version 31.3.10.0 (build_id 8807927) (CL:N/A) emulator: INFO: Found systemPath C:\Users\SOFT\AppData\Local\Android\Sdk\system-images\android-31\goo... | android-emulator | -1 | 2022-09-17T10:04:01.563Z | 2,022 | 9 | 10 | 5 | 34 | 0 | 975 | 30 | 1 | 0 | false | true | false | false | false | true | negative |
73,753,943 | How to show Drop down Menu where ever I touch in a box Jetpack Compose in android studio | <p>I want to show my DropdownMenu where ever I touch but it doesn't work. I used offset to set the location of my drop down menu but it doesn't work properly. It looks like it only sets the x value to the location of my drop down menu.</p>
<pre><code> var expanded by remember { mutableStateOf(false) }
... | I want to show my DropdownMenu where ever I touch but it doesn't work. I used offset to set the location of my drop down menu but it doesn't work properly. It looks like it only sets the x value to the location of my drop down menu. [CODE] | android|android-studio|drop-down-menu|android-jetpack-compose | 0 | 2022-09-17T10:04:57.687Z | 2,022 | 9 | 10 | 5 | 32 | 1 | 239 | 88 | 4 | 1 | true | false | false | false | false | false | zero |
73,754,015 | How to create a new Basic Activity (Material 3) Java Project? | <p>After many years I want to develop a hobby Android Project again. Many things changed, Im a Java developer and want to create a Java Android Project.</p>
<p>In Android Studio I choose new "Basic Activity (Material 3) Project. The "language" section is greyed out, and I cant switch from kotlin to java.... | After many years I want to develop a hobby Android Project again. Many things changed, Im a Java developer and want to create a Java Android Project. In Android Studio I choose new "Basic Activity (Material 3) Project. The "language" section is greyed out, and I cant switch from kotlin to java. Is this n... | android-studio | 0 | 2022-09-17T10:18:05.617Z | 2,022 | 9 | 10 | 5 | 13 | 0 | 392 | 61 | 1 | 0 | false | true | false | false | false | false | zero |
73,754,131 | How to correctly use flow and ProgressBar in Jetpack Compose? | <p>I have this code that increments a value in the database:</p>
<pre><code>override fun incrementQuantity() = flow {
try {
emit(Result.Loading)
heroIdRef.update("quantity", FieldValue.increment(1)).await()
emit(Result.Success(true))
} catch (e: Exception) {
emit(Result... | I have this code that increments a value in the database: [CODE] This function is called from within a ViewModel class, and then from a composable function I read the response like this: [CODE] This means that in the flow I receive two events, the first one is Loading, and the second one is the data or a failure. My qu... | android|kotlin|android-jetpack-compose|kotlin-coroutines|kotlin-flow | 0 | 2022-09-17T10:39:43.633Z | 2,022 | 9 | 10 | 5 | 118 | 2 | 566 | 61 | 5 | 5 | true | false | false | false | false | false | zero |
73,754,137 | How Android Room stores ByteArray as Blob? | <p>I'm storing ByteArray in room in this way :</p>
<pre><code>Entity {
@ColumnInfo(name = "pin", typeAffinity = ColumnInfo.BLOB)
val pin: ByteArray?
}
</code></pre>
<hr />
<pre><code>Dao {
@Query("UPDATE tbl SET pin=:pin WHERE id=:id")
fun updatePin(id: String, pin: ByteArr... | I'm storing ByteArray in room in this way : [CODE] [CODE] When I'm checking table data with Android Studio I see some data like this [CODE] So, my question is how room converts ByteArray to this data? And how we can re-convert this data to ByteArray in other languages or platforms? | android|android-room | -1 | 2022-09-17T10:40:08.570Z | 2,022 | 9 | 10 | 5 | 24 | 1 | 282 | 42 | 2 | 3 | true | false | false | false | false | true | negative |
73,754,188 | How to set Double back press Exit in Jetpack Compose? | <p>There are some tutorials on YouTube about how to set double back press exit in XML android, but most of them are in JAVA and None of them are in Jetpack Compose.</p>
<p>So how can we set that Double back press in Jetpack Compose?</p>
<p>I mean that thing that ask us in a Toast to press back again if we are sure to ... | There are some tutorials on YouTube about how to set double back press exit in XML android, but most of them are in JAVA and None of them are in Jetpack Compose. So how can we set that Double back press in Jetpack Compose? I mean that thing that ask us in a Toast to press back again if we are sure to Exit. Thanks for h... | kotlin|android-jetpack-compose|android-jetpack|jetpack | 1 | 2022-09-17T10:48:08.653Z | 2,022 | 9 | 10 | 5 | 29 | 1 | 323 | 53 | 4 | 0 | false | false | false | false | false | false | low |
73,754,212 | Replace getRunningServices(int) for a newer method | <p>I have a function that is using <code>getRunningServices(int)</code> and is working fine, but it is deprecated. I have searched in the forum similar questions and I have found one question with exactly the same function I am using, but the answers were just avoiding the problem, not solving it.</p>
<p>This is the si... | I have a function that is using getRunningServices(int) and is working fine, but it is deprecated. I have searched in the forum similar questions and I have found one question with exactly the same function I am using, but the answers were just avoiding the problem, not solving it. This is the similar post: similar pos... | java|android|deprecated|activity-manager | 1 | 2022-09-17T10:52:01.690Z | 2,022 | 9 | 10 | 5 | 26 | 0 | 468 | 50 | 4 | 1 | true | true | false | false | false | false | low |
73,754,228 | Need for API for NGO addresses | <p>basically, we are trying to build an NGO app that requires all the addresses of the NGOs nearby in the city and everywhere, and how do we link it with our app.</p> | basically, we are trying to build an NGO app that requires all the addresses of the NGOs nearby in the city and everywhere, and how do we link it with our app. | android|flutter|api|dart|location | -1 | 2022-09-17T10:53:26.457Z | 2,022 | 9 | 10 | 5 | 17 | 0 | 159 | 30 | 5 | 0 | false | true | false | false | false | true | negative |
73,754,257 | Android SIgnalR Java Client - OnErrorNotImplementedException | <p>recently started having this issue, I can't seem to reproduce it myself, but it's being reported on the crashlytics and is gaining momentum.</p>
<pre><code>Fatal Exception: io.reactivex.rxjava3.exceptions.OnErrorNotImplementedException: The exception was not handled due to missing onError handler in the subscribe() ... | recently started having this issue, I can't seem to reproduce it myself, but it's being reported on the crashlytics and is gaining momentum. [CODE] I can't even trace the issue as this is being reported on Crashlytics. Started receiving this issue since I upgraded the SignalR lib from 3.0.0 to 6.0.8. Here is the code t... | android|signalr|rx-java|signalr-hub|signalr.client | 1 | 2022-09-17T10:57:17.263Z | 2,022 | 9 | 10 | 5 | 48 | 1 | 422 | 60 | 5 | 4 | true | false | false | false | false | false | low |
73,754,294 | How to make android app available on a chrome book? | <p>I've got a android app on the play store that works perfectly for android phones and tablets, now I would like to make it availible for chromeOS chromebooks. Right now if I go to my app on the app store on a chromebook, it shows as unsupported for this device. How do I make it supported?</p>
<p>The <code>targetSdkVe... | I've got a android app on the play store that works perfectly for android phones and tablets, now I would like to make it availible for chromeOS chromebooks. Right now if I go to my app on the app store on a chromebook, it shows as unsupported for this device. How do I make it supported? The targetSdkVersion is 33, and... | android|google-chrome-os | -1 | 2022-09-17T11:00:51.437Z | 2,022 | 9 | 11 | 5 | 22 | 0 | 573 | 51 | 2 | 1 | true | true | false | false | false | true | negative |
73,754,307 | Android MainActivity Data Leak after Changing app to Darkmode | <p>I have a basic android app for now, where there's 2 fragments they are showing text only and 1 bottom navigation bar
The app checks if the default mode is Darkmode or no so i can update my design... For some reason after changing the app to dark mode or light mode, The app flashes and onDestroy is called and there's... | I have a basic android app for now, where there's 2 fragments they are showing text only and 1 bottom navigation bar The app checks if the default mode is Darkmode or no so i can update my design... For some reason after changing the app to dark mode or light mode, The app flashes and onDestroy is called and there's a ... | android|kotlin|memory-leaks|leakcanary | 2 | 2022-09-17T11:02:37.843Z | 2,022 | 9 | 11 | 5 | 828 | 2 | 423 | 61 | 4 | 4 | true | false | false | false | false | false | low |
73,754,489 | Using Shimmer Effect with RecyclerView Firebase | <p>I want to use shimmer effect to my recyclerview with firebase databse to get the data , I knew how to make the shimmer but what I need is how to stop the shimmer when the data load in recyclerview , is there a method so that I can know when the data load so I can make shimmer stop</p>
<p>here is my code that has rec... | I want to use shimmer effect to my recyclerview with firebase databse to get the data , I knew how to make the shimmer but what I need is how to stop the shimmer when the data load in recyclerview , is there a method so that I can know when the data load so I can make shimmer stop here is my code that has recycler [COD... | java|android | -2 | 2022-09-17T11:33:08.727Z | 2,022 | 9 | 11 | 5 | 37 | 0 | 324 | 47 | 2 | 1 | true | true | false | false | false | true | negative |
73,754,523 | Could not find method compile() for arguments [project ':react-native-facebook-login'] | <p>I am facing this issue while linking the react-native-facebook-login in the app same as described in the steps of the android linking steps</p>
<p><a href="https://prnt.sc/UKcnnOWr254W" rel="nofollow noreferrer">Image 1</a></p>
<p>here is my package.json dependencies list: -</p>
<pre><code> "dependencies":... | I am facing this issue while linking the react-native-facebook-login in the app same as described in the steps of the android linking steps Image 1 here is my package.json dependencies list: - [CODE] I also changed the codes in relevent files as shown in the steps of this repository about android so i am attaching the ... | android|react-native|facebook-login | 0 | 2022-09-17T11:38:03.667Z | 2,022 | 9 | 11 | 5 | 19 | 0 | 464 | 86 | 3 | 2 | true | true | false | false | false | false | zero |
73,754,576 | Console stay silent after some time of usage while using wireless debugging | <p>I have repeated problems with wireless debugging that moves from one update to another. Console stops outputting after some minutes of use. Then I have to do <code>adb kill-server</code> and ask god that it actually starts working or try Logcat to find if I have some luck there. Pretty annoying and lowering my pro... | I have repeated problems with wireless debugging that moves from one update to another. Console stops outputting after some minutes of use. Then I have to do adb kill-server and ask god that it actually starts working or try Logcat to find if I have some luck there. Pretty annoying and lowering my productivity that wir... | android|debugging|adb | 0 | 2022-09-17T11:48:27.357Z | 2,022 | 9 | 11 | 5 | 11 | 0 | 457 | 75 | 3 | 0 | false | true | false | false | false | false | zero |
73,754,632 | Easiest way how to take a screenshot using OverlayService Button | <p>Is it possible to make a screenshot of a phone screen beyond the Activity background?
I want to realize an Overlay button which will make a screenshots of work of other applications on phone.
The first try in this direction was performed in this discussion <a href="https://stackoverflow.com/questions/41887748/taking... | Is it possible to make a screenshot of a phone screen beyond the Activity background? I want to realize an Overlay button which will make a screenshots of work of other applications on phone. The first try in this direction was performed in this discussion Taking screenshot using OverlayService Button , but the problem... | android|kotlin|overlay | 0 | 2022-09-17T11:59:20.913Z | 2,022 | 9 | 11 | 5 | 7 | 0 | 335 | 64 | 3 | 0 | false | true | false | false | false | false | zero |
73,754,651 | How to set year limit in MaterialDatePicker dialog Android Studio | <p>I'm having trouble set max. and min. years in Material Design Datepickerdialog, also put an image of the Material Date picker dialog box where only one year is being shown.</p>
<p><strong>Below is Code</strong></p>
<pre><code> long today = MaterialDatePicker.todayInUtcMilliseconds();
Calendar calendar... | I'm having trouble set max. and min. years in Material Design Datepickerdialog, also put an image of the Material Date picker dialog box where only one year is being shown. Below is Code [CODE] | android|material-ui|material-design|material-components-android|materialdatepicker | 1 | 2022-09-17T12:02:18.367Z | 2,022 | 9 | 12 | 5 | 48 | 1 | 193 | 65 | 5 | 1 | true | false | false | false | false | false | low |
73,754,789 | How can I find point position in fragment shader? | <p>I need to add a new element to Carto map engine to draw a circle with a bit gradient inside it.</p>
<ul>
<li><p>First I draw a square; I'm doing that with drawing two triangles beside in the map using <code>glDrawElements</code> method and <code>GL_TRIANGLES</code>.</p>
</li>
<li><p>Second thing I need is to find th... | I need to add a new element to Carto map engine to draw a circle with a bit gradient inside it. First I draw a square; I'm doing that with drawing two triangles beside in the map using glDrawElements method and GL_TRIANGLES . Second thing I need is to find the point position in that square inside the fragment shader bu... | android|opengl-es|glsl|shader|opengl-es-2.0 | 0 | 2022-09-17T12:21:34.857Z | 2,022 | 9 | 12 | 5 | 16 | 0 | 537 | 49 | 5 | 2 | true | true | false | false | false | false | zero |
73,754,841 | Android NestedScrollview add animation on card when User scroll up or dow | <p>I wanted to implement scroll animation like <a href="https://technext.github.io/seogram/html/index.html" rel="nofollow noreferrer">on scroll animation template</a> in android. when you scoll on the link , animation begins</p>
<p>I have a multiples Cards inside NestedScrollview. I have added listener setOnScrollChang... | I wanted to implement scroll animation like on scroll animation template in android. when you scoll on the link , animation begins I have a multiples Cards inside NestedScrollview. I have added listener setOnScrollChangeListener on nested scroll view to know whether user is scroll up or down as below : [CODE] I am not ... | android|android-animation|android-nestedscrollview | 0 | 2022-09-17T12:28:02.410Z | 2,022 | 9 | 12 | 5 | 15 | 0 | 505 | 73 | 3 | 2 | true | true | false | false | false | false | zero |
73,754,844 | Xamarin Android - Moving Image Background | <p>I'm trying to make a moving background animation like this one
<a href="https://www.youtube.com/watch?v=eXwQjUwEa40" rel="nofollow noreferrer">https://www.youtube.com/watch?v=eXwQjUwEa40</a> but in Xamarin Android C#.
Any suggestions?</p> | I'm trying to make a moving background animation like this one https://www.youtube.com/watch?v=eXwQjUwEa40 but in Xamarin Android C#. Any suggestions? | android|xamarin|animation | 0 | 2022-09-17T12:28:15.753Z | 2,022 | 9 | 12 | 5 | 30 | 1 | 150 | 41 | 3 | 0 | false | false | false | false | false | false | zero |
73,754,955 | Compose UI freezing after Restart | <p>So I've built an music player app using pur Jetpack Compose. Now when I reopen my app after sending it to the background either throw the notification (via an Intent) or by clicking on the icon, it takes about 5-12 seconds for the app to update the UI, for all these seconds the screen is either black or it show a fr... | So I've built an music player app using pur Jetpack Compose. Now when I reopen my app after sending it to the background either throw the notification (via an Intent) or by clicking on the icon, it takes about 5-12 seconds for the app to update the UI, for all these seconds the screen is either black or it show a froze... | android|user-interface|android-jetpack-compose|freeze|restart | 0 | 2022-09-17T12:45:42.963Z | 2,022 | 9 | 12 | 5 | 27 | 0 | 417 | 33 | 5 | 0 | false | true | false | false | false | false | zero |
73,755,058 | How to Run android emulator out side of android studio? | <p><a href="https://i.stack.imgur.com/qWp8K.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>using android studio chipmunk 2021, windows 11, flutter 3.
today when wanted to lunch android studio and the emulator, it asked for something , and i accepted, now cant access my emulator out side of andro... | enter image description here using android studio chipmunk 2021, windows 11, flutter 3. today when wanted to lunch android studio and the emulator, it asked for something , and i accepted, now cant access my emulator out side of android studio, i write code with vs code not android studio beforr now, when i run android... | android|flutter|android-studio|android-emulator | 0 | 2022-09-17T13:00:38.910Z | 2,022 | 9 | 13 | 5 | 27 | 2 | 583 | 55 | 4 | 0 | false | false | false | false | false | false | zero |
73,755,074 | Gradle error while run application in vscode | <p>i've got an gradle error while i want to run my application in vs code :
problem occurred configuring root project 'android'.</p>
<blockquote>
<p>Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools.build:gradle:4.1.1.
Searched in the following locations:
- <a href="https://dl... | i've got an gradle error while i want to run my application in vs code : problem occurred configuring root project 'android'. Could not resolve all files for configuration ':classpath'. Could not find com.android.tools.build:gradle:4.1.1. Searched in the following locations: - https://dl.google.com/dl/android/maven2/co... | android|gradle | 0 | 2022-09-17T13:02:12.550Z | 2,022 | 9 | 13 | 5 | 23 | 0 | 693 | 44 | 2 | 0 | false | true | false | false | false | false | zero |
73,755,163 | How to include multiple directories in Android auto backup rule? | <p>I have the following Android backup rule.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<full-backup-content>
<!-- /data/user/0/com.xxx.yyy/databases -->
<include domain="database" path="." />
<!-- /data/user/0/com.xxx.yyy/shared... | I have the following Android backup rule. [CODE] However, I notice, by doing so, strangely only /storage/emulated/0/Android/data/com.xxx.yyy/files/recording is backup/ restore successfully. /storage/emulated/0/Android/data/com.xxx.yyy/files/attachment is ignored. But, if I change the rule to [CODE] /storage/emulated/0/... | android | 2 | 2022-09-17T13:14:07.760Z | 2,022 | 9 | 13 | 5 | 60 | 1 | 725 | 64 | 1 | 2 | true | false | false | false | false | false | low |
73,755,174 | Animation Drawable Won't Resize Properly | <p>I have a walking dinosaur that I animate using an animation drawable</p>
<pre><code><animation-list xmlns:android="http://schemas.android.com/apk/res/android"
android:oneshot="false">
<item android:drawable="@drawable/dino1" android:duration="@integer/dino_dino&quo... | I have a walking dinosaur that I animate using an animation drawable [CODE] I want to establish its width using guidelines and calculate its height automatically. I'm accustomed to scaleType doing that for me normal pictures. Like this: [CODE] Indeed, if I add the following line to the above ImageView definition (that ... | android|animation|imageview|animationdrawable | 0 | 2022-09-17T13:15:02.337Z | 2,022 | 9 | 13 | 5 | 30 | 1 | 965 | 40 | 4 | 6 | true | false | false | false | false | false | zero |
73,755,201 | App crashes after clicking on setting before the content is loaded | <p>My app crashes or goes back to home screen when someone click twice on settings in exo player, pressing it once shows " Please wait for the content to load " toast but pressing it twice crashes the app, although after the content is loaded the app doesn't crash, you can click on it as many times as you wan... | My app crashes or goes back to home screen when someone click twice on settings in exo player, pressing it once shows " Please wait for the content to load " toast but pressing it twice crashes the app, although after the content is loaded the app doesn't crash, you can click on it as many times as you want. ... | java|android | -2 | 2022-09-17T13:17:43.247Z | 2,022 | 9 | 13 | 5 | 55 | 1 | 345 | 66 | 2 | 1 | true | false | false | false | false | true | negative |
73,755,214 | How to convert an open source android studio project into a dependency for another? | <p>There is an android studio project that makes use of a library called com.github.nanchen2251:CompressHelper:1.0.6. The same was added in the build.gradle as an implementation in the dependencies section.</p>
<p>But unfortunately while trying to sync gradle the same dependency fails, gateway is returning bad request.... | There is an android studio project that makes use of a library called com.github.nanchen2251:CompressHelper:1.0.6. The same was added in the build.gradle as an implementation in the dependencies section. But unfortunately while trying to sync gradle the same dependency fails, gateway is returning bad request. But at th... | android|android-studio|jar|build.gradle|aar | 0 | 2022-09-17T13:19:42.323Z | 2,022 | 9 | 13 | 5 | 30 | 1 | 3,667 | 83 | 5 | 0 | false | false | false | false | false | false | zero |
73,755,434 | Get short weekdays names for Portuguese language in Android | <p>I need to return the short version of the weekdays names using <a href="https://developer.android.com/reference/java/text/DateFormatSymbols#getShortWeekdays()" rel="nofollow noreferrer">getShortWeekdays()</a> in Android. I tested with different device language settings. Although it seems to be working with various l... | I need to return the short version of the weekdays names using getShortWeekdays() in Android. I tested with different device language settings. Although it seems to be working with various language settings, unfortunately when the selected language is Portuguese (Portugal), it returns the full day names. Any advice? [C... | android | -1 | 2022-09-17T13:54:46.337Z | 2,022 | 9 | 13 | 5 | 37 | 1 | 480 | 59 | 1 | 4 | true | false | false | false | false | true | negative |
73,755,435 | Data pull error in Android SQLite database operations | <p>I have problems extracting data from an Android SQLite database. The only solution is to lower the SDK, but I am getting errors when thinking of the SDK. Does anyone have a solution for this issue?</p>
<p><a href="https://i.stack.imgur.com/xYWiv.png" rel="nofollow noreferrer">My code</a>.</p> | I have problems extracting data from an Android SQLite database. The only solution is to lower the SDK, but I am getting errors when thinking of the SDK. Does anyone have a solution for this issue? My code . | java|android|sqlite|sdk | -3 | 2022-09-17T13:55:15.593Z | 2,022 | 9 | 13 | 5 | 30 | 1 | 207 | 53 | 4 | 0 | false | false | false | false | false | true | negative |
73,755,497 | How to get access of a particular external folder on which i can perform CRUD operation in android 11 and higher | <p>What the need?</p>
<p>i have an app which deletes particular image (which user selects) in the background using a foreground service. Using the below code</p>
<pre><code>private void deleteTheFile(String path) {
File fdelete = new File(path);
if (fdelete.exists()) {
if (fdelete.delete()) {
... | What the need? i have an app which deletes particular image (which user selects) in the background using a foreground service. Using the below code [CODE] Its working fine upto android 10 (its working in android 10 as well because of the legacy code request in the manifest file) but as everyone know in android 11 whole... | android|kotlin|android-11|scoped-storage | 0 | 2022-09-17T14:02:42.440Z | 2,022 | 9 | 14 | 5 | 25 | 0 | 996 | 112 | 4 | 1 | true | true | false | false | false | false | zero |
73,755,549 | This process cannot access the file because the file is being used by another process (java.nio.file.FileSystemException) in KOTLIN | <p>In Kotlin when I tried to run file I faced with this issue.
It says 'This process cannot access the file because the file is being used by another process' here in English.</p>
<p><strong>This is the command line error in compile time</strong>
<a href="https://i.stack.imgur.com/ddFsB.png" rel="nofollow noreferrer"><... | In Kotlin when I tried to run file I faced with this issue. It says 'This process cannot access the file because the file is being used by another process' here in English. This is the command line error in compile time | java|android-studio|kotlin|android-jetpack-compose|compile-time | 0 | 2022-09-17T14:10:42.530Z | 2,022 | 9 | 14 | 5 | 25 | 1 | 219 | 131 | 5 | 0 | false | false | false | false | false | false | zero |
73,755,616 | I created a new project in Android Studio and an error pops up: | <p>I am trying to build my first android studio project (whit kotlin language)
but I get this errors:
org.gradle.api.internal.artifacts.ivyservice.Defaultlenintconfiguration$artifactResolveException:could not resolve all artifacts for configuration ':classpath'.</p>
<p>org.gradle.internal.resolve.ModuleversionReolveExc... | I am trying to build my first android studio project (whit kotlin language) but I get this errors: org.gradle.api.internal.artifacts.ivyservice.Defaultlenintconfiguration$artifactResolveException:could not resolve all artifacts for configuration ':classpath'. org.gradle.internal.resolve.ModuleversionReolveException:cou... | android|kotlin|build | -2 | 2022-09-17T14:19:44.313Z | 2,022 | 9 | 14 | 5 | 28 | 0 | 823 | 63 | 3 | 0 | false | true | false | false | false | true | negative |
73,755,669 | How to create a large scale money conversion algorithm in java | <p>I was just trying to create this small android app in android studio to convert currency.</p>
<p>I used 2 <code>Spinner</code> objects to hold only 3 values (USD, POUND, EURO) :</p>
<pre class="lang-java prettyprint-override"><code> if(actualType.equals("USD")){
if(wanted... | I was just trying to create this small android app in android studio to convert currency. I used 2 Spinner objects to hold only 3 values (USD, POUND, EURO) : [CODE] With if-else the code is too long for a combination of only 3 choices (input + output). i was just wondering is there a better algorithm to do this ? How d... | java|android | 0 | 2022-09-17T14:26:49.117Z | 2,022 | 9 | 14 | 5 | 37 | 1 | 386 | 62 | 2 | 1 | true | false | false | false | false | false | zero |
73,755,685 | Get page source, place it in file .txt Android Java | <p>I want to make it so that the code gets the source code of a website, and simply places it in source.txt.</p>
<p>Explanation: Code goes to URL, gets the Source Code, places in source.txt, Saves in specific location</p>
<p>Currently I don't know what to look out for, or what to do.
Hope anyone can help !</p> | I want to make it so that the code gets the source code of a website, and simply places it in source.txt. Explanation: Code goes to URL, gets the Source Code, places in source.txt, Saves in specific location Currently I don't know what to look out for, or what to do. Hope anyone can help ! | java|android|file | 0 | 2022-09-17T14:28:47.940Z | 2,022 | 9 | 14 | 5 | 12 | 0 | 290 | 51 | 3 | 0 | false | true | false | false | false | false | zero |
73,755,688 | How to use mutableStateListOf in compose | <p>Items get displayed as duplicates when I use <code>remember</code> with <code>mutableStateListOf</code>. so whats the right way of creating a mutable list that can hold a list of data classes in a composable.</p>
<p>sample code:</p>
<pre><code>@Composable
fun WallpapersDetailScreen{
val items = remember {
... | Items get displayed as duplicates when I use remember with mutableStateListOf . so whats the right way of creating a mutable list that can hold a list of data classes in a composable. sample code: [CODE] | android|android-studio|kotlin|android-jetpack-compose | 0 | 2022-09-17T14:29:18.953Z | 2,022 | 9 | 14 | 5 | 47 | 1 | 203 | 40 | 4 | 1 | true | false | false | false | false | false | zero |
73,755,817 | Why are the icons not displayed in react native? | <p>I am trying to put icons for FAB and buttons. But the icons are not displayed.
I don't know if I am doing the right thing or not?! I just want to be able to use the following code to display the icons.</p>
<p>react native : 0.69.5</p>
<p>@rneui/base: ^0.0.0-edge.2</p>
<p>@rneui/themed: ^0.0.0-edge.2</p>
<p>react-nat... | I am trying to put icons for FAB and buttons. But the icons are not displayed. I don't know if I am doing the right thing or not?! I just want to be able to use the following code to display the icons. react native : 0.69.5 @rneui/base: ^0.0.0-edge.2 @rneui/themed: ^0.0.0-edge.2 react-native-vector-icons: ^9.2.0 <... | android|react-native|react-native-vector-icons | 0 | 2022-09-17T14:46:15.257Z | 2,022 | 9 | 14 | 5 | 52 | 1 | 868 | 48 | 3 | 4 | true | false | false | false | false | false | zero |
73,755,855 | Failed to install HAXM while using Android Virtual Mananger from Android Studio | <p>A solução é apenas:</p>
<ul>
<li>Choose a device that doesn't have PLAYSTORE. Whenever you assemble an emulator, choose one that does not have PLATSTORE;</li>
<li>Activate Hyper-V by checking the box in "TURN WINDOWS FEATURES ON OR OFF;<a href="https://i.stack.imgur.com/86cWe.png" rel="nofollow noreferrer">ente... | A solução é apenas: Choose a device that doesn't have PLAYSTORE. Whenever you assemble an emulator, choose one that does not have PLATSTORE; Activate Hyper-V by checking the box in "TURN WINDOWS FEATURES ON OR OFF; enter image description here | android|react-native|android-studio|android-emulator|haxm | -2 | 2022-09-17T14:50:47.423Z | 2,022 | 9 | 14 | 5 | 16 | 0 | 248 | 79 | 5 | 0 | false | true | false | false | false | true | negative |
73,755,878 | How to replace adapter list of data without refreshing the recyclerview | <p>i have recyclerView in my fragment and i want to change the list of data in the recyclerView adapter without refreshing the recyclerView
i am using this two functions like that</p>
<p>mAdapter.clearList()
mAdapter.addItems(newList)</p>
<p>but there is a quick refresh because of clearList() function
anyone have bette... | i have recyclerView in my fragment and i want to change the list of data in the recyclerView adapter without refreshing the recyclerView i am using this two functions like that mAdapter.clearList() mAdapter.addItems(newList) but there is a quick refresh because of clearList() function anyone have better function to use... | android|kotlin|android-recyclerview|adapter | 0 | 2022-09-17T14:53:04.310Z | 2,022 | 9 | 14 | 5 | 21 | 1 | 327 | 71 | 4 | 1 | true | false | false | false | false | false | zero |
73,755,886 | Android lag after OOM crash | <p>I'm currently serving a kiosk application on a dedicated tablet.</p>
<p>Most of them works well, but in some uncertain cases, an OOM crashed the app.</p>
<p>I use the below library to revive my app with the code inside my Application class.</p>
<pre><code>com.jakewharton:process-phoenix:2.0.0
this.uncaughtExceptio... | I'm currently serving a kiosk application on a dedicated tablet. Most of them works well, but in some uncertain cases, an OOM crashed the app. I use the below library to revive my app with the code inside my Application class. [CODE] The app revives but after it, severe lags occur. When the app starts fresh within a re... | android|kiosk|oom | 0 | 2022-09-17T14:54:11.293Z | 2,022 | 9 | 14 | 5 | 14 | 1 | 691 | 27 | 3 | 1 | true | false | false | false | false | false | zero |
73,755,893 | why i am getting this error while using extraput func in Android Studio-Kotlin | <p><a href="https://i.stack.imgur.com/nxOxf.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>getting this as an error-></p>
None of the following functions can be called with the arguments supplied:<br/>public open fun putExtra(name: String!, value: Bundle?): Intent defined in android.content.I... | enter image description here getting this as an error-> None of the following functions can be called with the arguments supplied: public open fun putExtra(name: String!, value: Bundle?): Intent defined in android.content.Intent public open fun putExtra(name: String!, value: Parcelable?): Intent defined in android.cont... | android-studio|kotlin | 0 | 2022-09-17T14:54:40.473Z | 2,022 | 9 | 14 | 5 | 22 | 1 | 2,562 | 78 | 2 | 0 | false | false | false | false | false | false | zero |
73,755,941 | How to keep a button in a fixed place when adding lines to the TextView above? | <p>In Android Studio I have a ScrollView and inside a layout with TextView, ImageView, another few objects and then a button.
In my app everytime you click on the button, the TextView adds another line (up to a limit), how can I prevent the button changing its place in the layout when adding a new line? (All of the obj... | In Android Studio I have a ScrollView and inside a layout with TextView, ImageView, another few objects and then a button. In my app everytime you click on the button, the TextView adds another line (up to a limit), how can I prevent the button changing its place in the layout when adding a new line? (All of the object... | java|android|android-layout|android-button | 0 | 2022-09-17T14:59:40.330Z | 2,022 | 9 | 14 | 5 | 21 | 0 | 396 | 78 | 4 | 1 | true | true | false | false | false | false | zero |
73,755,973 | "Physical Activity" permission dialog not visble - MacOS | <p>"Physical Activity" permission dialog not visible when i debug app in Mac-OS, if i do same in Windows-OS permission dialog is visible and everything works fine.</p>
<p><a href="https://i.stack.imgur.com/ATZzb.jpg" rel="nofollow noreferrer">Physical Activity Dialog Screenshot here</a></p>
<p>Any idea what i... | "Physical Activity" permission dialog not visible when i debug app in Mac-OS, if i do same in Windows-OS permission dialog is visible and everything works fine. Physical Activity Dialog Screenshot here Any idea what i am doing wrong, I am using Android Studio as my IDE. | java|android|android-studio|google-fit|google-fit-sdk | -1 | 2022-09-17T15:03:47.820Z | 2,022 | 9 | 15 | 5 | 22 | 1 | 280 | 56 | 5 | 0 | false | false | false | false | false | true | negative |
73,755,997 | Flutter: TCP socket connection fails on real device | <p>I'm posting this even though I already solved the issue, because I spent more than an hour trying to figure out what was causing it, and might help someone else.</p>
<hr />
<p>I have a simple application that connects to a server through a <strong>TCP socket</strong>. It works fine inside the debugger with the devic... | I'm posting this even though I already solved the issue, because I spent more than an hour trying to figure out what was causing it, and might help someone else. I have a simple application that connects to a server through a TCP socket . It works fine inside the debugger with the device emulator, but when I deploy it ... | android|flutter|sockets|tcp | 0 | 2022-09-17T15:07:33.337Z | 2,022 | 9 | 15 | 5 | 56 | 1 | 810 | 51 | 4 | 3 | true | false | false | false | false | false | zero |
73,756,056 | Github Action packages Flutter APK, prompting inconsistent app signatures | <p>I use Github Action to automatically package the Android APK file (same signature file), but when installing to the phone, it prompts: "The signature of the app is inconsistent with the signature of the installed app". Does anyone know how to deal with it? Thank you!</p>
<p>My process configuration:</p>
<p... | I use Github Action to automatically package the Android APK file (same signature file), but when installing to the phone, it prompts: "The signature of the app is inconsistent with the signature of the installed app". Does anyone know how to deal with it? Thank you! My process configuration: [CODE] | android|flutter|github-actions | 0 | 2022-09-17T15:14:33.980Z | 2,022 | 9 | 15 | 5 | 11 | 1 | 310 | 73 | 3 | 1 | true | false | false | false | false | false | zero |
73,756,134 | How can I find TouchableOpacity component's delayLongPress property default value in React Native? | <p>I couldn't find any docs or knowledge about this value. Are these values determined at the java level for android?</p> | I couldn't find any docs or knowledge about this value. Are these values determined at the java level for android? | android|react-native | 0 | 2022-09-17T15:23:35.883Z | 2,022 | 9 | 15 | 5 | 21 | 2 | 114 | 98 | 2 | 0 | false | false | false | false | false | false | zero |
73,756,225 | Flutter UI is still freezing when using isolate | <p>I am developing an application in Flutter where I need to implement an image selection function like in instagram.
But there is an issue, my app UI is freezing when trying to get and compress files from user phone gallery.</p>
<p>This is my first experience with flutter isolates, but as far as i know it should work ... | I am developing an application in Flutter where I need to implement an image selection function like in instagram. But there is an issue, my app UI is freezing when trying to get and compress files from user phone gallery. This is my first experience with flutter isolates, but as far as i know it should work without fr... | android|flutter|dart|flutter-layout|dart-isolates | 0 | 2022-09-17T15:37:39.660Z | 2,022 | 9 | 15 | 5 | 34 | 1 | 1,274 | 47 | 5 | 6 | true | false | false | false | false | false | zero |
73,756,327 | IpSecManager public functions not usable | <p>I am trying to implement the <code>UdpEncapsulationSocket</code> in Android.
The only things exposed by the <code>IpSecManager</code> are 2 exceptions and 2 nested classes.
I've looked into the documentation and there should be many more public functions.
I've also tried to ignore the ide errors but then i receive a... | I am trying to implement the UdpEncapsulationSocket in Android. The only things exposed by the IpSecManager are 2 exceptions and 2 nested classes. I've looked into the documentation and there should be many more public functions. I've also tried to ignore the ide errors but then i receive a compile error. So do you hav... | java|android|kotlin | 0 | 2022-09-17T15:52:13.957Z | 2,022 | 9 | 15 | 5 | 15 | 0 | 405 | 40 | 3 | 0 | false | true | false | false | false | false | zero |
73,756,344 | Third Text layer in a function is overlapping in Jetpack Compose- Android Studio | <p>I was trying to build basic app with jetpack compose.
I tried this:</p>
<pre><code>@Composable
fun thisWillAppearInView(){
Text(text = "Hello")
Text(text = "\nLarger font")
}
</code></pre>
<p>this worked completely fine.<a href="https://i.stack.imgur.com/Ikpja.png" rel="nofollow noreferre... | I was trying to build basic app with jetpack compose. I tried this: [CODE] this worked completely fine. But when I tried to use the third Text Function, the preview started getting overlapped. The code was like this: [CODE] | android|kotlin|android-jetpack-compose | 0 | 2022-09-17T15:54:56.233Z | 2,022 | 9 | 15 | 5 | 16 | 1 | 223 | 80 | 3 | 2 | true | false | false | false | false | false | zero |
73,756,385 | Android - Test Pending Purchases with Subscriptions | <p>I am trying to test pending purchases on Android for my app which is going to have subscriptions. At the moment I see:</p>
<ol>
<li>Test card always approves.</li>
<li>Test card always declines.</li>
</ol>
<p>I need to see:</p>
<ol>
<li>Test card slow to approve.</li>
<li>Test card slow to decline.</li>
</ol>
<p>How... | I am trying to test pending purchases on Android for my app which is going to have subscriptions. At the moment I see: Test card always approves. Test card always declines. I need to see: Test card slow to approve. Test card slow to decline. How can I see these payment instruments when making a test purchase? | android|xamarin.forms|in-app-billing|subscription | 0 | 2022-09-17T16:00:41.017Z | 2,022 | 9 | 16 | 5 | 30 | 1 | 310 | 51 | 4 | 0 | false | false | false | false | false | false | zero |
73,756,389 | Change Push Notification background color on Android 12 | <p>I want to achieve something like Myntra App Notifications where i can change the background color of my notification in Android 12</p>
<p>Since Android 12 have restricted custom notifications how can we set the color for whole notification?</p>
<p><a href="https://i.stack.imgur.com/VFcR7.jpg" rel="nofollow noreferre... | I want to achieve something like Myntra App Notifications where i can change the background color of my notification in Android 12 Since Android 12 have restricted custom notifications how can we set the color for whole notification? | android|push-notification|notifications|firebase-cloud-messaging|android-12 | 0 | 2022-09-17T16:01:15.153Z | 2,022 | 9 | 16 | 5 | 41 | 1 | 233 | 55 | 5 | 0 | false | false | false | false | false | false | zero |
73,756,453 | How can I get TextField value from another composable function in Jetpack Compose | <p>I have created one function called <code>TextInput</code> that contained <code>TextField</code></p>
<pre><code>@Composable
fun TextInput(
inputType: InputType
) {
var value by remember { mutableStateOf("") }
TextField(
modifier = Modifier.clip(RoundedCornerShape(30.dp)),
value ... | I have created one function called TextInput that contained TextField [CODE] Now on click of the button SIGN UP\SIGN IN I want to access the value and show success/error based on validation. [CODE] If you want to see whole code to understand what i mean exactly. [CODE] Is this code correct or should I put a function fo... | android|android-jetpack-compose|android-compose-textfield | 1 | 2022-09-17T16:08:08.127Z | 2,022 | 9 | 16 | 5 | 40 | 1 | 417 | 81 | 3 | 3 | true | false | false | false | false | false | low |
73,756,533 | Saving "LinkedHashMap<String, Point[]>" for later use? | <p>I am trying to save the value of "LinkedHashMap<String, Point[]>" for later use, so far I have tried using "SharedPreferences" and "ObjectOutputStream , writeObject", but both did not work and the problem is "I guess" in the value in the LinkedHashMap where it is Array ... | I am trying to save the value of "LinkedHashMap<String, Point[]>" for later use, so far I have tried using "SharedPreferences" and "ObjectOutputStream , writeObject", but both did not work and the problem is "I guess" in the value in the LinkedHashMap where it is Array of points.... | java|android|linkedhashmap | -1 | 2022-09-17T16:20:04.163Z | 2,022 | 9 | 16 | 5 | 48 | 0 | 1,041 | 54 | 3 | 0 | false | true | false | false | false | true | negative |
73,756,541 | MaterialToolbar not scrolling when using a recyclerview | <p>I am trying to hide the toolbar when scrolling through a recyclerview. If i am wrapping the recyclerview with a nestedscrollview, scrolling happens but my performance is killed because it doesn't recycle my views. Do i have to use a nestedscrollingview or is there any other way to fix this?</p>
<p>Current layout:</p... | I am trying to hide the toolbar when scrolling through a recyclerview. If i am wrapping the recyclerview with a nestedscrollview, scrolling happens but my performance is killed because it doesn't recycle my views. Do i have to use a nestedscrollingview or is there any other way to fix this? Current layout: [CODE] | android|android-recyclerview|android-toolbar|android-nestedscrollview | 0 | 2022-09-17T16:21:00Z | -1 | -1 | -1 | -1 | 11 | 0 | 314 | 55 | 4 | 1 | true | true | false | false | false | false | zero |
73,756,548 | error opening Emulator in flutter in android studio | <p>error opening Emulator in flutter in android studio</p>
<p>NFO | Android emulator version 31.3.10.0 (build_id 8807927) (CL:N/A) emulator: INFO: Found systemPath C:\Users\Andy\AppData\Local\Android\Sdk\system-images\android-30\google_apis\x86\ emulator: INFO: Found systemPath C:\Users\Andy\AppData\Local\Android\Sdk\s... | error opening Emulator in flutter in android studio NFO | Android emulator version 31.3.10.0 (build_id 8807927) (CL:N/A) emulator: INFO: Found systemPath C:\Users\Andy\AppData\Local\Android\Sdk\system-images\android-30\google_apis\x86\ emulator: INFO: Found systemPath C:\Users\Andy\AppData\Local\Android\Sdk\system-imag... | android|flutter|android-studio|dart | 0 | 2022-09-17T16:22:11.970Z | 2,022 | 9 | 16 | 5 | 72 | 0 | 352 | 51 | 4 | 0 | false | true | false | false | false | false | zero |
73,756,592 | What does the error "Failed resolution of: Lorg/tensorflow/lite/gpu/GpuDelegateFactory$Options" mean? | <p>I'm trying to run a TensorflowLite object detection app with custom model on emulator (Pixel_2_API_30) in Android Studio. Earlier I tried to run the app on real device (Redmi Note 5) and everything worked fine. When I launch on virtual device firstly I see the background of my MainActivity and then everything disapp... | I'm trying to run a TensorflowLite object detection app with custom model on emulator (Pixel_2_API_30) in Android Studio. Earlier I tried to run the app on real device (Redmi Note 5) and everything worked fine. When I launch on virtual device firstly I see the background of my MainActivity and then everything disappear... | java|android|gpu|tensorflow-lite | 0 | 2022-09-17T16:28:09.990Z | 2,022 | 9 | 16 | 5 | 38 | 1 | 571 | 101 | 4 | 3 | true | false | false | false | false | false | zero |
73,756,616 | repopulating room database by deleting all the content | <p>I now finished the android codelab about room db with MVVM arch. But there is one part that i didn't exactly understand. This is a sentence from the codelab:</p>
<blockquote>
<p>To delete all content and repopulate the database
whenever the app is created, you'll create a RoomDatabase.Callback and override onCreate(... | I now finished the android codelab about room db with MVVM arch. But there is one part that i didn't exactly understand. This is a sentence from the codelab: To delete all content and repopulate the database whenever the app is created, you'll create a RoomDatabase.Callback and override onCreate(). and this is the code... | android|mvvm|android-room | 0 | 2022-09-17T16:30:27.420Z | 2,022 | 9 | 16 | 5 | 17 | 1 | 717 | 54 | 3 | 1 | true | false | false | false | false | false | zero |
73,756,617 | Why i can't post data from signUp form to firebase | <p>i am a newbie to Flutter and I am building a Flutter mobile app, i don't why i can't post the data from my Sign Up form to the Authentication in fireBase ,</p>
<p>It is my Auth class ----------------------------------------------------------------------------</p>
<pre><code>class Auth with ChangeNotifier {
late S... | i am a newbie to Flutter and I am building a Flutter mobile app, i don't why i can't post the data from my Sign Up form to the Authentication in fireBase , It is my Auth class ---------------------------------------------------------------------------- [CODE] Here is my AuthCard Class [CODE] Here is my Error and I don'... | android|ios|flutter|cross-platform | 0 | 2022-09-17T16:30:33.333Z | 2,022 | 9 | 16 | 5 | 36 | 1 | 350 | 50 | 4 | 3 | true | false | false | false | false | false | zero |
73,756,643 | C:\flutter\packages\flutter_tools\gradle\app_plugin_loader.gradle error | <p>hey i have an error like this in vscode. what should i do</p>
<pre><code>Could not run phased build action using connection to Gradle
distribution 'https://services.gradle.org/distributions/gradle-
7.4-all.zip'
org.gradle.api.GradleScriptException: A problem occurred
evaluating settings 'android'.
A problem occu... | hey i have an error like this in vscode. what should i do [CODE] | android|gradle | 0 | 2022-09-17T16:33:41.770Z | 2,022 | 9 | 16 | 5 | 18 | 0 | 64 | 71 | 2 | 1 | true | true | false | false | false | false | zero |
73,756,658 | Android studio hints | <p>How to enable tooltips in android studio when hovering over class or method should show documentation etc like intellij</p> | How to enable tooltips in android studio when hovering over class or method should show documentation etc like intellij | java|android-studio | 0 | 2022-09-17T16:35:59.423Z | 2,022 | 9 | 16 | 5 | 23 | 1 | 119 | 20 | 2 | 0 | false | false | false | false | false | false | zero |
73,756,730 | When starting the new Android studio I'm getting error with gradle Android studio chipmunk 2020.2.1 Patch 2 | <p>When compiling the code in Android studio, I'm getting errors with the following description:</p>
<pre><code>Build file 'C:\Users\anime\AndroidStudioProjects\FreingMusicPlayer\build.gradle' line: 3
Plugin [id: 'com.android.application', version: '7.2.2', apply: false] was not found in any of the following sources:
... | When compiling the code in Android studio, I'm getting errors with the following description: [CODE] | android|android-studio|kotlin|gradle|compiler-errors | 0 | 2022-09-17T16:44:53.997Z | 2,022 | 9 | 16 | 5 | 31 | 0 | 100 | 107 | 5 | 1 | true | true | false | false | false | false | zero |
73,756,761 | Can't run Flutter projects on emulator | <p>Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...</p>
<p>FAILURE: Build failed with an exception.</p>
<ul>
<li>What went wrong:
A problem occurred configuring root project 'android'.</li>
</ul>
<blockquote>
<p>Could not resolve all files for configuration ':... | Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. Could not resolve all files for configuration ':classpath'. Could not find transform-api-2.0.0-dep... | flutter|android-studio|gradle|android-gradle-plugin | 0 | 2022-09-17T16:49:16.507Z | 2,022 | 9 | 16 | 5 | 20 | 0 | 891 | 38 | 4 | 0 | false | true | false | false | false | false | zero |
73,756,787 | Paging 3 remote mediator not loading after navigation | <p>I am facing some issue with <strong>paging 3 remote mediator</strong>. Everything works fine until I navigate to some other fragment and get back to the initial screen remote mediator will not load any more data than it initially loaded (i.e. it won't make anymore API call). Example:</p>
<p>Fragment A (contains pagi... | I am facing some issue with paging 3 remote mediator . Everything works fine until I navigate to some other fragment and get back to the initial screen remote mediator will not load any more data than it initially loaded (i.e. it won't make anymore API call). Example: Fragment A (contains paging adapter) -> Fragment B ... | android|kotlin|android-paging-3 | 1 | 2022-09-17T16:51:54.217Z | 2,022 | 9 | 16 | 5 | 17 | 0 | 920 | 53 | 3 | 2 | true | true | false | false | false | false | low |
73,756,804 | Problem with Geolocation in WebView - Xamarin | <p>I have created an application with a web view. The open page contains the GPS positioning, but it doesn't work in the app even after enabling it.
The app crashes during compilation and throws errors:</p>
<ul>
<li><p>Severity Code Description Project File Line Suppression State
Error XARDF7023: System... | I have created an application with a web view. The open page contains the GPS positioning, but it doesn't work in the app even after enabling it. The app crashes during compilation and throws errors: Severity Code Description Project File Line Suppression State Error XARDF7023: System.IO.DirectoryNotFoundException: Cou... | xamarin.forms|xamarin.android | 0 | 2022-09-17T16:53:26.703Z | 2,022 | 9 | 16 | 5 | 39 | 1 | 1,461 | 45 | 2 | 3 | true | false | false | false | false | false | zero |
73,756,849 | Attempt to collect twice from pageEventFlow, which is an illegal operation. Did you forget to call Flow<PagingData<*>>.cachedIn(coroutineScope)? | <p>i have a problem in pager 3 in my app every thing goes well but in rotation to land scape or in some time navigation to anther fragment and pop back make it crash giving me that exception , i am using java , i just take one parameter for query and when i receive paging source in View Model i cache it in View Model ... | i have a problem in pager 3 in my app every thing goes well but in rotation to land scape or in some time navigation to anther fragment and pop back make it crash giving me that exception , i am using java , i just take one parameter for query and when i receive paging source in View Model i cache it in View Model scop... | java|android|android-recyclerview|android-room|viewmodel | 0 | 2022-09-17T16:59:08.853Z | 2,022 | 9 | 16 | 5 | 22 | 0 | 2,413 | 144 | 5 | 0 | false | true | false | false | false | false | zero |
73,756,866 | Jetpack Compose: Can't make statusBar completely transparent | <p>I have a screen, which contains a Map and I want to make a statusBar completely transparent.</p>
<p>What I've tried:</p>
<pre class="lang-kotlin prettyprint-override"><code>implementation "com.google.accompanist:accompanist-systemuicontroller:0.26.1-alpha"
@Composable
fun MapMainScreen() = Column(
mod... | I have a screen, which contains a Map and I want to make a statusBar completely transparent. What I've tried: [CODE] Also, I've tried to play with window in MainActivity before and in setContent call: [CODE] I want to see a result like in Google Maps, but now my statusBar has a White-Gray color instead of Transparent H... | android|android-jetpack-compose|android-statusbar | 0 | 2022-09-17T17:02:01.037Z | 2,022 | 9 | 17 | 5 | 56 | 1 | 372 | 60 | 3 | 2 | true | false | false | false | false | false | zero |
73,756,964 | Kotlin - RecyclerView doesn't display items but no error | <p><strong>I try to make a simple recycler view on Kotlin with Android Studio. But it doesn't display item.</strong>
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\</p>
<p>I have a MainActivity.kt :</p>
<pre><code>package fr.monarch.viper
import androidx.app... | I try to make a simple recycler view on Kotlin with Android Studio. But it doesn't display item. \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ I have a MainActivity.kt : [CODE] \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\... | android|xml|android-fragments|android-recyclerview | 0 | 2022-09-17T17:14:12.037Z | 2,022 | 9 | 17 | 5 | 32 | 0 | 560 | 56 | 4 | 6 | true | true | false | false | false | false | zero |
73,757,060 | The named parameter 'inputDetailsFromUser' isn't defined. Try correcting the name to an existing named parameter's name | <p>I'm making an flutter app in visual studio code and it shows these errors <a href="https://i.stack.imgur.com/CMuHY.png" rel="nofollow noreferrer">problems description</a></p>
<p>and this is the code for one of these problems :</p>
<p><a href="https://i.stack.imgur.com/rUfvO.png" rel="nofollow noreferrer">code of the... | I'm making an flutter app in visual studio code and it shows these errors problems description and this is the code for one of these problems : code of the problem | android|flutter|dart|visual-studio-code | -1 | 2022-09-17T17:25:32.177Z | 2,022 | 9 | 17 | 5 | 24 | 1 | 163 | 119 | 4 | 0 | false | false | false | false | false | true | negative |
73,757,125 | Android Gradle : publishing a library | <p>I'm going through the official Android documentation on how to <a href="https://developer.android.com/studio/projects/android-library" rel="nofollow noreferrer">create</a> and <a href="https://developer.android.com/studio/publish-library/upload-library#create-pub" rel="nofollow noreferrer">publish</a> a library to m... | I'm going through the official Android documentation on how to create and publish a library to my local maven repository, but when i'm following the steps I'm getting this error [CODE] this is build.gradle (Module level) i have come up with [CODE] looking up this error here , the answer suggested the gradle file is wro... | android|gradle|android-library | 0 | 2022-09-17T17:34:05.190Z | 2,022 | 9 | 17 | 5 | 15 | 0 | 753 | 37 | 3 | 2 | true | true | false | false | false | false | zero |
73,757,152 | Anyone knows the best online IDE to for developing apps using Flutter (on chrome only )? | <p>My device is very slow and i want one with an emulator to start learning flutter (on chrome) because android studio is really slow and vscode struggles :(</p> | My device is very slow and i want one with an emulator to start learning flutter (on chrome) because android studio is really slow and vscode struggles :( | android|flutter|google-chrome|web|ide | -2 | 2022-09-17T17:37:26.070Z | 2,022 | 9 | 17 | 5 | 15 | 0 | 154 | 88 | 5 | 0 | false | true | false | false | false | true | negative |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.