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,141,144 | insert Icon in a entry (xamarin) at the begging of the text | <p>I just want to put the icon on the begging of the Entry, there is not way, i had read and i can not, please i need any help
Here you have part of the code where i want to insert the ico</p>
<pre><code><ContentPage.Content>
<Grid RowSpacing="{OnPlatform iOS=25,Android=20}">
<Grid.... | I just want to put the icon on the begging of the Entry, there is not way, i had read and i can not, please i need any help Here you have part of the code where i want to insert the ico [CODE] | c#|android|xamarin|mobile|icons | 0 | 2022-07-27T15:57:29.817Z | 2,022 | 7 | 15 | 2 | 33 | 1 | 192 | 59 | 5 | 1 | true | false | false | false | false | false | zero |
73,141,313 | Touch input registered in Unity Remote but not in APK | <p>I'm making a game for mobile and trying to get an object to follow where the finger is pressing on the screen. This works fine in Unity Remote, however when building the project and running the APK on my phone, no touch is registered and the object wont move. Here is the code for the player movement:</p>
<pre><code>... | I'm making a game for mobile and trying to get an object to follow where the finger is pressing on the screen. This works fine in Unity Remote, however when building the project and running the APK on my phone, no touch is registered and the object wont move. Here is the code for the player movement: [CODE] I've added ... | android|visual-studio|unity3d | 0 | 2022-07-27T16:09:26.917Z | 2,022 | 7 | 16 | 2 | 43 | 0 | 540 | 53 | 3 | 1 | true | true | false | false | false | false | zero |
73,141,406 | How to open a new activity inside the Detail Activity from RecyclerView with different conditions/parameters in Kotlin | <p><a href="https://i.stack.imgur.com/bZVwG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bZVwG.jpg" alt="Basic Layout Wireframe, and guide of what I want to ask " /></a></p>
<p>I have the basic wireframe layout, who describe my question, because i don't know how to explain with good typing. (but I... | I have the basic wireframe layout, who describe my question, because i don't know how to explain with good typing. (but I'll try to explain as clearly as possible what I mean and as much as I can). * I hope you all can understand what my wireframe means :) * if you feel difficult to understand this, please tell me, I w... | android|kotlin|android-recyclerview | 0 | 2022-07-27T16:17:11.430Z | 2,022 | 7 | 16 | 2 | 56 | 1 | 2,025 | 118 | 3 | 7 | true | false | false | false | false | false | zero |
73,141,448 | ionic cordova [ERROR] An error occurred while running subprocess | <p>I am using the command <strong>ionic cordova build</strong> and I get the following errors and I don't find a clear answer on this. With this error I can not pass the application to android studio</p>
<p>cordova-plugin-androidx-adapter: Processed 14 source files in 635ms
Checking Java JDK and Android SDK versions
AN... | I am using the command ionic cordova build and I get the following errors and I don't find a clear answer on this. With this error I can not pass the application to android studio cordova-plugin-androidx-adapter: Processed 14 source files in 635ms Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=C:\Users\and... | android-studio|cordova|ionic-framework | 0 | 2022-07-27T16:20:19.637Z | 2,022 | 7 | 16 | 2 | 203 | 1 | 1,200 | 64 | 3 | 1 | true | false | false | false | false | false | zero |
73,141,546 | How to get URL from imgur response data? | <p>I have a code like this:</p>
<pre><code>import 'dart:convert';
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/services.dart';
import 'dart:io';
import 'package:http/http.dart' as http;
class HomePage extends StatefulWidget {
... | I have a code like this: [CODE] My goal is to select a photo by pressing the "Select Image" button from the application and upload it to imgur. There is no problem here. The image selected by the user is loaded. After uploading, I get responseData from imgur. My goal is this: I could not get the URL from this... | android|flutter | 0 | 2022-07-27T16:29:53.903Z | 2,022 | 7 | 16 | 2 | 25 | 0 | 453 | 40 | 2 | 1 | true | true | false | false | false | false | zero |
73,141,600 | android studio gradle plugin problems out of the box | <p>just installed android studio after getting a fresh install of win10. i created a new empety project and got this error:</p>
<blockquote>
<p>Gradle sync failed: Plugin [id: 'com.android.application', version:
'7.2.1', apply: false] was not found in any of the following sources:</p>
</blockquote>
<p>this is the code:... | just installed android studio after getting a fresh install of win10. i created a new empety project and got this error: Gradle sync failed: Plugin [id: 'com.android.application', version: '7.2.1', apply: false] was not found in any of the following sources: this is the code: [CODE] Edit: the sources were blank and the... | android|android-studio|kotlin | 0 | 2022-07-27T16:34:57.320Z | 2,022 | 7 | 16 | 2 | 40 | 1 | 396 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
73,141,667 | REST POST API using with request Query Params in android Studio | <p>I'm using the Retrofit2 Library to consume Rest API with a post request that delivers data in query parameters not in body. Now I want to integrate that api but retrofit stops us from providing data as a query parameters through a post request. It is possible to use a post request with retrofit to deliver data in qu... | I'm using the Retrofit2 Library to consume Rest API with a post request that delivers data in query parameters not in body. Now I want to integrate that api but retrofit stops us from providing data as a query parameters through a post request. It is possible to use a post request with retrofit to deliver data in query... | java|android|api|postman|retrofit2 | 0 | 2022-07-27T16:40:51.127Z | 2,022 | 7 | 16 | 2 | 91 | 0 | 467 | 63 | 5 | 4 | true | true | false | false | false | false | zero |
73,141,799 | How do I change binding on button click to different drawable icon | <p>I have a "save" option on my CardLayout, where a user can click "save" and it saves into another fragment.</p>
<p>When clicking "save", it should change the drawable icon "heart" to another drawable. At the moment, I have successfully changed the text when clicking "save&... | I have a "save" option on my CardLayout, where a user can click "save" and it saves into another fragment. When clicking "save", it should change the drawable icon "heart" to another drawable. At the moment, I have successfully changed the text when clicking "save" (sho... | android|android-studio|kotlin|binding | 0 | 2022-07-27T16:50:26.990Z | 2,022 | 7 | 16 | 2 | 46 | 2 | 876 | 66 | 4 | 2 | true | false | false | false | false | false | zero |
73,141,813 | Change language of app works in android studio, doesnt works when downloaded app from Google Play | <p>I need to change the app of my app. Im using this code:</p>
<pre><code>private void saveLang() {
if(prefs==null){
prefs=getSharedPreferences("prefs", MODE_PRIVATE);
}
SharedPreferences.Editor editor=prefs.edit();
editor.putString("lang", lang);
editor.apply();
Loca... | I need to change the app of my app. Im using this code: [CODE] And then, in every activity, I use this code: [CODE] With this, the language change WORKS when I instale it from Android Studio...but DOESNT when I upload the .abb file and download the app from Google Play. Anybody knows why? | android|locale | 0 | 2022-07-27T16:51:31.010Z | 2,022 | 7 | 16 | 2 | 21 | 1 | 289 | 97 | 2 | 2 | true | false | false | false | false | false | zero |
73,141,820 | Android Kotlin Coroutines - Call Api Every X Seconds on Background | <p>I've build clean architectured app (with mvvm, use cases, compose). I've a <code>CoinListViewModel</code> for list all crypto coins by using <a href="https://coinpaprika.com/en/api/" rel="nofollow noreferrer">CoinPaprika API</a>. It is like;</p>
<pre><code>@HiltViewModel
class CoinListViewModel @Inject constructor(
... | I've build clean architectured app (with mvvm, use cases, compose). I've a CoinListViewModel for list all crypto coins by using CoinPaprika API . It is like; [CODE] And this viewmodel is used in my CoinListScreen like; [CODE] And that is my GetCoinsUseCase : [CODE] I have 2 questions; How can I make this API call every... | android|kotlin|retrofit|kotlin-coroutines | 0 | 2022-07-27T16:52:23.463Z | 2,022 | 7 | 16 | 2 | 244 | 2 | 391 | 66 | 4 | 3 | true | false | false | false | false | false | zero |
73,141,884 | How to convert LocalDate to LocalDateTime in Kotlin | <p>Hi how can I convert LocalDate to LocalDateTime using <code>org.threeten.bp</code></p>
<p>I have a date 2022-July-27, which is LocalDate, how can I convert to LocalDateTime please</p>
<p>Thanks
R</p> | Hi how can I convert LocalDate to LocalDateTime using org.threeten.bp I have a date 2022-July-27, which is LocalDate, how can I convert to LocalDateTime please Thanks R | android|kotlin | 0 | 2022-07-27T16:56:26.393Z | 2,022 | 7 | 16 | 2 | 95 | 0 | 168 | 51 | 2 | 0 | false | true | false | false | false | false | zero |
73,141,931 | FAILURE: Build failed with an exception. Cordova | <pre><code>Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the User Manual chapter on the daemon at https://docs.gradle.org/7.5/userguide/gradle_daemon.html
Process command line: C:\Program Files ... | [CODE] object heap | java|android|cordova|gradle | 0 | 2022-07-27T17:00:20.077Z | 2,022 | 7 | 17 | 2 | 39 | 1 | 18 | 48 | 4 | 1 | true | false | false | false | false | false | zero |
73,142,026 | "NoneType" object has no attribute 'blit buffer' | <p>I am trying to make an Android application with kivy, buildozer and opencv, so I am following a model that I find that comes from here:</p>
<p><a href="https://stackoverflow.com/questions/61122285/kivy-camera-application-with-opencv-in-android-shows-black-screen/67061962#67061962">kivy camera application with opencv... | I am trying to make an Android application with kivy, buildozer and opencv, so I am following a model that I find that comes from here: kivy camera application with opencv in android shows black screen The code I am using is the following: [CODE] The application is compiled correctly, when entering the app it asks me f... | python|android|kivy | 0 | 2022-07-27T17:07:52.467Z | 2,022 | 7 | 17 | 2 | 71 | 1 | 544 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
73,142,099 | Custom bottom navigation bar layout new | <p>I want to create the following customized BottomNavigationBar. How can I set custom layout for the same?</p>
<p><a href="https://i.stack.imgur.com/fEk7x.png" rel="nofollow noreferrer">enter image description here</a></p> | I want to create the following customized BottomNavigationBar. How can I set custom layout for the same? enter image description here | android|kotlin | -1 | 2022-07-27T17:14:50.190Z | 2,022 | 7 | 17 | 2 | 69 | 1 | 133 | 39 | 2 | 0 | false | false | false | false | false | true | negative |
73,142,118 | "Lateinit property `app` has not been initialized" Error after Hilt Migration | <p>I'm migrating our codebase from Dagger 2 to Hilt. I'm kind of a noob. I've gotten everything to build and compile. There is a crasher on app launch with this error:</p>
<h2>Logcat</h2>
<pre><code>2022-07-27 11:31:26.297 E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.appname.company, PID: 17599
java.... | I'm migrating our codebase from Dagger 2 to Hilt. I'm kind of a noob. I've gotten everything to build and compile. There is a crasher on app launch with this error: Logcat [CODE] The property app in BaseApplication is referenced all over the codebase. BaseApplication.kt [CODE] AppModule.kt [CODE] Any idea why app sudde... | android|kotlin|dependency-injection|dagger-hilt | 0 | 2022-07-27T17:16:04.173Z | 2,022 | 7 | 17 | 2 | 66 | 0 | 383 | 77 | 4 | 4 | true | true | false | false | false | false | zero |
73,142,140 | Constantly check if a value is present in the firestore | <p>I'm developing a piece of code for my application that can constantly check if a certain number exists on the firebase firestore. If nothing happens, instead if it does not exist it changes the screen. I accomplished this by using a loop that runs in one thread. This is the code:</p>
<pre><code>public class testPage... | I'm developing a piece of code for my application that can constantly check if a certain number exists on the firebase firestore. If nothing happens, instead if it does not exist it changes the screen. I accomplished this by using a loop that runs in one thread. This is the code: [CODE] But I think it is a method that ... | java|android|multithreading|firebase|google-cloud-firestore | 0 | 2022-07-27T17:18:16.200Z | 2,022 | 7 | 17 | 2 | 28 | 1 | 488 | 55 | 5 | 1 | true | false | false | false | false | false | zero |
73,142,176 | How do I make a radio button unchanged, when the user selects a different radio button? | <p>I'm new to android,
so basically i made a really simple Exam, consisting of 3 questions, each has 2 answers.
But everytime I check one, then "realize" I made a mistake, and want to change my choice, the first choice does not disappear. So I'm left with 2 checked answers.</p>
<p>Below is my main activity Ja... | I'm new to android, so basically i made a really simple Exam, consisting of 3 questions, each has 2 answers. But everytime I check one, then "realize" I made a mistake, and want to change my choice, the first choice does not disappear. So I'm left with 2 checked answers. Below is my main activity Java code: [... | java|android | 0 | 2022-07-27T17:21:00.660Z | 2,022 | 7 | 17 | 2 | 29 | 1 | 325 | 87 | 2 | 1 | true | false | false | false | false | false | zero |
73,142,269 | is there anyway to search in database with finger print? | <p>it was my question is there any way to store finger print in MySQL database
as a column so that we can retrieve data from database using fingerprint and using android app for this .</p>
<p>for first question is it possible to store image of finger print ? if yes i think maybe it is possible to save base 64 image of ... | it was my question is there any way to store finger print in MySQL database as a column so that we can retrieve data from database using fingerprint and using android app for this . for first question is it possible to store image of finger print ? if yes i think maybe it is possible to save base 64 image of finger pri... | android|fingerprint | 1 | 2022-07-27T17:28:39.237Z | 2,022 | 7 | 17 | 2 | 24 | 1 | 423 | 56 | 2 | 0 | false | false | false | false | false | false | low |
73,142,343 | Http's Api's not working on android after attaching SSL certificates on version 9 and lower | <p><a href="https://i.stack.imgur.com/oVXmS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oVXmS.png" alt="Certificates installed correctly" /></a></p>
<p>Api's were working fine before I added SSL certificates after adding certificates no api is working my app is in react native In IOS it is workin... | Api's were working fine before I added SSL certificates after adding certificates no api is working my app is in react native In IOS it is working fine but in android 9 and lower version no Api is working | javascript|android|react-native|api|ssl-certificate | 1 | 2022-07-27T17:34:32.070Z | 2,022 | 7 | 17 | 2 | 25 | 0 | 204 | 91 | 5 | 0 | false | true | false | false | false | false | low |
73,142,380 | WebView not not opening flutter net::ERR_UNKNOWN_URL_SCHEME | <p>I am working on a flutter app that require to show a webview.</p>
<h4>When I navigate to the Webview widget, It shows this.</h4>
<p><a href="https://i.stack.imgur.com/GDRjQ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GDRjQ.jpg" alt="firebase dynamic link not opening in webview" /></a></p>
<p>T... | I am working on a flutter app that require to show a webview. When I navigate to the Webview widget, It shows this. The InitialURL of the webview widget is a firebase dynamic link for android I have configure the firebase dynamic link package according to the flutter fire documentation As for the Webview, I am using we... | flutter|firebase|dart|android-webview|firebase-dynamic-links | 0 | 2022-07-27T17:37:34.030Z | 2,022 | 7 | 17 | 2 | 68 | 0 | 393 | 59 | 5 | 1 | true | true | false | false | false | false | zero |
73,142,503 | Flutter, Firebase, Facbook authentication error No implementation found for method login on channel app.meedu/flutter_facebook_auth | <p>I am new to trying to use Social logins for Firebase Auth and Google sign in was a breeze but for some reason I keep getting the error No implementation found for method login on channel app.meedu/flutter_facebook_auth</p>
<p>which I have discovered is likely something to do with the configuration of the different t... | I am new to trying to use Social logins for Firebase Auth and Google sign in was a breeze but for some reason I keep getting the error No implementation found for method login on channel app.meedu/flutter_facebook_auth which I have discovered is likely something to do with the configuration of the different things but ... | android|flutter|firebase-authentication|facebook-authentication | 0 | 2022-07-27T17:47:47.287Z | 2,022 | 7 | 17 | 2 | 24 | 0 | 717 | 131 | 4 | 3 | true | true | false | false | false | false | zero |
73,142,550 | How to give the user the choice between Gallery and Camera in ImagePicker | <p>I am using ImagePicker in a flutter app, but we should specify the source of the Image.
How can I let the choice to the user?</p>
<pre class="lang-dart prettyprint-override"><code>File? selectedImage;
getImage() async {
XFile? file = await ImagePicker().pickImage(source: ImageSource.camera);
selectedImage... | I am using ImagePicker in a flutter app, but we should specify the source of the Image. How can I let the choice to the user? [CODE] | android|ios|flutter|dart|mobile | 0 | 2022-07-27T17:52:26.627Z | 2,022 | 7 | 17 | 2 | 54 | 2 | 132 | 73 | 5 | 1 | true | false | false | false | false | false | zero |
73,142,562 | Android Fused Location provider accuracy in tunnels | <p>I'm building an app where I need very good accuracy. The app is calculating trip in the car for the companies I work with.</p>
<p>I came to the point where it counts just like a odometer in a car, but my problem is tunnels. I was thinking that in each city I will create zone on start of the tunnels and end of the tu... | I'm building an app where I need very good accuracy. The app is calculating trip in the car for the companies I work with. I came to the point where it counts just like a odometer in a car, but my problem is tunnels. I was thinking that in each city I will create zone on start of the tunnels and end of the tunnels wher... | java|android|android-studio|google-maps|android-fusedlocation | 0 | 2022-07-27T17:53:45.600Z | 2,022 | 7 | 17 | 2 | 62 | 0 | 765 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
73,142,611 | Is there a way to use Retrofit faster? | <p>I am developping an android application and I use retrofit to send and get the data from a server. However, the http post request that I use took 800 ms on average. The server side works fast, it looks like there is no problem there. I want to reduce the timestamp to maximum 400 ms, could you describe a technic to d... | I am developping an android application and I use retrofit to send and get the data from a server. However, the http post request that I use took 800 ms on average. The server side works fast, it looks like there is no problem there. I want to reduce the timestamp to maximum 400 ms, could you describe a technic to do i... | java|android|android-studio|retrofit|httprequest | 0 | 2022-07-27T17:58:04.847Z | 2,022 | 7 | 17 | 2 | 57 | 0 | 637 | 38 | 5 | 4 | true | true | false | false | false | false | zero |
73,142,757 | Custom RecyclerView won't scroll with Robolectric | <p>I am trying to unit test a custom RecyclerView with Robolectric, but I cannot make it scroll. I have tried with the following methods :</p>
<ul>
<li>scrollToPosition()</li>
<li>smoothScrollToPosition()</li>
<li>scrollTo()</li>
<li>scrollY()</li>
<li>fling()</li>
</ul>
<p>I have read that smoothScrollToPosition() was... | I am trying to unit test a custom RecyclerView with Robolectric, but I cannot make it scroll. I have tried with the following methods : scrollToPosition() smoothScrollToPosition() scrollTo() scrollY() fling() I have read that smoothScrollToPosition() was causing problems to a lot of developers, but I haven't find anyon... | android|unit-testing|android-recyclerview|robolectric | 0 | 2022-07-27T18:11:35.160Z | 2,022 | 7 | 18 | 2 | 33 | 0 | 669 | 49 | 4 | 1 | true | true | false | false | false | false | zero |
73,142,763 | How to have top of ScrollView be visible on back press | <p>I'm creating an Android app using MVVM and view binding. My home fragment has a ScrollView with three horizontal RecyclerViews inside.</p>
<p>When the user navigates to another view by clicking on an item & then returns to the home fragment on back press, I want the ScrollView to be at the top instead of returni... | I'm creating an Android app using MVVM and view binding. My home fragment has a ScrollView with three horizontal RecyclerViews inside. When the user navigates to another view by clicking on an item & then returns to the home fragment on back press, I want the ScrollView to be at the top instead of returning to the part... | android|android-scrollview|android-mvvm|android-viewbinding | 0 | 2022-07-27T18:11:47.193Z | 2,022 | 7 | 18 | 2 | 18 | 1 | 467 | 54 | 4 | 1 | true | false | false | false | false | false | zero |
73,142,854 | Fragment doesnt show data from database (I recently started learning programming) | <p>Database is working since i can see the data in app inspection
i dont know what i am doing wrong and cant display the data in the FragmentShow fragment
i want the data to be displayed in the above fragment in a recyclerview
Any help will be appreciated
( i am a beginner )</p>
<h1>Fragment with recyclerview</h1>
<pre... | Database is working since i can see the data in app inspection i dont know what i am doing wrong and cant display the data in the FragmentShow fragment i want the data to be displayed in the above fragment in a recyclerview Any help will be appreciated ( i am a beginner ) Fragment with recyclerview [CODE] } Adapter [CO... | android|sqlite|kotlin|android-recyclerview|fragment | -1 | 2022-07-27T18:19:17.923Z | 2,022 | 7 | 18 | 2 | 41 | 1 | 347 | 81 | 5 | 3 | true | false | false | false | false | true | negative |
73,142,866 | Formula to convert any dpi to any dpi | <p>I need the formulas to calculate any dpi to any dpi. For example: mdpi to hdpi, xdpi to xxhdpi, etc. This <a href="https://www.freeonlinecalculators.com/android-dpi-calculator" rel="nofollow noreferrer">website</a> exactly does what I require but I am not able to find the logic for it. Any suggestions on what will b... | I need the formulas to calculate any dpi to any dpi. For example: mdpi to hdpi, xdpi to xxhdpi, etc. This website exactly does what I require but I am not able to find the logic for it. Any suggestions on what will be the formula for it? | android|screen-density|density-independent-pixel | 0 | 2022-07-27T18:20:28.073Z | 2,022 | 7 | 18 | 2 | 21 | 1 | 237 | 37 | 3 | 0 | false | false | false | false | false | false | zero |
73,142,914 | How to scroll right after submitting data to adapter | <p>I have this PagerAdapter that I fill with events so that I can get them paginated. This works well until I go to a certain page instead of just scrolling to it. When I do that, the position in the recycler view is somewhere in the middle of this page but I need it to be at the top of that page I've just changed to (... | I have this PagerAdapter that I fill with events so that I can get them paginated. This works well until I go to a certain page instead of just scrolling to it. When I do that, the position in the recycler view is somewhere in the middle of this page but I need it to be at the top of that page I've just changed to (I'm... | android|kotlin|scroll | 0 | 2022-07-27T18:25:08.303Z | 2,022 | 7 | 18 | 2 | 22 | 0 | 808 | 52 | 3 | 1 | true | true | false | false | false | false | zero |
73,142,928 | how to plot data in kotlin | <p>I've been struggling to plot some real time data, checked a few libraries including graphview and plotly and etc. but I couldn't get any of them to work is there any way to plot some real time data using canvas without the use of 3rd party libraries?
working on this app:</p>
<p><a href="https://github.com/NordicSemi... | I've been struggling to plot some real time data, checked a few libraries including graphview and plotly and etc. but I couldn't get any of them to work is there any way to plot some real time data using canvas without the use of 3rd party libraries? working on this app: https://github.com/NordicSemiconductor/Android-n... | android|kotlin|plot|graph | 0 | 2022-07-27T18:26:15.807Z | 2,022 | 7 | 18 | 2 | 43 | 0 | 492 | 26 | 4 | 0 | false | true | false | false | false | false | zero |
73,142,964 | When i use map api key location cannot change, show this issue in log:E/FrameEvents(32559): updateAcquireFence: Did not find frame | <pre><code>D/DecorView[](16142): getWindowModeFromSystem windowmode is 1
[GETX] GOING TO ROUTE /pick-map?page=/&route=true
D/MapsInitializer(16142): preferredRenderer: null
D/zzca (16142): preferredRenderer: null
I/zzca (16142): Making Creator dynamically
I/DynamiteModule(16142): Considering local module com... | [CODE] | android|flutter|dart|google-maps-api-3 | 0 | 2022-07-27T18:28:58.370Z | 2,022 | 7 | 18 | 2 | 236 | 1 | 6 | 130 | 4 | 1 | true | false | false | false | false | false | zero |
73,142,992 | Set statusBar icons color automatically | <p>I'm using the following code to make my status bar and navigation bar TRANSPARENT.</p>
<pre><code>val window = this.window
window.addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS)
window.clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS)
window.sta... | I'm using the following code to make my status bar and navigation bar TRANSPARENT. [CODE] Now I want my statusBar Icons to auto adjust the background color and be light or dark accordingly. I know the code to change icon colors but how to use it to AUTO adjust? Following is the code to change icon colors: [CODE] | android | 0 | 2022-07-27T18:31:29.060Z | 2,022 | 7 | 18 | 2 | 18 | 0 | 313 | 39 | 1 | 2 | true | true | false | false | false | false | zero |
73,143,059 | Android Activity Lifecycle: Data not displayed on main activity | <p>I am creating a weather app in Android Studio and I am fairly new to this.</p>
<p>I've got two activities, the second one allows the user to input a city. When the second activity is opened, the main activity is stopped. After entering a city and closing the second activity, the main activity goes as follows:</p>
<p... | I am creating a weather app in Android Studio and I am fairly new to this. I've got two activities, the second one allows the user to input a city. When the second activity is opened, the main activity is stopped. After entering a city and closing the second activity, the main activity goes as follows: onResume onPause... | android-studio | 0 | 2022-07-27T18:37:50.940Z | 2,022 | 7 | 18 | 2 | 14 | 0 | 572 | 63 | 1 | 2 | true | true | false | false | false | false | zero |
73,143,183 | How to enable Non-Vpn connection or get state | <p>I am using <code>OpenVpn</code> in my app. And there is a function to enable and disable the <code>killswitch</code> or <code>non-vpn connection</code>, and is also called <code>persist_tun</code>.</p>
<p>But developers write</p>
<blockquote>
<p>OpenVPN and this app offer persist-tun, a feature to implement this
fun... | I am using OpenVpn in my app. And there is a function to enable and disable the killswitch or non-vpn connection , and is also called persist_tun . But developers write OpenVPN and this app offer persist-tun, a feature to implement this functionality. The problem with all these methods offered by apps is that they can ... | java|android|kotlin|openvpn|android-vpn-service | 0 | 2022-07-27T18:48:28.740Z | 2,022 | 7 | 18 | 2 | 20 | 0 | 946 | 45 | 5 | 0 | false | true | false | false | false | false | zero |
73,143,229 | Firestore subscribe to topic structure, ways around the 1MB limit? | <p>I am attemping to create a subscription function in Android using Firestore.
If I have two collections such as:</p>
<pre><code>Topics Collection
uid
field1
...
fieldN
userIds[]
Publications Collection
uid
field1
...
fieldN
topicIds[]
</code></pre>
<p>So when a subscriber wants to subscribe to a ... | I am attemping to create a subscription function in Android using Firestore. If I have two collections such as: [CODE] So when a subscriber wants to subscribe to a topic his uid is added to the userIds array, once you want to check to which topics the current user is subscribed you can just query if his id is in said a... | android|google-cloud-firestore | 0 | 2022-07-27T18:52:47.880Z | 2,022 | 7 | 18 | 2 | 32 | 1 | 652 | 66 | 2 | 1 | true | false | false | false | false | false | zero |
73,143,259 | Why does PRDownloader have a download limitation? | <p>Hello, I am using the <strong>PRDownloader</strong> library to download files, but there seems to be some limitation with the file size.</p>
<pre><code> implementation 'com.mindorks.android:prdownloader:0.6.0'
</code></pre>
<p>When I download files with a size of 20 Mb, there is no problem, it downloads fine, but if... | Hello, I am using the PRDownloader library to download files, but there seems to be some limitation with the file size. [CODE] When I download files with a size of 20 Mb, there is no problem, it downloads fine, but if I download a file with a weight of 25 Mb, it doesn't download completely, it downloads a file of 2.21K... | android-studio | 0 | 2022-07-27T18:54:42.713Z | 2,022 | 7 | 18 | 2 | 28 | 0 | 449 | 49 | 1 | 1 | true | true | false | false | false | false | zero |
73,143,261 | How can I optimize a search for elements of an array within another array | <p>I have an initial list of elements in common</p>
<pre><code>val commonList = mutableListOf<String>
</code></pre>
<p>I have the following object</p>
<pre><code>ClassObject(val title: String, val subjects: List<String>)
</code></pre>
<p>Assuming you have such a list with initial data</p>
<pre><code>val lis... | I have an initial list of elements in common [CODE] I have the following object [CODE] Assuming you have such a list with initial data [CODE] How can I iterate the initial list "list" and look in the list of "subjects" for the elements that are not in "commonList" and add them to this last... | android|kotlin | 0 | 2022-07-27T18:55:00.833Z | 2,022 | 7 | 18 | 2 | 32 | 2 | 415 | 73 | 2 | 4 | true | false | false | false | false | false | zero |
73,143,454 | In Firestore, how do I change for all documents of a collection of which a certain field has a certain value, that field in a certain value? | <p>I want to change the value of a certain field of all documents in a Cloud Firestore collection to a certain value if that field is equal to a certain value. How do I do that?</p> | I want to change the value of a certain field of all documents in a Cloud Firestore collection to a certain value if that field is equal to a certain value. How do I do that? | java|android|firebase|google-cloud-platform|google-cloud-firestore | 1 | 2022-07-27T19:12:29.880Z | 2,022 | 7 | 19 | 2 | 34 | 2 | 174 | 140 | 5 | 0 | false | false | false | false | false | false | low |
73,143,512 | How to disabled ripple effect in TabRow or Tab in Jetpack Compose? | <p>I would like to use the TabRow, but when I click the background has a ripple effect that I do not want. Is there a way to change this? I have the Tab's selectedContectColor equal to the same background color of the page, but I still see a white ripple effect.</p>
<pre><code>TabRow(
modifier = Modifier.height(20.d... | I would like to use the TabRow, but when I click the background has a ripple effect that I do not want. Is there a way to change this? I have the Tab's selectedContectColor equal to the same background color of the page, but I still see a white ripple effect. [CODE] You can see in these docs that the selectedContentCol... | android|android-studio|kotlin|android-layout|android-jetpack-compose | 2 | 2022-07-27T19:16:32.520Z | 2,022 | 7 | 19 | 2 | 180 | 2 | 341 | 66 | 5 | 1 | true | false | false | false | false | false | low |
73,143,634 | Is it possible to keep a button's label alternating between values until it is clicked? | <p>For example, a button would be labeled with digits from 0 to 9, one at a time and changing at a given rate (say, each half a second). When clicked, the label would stop changing and be set to the value showing at the time. Is there any way to do this?</p> | For example, a button would be labeled with digits from 0 to 9, one at a time and changing at a given rate (say, each half a second). When clicked, the label would stop changing and be set to the value showing at the time. Is there any way to do this? | android|button|label | -1 | 2022-07-27T19:28:34.457Z | 2,022 | 7 | 19 | 2 | 30 | 1 | 251 | 87 | 3 | 0 | false | false | false | false | false | true | negative |
73,143,666 | Kotlin - Get difference between datetimes in seconds | <p>Is there any way, to get the difference between two datetimes in seconds?</p>
<p>For example
First datetime: 2022-04-25 12:09:10
Second datetime: 2022-05-24 02:46:21</p> | Is there any way, to get the difference between two datetimes in seconds? For example First datetime: 2022-04-25 12:09:10 Second datetime: 2022-05-24 02:46:21 | android-studio|kotlin|datetime | 0 | 2022-07-27T19:30:50.510Z | 2,022 | 7 | 19 | 2 | 87 | 2 | 158 | 52 | 3 | 0 | false | false | false | false | false | false | zero |
73,143,804 | How to Reset a nested nav graph Android | <p>I have a bottom nav with 2 tabs. Each tab is a separate nested nav graph. I am in the second one and when navigate inside it from the start destination to another fragment, If go to the first tab and then come back to the second, it starts from the fragment I reached not the start destination. I need it to start fro... | I have a bottom nav with 2 tabs. Each tab is a separate nested nav graph. I am in the second one and when navigate inside it from the start destination to another fragment, If go to the first tab and then come back to the second, it starts from the fragment I reached not the start destination. I need it to start from t... | android|kotlin|navigation | 0 | 2022-07-27T19:43:26.853Z | 2,022 | 7 | 19 | 2 | 35 | 1 | 401 | 39 | 3 | 0 | false | false | false | false | false | false | zero |
73,143,915 | FirestoreRecyclerAdapter with Custom onItemClicked Implementation throws IndexOutOfBoundsException | <p>I'm trying to have a FirestoreRecyclerAdapter update a list of chats in an Activity without needing to restart the Activity then allow the user to click on an item in the list and use specific information gathered using the clicked index to start an Activity where the user can chat.</p>
<p>My custom onItemClicked im... | I'm trying to have a FirestoreRecyclerAdapter update a list of chats in an Activity without needing to restart the Activity then allow the user to click on an item in the list and use specific information gathered using the clicked index to start an Activity where the user can chat. My custom onItemClicked implementati... | android|firebase|kotlin|google-cloud-firestore | 0 | 2022-07-27T19:54:19.780Z | 2,022 | 7 | 19 | 2 | 37 | 1 | 661 | 98 | 4 | 2 | true | false | false | false | false | false | zero |
73,143,957 | Dart Uri parse fails on intent with data | <p>I am integrating with an external service that directs me to an intent to open an application. It returns some intents in a normal intent pattern and <code>Uri.parse</code> is able to correctly parse and return me the Uri which I can then start the intent.</p>
<pre><code>intent:myappscheme://appcard?acctid=657068506... | I am integrating with an external service that directs me to an intent to open an application. It returns some intents in a normal intent pattern and Uri.parse is able to correctly parse and return me the Uri which I can then start the intent. [CODE] [CODE] [CODE] The service also returns this pattern which the dart Ur... | java|android|flutter|dart|android-intent | 2 | 2022-07-27T19:58:27.887Z | 2,022 | 7 | 19 | 2 | 51 | 0 | 657 | 40 | 5 | 8 | true | true | false | false | false | false | low |
73,144,177 | available devices and emulators in the Flutter project | <p>I want to run Flutter but the emulation I installed is not available in vs code. When I run the emulator, the emulator comes up, but the program does not run in it, only the programs run in Android Studio run in it.</p>
<p><a href="https://i.stack.imgur.com/NwZyx.png" rel="nofollow noreferrer"><img src="https://i.st... | I want to run Flutter but the emulation I installed is not available in vs code. When I run the emulator, the emulator comes up, but the program does not run in it, only the programs run in Android Studio run in it. | flutter|android-studio|visual-studio-code|android-emulator|emulation | 0 | 2022-07-27T20:19:34.987Z | 2,022 | 7 | 20 | 2 | 47 | 1 | 215 | 54 | 5 | 0 | false | false | false | false | false | false | zero |
73,144,224 | Can't import turtle in Chaquopy | <p>I want to use <code>turtle</code> module of <strong>Python</strong> in <code>Chaquopy</code> on Android, but just importing turtle as normal (<code>import turtle</code>) doesn't work.</p>
<p>I know that turtle is a <code>built-in</code> module of Python, and I don't need to install anything on my computer to be able... | I want to use turtle module of Python in Chaquopy on Android, but just importing turtle as normal ( import turtle ) doesn't work. I know that turtle is a built-in module of Python, and I don't need to install anything on my computer to be able to use turtle. It seems like in Chaquopy, turtle is not built-in. I also kno... | python|android|python-module|python-turtle|chaquopy | 1 | 2022-07-27T20:25:25.583Z | 2,022 | 7 | 20 | 2 | 52 | 1 | 462 | 31 | 5 | 0 | false | false | false | false | false | false | low |
73,144,307 | How to query a list inside Room database in android? | <p>This is the class that i'm saving inside room database:</p>
<pre><code>@Entity
data class Person(
val name : String = "Bruno",
val age : Int = 23,
@PrimaryKey(autoGenerate = true) val id: Int = 0,
val hobbies : ArrayList<String> = arrayListOf("Basquete","Academia",... | This is the class that i'm saving inside room database: [CODE] I already added type converters so it is saving successfully. What i want is to query results by what the hobbies list has. E.g: [CODE] I wanted to select all person objects that has "Basquete" inside the hobbies list, but this query is returning ... | android|android-room | 0 | 2022-07-27T20:32:33.173Z | 2,022 | 7 | 20 | 2 | 39 | 1 | 349 | 52 | 2 | 2 | true | false | false | false | false | false | zero |
73,144,487 | Cannot find adb under platform-tools | <p>I have installed android-sdk through command line</p>
<p>command - <code>brew install --cask android-sdk </code></p>
<p>and have also installed the platform tools. I have this folder structure</p>
<p><code>/usr/local/share/android-sdk</code></p>
<p>under this, i have the following:</p>
<p>emulator<br />
licenses<br ... | I have installed android-sdk through command line command - brew install --cask android-sdk and have also installed the platform tools. I have this folder structure /usr/local/share/android-sdk under this, i have the following: emulator licenses patcher platform-tools platforms system-images tools there is no adb insid... | android|adb|android-sdk-tools|android-tools-namespace | 0 | 2022-07-27T20:53:11.840Z | 2,022 | 7 | 20 | 2 | 42 | 1 | 506 | 36 | 4 | 1 | true | false | false | false | false | false | zero |
73,144,569 | How do you install the dev version and release version of your android app? | <p>On my phone I have my release version of my app installed, I also want to install my development version alongside it. When I try to do so in android studio by running the app to my phone, I get</p>
<pre><code>The device already has an application with the same package but a different signature.
</code></pre>
<p>Aft... | On my phone I have my release version of my app installed, I also want to install my development version alongside it. When I try to do so in android studio by running the app to my phone, I get [CODE] After trying to rename the app debug version of the app, I still get this error. Is it possible to have both release a... | android|android-studio | 1 | 2022-07-27T21:01:16.107Z | 2,022 | 7 | 21 | 2 | 17 | 0 | 373 | 75 | 2 | 1 | true | true | false | false | false | false | low |
73,144,636 | Android Notification add SeekBar | <p>I currently generate a simple audio application. I would like to add a <code>SeekBar</code> panel to Android notification bar.
I learned from <a href="https://developer.android.com/reference/android/widget/RemoteViews" rel="nofollow noreferrer">this writing</a>, that RemoteViews does not supports <code>SeekBar</code... | I currently generate a simple audio application. I would like to add a SeekBar panel to Android notification bar. I learned from this writing , that RemoteViews does not supports SeekBar . I use NotificationCompat and RemoteViews for notification. My code: [CODE] XML: [CODE] Error (logcat): [CODE] However, I have alrea... | java|android|notifications|android-seekbar|remoteview | 0 | 2022-07-27T21:08:09.567Z | 2,022 | 7 | 21 | 2 | 49 | 0 | 422 | 32 | 5 | 3 | true | true | false | false | false | false | zero |
73,144,987 | Android HTML Webview "Uncaught TypeError: xxxx.showHtml is not a function" | <p>I'm trying to get the HTML of a webview. I read this question <a href="https://stackoverflow.com/questions/8200945/how-to-get-html-content-from-a-webview">how to get html content from a webview?</a> and i tried both solutions but neither works. For the first one, I get this error : <code>I/chromium: [INFO:CONSOLE(1)... | I'm trying to get the HTML of a webview. I read this question how to get html content from a webview? and i tried both solutions but neither works. For the first one, I get this error : I/chromium: [INFO:CONSOLE(1)] "Uncaught TypeError: XXXX.showhtml is not a function", source: {URL} (1) , I search on interne... | android|android-studio|kotlin|webview|typeerror | 0 | 2022-07-27T21:50:55.347Z | 2,022 | 7 | 21 | 2 | 46 | 0 | 1,074 | 74 | 5 | 3 | true | true | false | false | false | false | zero |
73,145,013 | changing togglebutton's state crashes app | <p>I have an app in Android-Kotlin that uses a toggle button. This app connects to other devices using the app so you could have two devices that have a toggle button. When the toggle button is pressed it will change the background color (simple). When one device presses the toggle button the setOnClickListener is trig... | I have an app in Android-Kotlin that uses a toggle button. This app connects to other devices using the app so you could have two devices that have a toggle button. When the toggle button is pressed it will change the background color (simple). When one device presses the toggle button the setOnClickListener is trigger... | android|android-studio|kotlin|button|toggle | 0 | 2022-07-27T21:54:46.263Z | 2,022 | 7 | 21 | 2 | 61 | 0 | 1,408 | 41 | 5 | 3 | true | true | false | false | false | false | zero |
73,145,076 | my model information is not showing jetpack compose | <p>Im using kotling jetpack compose and have the next problem,</p>
<p>when I compile the project there's is no error but my components doesn't show on the screen.
funny thing is that the mistake is on the response modules because when i comment this part <code>@field:SerializedName("style") val Style: Style,<... | Im using kotling jetpack compose and have the next problem, when I compile the project there's is no error but my components doesn't show on the screen. funny thing is that the mistake is on the response modules because when i comment this part @field:SerializedName("style") val Style: Style, the project comp... | android|kotlin|android-jetpack-compose | 0 | 2022-07-27T22:02:24.647Z | 2,022 | 7 | 22 | 2 | 52 | 1 | 642 | 51 | 3 | 2 | true | false | false | false | false | false | zero |
73,145,329 | CameraRoll.deletePhotos([uri]) @react-native-community/cameraroll com.om has no access to content://media/external/images/media/88**** | <p><strong>Description</strong>: I wanted to delete an image using deletePhotos() function of cameraroll library (worked perfectly on iOS) problem arrived when I tested the code in android.</p>
<p><strong>The goal of the Project</strong>: It's a simple Gallery app which should be able to do simple
things like, [view, c... | Description : I wanted to delete an image using deletePhotos() function of cameraroll library (worked perfectly on iOS) problem arrived when I tested the code in android. The goal of the Project : It's a simple Gallery app which should be able to do simple things like, [view, create, delete, etc.](whatever a gallery do... | android|react-native | 2 | 2022-07-27T22:41:00.633Z | 2,022 | 7 | 22 | 2 | 48 | 1 | 2,528 | 134 | 2 | 1 | true | false | false | false | false | false | low |
73,145,760 | Run Android Virtual Machine through Android Studio with edited hosts file or -writable-system flag | <p>I develop an app that communicates to an external database. I have recently started working from home. For development purposes, both the database and Android Studio are on the same workstation, but the access has to be done via URL, so when the app goes into production the only change is the address being accessed.... | I develop an app that communicates to an external database. I have recently started working from home. For development purposes, both the database and Android Studio are on the same workstation, but the access has to be done via URL, so when the app goes into production the only change is the address being accessed. Ba... | android-studio|virtual-machine|hosts | 0 | 2022-07-27T23:49:41.573Z | 2,022 | 7 | 23 | 2 | 22 | 0 | 1,899 | 98 | 3 | 0 | false | true | false | false | false | false | zero |
73,145,773 | Native crash: MediaCodec runtime error only in Redmi devices running on Android 12 | <p>I started seeing runtime exceptions in Redmi mobile running on Android 12 whenever I try to download a video from the app. It is not happening on Samsung, Motorola or Pixel devices. I re-use most of the code from Google grafika. Here is my MediaUtil class that renders the video on a canvas</p>
<pre><code>val encoder... | I started seeing runtime exceptions in Redmi mobile running on Android 12 whenever I try to download a video from the app. It is not happening on Samsung, Motorola or Pixel devices. I re-use most of the code from Google grafika. Here is my MediaUtil class that renders the video on a canvas [CODE] Reference: https://git... | android|android-mediaplayer|android-mediacodec|android-12|miui | 0 | 2022-07-27T23:52:31.960Z | 2,022 | 7 | 23 | 2 | 97 | 1 | 699 | 82 | 5 | 3 | true | false | false | false | false | false | zero |
73,145,862 | saving to shared prefs - java.lang.IllegalStateException: Expected BEGIN_OBJECT but was BEGIN_ARRAY at path $ | <p>I'm going a little crazy here... I have a series of fragments where I am storing user input into shared preferences in order to create the user/user dog at the final onboarding fragment. I believed I fixed my model to reflect the JSON response, but I'm getting an error trying to set preferences in the photos fragmen... | I'm going a little crazy here... I have a series of fragments where I am storing user input into shared preferences in order to create the user/user dog at the final onboarding fragment. I believed I fixed my model to reflect the JSON response, but I'm getting an error trying to set preferences in the photos fragment a... | android|json|kotlin|gson|sharedpreferences | 0 | 2022-07-28T00:10:20.243Z | 2,022 | 7 | 0 | 3 | 35 | 2 | 818 | 109 | 5 | 5 | true | false | false | false | false | false | zero |
73,145,909 | Blazor Hyrid - Access Device Camera from InputFile | <p>I am attempting to using Blazor Hybrid (on MAUI) to capture an image from the camera (on Android in my case). I have been trying for awhile with no success. <a href="https://stackoverflow.com/questions/63275099/access-device-camera-with-blazor">This</a> StackOverflow suggests trying the following:</p>
<pre><code><... | I am attempting to using Blazor Hybrid (on MAUI) to capture an image from the camera (on Android in my case). I have been trying for awhile with no success. This StackOverflow suggests trying the following: [CODE] However, this and also: [CODE] does not work for me in Blazor Hybrid (it does work in Blazor Server/WASM).... | c#|android|.net|blazor|maui | 0 | 2022-07-28T00:18:06.510Z | 2,022 | 7 | 0 | 3 | 50 | 0 | 425 | 50 | 5 | 2 | true | true | false | false | false | false | zero |
73,145,944 | Receive Android Intent from adb when app is in the foreground | <p>I have my app running in the foreground and when I issue the adb command below I get the Warning message. It is saying the Intent has been delivered but I'm not sure how to receive it in my MainActivity. Any help with this issue would be greatly appreciated.</p>
<pre><code>adb shell am start -a com.ilw.admin.INSTA... | I have my app running in the foreground and when I issue the adb command below I get the Warning message. It is saying the Intent has been delivered but I'm not sure how to receive it in my MainActivity. Any help with this issue would be greatly appreciated. [CODE] AndroidManifest.xml Activity [CODE] | android|kotlin|android-intent|adb | 0 | 2022-07-28T00:27:25.600Z | 2,022 | 7 | 0 | 3 | 106 | 1 | 301 | 61 | 4 | 2 | true | false | false | false | false | false | zero |
73,146,000 | Android Emulator of android studio keep glitching | <p><a href="https://i.stack.imgur.com/NrcmQ.png" rel="nofollow noreferrer">Glitch-Pic1</a> The screen keeps glitching and pixels going dark whenever I'm working on android studio's android virtual device. Help me to fix this, please.
<a href="https://i.stack.imgur.com/111Ul.png" rel="nofollow noreferrer">Glitch-Pic1</a... | Glitch-Pic1 The screen keeps glitching and pixels going dark whenever I'm working on android studio's android virtual device. Help me to fix this, please. Glitch-Pic1 | flutter|android-studio|android-emulator|nvidia | 1 | 2022-07-28T00:39:31.303Z | 2,022 | 7 | 0 | 3 | 121 | 1 | 166 | 49 | 4 | 0 | false | false | false | false | false | false | low |
73,146,031 | Is there a way that how to capture pc screen in android? | <p>I'm wondering how to capture PC screen in android app with phone camera.
(It's assumed that my phone is connected to PC in USB debugging.)</p>
<p>The reason why I ask this question is that I'm learning android.</p>
<p>Plus I thought that It's good when I want to get a picture in PC.</p>
<p>Is there idea or thought?<... | I'm wondering how to capture PC screen in android app with phone camera. (It's assumed that my phone is connected to PC in USB debugging.) The reason why I ask this question is that I'm learning android. Plus I thought that It's good when I want to get a picture in PC. Is there idea or thought? Any opinion is good! | android | 0 | 2022-07-28T00:46:07.917Z | 2,022 | 7 | 0 | 3 | 38 | 1 | 316 | 56 | 1 | 0 | false | false | false | false | false | false | zero |
73,146,242 | Is possible to get ACCESS_MEDIA_LOCATION permission in unity? | <p><code></application> <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" /> </manifest></code></p>
<pre><code>private void Start()
{
Permission.RequestUserPermission("android.permission.ACCESS_MEDIA_LOCATION"); // Permission popup dosen't apear
var H... | </application> <uses-permission android:name="android.permission.ACCESS_MEDIA_LOCATION" /> </manifest> [CODE] I tried for getting a "ACCESS_MEDIA_LOCATION" permission following above but permission popup dosen't apear for getting a permission. even though i add code in manifest, i couldn't get a per... | android|unity3d|exif | 0 | 2022-07-28T01:26:09.313Z | 2,022 | 7 | 1 | 3 | 66 | 0 | 367 | 61 | 3 | 1 | true | true | false | false | false | false | zero |
73,146,334 | Android Internal vs External Storage Confusion | <p>I'm new to Android and extremely confused about storage.</p>
<p>I have 4GB of internal storage on my Chromecast.</p>
<p>I plugged in a USB and formatted it as a storage device.</p>
<p>After that I enabled <strong><code>force push installs to external</code></strong> in the developer settings.</p>
<p>The drive name s... | I'm new to Android and extremely confused about storage. I have 4GB of internal storage on my Chromecast. I plugged in a USB and formatted it as a storage device. After that I enabled force push installs to external in the developer settings. The drive name shows under the settings as USB Drive , however when I load Fi... | android|chromecast|android-external-storage|android-internal-storage | -1 | 2022-07-28T01:43:57.117Z | 2,022 | 7 | 1 | 3 | 63 | 2 | 662 | 46 | 4 | 0 | false | false | false | false | false | true | negative |
73,146,442 | Unable to use USB port after disconnecting and connecting the printer | <p>I'm using <a href="https://github.com/kechankrisna/pos_printer_manager" rel="nofollow noreferrer">pos_printer_manager</a> to write data to pos printer through USB port via OTG. everything works fine untill I detach the printer and reconnect it again. It throughs exception that the port is already in use.</p>
<pre cl... | I'm using pos_printer_manager to write data to pos printer through USB port via OTG. everything works fine untill I detach the printer and reconnect it again. It throughs exception that the port is already in use. [CODE] I don't know how to free the USB port from use. I have tried the disconnect() function in USBPrinte... | android|flutter|printing|usb|pos | 0 | 2022-07-28T02:06:03.780Z | 2,022 | 7 | 2 | 3 | 34 | 0 | 390 | 69 | 5 | 1 | true | true | false | false | false | false | zero |
73,146,444 | How can I set PaintingStyle of Compose as to paint both inside shapes and the edges of shapes? | <p>I was told that I can set <code>PaintingStyle</code> of Compose as to paint both inside shapes and the edges of shapes by <a href="https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Paint#summary" rel="nofollow noreferrer">official article</a>. You can see Image A.</p>
<p><strong>Image A</st... | I was told that I can set PaintingStyle of Compose as to paint both inside shapes and the edges of shapes by official article . You can see Image A. Image A But how can I do it ? You know that Code A is wrong. Code A [CODE] | kotlin|android-jetpack-compose | 0 | 2022-07-28T02:06:10.943Z | 2,022 | 7 | 2 | 3 | 34 | 0 | 223 | 94 | 2 | 1 | true | true | false | false | false | false | zero |
73,146,474 | Making network call to receive image and show it when location access has been granted | <p>i'm wanting to make a network call when location access has been granted. so i'm using <code>LaunchedEffect(key1 = location.value){...}</code> to decide when to make that network call to recompose, but facing some issues.</p>
<p>upon initial launch user is greeted with the location request (either precise or coarse)... | i'm wanting to make a network call when location access has been granted. so i'm using LaunchedEffect(key1 = location.value){...} to decide when to make that network call to recompose, but facing some issues. upon initial launch user is greeted with the location request (either precise or coarse). during this, the Toas... | android|android-studio|kotlin|android-jetpack-compose|android-location | 1 | 2022-07-28T02:10:35.483Z | 2,022 | 7 | 2 | 3 | 74 | 1 | 931 | 86 | 5 | 3 | true | false | false | false | false | false | low |
73,146,494 | Not able to use MockK in Android Espresso UI Testing | <p>I am getting a error when trying to use MockK in UI test which was perfectly working in Unittest cases</p>
<pre><code>MockK could not self-attach a jvmti agent to the current VM
</code></pre>
<p><strong>Full error report</strong></p>
<pre><code>Caused by: io.mockk.proxy.MockKAgentException: MockK could not self-atta... | I am getting a error when trying to use MockK in UI test which was perfectly working in Unittest cases [CODE] Full error report [CODE] Let me know is there any other way to initialize the MockK to make use in Espresso When tried to add [CODE] Observed this error 2 files found with path 'mockito-extensions/org.mockito.p... | kotlin|mocking|android-espresso|coded-ui-tests|mockk | 0 | 2022-07-28T02:13:57.253Z | 2,022 | 7 | 2 | 3 | 276 | 0 | 890 | 52 | 5 | 7 | true | true | false | false | false | false | zero |
73,146,512 | DrawRect is not in the right position with the given coordinates | <p>I was doing the simple feature that I am taking the photo with Camerax and uploading the photo to Imagga to do the face detection by using this <a href="https://docs.imagga.com/#faces-detections" rel="nofollow noreferrer">API</a>, and here is the API result <code>[Face(confidence=100.0, coordinates=Coordinates(heigh... | I was doing the simple feature that I am taking the photo with Camerax and uploading the photo to Imagga to do the face detection by using this API , and here is the API result [Face(confidence=100.0, coordinates=Coordinates(height=1243, width=1243, xmax=2660, xmin=1417, ymax=3359, ymin=2116), face_id=)] And base on th... | android|canvas|bitmap|face-detection|drawrect | 0 | 2022-07-28T02:17:49.180Z | 2,022 | 7 | 2 | 3 | 20 | 0 | 760 | 64 | 5 | 2 | true | true | false | false | false | false | zero |
73,146,531 | Android: launcher Activity is sometimes created in wrong ApplicationContext | <p>The following code crashes in 0.01% of app launches on a few devices [see below].</p>
<pre><code>public class MyApp extends Application {
private static MyApp app;
public void onCreate() {
super.onCreate();
app = this;
}
public static MyApp get(Activity ct) {
if (nul... | The following code crashes in 0.01% of app launches on a few devices [see below]. [CODE] Manifest.xml [CODE] According to user reviews, some crashes occur when ads are shown. It could be that sometimes, MyApp is terminated while in background and MainActivity is re-created in a wrong ApplicationContext (maybe a web bro... | android|android-manifest|android-context | 0 | 2022-07-28T02:20:56.520Z | 2,022 | 7 | 2 | 3 | 67 | 1 | 627 | 75 | 3 | 3 | true | false | false | false | false | false | zero |
73,146,541 | PlatformView class written in Kotlin does not respond to Gesture | <pre><code>internal class ScrollViewWidget (context: Context?, id: Int, creationParams: Map<String?, Any?>?) : PlatformView
, AppCompatActivity()
{
private val view: View
private var mScaleGestureDetector: ScaleGestureDetector
private var mPanGestureDetector: GestureDetectorCompat
private va... | [CODE] [CODE] We have confirmed that the above code can produce a scrolling view in native code. However, I am unable to zoom in/out and pan around. We suspect that Gesture itself is not responding at all. We have already confirmed that the code on the Kotlin side works with this description. Can someone please tell me... | android|flutter|kotlin|dart | 0 | 2022-07-28T02:22:30.557Z | 2,022 | 7 | 2 | 3 | 33 | 0 | 347 | 64 | 4 | 2 | true | true | false | false | false | false | zero |
73,146,825 | How can I remember a string which is from stringArrayResource( ) when I use Jetpack Compose? | <p>I hope to remember a string which is from <code>stringArrayResource</code> in Code A , but I get the the Error A. How can I fix it?</p>
<p>And more, I find more variables can't be wrapped with remember, such as <code>val context = LocalContext.current</code> , why?</p>
<p><strong>Error A</strong></p>
<p><em>Compos... | I hope to remember a string which is from stringArrayResource in Code A , but I get the the Error A. How can I fix it? And more, I find more variables can't be wrapped with remember, such as val context = LocalContext.current , why? Error A Composable calls are not allowed inside the calculation parameter of inline fun... | kotlin|android-jetpack-compose | 1 | 2022-07-28T03:10:50.210Z | 2,022 | 7 | 3 | 3 | 75 | 1 | 396 | 92 | 2 | 1 | true | false | false | false | false | false | low |
73,146,872 | Android Intent to open other apps returning Null | <p>I tried to create a simple app which after clicking a button opens whatsapp.
I created an intent to open whatsapp . But while clicking the button , the intent returns null</p>
<pre><code>package com.myown.myapplication;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.... | I tried to create a simple app which after clicking a button opens whatsapp. I created an intent to open whatsapp . But while clicking the button , the intent returns null [CODE] After Clicking the button , the intent is returning null, and this is the log message i received [CODE] This is my xml code: [CODE] | android-studio|android-intent | 0 | 2022-07-28T03:19:37.867Z | 2,022 | 7 | 3 | 3 | 43 | 2 | 310 | 48 | 2 | 3 | true | false | false | false | false | false | zero |
73,146,956 | Firebase database not working properly in android after running in "APK from App bundle" | <p>Normal Apk runs perfectly fine but when I select "Apk from app bundle". The app crashed when I tried to log in. When I reopen the app it signs me in but without creating a necessary node in firebase's real-time database.</p>
<p>When I try to "sign in with google" in my project it brings me back t... | Normal Apk runs perfectly fine but when I select "Apk from app bundle". The app crashed when I tried to log in. When I reopen the app it signs me in but without creating a necessary node in firebase's real-time database. When I try to "sign in with google" in my project it brings me back to login pa... | android|firebase|proguard|release | 0 | 2022-07-28T03:33:18.910Z | 2,022 | 7 | 3 | 3 | 37 | 0 | 1,414 | 88 | 4 | 2 | true | true | false | false | false | false | zero |
73,147,026 | how to protect apps from bypass | <p>I have a application which have a refer system</p>
<p>I get user imei no. to as a id of the user</p>
<p>but I checked my application I bypass my application using some app cloner have a funtion to set random imei no.</p>
<p>so how to protect my application from this things</p> | I have a application which have a refer system I get user imei no. to as a id of the user but I checked my application I bypass my application using some app cloner have a funtion to set random imei no. so how to protect my application from this things | android|android-studio | 0 | 2022-07-28T03:44:42.753Z | 2,022 | 7 | 3 | 3 | 34 | 1 | 252 | 31 | 2 | 0 | false | false | false | false | false | false | zero |
73,147,031 | When I Change Value In varibale , those varible can't change their value it's hold old value as it as in Flutter | <p>I am trying to change value of the instance varible in flutter but they not changed.</p>
<p>First I declare double type varible <strong>SPI</strong> with intial Value 0.0 but after i assigen new value on variable <strong>SPI</strong> they not change. Spi show 0.0 not new value they I reassigned In flutter.</p>
<p>Pl... | I am trying to change value of the instance varible in flutter but they not changed. First I declare double type varible SPI with intial Value 0.0 but after i assigen new value on variable SPI they not change. Spi show 0.0 not new value they I reassigned In flutter. Pleas Help me in this situation , How can i change th... | android|ios|flutter|dart|variables | 0 | 2022-07-28T03:45:26.397Z | 2,022 | 7 | 3 | 3 | 34 | 1 | 419 | 112 | 5 | 1 | true | false | false | false | false | false | zero |
73,147,049 | Stopping glide from processing requests in a recyclerview | <p>I'm trying to load,remotely,some url's using glide in my recyclerview. It seems glide continues to process requests,based on viewing the internet connection speed which still displays the high rate for up to a minute even after leaving the fragment and moving to a different one(or even leaving the app). This slows d... | I'm trying to load,remotely,some url's using glide in my recyclerview. It seems glide continues to process requests,based on viewing the internet connection speed which still displays the high rate for up to a minute even after leaving the fragment and moving to a different one(or even leaving the app). This slows down... | android|android-volley|android-glide | 1 | 2022-07-28T03:47:46.287Z | 2,022 | 7 | 3 | 3 | 28 | 0 | 721 | 57 | 3 | 1 | true | true | false | false | false | false | low |
73,147,067 | How to create so file for x64 using android NDK. custom tool chain? | <p>I am very new to android and here is what I want to do:</p>
<p>I have some cpp files and want to create so file which will be later used in another android project. Now, I tried with cmake and using linux native libs like libc, libpng, libjepeg etc. But when I used that so file in the other android project, I got li... | I am very new to android and here is what I want to do: I have some cpp files and want to create so file which will be later used in another android project. Now, I tried with cmake and using linux native libs like libc, libpng, libjepeg etc. But when I used that so file in the other android project, I got linker error... | android|c++|android-ndk|java-native-interface|shared-libraries | 0 | 2022-07-28T03:51:05.307Z | 2,022 | 7 | 3 | 3 | 26 | 0 | 982 | 67 | 5 | 1 | true | true | false | false | false | false | zero |
73,147,095 | Implement search bar to filter Item and showing new activity | <p>I am making a application which use Search bar to filter item in list view. when user search and choose an item they want, application will display activity of that item.
I try to find solution but each time user select item they want to go. the application always shows the activity of the first item. can anyone p... | I am making a application which use Search bar to filter item in list view. when user search and choose an item they want, application will display activity of that item. I try to find solution but each time user select item they want to go. the application always shows the activity of the first item. can anyone please... | java|android-studio|listview|textview|searchbar | 0 | 2022-07-28T03:56:39.943Z | 2,022 | 7 | 3 | 3 | 29 | 0 | 442 | 60 | 5 | 2 | true | true | false | false | false | false | zero |
73,147,220 | Android TypedArray of raw ids | <p>Is there a way to add raw resource ids as items in a TypedArray. For example, if there is a resource <code>res/raw/Foo.ext</code> for a certain binary <code>Foo.ext</code>, is it possible to define a file <code>res/values/arrays.xml</code> that looks like:</p>
<pre><code><resources>
<array name="Foo&... | Is there a way to add raw resource ids as items in a TypedArray. For example, if there is a resource res/raw/Foo.ext for a certain binary Foo.ext , is it possible to define a file res/values/arrays.xml that looks like: [CODE] Android Studio does not appear to show autocompletion for @raw/ as it does for @drawable/ for ... | android|xml|raw|typedarray | 0 | 2022-07-28T04:15:58.333Z | 2,022 | 7 | 4 | 3 | 27 | 0 | 391 | 29 | 4 | 1 | true | true | false | false | false | false | zero |
73,147,233 | How to revoke specific Health data type of Google fit | <p>I am using this below code block to revoke only "DataType.TYPE_WORKOUT_EXERCISE" but it revoke all DataTypes</p>
<pre><code>fun disconnect(context: Context) {
val fitnessOptions = FitnessOptions.builder()
.addDataType(DataType.TYPE_WORKOUT_EXERCISE, FitnessOptions.ACCESS_READ)
.... | I am using this below code block to revoke only "DataType.TYPE_WORKOUT_EXERCISE" but it revoke all DataTypes [CODE] Seem the fitnessOptions does not effect. Is there any way to revoke the exact fitness data type ? | android|flutter|healthkit|google-fit | 0 | 2022-07-28T04:18:40.217Z | 2,022 | 7 | 4 | 3 | 26 | 0 | 223 | 53 | 4 | 1 | true | true | false | false | false | false | zero |
73,147,258 | In android studio, when I click on flutter new project and write flutter SDK file location. After that the screen of project name does not appear | <p><strong>Flutter new project</strong>
<em>Application name screen does not appear, it directly jumps to code screen</em></p> | Flutter new project Application name screen does not appear, it directly jumps to code screen | flutter|android-studio|project|application-name | 0 | 2022-07-28T04:24:20.160Z | 2,022 | 7 | 4 | 3 | 21 | 0 | 93 | 145 | 4 | 0 | false | true | false | false | false | false | zero |
73,147,435 | Is there any way to keep theme (light /dark) active through out the app in kotlin even after you reopen the app | <p>Changing the theme(light/dark& default) from the dialog box using option menu.Is there any way to keep theme (light /dark) active through out the app in kotlin even after you reopen the app. I used shared preferences but unable to access that in oncreate</p> | Changing the theme(light/dark& default) from the dialog box using option menu.Is there any way to keep theme (light /dark) active through out the app in kotlin even after you reopen the app. I used shared preferences but unable to access that in oncreate | android|android-studio|kotlin | -1 | 2022-07-28T04:52:53.370Z | 2,022 | 7 | 4 | 3 | 38 | 1 | 254 | 111 | 3 | 0 | false | false | false | false | false | true | negative |
73,147,437 | How to add carousel type Native Ad from Google Ad Manager & AdMob | <p>I'm trying to add native ads in my android application feed, but able to get proper documentation for this.
Weather I should use <code>[Custom native ad formats][1]</code> or it can be done by <code>[Native templates][1]</code>.</p>
<p>what I want to implement is something like this-</p>
<p><a href="https://i.stack.... | I'm trying to add native ads in my android application feed, but able to get proper documentation for this. Weather I should use [Custom native ad formats][1] or it can be done by [Native templates][1] . what I want to implement is something like this- Also how would I create a carousel type Native template in GAM & Ad... | android|admob|native-ads|googlenativead | 0 | 2022-07-28T04:53:19.540Z | 2,022 | 7 | 4 | 3 | 18 | 0 | 353 | 65 | 4 | 0 | false | true | false | false | false | false | zero |
73,147,589 | Setting the correct specific Time Zone in the Philippines | <p>so I have a DateFormat function in my android app which calculate and show the date and time of the "data" that has been posted on my database. Surely enough, It shows on my app, but not the correct time. "GMT" isn't the right one, and "GMT+8" doesn't work, i also tried "Asia/Manil... | so I have a DateFormat function in my android app which calculate and show the date and time of the "data" that has been posted on my database. Surely enough, It shows on my app, but not the correct time. "GMT" isn't the right one, and "GMT+8" doesn't work, i also tried "Asia/Manila&q... | java|android|android-studio | 0 | 2022-07-28T05:17:09.627Z | 2,022 | 7 | 5 | 3 | 53 | 1 | 375 | 57 | 3 | 1 | true | false | false | false | false | false | zero |
73,147,633 | Getting NULL in context while auto restart with BROADCAST RECEIVER in Android app | <p>I am developing android application which need auto restart when restart device for that I am using broadcast receiver with action BOOT_COMPLETED.</p>
<p>Broadcast receiver is receiving message when I am restarting device but in restart method I want to start main activity for that I used Intent but in onReceive met... | I am developing android application which need auto restart when restart device for that I am using broadcast receiver with action BOOT_COMPLETED. Broadcast receiver is receiving message when I am restarting device but in restart method I want to start main activity for that I used Intent but in onReceive method of rec... | android|broadcastreceiver|android-manifest|android-context | 0 | 2022-07-28T05:22:42.697Z | 2,022 | 7 | 5 | 3 | 47 | 1 | 518 | 81 | 4 | 4 | true | false | false | false | false | false | zero |
73,147,675 | MpAndroidChart Customise Width and Height of Horizontal Stacked Bar Chart | <p>I am using MPAndroidChart library for horizontal stacked bar chart inside a card view. I want to set the width of stacked bar chart to match with the card view. Is there any option to set barwidth to match parent?</p>
<p>Below is my code:</p>
<pre><code><androidx.cardview.widget.CardView
andro... | I am using MPAndroidChart library for horizontal stacked bar chart inside a card view. I want to set the width of stacked bar chart to match with the card view. Is there any option to set barwidth to match parent? Below is my code: [CODE] To setdata: [CODE] Can somebody tell how to set adjust width to match parent? See... | android|mpandroidchart | 0 | 2022-07-28T05:28:37.600Z | 2,022 | 7 | 5 | 3 | 51 | 0 | 451 | 73 | 2 | 3 | true | true | false | false | false | false | zero |
73,147,681 | why constrainlayout not showing exactly as real device | <p>I am developing new app but my preview window showing different and real device different I did not understand what is the problem</p>
<p>below my current layout</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="h... | I am developing new app but my preview window showing different and real device different I did not understand what is the problem below my current layout [CODE] current screen from preview window in android studio screenshot from real device I want to know exactly where I am making mistake what I am making wrong what ... | android|android-constraintlayout | 0 | 2022-07-28T05:29:44.530Z | 2,022 | 7 | 5 | 3 | 32 | 1 | 380 | 54 | 2 | 1 | true | false | false | false | false | false | zero |
73,147,744 | how to get data from mysql database into recycler view? | <p>I am making an app that let users create meetings and I would like the details of the meeting (eg name, type, location) in a recycler view.I ran the php code by itself and was able to get the values from the database.</p>
<p>Currently, I am getting an error of</p>
<pre><code>java.lang.NullPointerException: Attempt t... | I am making an app that let users create meetings and I would like the details of the meeting (eg name, type, location) in a recycler view.I ran the php code by itself and was able to get the values from the database. Currently, I am getting an error of [CODE] at in recyclerviewAdapter [CODE] which is linked to [CODE] ... | java|php|android | 0 | 2022-07-28T05:38:03.923Z | 2,022 | 7 | 5 | 3 | 62 | 2 | 472 | 55 | 3 | 8 | true | false | false | false | false | false | zero |
73,147,866 | NFC_manager flutter package reading NFC not work in android | <p>I've followed 'NFC_manager' example, <a href="https://pub.dev/packages/nfc_manager/example" rel="nofollow noreferrer">https://pub.dev/packages/nfc_manager/example</a></p>
<p>Successfully build in my android phone and check NFC instance avaiable when I turn on NFC mode.</p>
<p>Howerver, clicking the 'Tag Read' button... | I've followed 'NFC_manager' example, https://pub.dev/packages/nfc_manager/example Successfully build in my android phone and check NFC instance avaiable when I turn on NFC mode. Howerver, clicking the 'Tag Read' button, it should be started to scan NFC tags. photo-1 But 'NFC_manager' cannot catch any tag. After some ti... | android|nfc|flutter-packages | 0 | 2022-07-28T05:53:22.373Z | 2,022 | 7 | 5 | 3 | 71 | 0 | 428 | 59 | 3 | 0 | false | true | false | false | false | false | zero |
73,147,871 | How to access value outside of foreach on Android Studio, Kotlin, Room Database | <p>I am writing a code for the access room database. I want to use some values outside of foEeach. for example:
my DAO query is:</p>
<pre><code> @Query("SELECT * FROM table_users WHERE id = :id ")
fun getSingleUserDetails(id: Int): List<UsersEntity>
</code></pre>
<p>and accessing on MainActivity:</p>... | I am writing a code for the access room database. I want to use some values outside of foEeach. for example: my DAO query is: [CODE] and accessing on MainActivity: [CODE] In this case I can use all values within the forEach {}, but now I want to use the "userName" (or any other values) outside of forEach's &q... | android|kotlin|android-room | 0 | 2022-07-28T05:54:00.593Z | 2,022 | 7 | 5 | 3 | 30 | 1 | 352 | 79 | 3 | 2 | true | false | false | false | false | false | zero |
73,147,905 | create files up to 50k & upload to firebase | <p>I wrote a program to save a series of data in a file and then upload it to firebase. The problem is that when the file is uploaded, the new data replaces the old data and the old data is deleted. My solution to keep the previous data is to first create a file called "file2.txt" and save the data in it. Its... | I wrote a program to save a series of data in a file and then upload it to firebase. The problem is that when the file is uploaded, the new data replaces the old data and the old data is deleted. My solution to keep the previous data is to first create a file called "file2.txt" and save the data in it. Its vo... | android|firebase|file-upload|upload|file-manager | 0 | 2022-07-28T05:58:25.430Z | 2,022 | 7 | 5 | 3 | 28 | 1 | 683 | 43 | 5 | 1 | true | false | false | false | false | false | zero |
73,148,021 | I want to create bottom sheet dialog like this image below in flutter | <p>Please help me!!!
I m new in flutter, i want to create like this in my flutter app on button click.</p>
<p><a href="https://i.stack.imgur.com/rVttn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rVttn.png" alt="enter image description here" /></a></p> | Please help me!!! I m new in flutter, i want to create like this in my flutter app on button click. | android|ios|flutter|flutter-layout|flutter-animation | 1 | 2022-07-28T06:12:20.880Z | 2,022 | 7 | 6 | 3 | 76 | 2 | 99 | 69 | 5 | 0 | false | false | false | false | false | false | low |
73,148,037 | copy database from android room to file | <p>I want to copy my sqlite db for backup from <code>"/data/data/" + c.getPackageName() + "/databases/" + DATABASE_NAME;</code> to any where user wants for backup in java+xml mode and isn't any problem for restore this.,
but when I use room + compose. when copy db, isn't any problem but can't restor... | I want to copy my sqlite db for backup from "/data/data/" + c.getPackageName() + "/databases/" + DATABASE_NAME; to any where user wants for backup in java+xml mode and isn't any problem for restore this., but when I use room + compose. when copy db, isn't any problem but can't restore this (copy fro... | android|android-sqlite|android-room|android-jetpack-compose | 0 | 2022-07-28T06:14:38.470Z | 2,022 | 7 | 6 | 3 | 57 | 1 | 494 | 39 | 4 | 1 | true | false | false | false | false | false | zero |
73,148,067 | Observing position of item in Lazy Column in Jetpack Compose | <p>Is there a way where I can observer the Cyan color field position progress in percentage/fraction, to get 100% when it is fully visible and 0% when it is closed(list elements are scrolled), the idea is that I want to remove "First Last" text on left with animation.</p>
<p>Here is the code:</p>
<pre><code>v... | Is there a way where I can observer the Cyan color field position progress in percentage/fraction, to get 100% when it is fully visible and 0% when it is closed(list elements are scrolled), the idea is that I want to remove "First Last" text on left with animation. Here is the code: [CODE] | android-jetpack-compose | 1 | 2022-07-28T06:17:41.890Z | 2,022 | 7 | 6 | 3 | 118 | 1 | 300 | 60 | 1 | 1 | true | false | false | false | false | false | low |
73,148,095 | Save file from file-picker for later use (without picking again) | <p>I need to let user choose a file(certificate <code>.pem</code> file) from internal storage. This is used to access the server but when app is closed and reopened it would be annoying to choose cert every time. What I want to do is save this file for later use, how can that be done? If possible I would want to copy s... | I need to let user choose a file(certificate .pem file) from internal storage. This is used to access the server but when app is closed and reopened it would be annoying to choose cert every time. What I want to do is save this file for later use, how can that be done? If possible I would want to copy said cert file to... | java|android | 1 | 2022-07-28T06:20:13.720Z | 2,022 | 7 | 6 | 3 | 60 | 1 | 664 | 64 | 2 | 2 | true | false | false | false | false | false | low |
73,148,115 | what is simplest easy test for react native app for android and IOS? | <p>I am a new software developer my Team leader give me one task for testing in the AWS device farm.
I am new in AWS also new in testing I watched some videos about AWS device farm there is so much testing cases and now I am confused about what test I should do for now, so my team leader said just try any test for now.... | I am a new software developer my Team leader give me one task for testing in the AWS device farm. I am new in AWS also new in testing I watched some videos about AWS device farm there is so much testing cases and now I am confused about what test I should do for now, so my team leader said just try any test for now. No... | android|amazon-web-services|react-native|testing|aws-device-farm | 0 | 2022-07-28T06:22:32.667Z | 2,022 | 7 | 6 | 3 | 32 | 0 | 643 | 68 | 5 | 0 | false | true | false | false | false | false | zero |
73,148,155 | When extend AppCompatEditText it overlap on TextView - Android | <p>I have bellow layout:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="ht... | I have bellow layout: [CODE] Problem: When extend AppCompatEditText it overlap on TextView . I need that AppCompatEditText be android:layout_width="wrap_content" . And when user type extend AppCompatEditText to left TextView . | android-linearlayout|android-relativelayout|android-constraintlayout | 0 | 2022-07-28T06:26:01.863Z | 2,022 | 7 | 6 | 3 | 24 | 1 | 236 | 62 | 3 | 1 | true | false | false | false | false | false | zero |
73,148,156 | Generate notification whenever there is any change in database in Real-time Firebase (Kotlin,Android)? | <p>I create a project where I insert and retrieve data from the database in Realtime Firebase. Now I want to generate a notification when a change in database. Can anyone help me to solve this problem?</p>
<p>My Project gist is -
<a href="https://gist.github.com/anandrex5/dca58b04b72aba0962c20d401381432e" rel="nofollow... | I create a project where I insert and retrieve data from the database in Realtime Firebase. Now I want to generate a notification when a change in database. Can anyone help me to solve this problem? My Project gist is - https://gist.github.com/anandrex5/dca58b04b72aba0962c20d401381432e | android|firebase|kotlin|firebase-realtime-database | 0 | 2022-07-28T06:26:06.617Z | 2,022 | 7 | 6 | 3 | 45 | 0 | 286 | 102 | 4 | 0 | false | true | false | false | false | false | zero |
73,148,172 | Is there any way to get default printer in javascript/nativescript? | <p>I'm new to app development and I'm trying to get the default printer name from the device and send it to a 3rd party API. I've found 'javax.print.PrintServiceLookup' which can get the default printer but I need this in javascript/typescript.</p>
<p>Is there anything available to use this library in my code? I'm deve... | I'm new to app development and I'm trying to get the default printer name from the device and send it to a 3rd party API. I've found 'javax.print.PrintServiceLookup' which can get the default printer but I need this in javascript/typescript. Is there anything available to use this library in my code? I'm developing thi... | javascript|java|android|ios | 0 | 2022-07-28T06:27:51.280Z | 2,022 | 7 | 6 | 3 | 35 | 1 | 350 | 67 | 4 | 0 | false | false | false | false | false | false | zero |
73,148,228 | PopUp Location Error in RecycleView using Balloon | <p>I'm using Balloon Pop-up tool in recycleView. (<a href="https://github.com/skydoves/Balloon/" rel="nofollow noreferrer">https://github.com/skydoves/Balloon/</a>)
If I use RecycleView without scrolling, there is no problem. But when the Balloon dialog appears after scrolling, it appears in the wrong place.</p>
<p><a ... | I'm using Balloon Pop-up tool in recycleView. ( https://github.com/skydoves/Balloon/ ) If I use RecycleView without scrolling, there is no problem. But when the Balloon dialog appears after scrolling, it appears in the wrong place. return Balloon.Builder(context) .setText(content) .setWidth(BalloonSizeSpec.WRAP) .setHe... | android|kotlin | 0 | 2022-07-28T06:32:08.960Z | 2,022 | 7 | 6 | 3 | 40 | 0 | 936 | 49 | 2 | 0 | false | true | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.