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,155,843 | Data safety form in google play console does it require a publishing of the app? | <p>As you all know DataSafety is now mandatory when publishing an app.
We do not want to re-publish the app again at this stage.</p>
<ol>
<li><p>Do you know if it's possible just to update the Data Safety section without publishing the app again ?</p>
</li>
<li><p>Does it apply to apps that already exists in playstore ... | As you all know DataSafety is now mandatory when publishing an app. We do not want to re-publish the app again at this stage. Do you know if it's possible just to update the Data Safety section without publishing the app again ? Does it apply to apps that already exists in playstore or just for new apps ?] Many thanks | android|google-play-console | 0 | 2022-07-28T16:02:20.320Z | 2,022 | 7 | 16 | 3 | 103 | 1 | 319 | 80 | 2 | 0 | false | false | false | false | false | false | zero |
73,155,898 | How i can set OneSignal small icon in android library from Unity app? | <p>I have an android library with OneSignal implemented. It implements in Unity projects as .aar. I dont want add app icon manually and rebuild this lib from proj to proj, so i want to get this icon from root Unity proj. Mb reference to Unity resources, or pass this icon while lib initializing and save it to lib`s reso... | I have an android library with OneSignal implemented. It implements in Unity projects as .aar. I dont want add app icon manually and rebuild this lib from proj to proj, so i want to get this icon from root Unity proj. Mb reference to Unity resources, or pass this icon while lib initializing and save it to lib`s resourc... | android|unity3d|onesignal | 0 | 2022-07-28T16:06:28.093Z | 2,022 | 7 | 16 | 3 | 17 | 0 | 323 | 69 | 3 | 0 | false | true | false | false | false | false | zero |
73,155,988 | Getting InstantiationException: Unable to instantiate fragment Error after changing system font | <p>The app is crashing when the app is in the background and I changed the font and open the app again.</p>
<p>Getting Below error</p>
<pre><code>Caused by: androidx.fragment.app.Fragment$InstantiationException: Unable to instantiate fragment could not find Fragment constructor
</code></pre>
<p>Steps</p>
<ul>
<li>Open ... | The app is crashing when the app is in the background and I changed the font and open the app again. Getting Below error [CODE] Steps Open the bottom sheet dialog CategoriesBottomSheetDialog Minimize the application (in the background) Changed font Open the app again I can provide a fix using bundle but I want to know ... | java|android|kotlin|android-fragments|fragment | 0 | 2022-07-28T16:13:28.743Z | 2,022 | 7 | 16 | 3 | 152 | 0 | 639 | 95 | 5 | 2 | true | true | false | false | false | false | zero |
73,156,177 | How to get Response from Dynamic key through Retrofit? | <p>I am using Retrofit to get my response of different APIs. One of these APIs is returning response with dynamic key within main response object. As we have to make response structure to map response through Retrofit.
In my case I am unable to do this because of dynamic key response.
Ho can I get this response through... | I am using Retrofit to get my response of different APIs. One of these APIs is returning response with dynamic key within main response object. As we have to make response structure to map response through Retrofit. In my case I am unable to do this because of dynamic key response. Ho can I get this response through re... | android|api|retrofit|retrofit2|response | 0 | 2022-07-28T16:27:58.567Z | 2,022 | 7 | 16 | 3 | 42 | 1 | 584 | 54 | 5 | 5 | true | false | false | false | false | false | zero |
73,156,340 | How to install apt or pkg in Pydroid 3 | <p>I want to install <code>apt</code> or <code>pkg</code> package manager and <code>Termux</code> repositories (<code>main-repo</code>, <code>root-repo</code>, <code>x11-repo</code>) on <code>Pydroid 3</code>. How can I do this? Help me please!</p> | I want to install apt or pkg package manager and Termux repositories ( main-repo , root-repo , x11-repo ) on Pydroid 3 . How can I do this? Help me please! | android|apt|dpkg|termux|pydroid | 1 | 2022-07-28T16:40:32.373Z | 2,022 | 7 | 16 | 3 | 118 | 0 | 155 | 38 | 5 | 0 | false | true | false | false | false | false | low |
73,156,357 | How can I get the package name of the android in any file with in a static method | <p>I am trying to get the package name of the app using the below code in my adapter java file. But I am getting nullpointer exception.</p>
<pre><code>Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'android.content.pm.PackageManager android.content.Context.getPackageManager()' on a nul... | I am trying to get the package name of the app using the below code in my adapter java file. But I am getting nullpointer exception. [CODE] Code: [CODE] | android|android-context | -1 | 2022-07-28T16:41:54.563Z | 2,022 | 7 | 16 | 3 | 16 | 1 | 152 | 81 | 2 | 2 | true | false | false | false | false | true | negative |
73,156,403 | How to reasign values dynamically in room? | <p>I have a <code>data class</code>, where as a JSON from backend I get string as <code>key</code> for example <code>"ready"</code>.</p>
<p>if key = "ready", then it should fullfil the rest of the data like:</p>
<pre><code>key = "ready"
order = 1
isReady = true
isClosed = false
isFinished ... | I have a data class , where as a JSON from backend I get string as key for example "ready" . if key = "ready", then it should fullfil the rest of the data like: [CODE] I hope I could do it dynamically like that: [CODE] I needed to write converter so it is: [CODE] I've got error. This data is part of... | android|kotlin|android-room | 0 | 2022-07-28T16:45:20.480Z | 2,022 | 7 | 16 | 3 | 29 | 0 | 615 | 42 | 3 | 5 | true | true | false | false | false | false | zero |
73,156,693 | Gaps in audio when connecting to a Bluetooth device | <p>I am using <a href="https://cloud.google.com/text-to-speech/docs/ssml?hl=de" rel="nofollow noreferrer">SSML</a>, so my app can speak. The app itself works perfectly fine on my phone BUT when I connect my phone with a device over Bluetooth, there is mostly a gap or a delay. Either at the beginning or in the middle of... | I am using SSML , so my app can speak. The app itself works perfectly fine on my phone BUT when I connect my phone with a device over Bluetooth, there is mostly a gap or a delay. Either at the beginning or in the middle of the speech. So for instance, when the audio is Hello John, I am your assistant. How can I help yo... | java|android|bluetooth|ssml | 1 | 2022-07-28T17:07:31.807Z | 2,022 | 7 | 17 | 3 | 162 | 1 | 1,190 | 51 | 4 | 4 | true | false | false | false | false | false | low |
73,156,699 | Android Studio : how to add 'App quality insight' window to see Crashlytics data in Android Studio? | <p>It is mentioned here:
<a href="https://firebase.blog/posts/2022/06/new-product-updates-to-firebase-crashlytics" rel="nofollow noreferrer">https://firebase.blog/posts/2022/06/new-product-updates-to-firebase-crashlytics</a></p>
<p>that I can see my Crashlytics crashes directly in Android Studio thanks to the 'App qua... | It is mentioned here: https://firebase.blog/posts/2022/06/new-product-updates-to-firebase-crashlytics that I can see my Crashlytics crashes directly in Android Studio thanks to the 'App quality insight' window. As explained in the previous link, I logged in my Android Studio with my Google developer account. But I don'... | android|firebase|android-studio|crashlytics|crashlytics-android | 2 | 2022-07-28T17:08:07.443Z | 2,022 | 7 | 17 | 3 | 140 | 1 | 387 | 99 | 5 | 0 | false | false | false | false | false | false | low |
73,156,713 | How good is to apply React Context API for all screens | <p>Currently I have four contexts that wrap all my routes (as shown bellow) so that I don't have lost providers all around my app screens and components. As far as I know, when I modify the value of a context variable, every component that uses it will update too, what can lead to memory problems, but my question is: i... | Currently I have four contexts that wrap all my routes (as shown bellow) so that I don't have lost providers all around my app screens and components. As far as I know, when I modify the value of a context variable, every component that uses it will update too, what can lead to memory problems, but my question is: if m... | javascript|android|ios|react-native|react-context | 0 | 2022-07-28T17:09:00.557Z | 2,022 | 7 | 17 | 3 | 31 | 1 | 458 | 54 | 5 | 1 | true | false | false | false | false | false | zero |
73,156,774 | Delphi 11.0 FMX Android application won't start on Nox Android 7.1 Emulator SDK 25.2.5 32-bit | <p>I am writing a simple Android application that contains only a TButton for testing compilation. The target is a Nox Android 7.1 emulator that is detected as a build target by the Delphi 11.0 IDE. I am able to build and sideload the application onto the Android 7.1 emulator. After starting, the FireMonkey splash scre... | I am writing a simple Android application that contains only a TButton for testing compilation. The target is a Nox Android 7.1 emulator that is detected as a build target by the Delphi 11.0 IDE. I am able to build and sideload the application onto the Android 7.1 emulator. After starting, the FireMonkey splash screen ... | android|delphi|firemonkey | 0 | 2022-07-28T17:14:09.463Z | 2,022 | 7 | 17 | 3 | 88 | 1 | 639 | 93 | 3 | 2 | true | false | false | false | false | false | zero |
73,156,898 | Is hotspot data logged by a work managed device | <p>I have two devices, a Samsung phone provided and managed by work and a Pixel phone for personal use. I created a Hotspot on my work phone and connected to it from my personal phone. I am wondering if the web browsing on my personal phone is logged on the work phone when using it's Hotspot. I am concerned that my wor... | I have two devices, a Samsung phone provided and managed by work and a Pixel phone for personal use. I created a Hotspot on my work phone and connected to it from my personal phone. I am wondering if the web browsing on my personal phone is logged on the work phone when using it's Hotspot. I am concerned that my work's... | android|logging|hotspot | 0 | 2022-07-28T17:23:54.170Z | 2,022 | 7 | 17 | 3 | 33 | 0 | 418 | 47 | 3 | 0 | false | true | false | false | false | false | zero |
73,156,965 | Why does device use not existing API? | <p>I have small app. It has <a href="https://developer.android.com/reference/android/app/Activity#getMaxNumPictureInPictureActions()" rel="nofollow noreferrer">method</a> that has been added in 26 API level.</p>
<pre><code>...
getMaxNumPictureInPictureActions();
...
</code></pre>
<p>When i run it on device that has 24 ... | I have small app. It has method that has been added in 26 API level. [CODE] When i run it on device that has 24 API level, the app crashes. It's ok. Then i deleted that method and tried to use constant which has been added in 26 API level as well. [CODE] For some reason, after reading this line, the app doesn't crash. ... | java|android|android-studio | 0 | 2022-07-28T17:29:29.340Z | 2,022 | 7 | 17 | 3 | 25 | 0 | 427 | 37 | 3 | 2 | true | true | false | false | false | false | zero |
73,157,063 | Android Random Expression | <p>My task is to create 2 arithmetic expressions involves 1, 2, 3 or 4 terms and it should be random
(i.e. not hardcoded, or fixed, neither for the terms nor for the operations).
The 2 arithmetic expressions could be of different lengths.
The operations allowed between terms are addition (+), subtraction (-), multiplic... | My task is to create 2 arithmetic expressions involves 1, 2, 3 or 4 terms and it should be random (i.e. not hardcoded, or fixed, neither for the terms nor for the operations). The 2 arithmetic expressions could be of different lengths. The operations allowed between terms are addition (+), subtraction (-), multiplicati... | java|android | 0 | 2022-07-28T17:38:44.183Z | 2,022 | 7 | 17 | 3 | 16 | 0 | 498 | 25 | 2 | 0 | false | true | false | false | false | false | zero |
73,157,295 | Navigation Component: detect specific transition | <p>I have an Activity with 3 Fragments. <code>FragmentOne</code> has a button which transitions to <code>FragmentTwo</code>. There is a menu item in the Action Bar which allows the user to go to <code>FragmentThree</code>. Navigating upward from <code>FragmentThree</code> returns you to the previous Fragment. I want to... | I have an Activity with 3 Fragments. FragmentOne has a button which transitions to FragmentTwo . There is a menu item in the Action Bar which allows the user to go to FragmentThree . Navigating upward from FragmentThree returns you to the previous Fragment. I want to display a message when the user has navigated to Fra... | java|android|android-architecture-navigation | 0 | 2022-07-28T17:58:28.690Z | 2,022 | 7 | 17 | 3 | 19 | 0 | 1,306 | 48 | 3 | 4 | true | true | false | false | false | false | zero |
73,157,368 | RecyclerView does not continue to scroll if start scrolling on AppBar in CoordinatorLayout | <p>The application uses a CoordinatorLayout with a CollapsingToolbarLayout. Inside, below it is a RecyclerView with a ScrollingViewBehavior. Everything works correctly (AppBar collapses on scroll), but there is a problem:</p>
<p>If I swipe not the RecyclerView, but the AppBar area (from bottom to top), then the screen ... | The application uses a CoordinatorLayout with a CollapsingToolbarLayout. Inside, below it is a RecyclerView with a ScrollingViewBehavior. Everything works correctly (AppBar collapses on scroll), but there is a problem: If I swipe not the RecyclerView, but the AppBar area (from bottom to top), then the screen will only ... | android|android-recyclerview|android-coordinatorlayout|android-collapsingtoolbarlayout|android-appbarlayout | 0 | 2022-07-28T18:07:57.790Z | 2,022 | 7 | 18 | 3 | 50 | 0 | 485 | 90 | 5 | 1 | true | true | false | false | false | false | zero |
73,157,402 | Android Studio xml layout files not recognized as layout file | <p>I've been encountering some very odd problems with Android Studio today.</p>
<p>When I open an XML layout file, it opens as a plain text for some reason. It even says that I have a typo for <code>constraintLayout</code> and tells me to change it to <code>constraint's layout</code>.</p>
<p>There's no design view choi... | I've been encountering some very odd problems with Android Studio today. When I open an XML layout file, it opens as a plain text for some reason. It even says that I have a typo for constraintLayout and tells me to change it to constraint's layout . There's no design view choice in sight. I tried adding elements by ha... | android|xml|android-studio|android-layout | 0 | 2022-07-28T18:11:23.990Z | 2,022 | 7 | 18 | 3 | 83 | 2 | 1,098 | 61 | 4 | 0 | false | false | false | false | false | false | zero |
73,157,604 | what method can be used to solve this case? (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'll try to explain as clearly as possible what I mean and as much as I can,</p>
<p>*<em>I hope you all can understand wh... | 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 will make it better for more detail. so here from the wireframe, i have 3 activity. MainActivity, with TabLayout, which is... | android|kotlin|android-recyclerview|conditional-statements|parameter-passing | 0 | 2022-07-28T18:30:56.450Z | 2,022 | 7 | 18 | 3 | 30 | 0 | 1,570 | 52 | 5 | 7 | true | true | false | false | false | false | zero |
73,157,613 | Why I'm getting "Cannot query the value of property 'namespace' because configuration of project ':app' has not completed yet" after gradle upgrade? | <p><a href="https://i.stack.imgur.com/VLZ7Q.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VLZ7Q.png" alt="enter image description here" /></a>I was trying to upgrade gradle from 6.5.1 to 7.3.3 but I am getting this error message</p>
<p>"Cannot query the value of property 'namespace' because co... | I was trying to upgrade gradle from 6.5.1 to 7.3.3 but I am getting this error message "Cannot query the value of property 'namespace' because configuration of project ':app' has not completed yet" | android-studio|android-gradle-plugin|gradle-plugin | 0 | 2022-07-28T18:31:31.200Z | 2,022 | 7 | 18 | 3 | 386 | 1 | 207 | 148 | 3 | 0 | false | false | false | false | false | false | zero |
73,157,677 | Create a Github action workflow for android | <p>I am using this workflow but getting error in this</p>
<pre><code>name: react-native-android-build-aab
on:
push:
branches:
- master
jobs:
install-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install npm dependencies
run: |
npm install... | I am using this workflow but getting error in this [CODE] Upload Artifact error 0s Run actions/upload-artifact@v1 Error: Path does not exist /home/runner/work/appwe/appwe/app/build/outputs/ Error: Exit code 1 returned from process: file name '/home/runner/runners/2.294.0/bin/Runner.PluginHost', arguments 'action "... | android|ios|react-native|github-actions|bundle | 0 | 2022-07-28T18:36:10.917Z | 2,022 | 7 | 18 | 3 | 59 | 0 | 559 | 43 | 5 | 1 | true | true | false | false | false | false | zero |
73,157,772 | How can I configure the SSID and password of a hotspot in android studio? | <p>I want to create a mobile hotspot in an android device, I already implemented the hotspot code and is working now, but.. I cannot configure the name and the password of that hotspot using java.</p>
<p>What I am doing wrong?</p>
<p>here is my code.</p>
<pre><code>private WifiManager wifiManager;
private WifiManager... | I want to create a mobile hotspot in an android device, I already implemented the hotspot code and is working now, but.. I cannot configure the name and the password of that hotspot using java. What I am doing wrong? here is my code. [CODE] | java|android|android-studio|hotspot | 0 | 2022-07-28T18:44:37.030Z | 2,022 | 7 | 18 | 3 | 22 | 0 | 240 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
73,157,882 | Real life use cases or scenarios MVI architecture in Android? | <p>I saw a lot of articles about MVI but everywhere these are focused on the implementation of MVI and provide some bookish or theoretical explanations. But anyone new to MVI like me is so much confusion about some questions like -</p>
<ol>
<li><p>Why do we need MVI over MVVM as MVVM is recommended architecture by goog... | I saw a lot of articles about MVI but everywhere these are focused on the implementation of MVI and provide some bookish or theoretical explanations. But anyone new to MVI like me is so much confusion about some questions like - Why do we need MVI over MVVM as MVVM is recommended architecture by google? In which real-l... | android|architecture|model-view-intent | 1 | 2022-07-28T18:52:52.793Z | 2,022 | 7 | 18 | 3 | 108 | 0 | 381 | 61 | 3 | 0 | false | true | false | false | false | false | low |
73,157,989 | Using Provider package with firestore without statefull widget | <p>I'm trying to implement a provider package to my code.</p>
<p>I created:</p>
<ol>
<li>a "Place" model to define the data on firestore.</li>
</ol>
<pre><code> class Place {
String? Name;
String? Type;
String? Photo;
List? Gallery;
String? About;
GeoPoint? Coordinates;
double? Rating;
String... | I'm trying to implement a provider package to my code. I created: a "Place" model to define the data on firestore. [CODE] a "data service" to retrieve the data and return a list [CODE] a "DataClass" that extends to ChangeNotifier to notify listeners. [CODE] The problem is that, I can reach... | android|flutter|google-cloud-firestore|provider|state-management | 0 | 2022-07-28T19:02:00.527Z | 2,022 | 7 | 19 | 3 | 16 | 0 | 954 | 62 | 5 | 4 | true | true | false | false | false | false | zero |
73,158,055 | 2 Different errors when trying to implement a navArgs() delegation for a ViewModel | <p>I want to achieve a delegation of the lazy navArgs class initialization like I have in my Fragment -</p>
<pre class="lang-kotlin prettyprint-override"><code>class HeroesDetailsFragment : Fragment() {
private val navArgs: HeroesDetailsFragmentArgs by navArgs()
}
</code></pre>
<p>In order to implement such a beha... | I want to achieve a delegation of the lazy navArgs class initialization like I have in my Fragment - [CODE] In order to implement such a behavior, I used the same internal implementation for the navArgs() extension for my ViewModel - [CODE] When trying to start the application I get a really weird runtime crash - [CODE... | android|kotlin|navigation|viewmodel|delegation | 0 | 2022-07-28T19:08:33.073Z | 2,022 | 7 | 19 | 3 | 20 | 0 | 870 | 82 | 5 | 6 | true | true | false | false | false | false | zero |
73,158,144 | How to custom sort list of object considering input priorities in kotlin | <p>I want to sort list of object first by input priority then alphabetically.</p>
<pre><code>data class Product(val name : String?, val type : String?)
</code></pre>
<p>Consider priority list is <code>listOf("tea","coffee")</code></p>
<p>Input list :</p>
<pre><code>listOf(
Product("Cadbury"... | I want to sort list of object first by input priority then alphabetically. [CODE] Consider priority list is listOf("tea","coffee") Input list : [CODE] Then output should be: Input list : [CODE] | android|kotlin|sorting | 0 | 2022-07-28T19:17:04.947Z | 2,022 | 7 | 19 | 3 | 23 | 0 | 213 | 72 | 3 | 3 | true | true | false | false | false | false | zero |
73,158,161 | How can I display last StreamBuilder data when snapshot.data is null? | <p>I'm making a to-do list with Flutter and Firebase Firestore, but I have a slight problem. Whenever I add a new task, <code>snapshot.data</code> becomes null. If I do not add a check for <code>snapshot.connectionState</code> and render a different widget according to that, I get the following error: <code>NoSuchMetho... | I'm making a to-do list with Flutter and Firebase Firestore, but I have a slight problem. Whenever I add a new task, snapshot.data becomes null. If I do not add a check for snapshot.connectionState and render a different widget according to that, I get the following error: NoSuchMethodError (NoSuchMethodError: The gett... | android|ios|flutter|firebase|google-cloud-firestore | 0 | 2022-07-28T19:19:25.593Z | 2,022 | 7 | 19 | 3 | 34 | 0 | 622 | 69 | 5 | 1 | true | true | false | false | false | false | zero |
73,158,277 | Android: Duplicate class XX found in modules | <p>Good morning friends, I need help.</p>
<p>This project needs to use these two libraries. And when compiling they are having a conflict because there are certain classes.</p>
<p>In fact, I already separated them as "independent" modules and I keep getting the error.</p>
<p>I call the two libraries in the <c... | Good morning friends, I need help. This project needs to use these two libraries. And when compiling they are having a conflict because there are certain classes. In fact, I already separated them as "independent" modules and I keep getting the error. I call the two libraries in the build.gradle (:app) like t... | java|android|android-studio|aar | 1 | 2022-07-28T19:30:46.730Z | 2,022 | 7 | 19 | 3 | 98 | 0 | 416 | 44 | 4 | 3 | true | true | false | false | false | false | low |
73,158,331 | Attempt to invoke virtual method void androidx.recyclerview.widget.RecyclerView.setLayoutManager | <p>I have a problem if u want see and help me ;)
I'm a student and I don't understand why my recyclerView has a null result.
If you have a solution it will be appreciated.</p>
<p>The Glide annotation in the adapter is an idea because the goal I am looking to do is to retrieve inforamations (url) from Firebase cloud the... | I have a problem if u want see and help me ;) I'm a student and I don't understand why my recyclerView has a null result. If you have a solution it will be appreciated. The Glide annotation in the adapter is an idea because the goal I am looking to do is to retrieve inforamations (url) from Firebase cloud then to store... | java|android|firebase|android-layout|android-recyclerview | 0 | 2022-07-28T19:37:31.077Z | 2,022 | 7 | 19 | 3 | 46 | 0 | 549 | 96 | 5 | 4 | true | true | false | false | false | false | zero |
73,158,336 | How to send JSONArray to PHP server using Volley? | <p>I'm fairly inexperienced with Android programming and am having issues sending a JSONArray to my PHP server. I am using the following code to generate the JSONArray from my cursor:</p>
<pre class="lang-java prettyprint-override"><code>public JSONArray matrixJSON(){
Cursor cursor = db.rawQuery("SELECT co... | I'm fairly inexperienced with Android programming and am having issues sending a JSONArray to my PHP server. I am using the following code to generate the JSONArray from my cursor: [CODE] I believe I am misunderstanding how to properly send data via JsonARrayRequest. Here is the following code that I am using to send t... | java|php|android|android-volley | 0 | 2022-07-28T19:38:21.507Z | 2,022 | 7 | 19 | 3 | 36 | 1 | 574 | 49 | 4 | 2 | true | false | false | false | false | false | zero |
73,158,346 | How can I check on the phone location? if it is in certain location do X else do Y? | <p>I want to add that feature to my android app which is if the phone in a specific area will execute a function and if not it'll execute another.</p>
<p>I've tried to get the <strong>latitude</strong> and <strong>longitude</strong> using <strong>locationManager</strong> but it doesn't work well.</p>
<p>here's example ... | I want to add that feature to my android app which is if the phone in a specific area will execute a function and if not it'll execute another. I've tried to get the latitude and longitude using locationManager but it doesn't work well. here's example of what I've tried to do: [CODE] so, How can I achive that latitude ... | java|android|mobile | 0 | 2022-07-28T19:39:13.303Z | 2,022 | 7 | 19 | 3 | 20 | 0 | 454 | 83 | 3 | 1 | true | true | false | false | false | false | zero |
73,158,359 | flutter: the application crashes when I want to redirect | <p>I have been working on a mobile application for a few years and strangely today my application crashes when making a redirect.
For example just when executing the following code: <code>Navigator.of(context).pushReplacementNamed("/home");</code></p>
<p>Here is my SDK version: Dart SDK version 2.14.2</p> | I have been working on a mobile application for a few years and strangely today my application crashes when making a redirect. For example just when executing the following code: Navigator.of(context).pushReplacementNamed("/home"); Here is my SDK version: Dart SDK version 2.14.2 | android|flutter|crash|navigator | 0 | 2022-07-28T19:40:23.790Z | 2,022 | 7 | 19 | 3 | 26 | 1 | 289 | 56 | 4 | 0 | false | false | false | false | false | false | zero |
73,158,364 | Is Canvas.rotate and Canvas.drawBitmap broken or is there something wrong with my code? | <p>I'm trying to draw an image using Canvas.rotate and/or Canvas.drawBimtap, although everytime I use it, the image appears in random locations, no matter the X and Y coordinates I set it to. Here is my code, let me know if this is an issue I should report or if there is just an error in my code:</p>
<pre class="lang-j... | I'm trying to draw an image using Canvas.rotate and/or Canvas.drawBimtap, although everytime I use it, the image appears in random locations, no matter the X and Y coordinates I set it to. Here is my code, let me know if this is an issue I should report or if there is just an error in my code: [CODE] My goal with this ... | java|android|canvas | -1 | 2022-07-28T19:40:58.960Z | 2,022 | 7 | 19 | 3 | 18 | 1 | 591 | 87 | 3 | 1 | true | false | false | false | false | true | negative |
73,158,425 | release.keystore of Unity App for Android has a different SHA1 Fingerprint | <p>i have encountered a strange issue with my release key. The first alpha version of my Game was successful uploaded to Google Play Console, but the second one was rejected from uploading, because the fingerprint was not the same. I have controlled the SHA-1 >Fingerprint of my release.keystore in Terminal and it ga... | i have encountered a strange issue with my release key. The first alpha version of my Game was successful uploaded to Google Play Console, but the second one was rejected from uploading, because the fingerprint was not the same. I have controlled the SHA-1 >Fingerprint of my release.keystore in Terminal and it gave me ... | android|unity3d|keystore|google-play-console | 0 | 2022-07-28T19:47:09.407Z | 2,022 | 7 | 19 | 3 | 94 | 0 | 436 | 74 | 4 | 0 | false | true | false | false | false | false | zero |
73,158,602 | Playing video after another video on textureview | <p>I'm trying to play a video after another video finishes playing. Keep in mind that this is <code>TextureView</code> NOT <code>VideoView</code>. The first videos shows fine, no problemo. And the <code>setOnCompletionListener</code> fires just fine, but when it gets to the <code>setDataSource</code> line, it crashes w... | I'm trying to play a video after another video finishes playing. Keep in mind that this is TextureView NOT VideoView . The first videos shows fine, no problemo. And the setOnCompletionListener fires just fine, but when it gets to the setDataSource line, it crashes with this log: [CODE] This is my OnCompletionListener (... | android|crash|textureview | 0 | 2022-07-28T20:04:08.003Z | 2,022 | 7 | 20 | 3 | 29 | 1 | 493 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
73,158,644 | Error related to cast on flutter: Unhandled Exception: type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast | <p>This app should show the current username on screen, but when I run just shows "null". I know it's something related to null safety, but i'm new to flutter.</p>
<p>On classes <strong>user.dart</strong>, <strong>auth_methods</strong>, <strong>mobile_screen_layout.dart</strong> I tried to enter some <strong>... | This app should show the current username on screen, but when I run just shows "null". I know it's something related to null safety, but i'm new to flutter. On classes user.dart , auth_methods , mobile_screen_layout.dart I tried to enter some if-else or ? and ! to check the null safety , but didn't work. Curr... | android|flutter|firebase|dart|mobile | 0 | 2022-07-28T20:08:55.817Z | 2,022 | 7 | 20 | 3 | 143 | 0 | 984 | 127 | 5 | 6 | true | true | false | false | false | false | zero |
73,158,658 | Have a lot of problems with my android app | <p><strong>Hey, I am looking to make a android app, but i got a sh!t ton of errors. I am new to Kotlin and dont know anything about these errors. Here is the code:</strong></p>
<pre><code>package com.farder.inc.zortosinstaller
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view... | Hey, I am looking to make a android app, but i got a sh!t ton of errors. I am new to Kotlin and dont know anything about these errors. Here is the code: [CODE] Please Help! | android|kotlin|syntax-error | -2 | 2022-07-28T20:10:22.803Z | 2,022 | 7 | 20 | 3 | 31 | 1 | 172 | 42 | 3 | 1 | true | false | false | false | false | true | negative |
73,158,958 | Buildfire Rebuild Required - Testing WebRTC | <p>I might be missing this in the documentation but I have gotten the new WebRTC working on my local and testing my app online. When I tried to test in on my Andriod Device using the BuildFire App preview, I got an error message that said "Rebuild_Required". The code that produced the error is this:</p>
<pre>... | I might be missing this in the documentation but I have gotten the new WebRTC working on my local and testing my app online. When I tried to test in on my Andriod Device using the BuildFire App preview, I got an error message that said "Rebuild_Required". The code that produced the error is this: [CODE] How d... | android|webrtc|buildfire | 0 | 2022-07-28T20:43:33.837Z | 2,022 | 7 | 20 | 3 | 43 | 0 | 337 | 43 | 3 | 1 | true | true | false | false | false | false | zero |
73,158,961 | Why does ArrowKt reccomend I implement my effect interface with an object instead of a function? | <p>According to the <a href="https://arrow-kt.io/docs/patterns/monads/" rel="noreferrer">docs</a> I should implement an effect with an object.</p>
<pre><code>fun interface JustEffect<A> : Effect<Just<A>> {
suspend fun <B> Just<B>.bind(): B = value
}
object effect {
operator fun <A&... | According to the docs I should implement an effect with an object. [CODE] This is the general guide from the tutorial. I'm curious if anyone knows why they use an object? My specific use case below for further context: We already have a wrapper object, called PoseidonRes which can be success or error. We use this perva... | android|kotlin|functional-programming|monads|arrow-kt | 6 | 2022-07-28T20:44:04.817Z | 2,022 | 7 | 20 | 3 | 262 | 1 | 889 | 96 | 5 | 3 | true | false | false | false | false | false | medium |
73,158,990 | OnLongClickListener() error Method does not override method from its superclass | <p><strong>Idk what to do so basically i was creating a button which opens new activity on long press
could u fix this?</strong></p>
<pre><code> @Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
button = (Button) find... | Idk what to do so basically i was creating a button which opens new activity on long press could u fix this? [CODE] | java|android | 0 | 2022-07-28T20:47:07.553Z | 2,022 | 7 | 20 | 3 | 36 | 2 | 115 | 79 | 2 | 1 | true | false | false | false | false | false | zero |
73,159,137 | How to remove the default background color for pressed PopupMenu items? | <p>I've added rounded corners to a <code>PopupMenu</code> and it looks good, except now when I press a menu item, I get the ugly effect shown here:</p>
<p><a href="https://i.stack.imgur.com/PhrKS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PhrKS.png" alt="enter image description here" /></a></p>
... | I've added rounded corners to a PopupMenu and it looks good, except now when I press a menu item, I get the ugly effect shown here: In this example, while my finger is touching the third item, Android adds a default color behind the item, which shows through at the rounded corners. It also adds a rounded background to ... | android|kotlin|android-layout | 0 | 2022-07-28T21:03:07.520Z | 2,022 | 7 | 21 | 3 | 80 | 1 | 2,009 | 71 | 3 | 3 | true | false | false | false | false | false | zero |
73,159,199 | Why is Android App greyed out when adding "Run/Debug Configurations" on Android Studio | <p>I see Android App greyed out. I am trying to select it to run my app now that I have an emulator installed on Android Studio. Any ideas about what I need to do to enable it? Thank you.</p>
<p><a href="https://i.stack.imgur.com/559zz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/559zz.png" alt="e... | I see Android App greyed out. I am trying to select it to run my app now that I have an emulator installed on Android Studio. Any ideas about what I need to do to enable it? Thank you. | android|android-studio | 0 | 2022-07-28T21:10:05.523Z | 2,022 | 7 | 21 | 3 | 22 | 1 | 184 | 86 | 2 | 0 | false | false | false | false | false | false | zero |
73,159,207 | Android + Kotlin + Hilt: How to provide. SQLiteDatabase | <p>I'm implementing Hilt in my multi-module Android app and not being able to provide/inject SQLiteDatabase (I was trying to look for help before posting, but none found regarding SQLiteDatabase).</p>
<p>My first attempt was the next:</p>
<pre><code>@Module
@InstallIn(SingletonComponent::class)
class Database {
@P... | I'm implementing Hilt in my multi-module Android app and not being able to provide/inject SQLiteDatabase (I was trying to look for help before posting, but none found regarding SQLiteDatabase). My first attempt was the next: [CODE] But the builder complains: [CODE] I thought that might be: [CODE] But now it complains i... | android|kotlin|dependency-injection|dagger-hilt | 0 | 2022-07-28T21:10:43.773Z | 2,022 | 7 | 21 | 3 | 44 | 1 | 714 | 55 | 4 | 5 | true | false | false | false | false | false | zero |
73,159,292 | How to make a Retrofit call Synchronously without getting Main Thread Exception? | <p>I'm facing an issue here, and I need some help.</p>
<p>In this application, we make Retrofit calls in the UI thread - right in the Activity -, this means that we don't have a good architecture (i know).</p>
<p>The problem I'm facing, is that i need to make an Synchronous GET when the user click a button, and the GET... | I'm facing an issue here, and I need some help. In this application, we make Retrofit calls in the UI thread - right in the Activity -, this means that we don't have a good architecture (i know). The problem I'm facing, is that i need to make an Synchronous GET when the user click a button, and the GET will give me whi... | java|android | 0 | 2022-07-28T21:19:25.340Z | 2,022 | 7 | 21 | 3 | 42 | 1 | 692 | 80 | 2 | 3 | true | false | false | false | false | false | zero |
73,159,305 | how to declare in data class an object inside of another object from json? | <p>I'm getting the next trouble declaring my models on android</p>
<p>I have this api response:</p>
<pre><code> {
"isWeekTopic": false,
"_id": "62d739f65a4f2db1b81b5192",
"topicNumber": "1",
"title": "Números naturales",
"thu... | I'm getting the next trouble declaring my models on android I have this api response: [CODE] and this is my remote response model: [CODE] my problem is that I don't know how to access to assetsStreak info or testing info, I don't know how to declare them o what to do. I tied doing something like putting declaring it th... | java|android|kotlin | 1 | 2022-07-28T21:21:07.250Z | 2,022 | 7 | 21 | 3 | 47 | 2 | 1,025 | 74 | 3 | 3 | true | false | false | false | false | false | low |
73,159,336 | How to change elevation color in Compose? | <p>Hi I am creating an app with Jetpack Compose I am and using Card composable with elevation. I need to change the elevation color, but I don't know how.</p>
<p><a href="https://i.stack.imgur.com/gGZrx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gGZrx.png" alt="enter image description here" /></... | Hi I am creating an app with Jetpack Compose I am and using Card composable with elevation. I need to change the elevation color, but I don't know how. | android|kotlin|android-jetpack-compose|card | 2 | 2022-07-28T21:25:19.083Z | 2,022 | 7 | 21 | 3 | 135 | 1 | 151 | 41 | 4 | 0 | false | false | false | false | false | false | low |
73,159,357 | PackageManager.QueryIntentActivities() does not work? | <p>Documentation states that queryIntentActicities(Intent intent, int flags) is deprecated in API level 33, and to use this instead: <a href="https://developer.android.com/reference/android/content/pm/PackageManager#queryIntentActivities(android.content.Intent,%20android.content.pm.PackageManager.ResolveInfoFlags)" rel... | Documentation states that queryIntentActicities(Intent intent, int flags) is deprecated in API level 33, and to use this instead: https://developer.android.com/reference/android/content/pm/PackageManager#queryIntentActivities(android.content.Intent,%20android.content.pm.PackageManager.ResolveInfoFlags) But when I use i... | c#|android|xamarin.android | 1 | 2022-07-28T21:27:32.353Z | 2,022 | 7 | 21 | 3 | 146 | 2 | 524 | 53 | 3 | 1 | true | false | false | false | false | false | low |
73,159,449 | Want a way to hide website content while users change their phone / tabet from portrait to landscape | <p>We have a website we are developing and the transition from Portrait to Landscape and Landscape to Portrait causes the content to look large for a second. We want a way to hide website content while users change their phone / tabet from portrait to landscape.</p>
<p>We have set a listener to reload the page after th... | We have a website we are developing and the transition from Portrait to Landscape and Landscape to Portrait causes the content to look large for a second. We want a way to hide website content while users change their phone / tabet from portrait to landscape. We have set a listener to reload the page after the user rot... | javascript|android|html|ios | -1 | 2022-07-28T21:37:02.660Z | 2,022 | 7 | 21 | 3 | 28 | 1 | 508 | 100 | 4 | 0 | false | false | false | false | false | true | negative |
73,159,500 | Error: Cannot fit requested classes in a single dex file | <p>I'm getting an error during building Test DPC app for Android. Downloaded this directly from GitHub, and haven't successfully built it before. I have multidex enabled but it still appears that it's trying to put the output into one file. Details are below.</p>
<blockquote>
<p>C:\Users\scott\OneDrive\Desktop\test_dpc... | I'm getting an error during building Test DPC app for Android. Downloaded this directly from GitHub, and haven't successfully built it before. I have multidex enabled but it still appears that it's trying to put the output into one file. Details are below. C:\Users\scott\OneDrive\Desktop\test_dpc\android-testdpc-testin... | android|bazel | 0 | 2022-07-28T21:43:05.703Z | 2,022 | 7 | 21 | 3 | 58 | 0 | 4,503 | 56 | 2 | 1 | true | true | false | false | false | false | zero |
73,159,526 | I think my Android app is crashing due to Firebase configuration issues | <p>I made a login and a registration acitivty with Firebase. When I start the app I get lot of exceptions. I think it is not due to the syntax but due to the configuration.</p>
<p><strong>Registration</strong></p>
<pre><code>class RegistrationActivity : AppCompatActivity() {
private lateinit var auth: FirebaseAut... | I made a login and a registration acitivty with Firebase. When I start the app I get lot of exceptions. I think it is not due to the syntax but due to the configuration. Registration [CODE] Login [CODE] Main [CODE] When I start the app I get these exceptions: [CODE] How can I fix this issue ? | android|kotlin|exception|firebase-authentication|runtimeexception | 0 | 2022-07-28T21:44:55.400Z | 2,022 | 7 | 21 | 3 | 57 | 1 | 293 | 71 | 5 | 4 | true | false | false | false | false | false | zero |
73,159,600 | Failed to load model from 'file:///android_asset/merged_frozen_graph.pb' In Android Studio | <p>Hey I am trying to use tensor flow to get image description in my android app. But I am getting an error I tried hard searching but after many hours I didn't found any solution.
this is he error
<code>java.lang.RuntimeException: Failed to load model from 'file:///android_asset/merged_frozen_graph.pb'</code></p>
<p>... | Hey I am trying to use tensor flow to get image description in my android app. But I am getting an error I tried hard searching but after many hours I didn't found any solution. this is he error java.lang.RuntimeException: Failed to load model from 'file:///android_asset/merged_frozen_graph.pb' From this error looks li... | android|android-studio|tensorflow|tensorflow-lite | 0 | 2022-07-28T21:55:00.773Z | 2,022 | 7 | 21 | 3 | 34 | 0 | 624 | 90 | 4 | 1 | true | true | false | false | false | false | zero |
73,159,615 | How to use the information stored in mutableStateOf in Jetpack Compose | <p>I have information in <code>json</code> and I retrieve it using <code>retrofit2</code>, everything works fine, I get the data in a List.</p>
<p>I need this information to fill elements in Jetpack Compose for which I use <code>mutableStateOf</code> to save the states.</p>
<p>My function that I use is the following:</... | I have information in json and I retrieve it using retrofit2 , everything works fine, I get the data in a List. I need this information to fill elements in Jetpack Compose for which I use mutableStateOf to save the states. My function that I use is the following: [CODE] Mymodel: [CODE] My composable: [CODE] When I do n... | kotlin|android-jetpack-compose | 0 | 2022-07-28T21:56:51.257Z | 2,022 | 7 | 21 | 3 | 57 | 1 | 803 | 70 | 2 | 3 | true | false | false | false | false | false | zero |
73,159,652 | App suspended from Google play but cannot update the app to rectify it | <p>My app got suspended from Google Play due to the impersonation policy.</p>
<p>I want to fix this, but finding all of my console controls are disabled (can't update the store listing, the build etc.).</p>
<p>I sent in an appeal and just tried to describe my issue to Google. But they weren't helpful. They sent in a co... | My app got suspended from Google Play due to the impersonation policy. I want to fix this, but finding all of my console controls are disabled (can't update the store listing, the build etc.). I sent in an appeal and just tried to describe my issue to Google. But they weren't helpful. They sent in a copy paste message ... | android|google-play|google-play-console | 0 | 2022-07-28T22:01:33.797Z | 2,022 | 7 | 22 | 3 | 40 | 1 | 545 | 70 | 3 | 0 | false | false | false | false | false | false | zero |
73,159,766 | Flutter - /Users/macbook/Developer/flutter/packages/flutter_tools/gradle/flutter.gradle line: 1156 | <p>I'm with Flutter 3.0.5 (Mac OS 12.5) and yesterday I builded my app many times with Android Studio.
But today I did a "flutter clean" and now I can't build my app anymore.</p>
<p>This is the error. I tried to search on network and I tried everything but nothing.</p>
<p><div class="snippet" data-lang="js" d... | I'm with Flutter 3.0.5 (Mac OS 12.5) and yesterday I builded my app many times with Android Studio. But today I did a "flutter clean" and now I can't build my app anymore. This is the error. I tried to search on network and I tried everything but nothing. [CODE] I don't know how to fix it. Thank you to everyb... | android|flutter|android-studio | 0 | 2022-07-28T22:18:18.573Z | 2,022 | 7 | 22 | 3 | 160 | 0 | 324 | 98 | 3 | 1 | true | true | false | false | false | false | zero |
73,159,784 | PagerList error while Creating config File | <p>My android Studio is striking off the PagedList as it says it migrated to paging data<a href="https://i.stack.imgur.com/3fNxT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3fNxT.png" alt="enter image description here" /></a></p>
<pre><code>private fun setUpAdapter() {
val config = PagedL... | My android Studio is striking off the PagedList as it says it migrated to paging data [CODE] | android|android-studio|pagedlist | 0 | 2022-07-28T22:20:28.813Z | 2,022 | 7 | 22 | 3 | 6 | 0 | 92 | 42 | 3 | 1 | true | true | false | false | false | false | zero |
73,159,930 | Blur doesn't work correctly on Android @react-native-community/blur | <p>On Android elements wrapped in <code>BlurVIew</code> don't positioning right.
It works on iOS devices fine. But on Android, elements wrapped in <code><BlurView>{children}</BlurView></code> run into each other. <strong>Screenshot is below</strong></p>
<p><a href="https://i.stack.imgur.com/NODDk.jpg" rel=... | On Android elements wrapped in BlurVIew don't positioning right. It works on iOS devices fine. But on Android, elements wrapped in <BlurView>{children}</BlurView> run into each other. Screenshot is below Sometimes when I change something in styles in dev mode, it works correctly, but when I build apk, bug appears again... | android|reactjs|react-native | 0 | 2022-07-28T22:45:10.990Z | 2,022 | 7 | 22 | 3 | 112 | 1 | 362 | 67 | 3 | 1 | true | false | false | false | false | false | zero |
73,159,936 | How would i change visibility of recycler button when the specific activity is called? | <pre><code>AcceptPostButton.setVisibility(View.VISIBLE);
</code></pre>
<p>I tried this is not working it shows a null object reference</p> | [CODE] I tried this is not working it shows a null object reference | android|materialbutton | 0 | 2022-07-28T22:46:15.117Z | 2,022 | 7 | 22 | 3 | 16 | 0 | 67 | 86 | 2 | 1 | true | true | false | false | false | false | zero |
73,159,991 | Gradle Sync issues - Could not install Gradle distribution from 'http://services.gradle.org/distributions/gradle-5.4-all.zip' | <p>I am getting the following error:</p>
<p><a href="https://i.stack.imgur.com/dwrGv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dwrGv.png" alt="enter image description here" /></a></p>
<p>How can I reset the Gradle system to use? I imagine there is some kind of issue with the version and just re... | I am getting the following error: How can I reset the Gradle system to use? I imagine there is some kind of issue with the version and just resetting or redownloading Gradle may fix this. UPDATE 1: Trying using https , as suggested by @CommonsWare. UPDATE 2: Throwing some errors about "invalid content": UPDAT... | android|gradle|android-gradle-plugin|build.gradle | 1 | 2022-07-28T22:56:02.970Z | 2,022 | 7 | 22 | 3 | 35 | 1 | 461 | 125 | 4 | 0 | false | false | false | false | false | false | low |
73,160,103 | My buildFeatures isn't working and i can't use viewBinding because of it | <p>I'm trying to create an app that moves through Navigation and in order to do that I need to bind my codes. When typing my code I usually wait for a window to popup to see if this code is correct but when I use <code>buildFeature</code> it doesn't pop up and if I sync my Gradle project it encounters an error:</p>
<bl... | I'm trying to create an app that moves through Navigation and in order to do that I need to bind my codes. When typing my code I usually wait for a window to popup to see if this code is correct but when I use buildFeature it doesn't pop up and if I sync my Gradle project it encounters an error: No signature of method:... | android|android-studio | 0 | 2022-07-28T23:15:32.153Z | 2,022 | 7 | 23 | 3 | 24 | 0 | 679 | 72 | 2 | 0 | false | true | false | false | false | false | zero |
73,160,155 | Composition or inheritance with fragments? | <p>I am trying to write two fragments that share the same layout and a lot of view set-up code. Let's say that the layout has a Title TextView and a RecyclerView. In Fragment A, I want the recycler view to use a custom adapter that will be different from what Fragment B will use, and I want Fragment A to also have a di... | I am trying to write two fragments that share the same layout and a lot of view set-up code. Let's say that the layout has a Title TextView and a RecyclerView. In Fragment A, I want the recycler view to use a custom adapter that will be different from what Fragment B will use, and I want Fragment A to also have a diffe... | android|android-fragments|inheritance|composition | 0 | 2022-07-28T23:25:50.957Z | 2,022 | 7 | 23 | 3 | 63 | 2 | 724 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
73,160,161 | How to import main.xsd into child.xsd and validate child.xml against child.xsd in android? | <p>I have 2 xsd files, one is main and other is child which includes main.xsd, now I have child.xml which I need to validate against child.xml and it should give me error in ide but it being validated against main.xsd only.</p>
<p>main.xsd</p>
<pre><code><?xml version="1.0" encoding="UTF-8" stand... | I have 2 xsd files, one is main and other is child which includes main.xsd, now I have child.xml which I need to validate against child.xml and it should give me error in ide but it being validated against main.xsd only. main.xsd [CODE] child.xsd [CODE] child.xml [CODE] Is there something wrong with schema location or ... | android-studio|xsd|android-xml|xsd-validation | 0 | 2022-07-28T23:26:27.440Z | 2,022 | 7 | 23 | 3 | 10 | 0 | 332 | 90 | 4 | 3 | true | true | false | false | false | false | zero |
73,160,198 | org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:preDebugBuild' | <p>When trying to build an Android app, I am getting the following error. The interesting thing is that the exact same source code builds correctly on another computer, which makes me think that maybe the Gradle version or something like that may be the root cause. Any hints?</p>
<pre><code>Execution failed for task ':... | When trying to build an Android app, I am getting the following error. The interesting thing is that the exact same source code builds correctly on another computer, which makes me think that maybe the Gradle version or something like that may be the root cause. Any hints? [CODE] | android|gradle|android-facebook | 1 | 2022-07-28T23:31:59.253Z | 2,022 | 7 | 23 | 3 | 102 | 2 | 280 | 91 | 3 | 1 | true | false | false | false | false | false | low |
73,160,268 | Combine use of OnClickListener and OnLong Click Listener | <p><strong>Actually I created a pdf viewer and i jus want to create a longclicklistener to open my new activity and as u can see here
<a href="https://i.stack.imgur.com/oTEby.png" rel="nofollow noreferrer">Screenshot</a>
And there is already a click listener assigned with this button and i also want to combine longclic... | Actually I created a pdf viewer and i jus want to create a longclicklistener to open my new activity and as u can see here Screenshot And there is already a click listener assigned with this button and i also want to combine longclicklistener so when i long click that button then automatically launch my second activity... | java|android | 0 | 2022-07-28T23:49:00.897Z | 2,022 | 7 | 23 | 3 | 57 | 1 | 370 | 56 | 2 | 2 | true | false | false | false | false | false | zero |
73,160,332 | Method to open new activity from detail activity recyclerview with conditions | <p><a href="https://i.stack.imgur.com/C8a7J.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C8a7J.jpg" alt="Basic Layout Wireframe, and guide of what I want to ask" /></a></p>
<p>I'll try to explain as clearly as possible what I mean and as much as I can.</p>
<p>*<em>I hope you can understand what i ... | I'll try to explain as clearly as possible what I mean and as much as I can. * I hope you can understand what i mean from the wireframe :) so here from the wireframe, i have 3 activity. MainActivity, with TabLayout, which is filled with Fragment and there is a RecyclerView in it, DetailActivity, which contains data bro... | android|kotlin|android-recyclerview|conditional-statements|parameter-passing | 0 | 2022-07-29T00:00:51.873Z | 2,022 | 7 | 0 | 4 | 65 | 1 | 1,474 | 77 | 5 | 7 | true | false | false | false | false | false | zero |
73,160,436 | Azure devops - SDK location not found. Define location with an ANDROID_SDK_ROOT environment | <p>I get the below error while trying to run android application in a self hosted ubuntu agent. Am I getting this error because Android SDK is not present in the Ubuntu agent? If so, is there any workaround? I do not get this issue while the same app is run in a macos agent.</p>
<p>Any help is much appreciated</p>
<pre... | I get the below error while trying to run android application in a self hosted ubuntu agent. Am I getting this error because Android SDK is not present in the Ubuntu agent? If so, is there any workaround? I do not get this issue while the same app is run in a macos agent. Any help is much appreciated [CODE] | android|gradle|azure-devops|azure-pipelines | 0 | 2022-07-29T00:22:52.233Z | 2,022 | 7 | 0 | 4 | 185 | 1 | 308 | 91 | 4 | 1 | true | false | false | false | false | false | zero |
73,160,624 | Google MLKit pose detection not executing onSuccessListener or onFailureListener | <p>I am using MediaMetadataRetriever as well as MLkit to do pose detection on a saved video file. I have attached some of my code here:</p>
<pre><code>public ArrayList<ArrayList<Float>> extractPoses() throws FileNotFoundException {
//public Bitmap extractPoses() throws FileNotFoundException {
L... | I am using MediaMetadataRetriever as well as MLkit to do pose detection on a saved video file. I have attached some of my code here: [CODE] I know the bitmaps I am using are correct, as I have displayed them in an ImageView to verify. I am not sure why neither is executing - I dont see the output for Log.e("POSE D... | java|android-studio|google-mlkit|pose-detection | 0 | 2022-07-29T01:04:49.553Z | 2,022 | 7 | 1 | 4 | 42 | 0 | 516 | 80 | 4 | 1 | true | true | false | false | false | false | zero |
73,160,690 | What is making the password autofill bar show above the keyboard in Android Chrome? | <p>About a week ago I noticed that Android Chrome was showing a password autofill bar above the keyboard in my app (<a href="https://iplayif.com/?story=https://ifarchive.org/if-archive/games/zcode/Savoir-Faire.zblorb" rel="noreferrer">Parchment</a>). The HTML for the <code><input></code> is the following, which i... | About a week ago I noticed that Android Chrome was showing a password autofill bar above the keyboard in my app ( Parchment ). The HTML for the <input> is the following, which is definitely not a password input: [CODE] Does anyone know what would make Chrome think that the password autofill bar should be displayed, and... | android|html|google-chrome|ime|password-autofill | 6 | 2022-07-29T01:19:44.353Z | 2,022 | 7 | 1 | 4 | 305 | 2 | 359 | 83 | 5 | 1 | true | false | false | false | false | false | medium |
73,160,726 | How to insert a node with a value, depending on whether it exists or not | <p>I am making a user registration with Authentication, but in turn, I insert these registrations in a collection of Firebase Realtime Database.</p>
<p>The structure of the database is as follows:</p>
<p><img src="https://i.stack.imgur.com/2R1vH.png" alt="database structure" /></p>
<p>viewmodel of my register screen:</... | I am making a user registration with Authentication, but in turn, I insert these registrations in a collection of Firebase Realtime Database. The structure of the database is as follows: viewmodel of my register screen: [CODE] And here the calls: [CODE] First of all, the collection is: "employees" and the doc... | android|firebase|kotlin|firebase-realtime-database | 0 | 2022-07-29T01:28:24.567Z | 2,022 | 7 | 1 | 4 | 31 | 0 | 614 | 72 | 4 | 2 | true | true | false | false | false | false | zero |
73,160,928 | LaunchedEffect side effect sometimes randomly executes | <p>In the Add Shopping List item screen, I have a <code>Modal Sheet</code> with options to take a camera snapshot or choose an image from the gallery. In this screen, I'm prepopulating <code>Textfields</code> either from a shared <code>ViewModel</code> or from <code>Navigation</code> arguments. The issue I'm having is ... | In the Add Shopping List item screen, I have a Modal Sheet with options to take a camera snapshot or choose an image from the gallery. In this screen, I'm prepopulating Textfields either from a shared ViewModel or from Navigation arguments. The issue I'm having is that when I take a photo or pick from the gallery, some... | android|android-jetpack-compose|side-effects|jetpack-compose-navigation | 0 | 2022-07-29T02:04:53.050Z | 2,022 | 7 | 2 | 4 | 59 | 0 | 649 | 54 | 4 | 3 | true | true | false | false | false | false | zero |
73,161,067 | AmbiguousMatchException Raised Without Changing Anything in Unity | <p>Recently I Opened my project after 6 Months, and When is started it, it asked me To Automatically Update some files in the project, to which I said Yes, When Unity Started There was this Error in log repeating Every second. Please Help.</p>
<pre><code>System.RuntimeType.GetMethodImplCommon (System.String name, Syste... | Recently I Opened my project after 6 Months, and When is started it, it asked me To Automatically Update some files in the project, to which I said Yes, When Unity Started There was this Error in log repeating Every second. Please Help. [CODE] | c#|android|unity3d | 0 | 2022-07-29T02:36:34.993Z | 2,022 | 7 | 2 | 4 | 30 | 0 | 243 | 65 | 3 | 1 | true | true | false | false | false | false | zero |
73,161,069 | How to gridview from multi-select image and video with android kotlin | <p>I don't use Activitity, I use fragments to compose my screen.</p>
<p>What I want to do is upload selected items from gridview to server. But for now, no upload is required.</p>
<p><strong>what you need now</strong></p>
<p><strong>I want to select listed videos, images and get the selected information into an array.<... | I don't use Activitity, I use fragments to compose my screen. What I want to do is upload selected items from gridview to server. But for now, no upload is required. what you need now I want to select listed videos, images and get the selected information into an array. I also want the selected information to be displa... | android|kotlin|gridview | 0 | 2022-07-29T02:37:00.123Z | 2,022 | 7 | 2 | 4 | 30 | 0 | 622 | 69 | 3 | 3 | true | true | false | false | false | false | zero |
73,161,075 | Sorting a List where the list entries is a string but need the substring to trigger on | <p>I have a <code>List<String> skuList = new ArrayList<>();</code> which gets loaded from Firebase Realtime DB.</p>
<p>The following is what gets loaded:</p>
<pre><code>com.replaysport.pickempartyapp.20
com.replaysport.pickempartyapp.12
com.replaysport.pickempartyapp.75
com.replaysport.pickempartyapp.30
com... | I have a List<String> skuList = new ArrayList<>(); which gets loaded from Firebase Realtime DB. The following is what gets loaded: [CODE] I would like it to get sorted by the integer value after the last '.' but i am just not able to figure it out!? I have tried the Collections.sort(skuList) which sorts it by the Strin... | java|android|sorting | -2 | 2022-07-29T02:37:57.900Z | 2,022 | 7 | 2 | 4 | 41 | 2 | 464 | 86 | 3 | 1 | true | false | false | false | false | true | negative |
73,161,223 | Installing Jetpack Compose App shows Security Threat | <p>I'm just learning and experimenting with Jetpack Compose. So when I install the app to my device Huawei p30. I am getting security threat! It's saying the app appears to be malware and posses high risk! There's no issue installing apps that are not using jetpack compose though. What am I doing wrong? Does anybody kn... | I'm just learning and experimenting with Jetpack Compose. So when I install the app to my device Huawei p30. I am getting security threat! It's saying the app appears to be malware and posses high risk! There's no issue installing apps that are not using jetpack compose though. What am I doing wrong? Does anybody know ... | android|android-jetpack-compose | 1 | 2022-07-29T03:07:39.707Z | 2,022 | 7 | 3 | 4 | 44 | 0 | 348 | 52 | 2 | 0 | false | true | false | false | false | false | low |
73,161,324 | How to add APK to ROM? | <pre><code>LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := SogouInput
#LOCAL_PACKAGE_NAME := SogouInput
LOCAL_MODULE_TAGS := optional # 指定在什么版本下才会编译该模块,可能是eng、user、debug、development、optional。其中,optional是默认标签,指该模块在所有版本下都编译。
#LOCAL_BUILT_MODULE_STEM := package.apk
LOCAL_SRC_FILES := $(LOCAL_MODULE).ap... | [CODE] ninja: error: '/SogouInput.apk', needed by 'out/target/product/x86_64/obj/APPS/SogouInput_intermediates/SogouInput.apk', missing and no known rule to make it make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1 | android|build|android-source | 0 | 2022-07-29T03:29:53.317Z | 2,022 | 7 | 3 | 4 | 39 | 0 | 223 | 22 | 3 | 1 | true | true | false | false | false | false | zero |
73,161,430 | No build artifacts found while publish the android library to jitpack.io | <p>Below is the log file from jitpack.io:</p>
<p><a href="https://jitpack.io/com/github/RajParsaniya/android-pin-view/1.0.0/build.log" rel="nofollow noreferrer">https://jitpack.io/com/github/RajParsaniya/android-pin-view/1.0.0/build.log</a></p> | Below is the log file from jitpack.io: https://jitpack.io/com/github/RajParsaniya/android-pin-view/1.0.0/build.log | android|jitpack | 0 | 2022-07-29T03:48:15.420Z | 2,022 | 7 | 3 | 4 | 26 | 0 | 114 | 72 | 2 | 0 | false | true | false | false | false | false | zero |
73,161,474 | Is it possible to run a function when a http request is recieved by a flutter app? | <p>I am trying to run a function when a request is recieved, I am not sure what the best aproach is or even if it is possible. I was thinking that maybe the flutter app could listen for requests then run a function if it recieves one. I guess another way could be to use firebase and for the app to listen for a change.... | I am trying to run a function when a request is recieved, I am not sure what the best aproach is or even if it is possible. I was thinking that maybe the flutter app could listen for requests then run a function if it recieves one. I guess another way could be to use firebase and for the app to listen for a change. | android|flutter|firebase|http | 0 | 2022-07-29T03:56:03.683Z | 2,022 | 7 | 3 | 4 | 28 | 0 | 316 | 82 | 4 | 0 | false | true | false | false | false | false | zero |
73,161,707 | Flutter InAppWebView doesn't open keyboard | <p>I'm using flutter <a href="https://pub.dev/packages/flutter_inappwebview" rel="nofollow noreferrer">InAppWebView</a></p>
<p>problem is in my web view there is textfields to fill by user. but when the text box tapped the keyboard doesn't open. I don't want to use <code>webview_flutter</code> I want to use <code>flutt... | I'm using flutter InAppWebView problem is in my web view there is textfields to fill by user. but when the text box tapped the keyboard doesn't open. I don't want to use webview_flutter I want to use flutter_inappwebview Webview is loading there is no issue. I want to open keyboard when user enter the values. [CODE] | android|flutter|dart|flutter-inappwebview | 0 | 2022-07-29T04:37:47.677Z | 2,022 | 7 | 4 | 4 | 103 | 0 | 317 | 42 | 4 | 1 | true | true | false | false | false | false | zero |
73,161,725 | How to get the data of EnterTransition in Jetpack Compose? | <p>One can create a <code>EnterTransition</code> in jetpack compose by concatenating various types of transitions like <code>slideIn() + fadeIn()</code> etc. which then constructs the <code>EnterTransition</code> which contains all the transitions in a <code>TransitionData</code> object.</p>
<p>But the problem is that ... | One can create a EnterTransition in jetpack compose by concatenating various types of transitions like slideIn() + fadeIn() etc. which then constructs the EnterTransition which contains all the transitions in a TransitionData object. But the problem is that the TransitionData property inside the EnterTransition is mark... | android|kotlin|android-jetpack-compose|jetpack-compose-animation | 0 | 2022-07-29T04:40:23.130Z | 2,022 | 7 | 4 | 4 | 50 | 0 | 577 | 58 | 4 | 1 | true | true | false | false | false | false | zero |
73,161,830 | I really wanna see my android studio - emulator | <p>Hello I am studying flutter.
I am using android studio.
I have problem in executing my emulator.</p>
<p>I clicked 'create device' -> 'Nexus 6' -> 'API33' -> 'Hardware gles 2.0' -> 'finish'</p>
<p>But when I execute emulator, it says 'The emulator process for AVD Nexus_6_API_33 has terminated.</p>
<p>I al... | Hello I am studying flutter. I am using android studio. I have problem in executing my emulator. I clicked 'create device' -> 'Nexus 6' -> 'API33' -> 'Hardware gles 2.0' -> 'finish' But when I execute emulator, it says 'The emulator process for AVD Nexus_6_API_33 has terminated. I already created device with pixel vers... | flutter|android-studio|android-emulator|haxm | 2 | 2022-07-29T04:58:46.823Z | 2,022 | 7 | 4 | 4 | 47 | 1 | 922 | 47 | 4 | 0 | false | false | false | false | false | false | low |
73,161,929 | Can't take input from user using jdoodle api in android | <p>I used Jdoodle API in one of my android project to compile the raw java codes. But in the design I used EditText for code input, and TextView for output. But in this case only the codes that can be only printed are running correctly. I could not take input from the user like the console. What should i use for output... | I used Jdoodle API in one of my android project to compile the raw java codes. But in the design I used EditText for code input, and TextView for output. But in this case only the codes that can be only printed are running correctly. I could not take input from the user like the console. What should i use for output in... | android|android-studio|android-textinputedittext|java-compiler-api|jdoodle | 0 | 2022-07-29T05:16:55.290Z | 2,022 | 7 | 5 | 4 | 43 | 0 | 621 | 55 | 5 | 5 | true | true | false | false | false | false | zero |
73,161,933 | How to get Extended advertising data using android app | <p>So I am working on Nordic nrf52840 which is broadcasting extended advertising, thanks to the people on stackoverflow I can finally find my device, now the only function left is to dump extended advertising data to log, I found out that ScanResult contain may have contain the adv data I need but when I tried to dump ... | So I am working on Nordic nrf52840 which is broadcasting extended advertising, thanks to the people on stackoverflow I can finally find my device, now the only function left is to dump extended advertising data to log, I found out that ScanResult contain may have contain the adv data I need but when I tried to dump it ... | java|android|android-studio|bluetooth|bluetooth-lowenergy | 0 | 2022-07-29T05:17:18.157Z | 2,022 | 7 | 5 | 4 | 48 | 0 | 382 | 54 | 5 | 1 | true | true | false | false | false | false | zero |
73,161,991 | Android RelativeLayout programmatically ALIGN_PARENT_BOTTOM and marginBottom behavior | <p>I'm trying to build a simple circleView with two TextViews and a divider in the middle. I'm trying to do it without XML.</p>
<p>First, I added the circleView to a LinearLayout which takes space in entire screen. When a TextView is ALIGN_PARENT_TOP, it behaves as I 0expected (it sticks to the top of the circleView), ... | I'm trying to build a simple circleView with two TextViews and a divider in the middle. I'm trying to do it without XML. First, I added the circleView to a LinearLayout which takes space in entire screen. When a TextView is ALIGN_PARENT_TOP, it behaves as I 0expected (it sticks to the top of the circleView), but when t... | java|android|android-relativelayout | 0 | 2022-07-29T05:26:16.623Z | 2,022 | 7 | 5 | 4 | 46 | 1 | 749 | 85 | 3 | 2 | true | false | false | false | false | false | zero |
73,162,081 | Flutter image Grid maker app for Instagram post? | <h3><a href="https://play.google.com/store/apps/details?id=co.techpositive.photosplit&hl=en_IN&gl=US" rel="nofollow noreferrer">Example App</a></h3>
<p>Main Task is:- Single image to grid images(Split single image into multiple images) get Any Solution and any source if available then added to reply.</p>
<img src="http... | Example App Main Task is:- Single image to grid images(Split single image into multiple images) get Any Solution and any source if available then added to reply. | android|flutter|flutter-layout|flutter-dependencies | 0 | 2022-07-29T05:41:19.753Z | 2,022 | 7 | 5 | 4 | 57 | 1 | 161 | 48 | 4 | 0 | false | false | false | false | false | false | zero |
73,162,083 | Permission Denial: starting Intent that comes from another application | <p>I found a weird issue on my bugs log, I have some intent that seems called from another application, it's not mine. But my app crashes cause I don't export that activities! ( exported = false
)
For clarify let me name my app: <strong>com.mydomain.appName</strong> and caller of my app: <strong>com.xxx</strong>
This i... | I found a weird issue on my bugs log, I have some intent that seems called from another application, it's not mine. But my app crashes cause I don't export that activities! ( exported = false ) For clarify let me name my app: com.mydomain.appName and caller of my app: com.xxx This is my crash log: [CODE] So seems XXX w... | android|kotlin|android-intent|explicit | 0 | 2022-07-29T05:41:31.963Z | 2,022 | 7 | 5 | 4 | 99 | 0 | 1,737 | 70 | 4 | 5 | true | true | false | false | false | false | zero |
73,162,117 | FLutter Failed to send request: {"jsonrpc":"2.0","id":"150","method":"resume","params":{"isolateId":"isolates/3252146049990519"}} | <p>I'm getting a strange error when debugging my flutter app in Android Studio 2021.2.1 patch 1</p>
<pre><code>Lost connection to device.
Failed to send request: {"jsonrpc":"2.0","id":"150","method":"resume","params":
{"isolateId":"is... | I'm getting a strange error when debugging my flutter app in Android Studio 2021.2.1 patch 1 [CODE] The error is throw when the app hits a error in the code, in this case it expects a image but null is returned. It's only when I debug on a Android emulator with the following setup Pixel 5 Android API 32 x86_64 RAM: 153... | flutter|dart|android-emulator | 0 | 2022-07-29T05:47:33.787Z | 2,022 | 7 | 5 | 4 | 41 | 0 | 516 | 129 | 3 | 2 | true | true | false | false | false | false | zero |
73,162,182 | Setting TextView with string variable (storing shared preferences) crashes app | <p>I am attempting to store and retrieve data between fragments using SharedPreferences. I am trying to display the stored data in a <strong>TextView</strong> but can only manage to display it in a Toast. When the line "textView.setText(string);" is executed, the app crashes. "string" is a String va... | I am attempting to store and retrieve data between fragments using SharedPreferences. I am trying to display the stored data in a TextView but can only manage to display it in a Toast. When the line "textView.setText(string);" is executed, the app crashes. "string" is a String variable storing the d... | java|android-studio|android-fragments | 0 | 2022-07-29T05:56:50.177Z | 2,022 | 7 | 5 | 4 | 30 | 2 | 565 | 78 | 3 | 2 | true | false | false | false | false | false | zero |
73,162,319 | Insert two colors and two sizes of text into a textView | <p>I need to recreate this effect in a single textView using HTML,</p>
<p><a href="https://i.stack.imgur.com/4ncGY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ncGY.png" alt="enter image description here" /></a></p>
<p>how can I indicate the two different colors and sizes? The two words are separ... | I need to recreate this effect in a single textView using HTML, how can I indicate the two different colors and sizes? The two words are separate, they are two different strings not a single string. The first color is #CFD8DC with size 24sp, the second color is #3A55EA with size 18sp | android|html|textview | 0 | 2022-07-29T06:15:07.017Z | 2,022 | 7 | 6 | 4 | 30 | 0 | 284 | 55 | 3 | 0 | false | true | false | false | false | false | zero |
73,162,359 | How to reset or clear items in RecyclerView upon backstack navigation? | <p>I have two fragments: Fragment A contains a recyclerview of 5 article items and Fragment B contains the webview of the selected article in Fragment A.</p>
<p>Upon going back from Fragment B to A, my items in the recyclerview in Fragment A doubled. So basically, Fragment A is now showing duplicate items which are not... | I have two fragments: Fragment A contains a recyclerview of 5 article items and Fragment B contains the webview of the selected article in Fragment A. Upon going back from Fragment B to A, my items in the recyclerview in Fragment A doubled. So basically, Fragment A is now showing duplicate items which are not what I wa... | android|kotlin|android-fragments|android-recyclerview | 0 | 2022-07-29T06:18:46.087Z | 2,022 | 7 | 6 | 4 | 43 | 1 | 478 | 70 | 4 | 1 | true | false | false | false | false | false | zero |
73,162,394 | Android Frida Error When A Process is Attached | <p>From that code line:</p>
<pre><code>process = frida.get_usb_device(1).attach('com.android.settings')
</code></pre>
<p>I got the following error:</p>
<blockquote>
<p>raise _frida.ProcessNotFoundError("unable to find process with name '%s'" % process_name)
frida.ProcessNotFoundError: unable to find process w... | From that code line: [CODE] I got the following error: raise _frida.ProcessNotFoundError("unable to find process with name '%s'" % process_name) frida.ProcessNotFoundError: unable to find process with name 'com.android.settings'* Although com.android.settings is listed with frida-ps -aU command, it says unabl... | python|android|frida | 1 | 2022-07-29T06:23:00.403Z | 2,022 | 7 | 6 | 4 | 150 | 1 | 338 | 46 | 3 | 1 | true | false | false | false | false | false | low |
73,162,453 | java.lang.IllegalArgumentException: column '`kitType`' does not exist. Available columns: [..., dependencies, ൔ, DMLoader, ...] | <p>I get an expcetion when I try query some data from db.(RoomDb Version used:2.2.5)</p>
<p>It never reproduced in DEV. It only happened in PRD sometime on API 27 28 29 30.</p>
<h1>Crash scenes:</h1>
<h2>1. Some time columnName of my database was changed to garbled.</h2>
<p>java.lang.IllegalArgumentException: column '<... | I get an expcetion when I try query some data from db.(RoomDb Version used:2.2.5) It never reproduced in DEV. It only happened in PRD sometime on API 27 28 29 30. Crash scenes: 1. Some time columnName of my database was changed to garbled. java.lang.IllegalArgumentException: column ' kitType ' does not exist. Available... | android-room | 0 | 2022-07-29T06:29:33.343Z | 2,022 | 7 | 6 | 4 | 24 | 0 | 1,326 | 127 | 1 | 1 | true | true | false | false | false | false | zero |
73,162,463 | Problem with Kotlin Duration in Android Studio | <p>I'm new with Android Studio and Kotlin and I have some trouble with Kotlin Duration. When I try to do following in my code:</p>
<pre><code>val test: Duration = Duration.parse(value = timeClose)
</code></pre>
<p>I get this error message:</p>
<blockquote>
<p>This declaration needs opt-in. Its usage must be marked with... | I'm new with Android Studio and Kotlin and I have some trouble with Kotlin Duration. When I try to do following in my code: [CODE] I get this error message: This declaration needs opt-in. Its usage must be marked with '@kotlin.time.ExperimentalTime' or '@OptIn(kotlin.time.ExperimentalTime::class)' I use Android Studio ... | android|android-studio|kotlin | 0 | 2022-07-29T06:30:57.417Z | 2,022 | 7 | 6 | 4 | 58 | 1 | 396 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
73,162,509 | Disable autofill with the Authenticator app on the Ionic/Angular app with an Android device | <p>Can you tell me how to disable autofill with the Authenticator app on the Ionic/Angular app with an Android device?</p>
<p><a href="https://i.stack.imgur.com/12O3I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/12O3I.png" alt="enter image description here" /></a></p>
<p>When the user saved the da... | Can you tell me how to disable autofill with the Authenticator app on the Ionic/Angular app with an Android device? When the user saved the data it shows this? i.e. this is not an address field too. Note: I have tried this with the Microsoft Authenticator app and I was not able to reproduce this on my Android device. I... | android|angular|typescript|ionic-framework | 0 | 2022-07-29T06:35:57.193Z | 2,022 | 7 | 6 | 4 | 33 | 0 | 544 | 91 | 4 | 0 | false | true | false | false | false | false | zero |
73,162,514 | How do I make a NavTypeSerializer for a lambda for Compose Destinations? | <p>I am trying to pass a simple lambda of type <code>(Item) -> Boolean</code> as a navigation argument. However, it seems like Compose Destinations does not recognize the <code>NavTypeSerializer</code> I made.</p>
<pre><code>@NavTypeSerializer
class ItemToBooleanNavTypeSerializer : DestinationsNavTypeSerializer<(... | I am trying to pass a simple lambda of type (Item) -> Boolean as a navigation argument. However, it seems like Compose Destinations does not recognize the NavTypeSerializer I made. [CODE] Here is my navArgsDelegate : [CODE] It gives me this error: [CODE] I tried checking if NavTypeSerializer is working with non-lambda ... | android-jetpack-compose|jetpack-compose-navigation | 0 | 2022-07-29T06:36:25.290Z | 2,022 | 7 | 6 | 4 | 66 | 1 | 687 | 72 | 2 | 4 | true | false | false | false | false | false | zero |
73,162,539 | Flutter audio package flutter_sound : volume gets too low after voice recording in Android | <p>I am using flutter_sound to record and play audio in my Flutter app. Audio plays perfectly in iOS, but in android volume gets too low after recording. Any help is appreciated.</p> | I am using flutter_sound to record and play audio in my Flutter app. Audio plays perfectly in iOS, but in android volume gets too low after recording. Any help is appreciated. | android|flutter|audio | 0 | 2022-07-29T06:39:02.240Z | 2,022 | 7 | 6 | 4 | 109 | 0 | 175 | 90 | 3 | 0 | false | true | false | false | false | false | zero |
73,162,561 | Xamarin ("old") Navigation side by side with Shell-Navigation | <p>I am searching for hours and wondering if it is possible to use the old navigation and the shell navigation in one Xamarin APP.</p>
<p><em><strong>Background:</strong></em></p>
<p>The <strong>reason</strong> for that is, that I am <strong>maintaining an old app with 40+ sites</strong> - with different Navigation thr... | I am searching for hours and wondering if it is possible to use the old navigation and the shell navigation in one Xamarin APP. Background: The reason for that is, that I am maintaining an old app with 40+ sites - with different Navigation through the sites and sometimes complex data passing through them. Try to achiev... | android|ios|shell|xamarin.forms|navigation | 0 | 2022-07-29T06:41:26.150Z | 2,022 | 7 | 6 | 4 | 52 | 1 | 620 | 61 | 5 | 0 | false | false | false | false | false | false | zero |
73,162,565 | Can not Binds Dependency with parameter in contructor with Dagger and Kotlin | <p>I have some class that looks like as below:
But I have an issue, I cannot provide dependency for HomeRouter.
So can you guys help me solve this problem:</p>
<pre><code>class HomeRouter @Inject constructor (activity: Activity) : HomeContract.Router {
override fun finish() {
Timber.e("Finish")
... | I have some class that looks like as below: But I have an issue, I cannot provide dependency for HomeRouter. So can you guys help me solve this problem: [CODE] and Module [CODE] and in AppComponent [CODE] The exception as below: [CODE] Thanks everyone. | java|android|kotlin|dagger-2|dagger | 1 | 2022-07-29T06:42:00.930Z | 2,022 | 7 | 6 | 4 | 31 | 1 | 252 | 76 | 5 | 4 | true | false | false | false | false | false | low |
73,162,570 | Can I wrap collectAsState with remember when I use Jetpack Compose? | <p>I hope to share a parameter <code>val isCanAddRecord by mViewMode.isCanAddRecord.collectAsState()</code> among @Composable functions.</p>
<p>The Code A is based the article <a href="https://stackoverflow.com/questions/72589279/how-can-i-share-info-among-composable-function-in-android-studio">How can I share info am... | I hope to share a parameter val isCanAddRecord by mViewMode.isCanAddRecord.collectAsState() among @Composable functions. The Code A is based the article How can I share info among @Composable function in Android Studio? I know collectAsState() is wrapped with remember , you can see the Source Code. Now you will find th... | kotlin|android-jetpack-compose | 1 | 2022-07-29T06:42:26.970Z | 2,022 | 7 | 6 | 4 | 139 | 1 | 552 | 67 | 2 | 2 | true | false | false | false | false | false | low |
73,162,611 | How to send notifications to my Android device emulator | <p>To test some app's functions I need to implement phone call, msg and notifications during an activity with my app. Is there any method in Appium that give me ability to do this</p> | To test some app's functions I need to implement phone call, msg and notifications during an activity with my app. Is there any method in Appium that give me ability to do this | javascript|appium|appium-android | 0 | 2022-07-29T06:47:04.967Z | 2,022 | 7 | 6 | 4 | 27 | 0 | 176 | 55 | 3 | 0 | false | true | false | false | false | false | zero |
73,162,648 | Displaying a route when an alarm turns on in a closed app - flutter | <p>I am making an alarm app and I would like it to display a route when the alarm turns on, even if the application is closed. The problem is that when the app is closed, the listener function turns on too late to get a message sent by the callback. Also, when the app is running in the backgruound, sound and vibrations... | I am making an alarm app and I would like it to display a route when the alarm turns on, even if the application is closed. The problem is that when the app is closed, the listener function turns on too late to get a message sent by the callback. Also, when the app is running in the backgruound, sound and vibrations tu... | android|flutter|dart|alarmmanager|dart-isolates | 0 | 2022-07-29T06:51:04.917Z | 2,022 | 7 | 6 | 4 | 39 | 0 | 401 | 67 | 5 | 3 | true | true | false | false | false | false | zero |
73,162,684 | Is there script for build on appcenter.ms like pre-build and post-build | <p>I am building the Flutter app on the appcenter.ms , My build getting completed in appcenter-post-clone.sh itself.</p>
<p>My appcenter-post-clone.sh</p>
<pre><code>#!/usr/bin/env bash
cd ..
# fail if any command fails
set -e
# debug log
set -x
cd ..
git clone -b 2.5.0 https://github.com/flutter/flutter.git
exp... | I am building the Flutter app on the appcenter.ms , My build getting completed in appcenter-post-clone.sh itself. My appcenter-post-clone.sh [CODE] After this, I need to skip other stages(Gradle Task)/Is there any other script to alter the main build steps? | android|flutter|fastlane|visual-studio-app-center | 1 | 2022-07-29T06:53:44.390Z | 2,022 | 7 | 6 | 4 | 56 | 0 | 257 | 71 | 4 | 1 | true | true | false | false | false | false | low |
73,162,713 | Flutter : The named parameter isn't defined Error | <p>Got the below error while trying to create an Onboarding screen while following a youtube tutorial. Does anyone know how to solve this error and what is the problem?</p>
<pre><code>The named parameter 'visualDensity' isn't defined. dart(undefined_name_parameter)
</code></pre>
<p><img src="https://i.stack.imgur.com/A... | Got the below error while trying to create an Onboarding screen while following a youtube tutorial. Does anyone know how to solve this error and what is the problem? [CODE] | android|flutter|dart | 0 | 2022-07-29T06:56:07.767Z | 2,022 | 7 | 6 | 4 | 58 | 2 | 172 | 49 | 3 | 1 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.