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,038,410 | Is there a way to make only the checkbox clickable in PreferenceFragmentCompat? I don't want the ripple effect on the title or summary when clicked | <p>I have a CheckboxPreference when I click on the title the checkbox select and deselect, which I don't want that. I want only the checkbox is clickable and when I click on the title or summary don't show ripple effect. How to do that?</p> | I have a CheckboxPreference when I click on the title the checkbox select and deselect, which I don't want that. I want only the checkbox is clickable and when I click on the title or summary don't show ripple effect. How to do that? | java|android | 0 | 2022-07-19T14:03:56.487Z | 2,022 | 7 | 14 | 1 | 43 | 0 | 233 | 147 | 2 | 0 | false | true | false | false | false | false | zero |
73,038,436 | GreedyScheduler.onAllConstraintsMet ANR | <p>Anyone able to help with this one. Nothing in stack trace helps to track down the source of the problem as there is absolutely no reference to our app it self. And it only happens on Android 12.</p>
<p>I completely lack to understand what <code>java.util.Currency</code> has to do with our app at all...</p>
<pre><cod... | Anyone able to help with this one. Nothing in stack trace helps to track down the source of the problem as there is absolutely no reference to our app it self. And it only happens on Android 12. I completely lack to understand what java.util.Currency has to do with our app at all... [CODE] | android|kotlin|android-12 | 0 | 2022-07-19T14:05:45.307Z | 2,022 | 7 | 14 | 1 | 22 | 0 | 290 | 39 | 3 | 1 | true | true | false | false | false | false | zero |
73,038,479 | Make sure index.android.bundle is packaged correctly for release | <p>[I have created the project with npx react-native init
, started a metro server in react native using npm start and opened the VM in the android folder directory</p>
<p>]<a href="https://i.stack.imgur.com/XzL8C.png" rel="nofollow noreferrer">1</a></p>
<p>Where I got my information from: <a href="https://www.mongodb... | [I have created the project with npx react-native init , started a metro server in react native using npm start and opened the VM in the android folder directory ] 1 Where I got my information from: https://www.mongodb.com/docs/realm/sdk/react-native/install/#resolve-cocoapods-dependencies I have been searching all day... | android|react-native | 0 | 2022-07-19T14:09:39.387Z | 2,022 | 7 | 14 | 1 | 40 | 0 | 549 | 64 | 2 | 0 | false | true | false | false | false | false | zero |
73,038,598 | Calling a function every 20 seconds in kotlin | <p>There is a function I'm trying to call every 20 seconds using Timer(). I already tried as well with a while loop followed by a delay of 20 seconds, but ends up running out of memory or throws thread exceptions. How can I do this without making my app crash and run out of memory? For a matter of context, I'm building... | There is a function I'm trying to call every 20 seconds using Timer(). I already tried as well with a while loop followed by a delay of 20 seconds, but ends up running out of memory or throws thread exceptions. How can I do this without making my app crash and run out of memory? For a matter of context, I'm building an... | android|kotlin|timer|bluetooth-lowenergy | 0 | 2022-07-19T14:17:14.123Z | 2,022 | 7 | 14 | 1 | 63 | 1 | 606 | 45 | 4 | 2 | true | false | false | false | false | false | zero |
73,038,631 | can I have two swipe transitions in a motion scene | <p>I am trying to implement a collapsable header using motion layout.
the header is divided in 3 separate views
the expected behavior is:</p>
<ul>
<li><p>when scrolling down( dragging the screen up): only the middle view should be visible</p>
</li>
<li><p>when scrolling up( dragging the screen down): the middle and the... | I am trying to implement a collapsable header using motion layout. the header is divided in 3 separate views the expected behavior is: when scrolling down( dragging the screen up): only the middle view should be visible when scrolling up( dragging the screen down): the middle and the bottom view should be visible when ... | android|android-transitions|android-motionlayout|android-motionscene | 0 | 2022-07-19T14:20:04.077Z | 2,022 | 7 | 14 | 1 | 30 | 0 | 1,056 | 50 | 4 | 2 | true | true | false | false | false | false | zero |
73,038,668 | Android CTS failure: Attempted shell sm partition disk:7,0 public multiple times on device without communication success. Aborting | <p>When I run arm64-v8a CtsAppSecurityHostTestCases, I'm getting the following failure but I see that other test cases are running successfully even after this failure.
Could somebody help here what has to be done to resolve this issue?</p>
<pre><code>There were 2 failures: Failed with trace: com.android.tradefed.devic... | When I run arm64-v8a CtsAppSecurityHostTestCases, I'm getting the following failure but I see that other test cases are running successfully even after this failure. Could somebody help here what has to be done to resolve this issue? [CODE] | android|cts | 0 | 2022-07-19T14:21:50.003Z | 2,022 | 7 | 14 | 1 | 31 | 0 | 240 | 130 | 2 | 1 | true | true | false | false | false | false | zero |
73,038,679 | How to show notifications at provided time frame and frequency in Android? | <p>I'm trying to make a feature where user can select the time frame and interval in which he would receive notifications to his phone. I'm using <code>AlarmManager</code> for repeating notifications, however it only covers the start time of notifications and the interval/frequency of notifications.</p>
<p>How could I ... | I'm trying to make a feature where user can select the time frame and interval in which he would receive notifications to his phone. I'm using AlarmManager for repeating notifications, however it only covers the start time of notifications and the interval/frequency of notifications. How could I make the notifications ... | android|android-studio|kotlin | 0 | 2022-07-19T14:22:30.623Z | 2,022 | 7 | 14 | 1 | 51 | 1 | 746 | 74 | 3 | 0 | false | false | false | false | false | false | zero |
73,038,715 | TabLayout tabs getting destroyed on switching tabs | <p>I am using tab layout in my activity which has two tabs. When i switch to another tab current tab fragment is destroyed, and another tab is created from scratch ( from Oncreate() lifecycle method) hoverver I went once before.</p>
<pre><code>private void Tablayout_TabSelected(object sender, TabSelectedEventArgs e)
... | I am using tab layout in my activity which has two tabs. When i switch to another tab current tab fragment is destroyed, and another tab is created from scratch ( from Oncreate() lifecycle method) hoverver I went once before. [CODE] is, isn't it a good idea to keep the whole fragment in memory instead of creating a new... | android|android-fragments|android-tablayout | 0 | 2022-07-19T14:24:42.017Z | 2,022 | 7 | 14 | 1 | 41 | 1 | 372 | 50 | 3 | 1 | true | false | false | false | false | false | zero |
73,038,933 | Migration from SQLCipher V1 to Room DB V2 on App Update: | <p>I build two apps with the same package name:</p>
<ol>
<li>In the first app, I use SQLCipher using "Pass_Phrase" (Version_1 DB) for CRUD operations using <code>Java</code>.</li>
<li>In the second app, I just wanted to migrate from SQLCipher to Room (Version_2 DB) and also read data from SQLCipher and put it... | I build two apps with the same package name: In the first app, I use SQLCipher using "Pass_Phrase" (Version_1 DB) for CRUD operations using Java . In the second app, I just wanted to migrate from SQLCipher to Room (Version_2 DB) and also read data from SQLCipher and put it into Room DB using Kotlin . I comple... | java|kotlin|android-room|database-migration|sqlite-cipher | 1 | 2022-07-19T14:38:45.590Z | 2,022 | 7 | 14 | 1 | 38 | 1 | 420 | 56 | 5 | 0 | false | false | false | false | false | false | low |
73,038,956 | Some event fields won't sync | <p>I have a calendar application that works well on any device. I can create new events, and these events sync with the server without any problem.<br>I also set "<strong>CUSTOM_APP_PACKAGE</strong>" and "<strong>CUSTOM_APP_URI</strong>" fields that work well on the device. But when I use the same a... | I have a calendar application that works well on any device. I can create new events, and these events sync with the server without any problem. I also set " CUSTOM_APP_PACKAGE " and " CUSTOM_APP_URI " fields that work well on the device. But when I use the same account on another device, I get null... | java|android|google-calendar-api|android-contentprovider|icalendar | 0 | 2022-07-19T14:40:30.377Z | 2,022 | 7 | 14 | 1 | 74 | 0 | 508 | 28 | 5 | 1 | true | true | false | false | false | false | zero |
73,038,972 | Why is the recycler view has NullPointerException in fragment? | <p>so here is the code for my recycler view adapter, which is located at onCreate:</p>
<pre><code>override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
databaseReference = FirebaseDatabase.getInstance().getReference("profilUsaha")
auth = FirebaseAuth.getInstance()... | so here is the code for my recycler view adapter, which is located at onCreate: [CODE] But somehow, the following error appears: [CODE] How to fix this issue? Thanks. | android|kotlin|android-fragments|android-recyclerview | 0 | 2022-07-19T14:41:20.110Z | 2,022 | 7 | 14 | 1 | 44 | 2 | 166 | 62 | 4 | 2 | true | false | false | false | false | false | zero |
73,039,108 | Push notification with non-public image | <p>Is there a way of adding a non-public image, i.e. one at a URL that requires authentication, to a push notification? From what I've read you can only supply an image URL in the notification payload, and that URL is fetched by the OS (Android/iOS), not the associated app.</p>
<p>If it isn't possible, does anyone know... | Is there a way of adding a non-public image, i.e. one at a URL that requires authentication, to a push notification? From what I've read you can only supply an image URL in the notification payload, and that URL is fetched by the OS (Android/iOS), not the associated app. If it isn't possible, does anyone know of a best... | android|ios|push-notification|firebase-cloud-messaging | 0 | 2022-07-19T14:48:44.237Z | 2,022 | 7 | 14 | 1 | 35 | 1 | 514 | 39 | 4 | 0 | false | false | false | false | false | false | zero |
73,039,189 | The same value, 16, was passed as the prevKey in two sequential Pages loaded from a PagingSource | <p>I have this pager with Paging 3 that keeps either repeating pages (if I allow keyReuseSupported) or returning the IllegalStateException because of "The same value, 16, was passed as the prevKey in two sequential Pages loaded from a PagingSource." I am not sure why this is happening, even if I do understand... | I have this pager with Paging 3 that keeps either repeating pages (if I allow keyReuseSupported) or returning the IllegalStateException because of "The same value, 16, was passed as the prevKey in two sequential Pages loaded from a PagingSource." I am not sure why this is happening, even if I do understand th... | android|kotlin|android-paging | 0 | 2022-07-19T14:54:22.113Z | 2,022 | 7 | 14 | 1 | 49 | 0 | 711 | 96 | 3 | 2 | true | true | false | false | false | false | zero |
73,039,418 | Where I can find Apksigner tool? | <p>I need to sign my game in unity V2 signing scheme, but I don´t know how. Somebody here tell me that I have to do it with apksigner, but I don´t know how, I look for some tutorials, but they aleready have some tool, which I haven´t. Can somebody please help me with it ?</p> | I need to sign my game in unity V2 signing scheme, but I don´t know how. Somebody here tell me that I have to do it with apksigner, but I don´t know how, I look for some tutorials, but they aleready have some tool, which I haven´t. Can somebody please help me with it ? | android|unity3d|apk|sign | 0 | 2022-07-19T15:09:42.513Z | 2,022 | 7 | 15 | 1 | 24 | 0 | 269 | 32 | 4 | 0 | false | true | false | false | false | false | zero |
73,039,448 | What's the difference between Flood Fill and QueueLinearFloodFiller Algorithms | <p>I've been investigating the Flood Fill algorithm recently, and came across two separate methods for doing the fill. I'm curious what the main difference is between this, and more importantly, if someone could break down how <strong>QueueLinearFloodFiller.java</strong> works, it would be really helpful. I know that i... | I've been investigating the Flood Fill algorithm recently, and came across two separate methods for doing the fill. I'm curious what the main difference is between this, and more importantly, if someone could break down how QueueLinearFloodFiller.java works, it would be really helpful. I know that it improves performan... | java|android|bitmap | 0 | 2022-07-19T15:11:55.777Z | 2,022 | 7 | 15 | 1 | 23 | 0 | 448 | 78 | 3 | 2 | true | true | false | false | false | false | zero |
73,039,467 | How do I inflate a ViewStub in widget provider? | <p>How do I do this with RemoteViews?</p>
<p>Let's say my XML looks like the following:</p>
<pre><code> <LinearLayout
android:id="@+id/main_layout"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_par... | How do I do this with RemoteViews? Let's say my XML looks like the following: [CODE] And in my provider, I instantiate the layout like so: [CODE] | android|android-widget | 0 | 2022-07-19T15:12:51.207Z | 2,022 | 7 | 15 | 1 | 51 | 0 | 145 | 47 | 2 | 2 | true | true | false | false | false | false | zero |
73,039,472 | Tried upgrading React Native to latest version but after the upgrade the application crashes on start - couldn't find DSO to load: libjscexecutor.so | <p>I attempted to upgrade React Native to the latest version using <code>npx react-native upgrade</code> but unfortunately afterwards my application began crashing every time I attempted to open it. The error I am receiving in logcat is the following:</p>
<pre><code>2022-07-19 17:59:29.656 5839-5839/com.joyable.joyable... | I attempted to upgrade React Native to the latest version using npx react-native upgrade but unfortunately afterwards my application began crashing every time I attempted to open it. The error I am receiving in logcat is the following: [CODE] I attempted navigating to the Android folder and running gradlew clean but th... | android|react-native | 0 | 2022-07-19T15:13:00.177Z | 2,022 | 7 | 15 | 1 | 70 | 1 | 482 | 148 | 2 | 1 | true | false | false | false | false | false | zero |
73,039,499 | How to change the Permission Handler old version to the new version | <p>i have the old permission handler code, but i'm using the latest version of <code>pubspec.yaml </code>. how to change the code below with the latest version?? is there someone who can help me</p>
<pre><code> if (Platform.isAndroid) {
PermissionStatus permissionStorage = await PermissionHandler().checkPermis... | i have the old permission handler code, but i'm using the latest version of pubspec.yaml . how to change the code below with the latest version?? is there someone who can help me [CODE] | android|flutter|android-studio|kotlin|visual-studio-code | 0 | 2022-07-19T15:14:42.600Z | 2,022 | 7 | 15 | 1 | 24 | 1 | 185 | 67 | 5 | 1 | true | false | false | false | false | false | zero |
73,039,661 | Which Android Emulator image do contain 'su'? | <p>How to know which Emulator image will contain <code>su</code>?
I can see that often it only contains <code>su</code> or <code>google play</code></p>
<p><a href="https://i.stack.imgur.com/rSELC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rSELC.png" alt="enter image description here" /></a></p> | How to know which Emulator image will contain su ? I can see that often it only contains su or google play | android|android-emulator|root|su | 0 | 2022-07-19T15:25:18.393Z | 2,022 | 7 | 15 | 1 | 80 | 1 | 106 | 45 | 4 | 0 | false | false | false | false | false | false | zero |
73,039,695 | Cordova Android App - Exporting CSV Text File to User | <p>I am using Visual Studio Code to develop a small Android-Only app.
I am using Apache Cordova HTML/CSS/JS as the base for the Application (<a href="https://cordova.apache.org/" rel="nofollow noreferrer">https://cordova.apache.org/</a>)</p>
<p>I have the app working to where data can be inserted into a sqlite DB. I w... | I am using Visual Studio Code to develop a small Android-Only app. I am using Apache Cordova HTML/CSS/JS as the base for the Application ( https://cordova.apache.org/ ) I have the app working to where data can be inserted into a sqlite DB. I would now like to create an export of that data in a csv format for the user t... | javascript|android|cordova|export-to-csv | 0 | 2022-07-19T15:27:50.377Z | 2,022 | 7 | 15 | 1 | 31 | 0 | 908 | 53 | 4 | 3 | true | true | false | false | false | false | zero |
73,039,770 | Android Studio: autoSize of EditText doesn't work | <p>in my current project there's an EditText with fixed layout_width and layout_height, called <code>exercise</code> that is expanded downwards programmatically: <code>One line of text (String) + "\n"</code> is added to the EditText.</p>
<p>Sometimes the line added to the EditText, let's call it element, is t... | in my current project there's an EditText with fixed layout_width and layout_height, called exercise that is expanded downwards programmatically: One line of text (String) + "\n" is added to the EditText. Sometimes the line added to the EditText, let's call it element, is too long to fit inside the full width... | android|android-studio|kotlin|android-edittext | 0 | 2022-07-19T15:32:46.380Z | 2,022 | 7 | 15 | 1 | 58 | 2 | 1,657 | 49 | 4 | 0 | false | false | false | false | false | false | zero |
73,039,860 | Android Jetpack Compose Animation of Size Change with Duration | <p>How do I add duration to content size change animation in Jetpack Compose? Trying to use <strong>Modifier.animateContentSize()</strong> and pass an <strong>animationSpec</strong> with duration, but it just snaps in or out, duration is not observed.</p>
<pre><code>Column() {
Modifier.animateContentSize
(a... | How do I add duration to content size change animation in Jetpack Compose? Trying to use Modifier.animateContentSize() and pass an animationSpec with duration, but it just snaps in or out, duration is not observed. [CODE] | android|kotlin|animation|android-animation|android-jetpack-compose | 0 | 2022-07-19T15:38:38.177Z | 2,022 | 7 | 15 | 1 | 273 | 1 | 221 | 62 | 5 | 1 | true | false | false | false | false | false | zero |
73,039,893 | How can I get distinct items from firebase to spinner in android? | <p>I am trying to fill a spinner with categories, I manage to iterate every category in my database and add it to the spinner but I need to fetch only distinct values, see this image;</p>
<p><a href="https://i.stack.imgur.com/Vvnue.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Vvnue.png" alt="enter... | I am trying to fill a spinner with categories, I manage to iterate every category in my database and add it to the spinner but I need to fetch only distinct values, see this image; This is my code; [CODE] | java|android|firebase | 0 | 2022-07-19T15:41:12.280Z | 2,022 | 7 | 15 | 1 | 26 | 1 | 204 | 65 | 3 | 1 | true | false | false | false | false | false | zero |
73,039,911 | I have android application that uses Google pay service for subscribing users to some packages | <p>I have android application that uses Google pay service for subscribing users to some packages.</p>
<p>The package is set to 20$
I need to make some internal discounts for some users as coupons for assuming 3$
How can I change the price while paying for subscription to accept 17 only not the total fixed to 20$?</p> | I have android application that uses Google pay service for subscribing users to some packages. The package is set to 20$ I need to make some internal discounts for some users as coupons for assuming 3$ How can I change the price while paying for subscription to accept 17 only not the total fixed to 20$? | android|subscription|google-pay | 0 | 2022-07-19T15:42:36.430Z | 2,022 | 7 | 15 | 1 | 16 | 0 | 305 | 94 | 3 | 0 | false | true | false | false | false | false | zero |
73,039,922 | Error Caused by: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class <unknown> | <p>I am so frustrated that i probably wont be able to explain well, but basically im trying to code a music app player however whenever i click the button the app just crashes. The Logcat doesnt really help much since i dont know whats wrong with it. Please help me out T.T</p>
<p>MainActivity.java</p>
<pre><code> @Over... | I am so frustrated that i probably wont be able to explain well, but basically im trying to code a music app player however whenever i click the button the app just crashes. The Logcat doesnt really help much since i dont know whats wrong with it. Please help me out T.T MainActivity.java [CODE] } activity_main.xml: [CO... | java|android|android-studio | -1 | 2022-07-19T15:43:27.610Z | 2,022 | 7 | 15 | 1 | 44 | 1 | 405 | 129 | 3 | 5 | true | false | false | false | false | true | negative |
73,040,147 | How to detect the invalid position to debug gradle Illegal char errors from index? | <p>I have received this gradle build error:</p>
<pre><code>java.nio.file.InvalidPathException: Illegal char <:> at index 43: com.myapp.android-mergeDebugResources-31:/values/values.xml
</code></pre>
<p>The error points to a misplaced column char in <code>values.xml</code> <em>"at index 43"</em> I have c... | I have received this gradle build error: [CODE] The error points to a misplaced column char in values.xml "at index 43" I have checked this file to detect what is the resource with misplaced char, but there is no misplaced char in line 43 and no misplaced char in the 43rd char of values.xml file. This file is... | android|android-gradle-plugin|android-build | 0 | 2022-07-19T15:58:09.183Z | 2,022 | 7 | 15 | 1 | 229 | 0 | 808 | 82 | 3 | 2 | true | true | false | false | false | false | zero |
73,040,375 | Why does my setLength/getLength and setWidth/getWidth not work | <p>My setLength/getLength and setWidth/getWidth do not work. Apparently it's because it cannot find the symbol but I do not know what it means by this.</p>
<p>I tried everything it just seems not to work no matter how hard I try</p>
<pre><code> package practice;
import java.util.Scanner;
public class Oval {
pri... | My setLength/getLength and setWidth/getWidth do not work. Apparently it's because it cannot find the symbol but I do not know what it means by this. I tried everything it just seems not to work no matter how hard I try [CODE] | java|android|methods|compiler-errors | -2 | 2022-07-19T16:17:22.837Z | 2,022 | 7 | 16 | 1 | 46 | 1 | 225 | 62 | 4 | 1 | true | false | false | false | false | true | negative |
73,040,399 | Change color of Ripple for IconButton in Jetpack compose | <p>This is not a duplicate of <a href="https://stackoverflow.com/questions/67265345/modify-ripple-color-of-iconbutton-in-jetpack-compose">Modify ripple color of IconButton in Jetpack Compose</a> This question was diverted in a different way...</p>
<p>I am trying to change the IconButton ripple colour as follows</p>
<pr... | This is not a duplicate of Modify ripple color of IconButton in Jetpack Compose This question was diverted in a different way... I am trying to change the IconButton ripple colour as follows [CODE] The ripple colour does not change. It stays dark Grey. Also, Is there a way to change the alpha of the ripple?? | android|android-jetpack-compose|ripple|iconbutton | 0 | 2022-07-19T16:19:38.297Z | 2,022 | 7 | 16 | 1 | 98 | 0 | 309 | 56 | 4 | 1 | true | true | false | false | false | false | zero |
73,040,465 | org.apache.http.entity.mime.MultipartEntityBuilder cannot be cast to com.google.firebase.crashlytics.buildtools.reloc.org.apache.http.HttpEntity | <p>I have error :
E/AndroidRuntime: FATAL EXCEPTION: Thread-5
Process: com.comm.a, PID: 4981
java.lang.ClassCastException: org.apache.http.entity.mime.MultipartEntityBuilder cannot be cast to com.google.firebase.crashlytics.buildtools.reloc.org.apache.http.HttpEntity
at com.comm.a.Utils.Connecter.connect(Connecter.java... | I have error : E/AndroidRuntime: FATAL EXCEPTION: Thread-5 Process: com.comm.a, PID: 4981 java.lang.ClassCastException: org.apache.http.entity.mime.MultipartEntityBuilder cannot be cast to com.google.firebase.crashlytics.buildtools.reloc.org.apache.http.HttpEntity at com.comm.a.Utils.Connecter.connect(Connecter.java:12... | android-studio | 0 | 2022-07-19T16:24:04.180Z | 2,022 | 7 | 16 | 1 | 70 | 0 | 500 | 144 | 1 | 2 | true | true | false | false | false | false | zero |
73,040,472 | Android: Bitrise running parallel tests sequentially | <p>I am trying to run unit tests in parallel using gradle's maxParallelForks property. When I run tests locally I can see clear improvement in time for running all the tests, but when I run tests with same configuration on Bitrise I can't see any improvement. From logs I can see that Bitrise is running multiple test cl... | I am trying to run unit tests in parallel using gradle's maxParallelForks property. When I run tests locally I can see clear improvement in time for running all the tests, but when I run tests with same configuration on Bitrise I can't see any improvement. From logs I can see that Bitrise is running multiple test class... | android|unit-testing|gradle|parallel-processing|bitrise | 0 | 2022-07-19T16:25:04.303Z | 2,022 | 7 | 16 | 1 | 23 | 0 | 440 | 52 | 5 | 0 | false | true | false | false | false | false | zero |
73,040,651 | Flutter "You need Java 11 or higher to build your app with this version of Gradle." error | <p>When i create a new project, and press run i get this error.</p>
<p><a href="https://i.stack.imgur.com/baIFg.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/baIFg.jpg" alt="enter image description here" /></a></p>
<p>The fact is i do already have jdk verison of 15 and my previously created project... | When i create a new project, and press run i get this error. The fact is i do already have jdk verison of 15 and my previously created projects do open and run without any errors. Also, if i add org.gradle.java.home=C:/Program Files/Java/jdk-15.0.1 line to my gradle.properties file the app runs without error but this w... | java|android|flutter|sdk | 0 | 2022-07-19T16:40:27.247Z | 2,022 | 7 | 16 | 1 | 284 | 1 | 678 | 89 | 4 | 0 | false | false | false | false | false | false | zero |
73,040,671 | proplem in paypal integration android | <p>I am making an e-commerce android app for a client using phpmyAdmin I need to integrate paypal ,that's why i use paypal documentation to do that . i faced problem with paying to merchant from client that money don't transfer .
i search but i didn't fount soluation for this .
my code .</p>
<pre><code> CheckoutConfig... | I am making an e-commerce android app for a client using phpmyAdmin I need to integrate paypal ,that's why i use paypal documentation to do that . i faced problem with paying to merchant from client that money don't transfer . i search but i didn't fount soluation for this . my code . [CODE] code run without any proble... | android|payment-gateway|paypal-sandbox | 0 | 2022-07-19T16:42:03.023Z | 2,022 | 7 | 16 | 1 | 24 | 0 | 438 | 37 | 3 | 2 | true | true | false | false | false | false | zero |
73,040,794 | trying to animate a button after another one finishes android | <p>I'm new to android, I thought I'll try creating a mini-game (Symon Says)
I want to show the user the pattern by making the buttons blink.
The problem is, I can't figure out how to make the buttons blink one after another, currently, they all blink at the same time.</p>
<p>Thanks in advance!</p> | I'm new to android, I thought I'll try creating a mini-game (Symon Says) I want to show the user the pattern by making the buttons blink. The problem is, I can't figure out how to make the buttons blink one after another, currently, they all blink at the same time. Thanks in advance! | android | 3 | 2022-07-19T16:52:45.327Z | 2,022 | 7 | 16 | 1 | 17 | 0 | 284 | 61 | 1 | 0 | false | true | false | false | false | false | low |
73,040,832 | How to build Android 10 AOSP without display (headless device) | <p>We are trying to build Android 10 without display or GUI. Is it possible to add dummy display adaptor so that it will work without actual physical display. Any reference code will be helpful. In our device we don't have LCD or touch screen. Basically we want full android stack without DISPLAY.
I have referred some ... | We are trying to build Android 10 without display or GUI. Is it possible to add dummy display adaptor so that it will work without actual physical display. Any reference code will be helpful. In our device we don't have LCD or touch screen. Basically we want full android stack without DISPLAY. I have referred some of t... | android|android-source|headless | 1 | 2022-07-19T16:56:33.033Z | 2,022 | 7 | 16 | 1 | 148 | 1 | 454 | 62 | 3 | 0 | false | false | false | false | false | false | low |
73,040,835 | Show GridLines over PreviewView for custom camera app, android studio | <p>I am trying to develop a custom camera app in android studio. I want to implement the Grid Lines to use the rule of thirds feature in my app.
I am using PreviewView to cast the camera stream and want to show the grid lines over PreviewView. Please help me, this is my first camera application and I am new to this.</p... | I am trying to develop a custom camera app in android studio. I want to implement the Grid Lines to use the rule of thirds feature in my app. I am using PreviewView to cast the camera stream and want to show the grid lines over PreviewView. Please help me, this is my first camera application and I am new to this. | java|android | 0 | 2022-07-19T16:56:53.483Z | 2,022 | 7 | 16 | 1 | 25 | 0 | 314 | 69 | 2 | 0 | false | true | false | false | false | false | zero |
73,040,857 | Multiple Animations are Not Launching At the Same Time in Jetpack Compose | <p>I have 3 animations, but the top one launches first, then the other two, how do I get them all to launch at the same time? I tried putting them in the same coroutine scope but still getting same results.</p>
<pre><code>LaunchedEffect(isItemInView) {
scope.launch {
coroutineScope {
launch { //... | I have 3 animations, but the top one launches first, then the other two, how do I get them all to launch at the same time? I tried putting them in the same coroutine scope but still getting same results. [CODE] Is there something Im doing wrong here? | android|android-studio|kotlin|android-jetpack-compose|jetpack-compose-animation | 0 | 2022-07-19T16:58:57.833Z | 2,022 | 7 | 16 | 1 | 62 | 2 | 250 | 73 | 5 | 1 | true | false | false | false | false | false | zero |
73,040,901 | Could not determine the dependencies of task ':mergePlayDebugAssets' | <p>Getting the following error while trying to make an android project. I am using <code>build:gradle:7.2.1</code>. Let me know if I need to add gradle file. I see that there are other questions on stakoverflow regarding':app:mergeDebugAssets', but those solutions didn't work for me.</p>
<pre><code>Could not determine ... | Getting the following error while trying to make an android project. I am using build:gradle:7.2.1 . Let me know if I need to add gradle file. I see that there are other questions on stakoverflow regarding':app:mergeDebugAssets', but those solutions didn't work for me. [CODE] | java|android|android-studio|gradle | 0 | 2022-07-19T17:02:06.213Z | 2,022 | 7 | 17 | 1 | 38 | 0 | 276 | 68 | 4 | 1 | true | true | false | false | false | false | zero |
73,040,929 | How to make changes to a flutter plugin that has been added locally? | <p>I created a plugin for my project and put it at the same level as my flutter project directory</p>
<pre><code>-- plugin-name
-- your flutter directory -- lib
-- android
-- ios etc etc
</code></pre>
<p>Then I reference it in my pubspec.yaml file like so.</p>
<pre>... | I created a plugin for my project and put it at the same level as my flutter project directory [CODE] Then I reference it in my pubspec.yaml file like so. [CODE] If I try to make a new method in the plugin to reference in my main project it will say it does not exist. I tried running a flutter clean and flutter pub get... | java|android|ios|flutter|dart | 0 | 2022-07-19T17:04:41.540Z | 2,022 | 7 | 17 | 1 | 12 | 1 | 546 | 68 | 5 | 2 | true | false | false | false | false | false | zero |
73,041,089 | Flutter RangeError In Widget Array? | <p>I'm getting an error when I try to add widgets to a list in Dart. Does anyone know what this could mean?
I've looked through the data, and through all of my code. Rewrote everything once or twice. I'm a tad rusty with Dart as I haven't used flutter in a while, any and all help is appreciated. TIA!</p>
<p>Code:</p>
<... | I'm getting an error when I try to add widgets to a list in Dart. Does anyone know what this could mean? I've looked through the data, and through all of my code. Rewrote everything once or twice. I'm a tad rusty with Dart as I haven't used flutter in a while, any and all help is appreciated. TIA! Code: [CODE] The erro... | android|flutter|dart|indexing|range | 0 | 2022-07-19T17:17:32.997Z | 2,022 | 7 | 17 | 1 | 27 | 1 | 336 | 35 | 5 | 1 | true | false | false | false | false | false | zero |
73,041,167 | LocalDate.parse Returning DateTimeParseException | <p>Title is most of the explanation. I'm very simply trying to parse a charSequence/String to a LocalDate. I have two different formats so I make two attempts to parse, but neither are working. Related Code:</p>
<pre><code>public static LocalDate ToDate(CharSequence charSequence ){ // Or String string
Local... | Title is most of the explanation. I'm very simply trying to parse a charSequence/String to a LocalDate. I have two different formats so I make two attempts to parse, but neither are working. Related Code: [CODE] The returned exception: [CODE] That looks like the same format for me so I assume I'm missing some syntax? | java|android-studio|parsing|localdate | 0 | 2022-07-19T17:23:44.020Z | 2,022 | 7 | 17 | 1 | 93 | 1 | 318 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
73,041,178 | Items from Room DB dont show up when using submitList to ListAdapter to RecyclerView in a Fragment | <p>So this is my code for the fragment:</p>
<pre><code>
import android.content.Context;
import android.content.Intent;
import android.content.pm.LauncherActivityInfo;
import android.os.Bundle;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import an... | So this is my code for the fragment: [CODE] when I run the app the recycler view is empty, in the logs the "ItemCountOUTSIDE" shows 0 and is written earlier the "ItemCount" which shows 2. RoomDB is capable of showing the 2 items that are in it when the app is run, so i'd imagine its not a problem wi... | java|android|android-fragments|android-recyclerview|android-room | 0 | 2022-07-19T17:24:37.553Z | 2,022 | 7 | 17 | 1 | 39 | 0 | 804 | 98 | 5 | 3 | true | true | false | false | false | false | zero |
73,041,226 | android, how to use mockk to mock BuildConfig.DEBUG | <p>using mockk for unit test, and would like to mock the BuilConfig.DEBUG.</p>
<pre><code> io.mockk.mockkObject(BuildConfig::class) // or mockkStatic
io.mockk.every { BuildConfig.DEBUG } returns true //<=== throws
</code></pre>
<p>but it throws exception</p>
<pre><code>Missing mocked calls inside ever... | using mockk for unit test, and would like to mock the BuilConfig.DEBUG. [CODE] but it throws exception [CODE] How to mock the BuildConfig.DEBUG using mockk? | mockk|android-unit-testing | 0 | 2022-07-19T17:29:10.480Z | 2,022 | 7 | 17 | 1 | 91 | 0 | 156 | 51 | 2 | 2 | true | true | false | false | false | false | zero |
73,041,371 | How to notify users when the application is closed ( Background Services in Xamarin forms ) | <p>I am developing an example app based on notifications , with concepts (websockets SignalR ).
all working fine , but when applications are closed users doesn't receive notifications.
i created a service background and recviedbrodcast
MainActivity :</p>
<pre><code>protected override void OnCreate(Bundle savedInstanceS... | I am developing an example app based on notifications , with concepts (websockets SignalR ). all working fine , but when applications are closed users doesn't receive notifications. i created a service background and recviedbrodcast MainActivity : [CODE] BackgroundServiceAndroid: [CODE] BroadcastReceiver : [CODE] If my... | android|xamarin.forms|alarmmanager|signalr-hub|android-workmanager | 0 | 2022-07-19T17:43:27.040Z | 2,022 | 7 | 17 | 1 | 63 | 1 | 432 | 91 | 5 | 3 | true | false | false | false | false | false | zero |
73,041,496 | Can Truecaller SDK with OTP works simultaneously from multiple apps all installed in the same device? | <p>I have integrated truecaller SDK with the OTP option enabled (missed call functionality) in a couple of android apps. The issue is the functionality works perfectly fine if only one app is installed. When I install the other app and try to log in using the missed call functionality, it doesn't work, and true caller ... | I have integrated truecaller SDK with the OTP option enabled (missed call functionality) in a couple of android apps. The issue is the functionality works perfectly fine if only one app is installed. When I install the other app and try to log in using the missed call functionality, it doesn't work, and true caller SDK... | android | 0 | 2022-07-19T17:54:11.760Z | 2,022 | 7 | 17 | 1 | 22 | 0 | 610 | 101 | 1 | 0 | false | true | false | false | false | false | zero |
73,041,497 | bluetoothAdapter.startDiscovery() doesn't start without clicking the bluetooth button from the notification panel and finishes immediately | <p>In android 12 api 31
I run this app ,it doesn't work properly
I want to find the name of the nearby devices but the Bluetooth device doesn't start until I click on the Bluetooth button from the notification panel and in log it shows Discovery Started and Gave another Log which shows Discovery Finished without searc... | In android 12 api 31 I run this app ,it doesn't work properly I want to find the name of the nearby devices but the Bluetooth device doesn't start until I click on the Bluetooth button from the notification panel and in log it shows Discovery Started and Gave another Log which shows Discovery Finished without searching... | java|android|android-studio|bluetooth | 0 | 2022-07-19T17:54:15.777Z | 2,022 | 7 | 17 | 1 | 33 | 0 | 690 | 138 | 4 | 3 | true | true | false | false | false | false | zero |
73,041,516 | How do I save this bitmap as image to internal memory | <pre><code> relativeLayout.draw(canvas);
imageView.setImageBitmap(bitmap);
</code></pre>
<p>How do i save this bitmap to as image to internally storage</p> | [CODE] How do i save this bitmap to as image to internally storage | java|android | 0 | 2022-07-19T17:55:42.543Z | 2,022 | 7 | 17 | 1 | 12 | 0 | 66 | 53 | 2 | 1 | true | true | false | false | false | false | zero |
73,041,560 | Which step in Android Build process removes the /res/raw directory? | <p>It seems that if I set debuggable = true in my build.gradle file and I build my project into an apk file, that if I unzip that apk, I can actually see the files in /res/raw.</p>
<p>However, if I have debuggable = false in build.gradle then when I unzip the apk file there is no longer a /res/raw directory (/res still... | It seems that if I set debuggable = true in my build.gradle file and I build my project into an apk file, that if I unzip that apk, I can actually see the files in /res/raw. However, if I have debuggable = false in build.gradle then when I unzip the apk file there is no longer a /res/raw directory (/res still exists). ... | android|gradle|android-gradle-plugin | 0 | 2022-07-19T17:59:31.283Z | 2,022 | 7 | 17 | 1 | 49 | 1 | 712 | 67 | 3 | 0 | false | false | false | false | false | false | zero |
73,041,759 | Flutter App does not start on android device due to exceeding memory usage | <p>problem:</p>
<p>My flutter app did not launch or more precise was stuck in launch screen because I had to many other apps in the background e.g. Gallery, Camera, Browser etc. and so on. After closing those sleeping background tasks my flutter app launched like expected.</p>
<p>Questions:</p>
<p>A) Is it possible to ... | problem: My flutter app did not launch or more precise was stuck in launch screen because I had to many other apps in the background e.g. Gallery, Camera, Browser etc. and so on. After closing those sleeping background tasks my flutter app launched like expected. Questions: A) Is it possible to e.g. open a dialog and i... | android|swift|flutter|dart | 0 | 2022-07-19T18:16:16.407Z | 2,022 | 7 | 18 | 1 | 35 | 0 | 754 | 74 | 4 | 0 | false | true | false | false | false | false | zero |
73,041,848 | IONIC - CAPACITOR - VUE.JS - App display in background when I scroll down the menu phone | <p>I'm new to app developing, and I'm trying to develop a music app with Ionic, Capacitor and Vue.js.
Does anyone know if there is a way to place your app in the background and HOW TO DISPLAY IT when I slide down the phone menu from the top or when the phone is locked? (as Spotify for example).
Or this image as an exam... | I'm new to app developing, and I'm trying to develop a music app with Ionic, Capacitor and Vue.js. Does anyone know if there is a way to place your app in the background and HOW TO DISPLAY IT when I slide down the phone menu from the top or when the phone is locked? (as Spotify for example). Or this image as an example... | android|ios|vue.js|ionic3|capacitor | 1 | 2022-07-19T18:23:38.057Z | 2,022 | 7 | 18 | 1 | 82 | 1 | 457 | 88 | 5 | 0 | false | false | false | false | false | false | low |
73,041,913 | Firebase Realtime Database after Select PRODUCT Spinner need to show RATE and STOCK | <p>I am new for Coding, So Kindly Please Help me.</p>
<p>1- I need to retrieve <em><strong>STOCK</strong></em> data from Firebase Realtime Database and Show data in Recycler View. Using Spinner-(<strong>Product Name</strong>).After Selecting Product Name. Need to fetch data and show (<strong>Stock Quantity</strong>- Te... | I am new for Coding, So Kindly Please Help me. 1- I need to retrieve STOCK data from Firebase Realtime Database and Show data in Recycler View. Using Spinner-( Product Name ).After Selecting Product Name. Need to fetch data and show ( Stock Quantity - Text View) and ( Product Rate - Text View ). 2- Then after I need to... | java|firebase|android-studio|spinner | 0 | 2022-07-19T18:29:12.707Z | 2,022 | 7 | 18 | 1 | 21 | 0 | 740 | 83 | 4 | 0 | false | true | false | false | false | false | zero |
73,041,931 | Flutter not seeing emulator in Android studio - no device selected | <p>I've updated my Android Studio and cannot see anymore my running emulators for running/debugging my app.<br></p>
<p><a href="https://i.stack.imgur.com/uTSHU.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uTSHU.jpg" alt="enter image description here" /></a></p>
<p>Previously I had Bumblebee (2021.... | I've updated my Android Studio and cannot see anymore my running emulators for running/debugging my app. Previously I had Bumblebee (2021.1.1) and updated to Chipmunk (2021.2.1) and I encounter this issue. I want to mention that previously everything was working fine, I've also researched on the internet and couldn't f... | android|flutter|sdk|android-emulator | 0 | 2022-07-19T18:31:17.803Z | 2,022 | 7 | 18 | 1 | 79 | 2 | 1,099 | 66 | 4 | 0 | false | false | false | false | false | false | zero |
73,041,963 | Kotlin || How to adjust Gridlayout width and height parameters programatically for all screen sizes? | <p>I have a gridlayout with fixed height and weight paramaters. When screensize change automatically ıts getting bigger or smaller. Iv tried all methods but not succeed. How to fix?</p>
<p>My code ;</p>
<pre><code> private fun loadBoard() {
for (i in boardCells.indices) {
for (j in boardCells.indices) {
... | I have a gridlayout with fixed height and weight paramaters. When screensize change automatically ıts getting bigger or smaller. Iv tried all methods but not succeed. How to fix? My code ; [CODE] | android|kotlin|grid-layout|android-gridlayout | 0 | 2022-07-19T18:34:08.003Z | 2,022 | 7 | 18 | 1 | 23 | 0 | 195 | 100 | 4 | 1 | true | true | false | false | false | false | zero |
73,042,108 | How to add a history to calculator? | <p>How do I add a history for a calculator in android studio/java? I need it to be only 3 lines of history before it disapears. How do I also show the entire calculation, and not just print out the result?</p>
<p>first one is where i store all my functions, and the 2nd one is primarily just to customize all the calcula... | How do I add a history for a calculator in android studio/java? I need it to be only 3 lines of history before it disapears. How do I also show the entire calculation, and not just print out the result? first one is where i store all my functions, and the 2nd one is primarily just to customize all the calculator button... | java|android-studio | 0 | 2022-07-19T18:48:06.453Z | 2,022 | 7 | 18 | 1 | 38 | 0 | 341 | 35 | 2 | 2 | true | true | false | false | false | false | zero |
73,042,142 | java.lang.SecurityException: Call from user 0 as user 8333 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed | <p>My app crashes on an android 11 device when I try to show a toast from a fragment by clicking a button in the adapter. I have an interface through which the toast is shown.</p>
<p>The error log is:</p>
<pre><code>java.lang.SecurityException: Call from user 0 as user 8333 without permission INTERACT_ACROSS_USERS or I... | My app crashes on an android 11 device when I try to show a toast from a fragment by clicking a button in the adapter. I have an interface through which the toast is shown. The error log is: [CODE] Adapter code: [CODE] actions is an interface Fagment code: [CODE] App crashes on either toast. But this works fine on my e... | java|android|kotlin | 1 | 2022-07-19T18:51:30.370Z | 2,022 | 7 | 18 | 1 | 38 | 0 | 494 | 141 | 3 | 3 | true | true | false | false | false | false | low |
73,042,178 | Retrieving single items from a volley jsonArray | <p>I have the following which is part of my response from my API server using volley.</p>
<pre><code> "products": [
{
"seller": "Geff Baraka Hardware",
"sellerId": "57",
"category": "Hardware",
"id": "794",
"co... | I have the following which is part of my response from my API server using volley. [CODE] I am interested in path which contains links to images, I would like to display only the first image as the icon but do not know how to go about it. I have tried looping through each of the jsonarray elements and retrieved path as... | java|android|android-volley | 0 | 2022-07-19T18:55:23.643Z | 2,022 | 7 | 18 | 1 | 48 | 1 | 804 | 47 | 3 | 2 | true | false | false | false | false | false | zero |
73,042,201 | Why a Scala 2.13 app is trying to use `JavaClassValue` on Android if it is not available, then triggering `java.lang.NoClassDefFoundError`? | <p>I'm running a Scala app on Android using <a href="https://github.com/dsvdsv/scala-android-plugin" rel="nofollow noreferrer">https://github.com/dsvdsv/scala-android-plugin</a> and Scala 2.13.8 and I get these weird stack traces on the logs:</p>
<pre><code>07-19 11:46:26.057 3647 3647 I zygote64: Rejecting re-init o... | I'm running a Scala app on Android using https://github.com/dsvdsv/scala-android-plugin and Scala 2.13.8 and I get these weird stack traces on the logs: [CODE] They happen whenever some code path for some reason touches ClassValue or ClassTag -- which unfortunately happens more often than not inside my dependencies (I'... | android|scala|reflection|dalvik|scala-2.13 | 1 | 2022-07-19T18:57:56.880Z | 2,022 | 7 | 18 | 1 | 71 | 0 | 1,360 | 139 | 5 | 2 | true | true | false | false | false | false | low |
73,042,260 | Is it possible to get an absolute URI to a local React Native image asset in release mode on Android? | <p>I need to post a local image asset to my application's back end and I'm running into issues specifically in release mode on Android (iOS debug/release and Android debug work without issue).</p>
<p>To get the uri of the asset, I just do:</p>
<pre><code>const img = require('imagePath');
...
const uri = Image.resolveAs... | I need to post a local image asset to my application's back end and I'm running into issues specifically in release mode on Android (iOS debug/release and Android debug work without issue). To get the uri of the asset, I just do: [CODE] When I use the above as the URI source for images, it works in all cases (even Andr... | android|react-native|axios|release|relative-path | 0 | 2022-07-19T19:02:30.640Z | 2,022 | 7 | 19 | 1 | 67 | 0 | 859 | 101 | 5 | 1 | true | true | false | false | false | false | zero |
73,042,265 | How to create CSV file in Downloads directory Android 10 | <p>I've been struggling to create a CSV file from my app. Here's my code:</p>
<pre><code>private void createFile() throws IOException {
Log.i("test", "creating file");
file = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "/test.csv"... | I've been struggling to create a CSV file from my app. Here's my code: [CODE] The Logcat prints: creating file file doesn't exist gonna create the new file Oh no I don't know why file.createNewFile() returns false yet when I check if it exists, it also returns false. I have my permissions declared in my Manifest and en... | java|android|android-studio|file|storage | 0 | 2022-07-19T19:02:57.603Z | 2,022 | 7 | 19 | 1 | 21 | 0 | 450 | 56 | 5 | 1 | true | true | false | false | false | false | zero |
73,042,280 | Why EditText in android retains its contents after orientation change whereas TextView doesn't? | <p>I am quite new to android development and was playing around in android studio and found that text view is retaining any data while orientation ahange whereas a EditText retains it's data as it is.Why and how is it happening? I tried to search for the answer but could not find a satisfactory answer. Please help..</p... | I am quite new to android development and was playing around in android studio and found that text view is retaining any data while orientation ahange whereas a EditText retains it's data as it is.Why and how is it happening? I tried to search for the answer but could not find a satisfactory answer. Please help.. | android | 1 | 2022-07-19T19:04:22.840Z | 2,022 | 7 | 19 | 1 | 55 | 0 | 314 | 95 | 1 | 0 | false | true | false | false | false | false | low |
73,042,327 | Having problems understanding how getpackagemanager() is derived from getactivity() kotlin | <p>I was looking through some docs when I stumbled upon this line of code</p>
<pre><code>if (activity?.packageManager?.resolveActivity(intent, 0) != null) {
startActivity(intent)
}
</code></pre>
<p>I was puzzled as I can't seem to find <code>packageManager</code> as a method in the activity class, how did the a... | I was looking through some docs when I stumbled upon this line of code [CODE] I was puzzled as I can't seem to find packageManager as a method in the activity class, how did the activity instance use the dot operator with packagemanager if it is not one of the Activity class properties? Upon further digging, the packag... | android|kotlin | 0 | 2022-07-19T19:09:25.443Z | 2,022 | 7 | 19 | 1 | 26 | 0 | 465 | 90 | 2 | 1 | true | true | false | false | false | false | zero |
73,042,352 | logical 'AND' queries on Array in Flutter Firebase | <p>What is the best way to implement AND logic when querying an array in a Firebase call?</p>
<p>I am trying to query a collection of documents that contain an array of characteristics.</p>
<p>The Collection is filled with documents corresponding to people.
Each of the documents contains an array of "characteristi... | What is the best way to implement AND logic when querying an array in a Firebase call? I am trying to query a collection of documents that contain an array of characteristics. The Collection is filled with documents corresponding to people. Each of the documents contains an array of "characteristics" such as ... | android|ios|flutter|firebase|dart | 0 | 2022-07-19T19:11:34.260Z | 2,022 | 7 | 19 | 1 | 27 | 1 | 789 | 50 | 5 | 2 | true | false | false | false | false | false | zero |
73,042,525 | Is there a simple way to hide the Navigation Bar in Android Studio? | <p>In the android studio, you can easily remove the status bar by adding a line in the themes.xml file.</p>
<pre><code><item name="android:windowFullscreen">true</item>
</code></pre>
<p>This simple one-line code will hide the status bar. If the user touches the top part of the screen, it appears b... | In the android studio, you can easily remove the status bar by adding a line in the themes.xml file. [CODE] This simple one-line code will hide the status bar. If the user touches the top part of the screen, it appears but after 1 or 2 seconds it disappears again. Is there a similar way to achieve the same effect for t... | android|kotlin | 0 | 2022-07-19T19:28:28.233Z | 2,022 | 7 | 19 | 1 | 87 | 1 | 573 | 67 | 2 | 2 | true | false | false | false | false | false | zero |
73,042,824 | android MapBox: how to draw polygon above layer? | <p>My Mapbox have onelayers, I tried to add a Marker(by draw a polygon) in front.</p>
<p>However, when the Marker overlapped with the layer, Marker is always under of the layer. This is my source code. Is there a way put Marker(polygon) in front?</p>
<pre><code>fun drawMarker(lat:Double, lon:Double){
if(null != curBlue... | My Mapbox have onelayers, I tried to add a Marker(by draw a polygon) in front. However, when the Marker overlapped with the layer, Marker is always under of the layer. This is my source code. Is there a way put Marker(polygon) in front? [CODE] | mapbox-android|mapbox-marker | 0 | 2022-07-19T19:58:10.580Z | 2,022 | 7 | 19 | 1 | 30 | 0 | 243 | 48 | 2 | 1 | true | true | false | false | false | false | zero |
73,042,854 | Proper use of mutableStateflow with Launcheffect in jetpack compose | <p>Hey I am working in <code>MutableStateFlow</code> in jetpack compose. I am trying to load spinner in next screen but it's not working. I am started learning jetpack compose. I didn't find the proper way in jetpack compose. I know <code>MutableStateFlow</code> in legacy way. I'll try explain what I am trying to do an... | Hey I am working in MutableStateFlow in jetpack compose. I am trying to load spinner in next screen but it's not working. I am started learning jetpack compose. I didn't find the proper way in jetpack compose. I know MutableStateFlow in legacy way. I'll try explain what I am trying to do and what I want to achieve. I h... | android|kotlin|android-jetpack-compose|android-jetpack|kotlin-flow | 1 | 2022-07-19T20:02:08.823Z | 2,022 | 7 | 20 | 1 | 143 | 1 | 1,237 | 67 | 5 | 2 | true | false | false | false | false | false | low |
73,042,876 | Godot crashing when exporting to Android | <h1>problem</h1>
<p>Godot crashes when I try to export a project to Android on this screen:</p>
<p><a href="https://i.stack.imgur.com/px6DC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/px6DC.png" alt="screenshot" /></a></p>
<p>How can I fix this?</p>
<p>I've done everything in the tutorial <a href... | problem Godot crashes when I try to export a project to Android on this screen: How can I fix this? I've done everything in the tutorial here , but it still isn't working for me. I've tried retrying it three times, but it still isn't working for me, and I couldn't find anything saying how to fix it. Any help would be a... | android|godot | 0 | 2022-07-19T20:04:17.567Z | 2,022 | 7 | 20 | 1 | 40 | 0 | 331 | 40 | 2 | 0 | false | true | false | false | false | false | zero |
73,042,909 | No pending exception expected: java.lang.NoSuchMethodError: no static or non-static method "Lorg/libsdl/app/SDLActivity;.onNativeSoftReturnKey()Z | <p>My app crashes on startup. Happens only when i try to deobfuscate. I am a total noob, but i know i have to add some exception into proguard-rules.pro. Problem is, i have no idea what to add there. Can anyone please help? The error log is here:</p>
<pre><code>*** *** *** *** *** *** *** *** *** *** *** *** *** *** **... | My app crashes on startup. Happens only when i try to deobfuscate. I am a total noob, but i know i have to add some exception into proguard-rules.pro. Problem is, i have no idea what to add there. Can anyone please help? The error log is here: [CODE] | android-studio|proguard|deobfuscation | 0 | 2022-07-19T20:06:24.290Z | 2,022 | 7 | 20 | 1 | 96 | 0 | 250 | 145 | 3 | 1 | true | true | false | false | false | false | zero |
73,042,980 | I was trying to release an app with android studio but it gave me this error can you help me? | <p>Task :app:mergeReleaseResources FAILED</p>
<p>Execution failed for task ':app:mergeReleaseResources'.</p>
<blockquote>
<p>A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable
Resource compilation failed (Failed to compile values resource file C:\Users\STEFANO\Desktop\Deli... | Task :app:mergeReleaseResources FAILED Execution failed for task ':app:mergeReleaseResources'. A failure occurred while executing com.android.build.gradle.internal.res.ResourceCompilerRunnable Resource compilation failed (Failed to compile values resource file C:\Users\STEFANO\Desktop\Delia\app\build\intermediates\incr... | java|android|android-studio | -1 | 2022-07-19T20:13:24.327Z | 2,022 | 7 | 20 | 1 | 350 | 1 | 772 | 93 | 3 | 0 | false | false | false | false | false | true | negative |
73,043,014 | Launch skype from an android app on tablet | <p>I am in the process of developing with android studio on LINUX (kubuntu), in java code .
I would like to launch skype from an application.
I use
Uri skypeUri = Uri.parse(mySkypeUri);
Intent myIntent = new Intent(Intent.ACTION_VIEW, skypeUri);
myIntent.setComponent(new ComponentName("com.skype4life", "... | I am in the process of developing with android studio on LINUX (kubuntu), in java code . I would like to launch skype from an application. I use Uri skypeUri = Uri.parse(mySkypeUri); Intent myIntent = new Intent(Intent.ACTION_VIEW, skypeUri); myIntent.setComponent(new ComponentName("com.skype4life", "com... | android | 0 | 2022-07-19T20:17:30.987Z | 2,022 | 7 | 20 | 1 | 55 | 2 | 2,866 | 42 | 1 | 1 | true | false | false | false | false | false | zero |
73,043,031 | How to get specific information from this site? | <p>I would like to get the information under most shorted stocks such as Symbol, Current Short Int, Previous Short Int, Short In, and Short Share Value. How do i do this, So far i managed to retrieve some information from the site, but this is not what i am looking for, can someone assist me with this.</p>
<p><a href="... | I would like to get the information under most shorted stocks such as Symbol, Current Short Int, Previous Short Int, Short In, and Short Share Value. How do i do this, So far i managed to retrieve some information from the site, but this is not what i am looking for, can someone assist me with this. https://www.benzing... | java|android | 0 | 2022-07-19T20:19:05.490Z | 2,022 | 7 | 20 | 1 | 34 | 1 | 360 | 47 | 2 | 1 | true | false | false | false | false | false | zero |
73,043,086 | Enlarge Image View When Clicked in Android | <p>I am using Picasso for a while now and I'm very satisfied with it. However I'm in need of enlarging an imageview's image which is loaded by Picasso from firebase. The codes below is in an adapter.java which is called inside the MainActivity.java</p>
<pre><code>UserRef = FirebaseDatabase.getInstance().getReference().... | I am using Picasso for a while now and I'm very satisfied with it. However I'm in need of enlarging an imageview's image which is loaded by Picasso from firebase. The codes below is in an adapter.java which is called inside the MainActivity.java [CODE] Here is the xml [CODE] | java|android|imageview | 0 | 2022-07-19T20:25:03.850Z | 2,022 | 7 | 20 | 1 | 49 | 2 | 275 | 42 | 3 | 2 | true | false | false | false | false | false | zero |
73,043,186 | In Jetpack Compose, Does paddingFromBaseline alter the padding of a Text element? | <pre><code>@Composable
fun Sample(){
val startPadding = 10.dp
Column {
Text(
text = "sample text",
modifier = Modifier
.paddingFromBaseline(top = 30.dp)
.padding(start = startPadding)
)
Text(
text = "sampl... | [CODE] The above Composable contains two Text elements arranged vertically in a Column . Both Text elements have the same value set for their start padding . The preview is below something weird happens when the paddingFromBaseline is set after padding i.e [CODE] The padding before the first Text seems to have doubled,... | android-jetpack-compose|padding|android-jetpack-compose-modifier | 1 | 2022-07-19T20:33:56.170Z | 2,022 | 7 | 20 | 1 | 68 | 0 | 481 | 81 | 3 | 2 | true | true | false | false | false | false | low |
73,043,228 | Can't add modifier to a Text composable | <p>I can't add a modifier to a Text in my android app in Jetpack Compose.</p>
<p>I want something like this:</p>
<pre><code>Text(
text = AnnotatedString(resultString),
Modifer = Modifier.horizontalScroll(scroll),
)
</code></pre>
<p>But it gives me an error: <code>None of the following functions can be called with... | I can't add a modifier to a Text in my android app in Jetpack Compose. I want something like this: [CODE] But it gives me an error: None of the following functions can be called with the arguments supplied. I tried it without the modifier and then it worked. (I'm using material3) | android|android-jetpack-compose | 0 | 2022-07-19T20:37:43.980Z | 2,022 | 7 | 20 | 1 | 34 | 1 | 280 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
73,043,357 | React Native download manager fails with status code 16 when downloading on Android | <p>I have been trying to fix an issue with downloading a <code>zip</code> file from our service on our <code>Android</code> app. The <code>iOS</code> works fine, but on <code>Android</code> I get the following error:</p>
<pre><code>ExceptionsManager.js:149 Error downloading file Error: Download manager failed to downlo... | I have been trying to fix an issue with downloading a zip file from our service on our Android app. The iOS works fine, but on Android I get the following error: [CODE] My download code looks like this. We are using react-native-blob-util : [CODE] I have tried pretty much everything I found on the answers here , here ,... | android|react-native|react-native-fetch-blob | 0 | 2022-07-19T20:51:46.870Z | 2,022 | 7 | 20 | 1 | 126 | 0 | 680 | 83 | 3 | 2 | true | true | false | false | false | false | zero |
73,043,373 | Google Play Games manual sign-in seems to create problematic accounts | <p>My attempts to integrate Google Play Games <strong>Sign-In</strong> are mostly working, however there is one oddity:</p>
<p><strong>If the user does not already have a Play Games account</strong> and declines to sign-in via the automatic sign-in process, <strong>I provide a "sign-in" button that does a man... | My attempts to integrate Google Play Games Sign-In are mostly working, however there is one oddity: If the user does not already have a Play Games account and declines to sign-in via the automatic sign-in process, I provide a "sign-in" button that does a manual sign-in. When they click it in this case, they a... | android|google-play-games | 0 | 2022-07-19T20:53:25.747Z | 2,022 | 7 | 20 | 1 | 106 | 0 | 1,610 | 69 | 2 | 2 | true | true | false | false | false | false | zero |
73,043,442 | How to prevent app from being closed in MAUI? | <p>I'm aware that my question is a little bit general, but is there any way to prevent app from being closed in Windows and Android as well? I've noticed that there is no longer available to override the OnClosing method and setting Cancel to true in Window class like it was in WPF and that's propably because MAUI is s... | I'm aware that my question is a little bit general, but is there any way to prevent app from being closed in Windows and Android as well? I've noticed that there is no longer available to override the OnClosing method and setting Cancel to true in Window class like it was in WPF and that's propably because MAUI is supp... | c#|android|.net|windows|maui | 1 | 2022-07-19T21:03:41.667Z | 2,022 | 7 | 21 | 1 | 241 | 0 | 840 | 45 | 5 | 3 | true | true | false | false | false | false | low |
73,043,462 | ANDROID - How to manually update a system/product app? | <p>The issue occurs on a Oneplus 8 Pro, A12 custom rom rooted and unlocked.</p>
<p>i'm trying to manually update the package PowerOffAlarm.apk to the latest version, so i downloaded it on the phone. trying to reproduce the thread listed below <strong>results in a 0 bytes files copied</strong></p>
<p>I took example on t... | The issue occurs on a Oneplus 8 Pro, A12 custom rom rooted and unlocked. i'm trying to manually update the package PowerOffAlarm.apk to the latest version, so i downloaded it on the phone. trying to reproduce the thread listed below results in a 0 bytes files copied I took example on these thread , thread2 to mount the... | android|shell|system|mount|partition | 0 | 2022-07-19T21:05:57.147Z | 2,022 | 7 | 21 | 1 | 35 | 0 | 673 | 54 | 5 | 0 | false | true | false | false | false | false | zero |
73,043,729 | ViewPager2, FragmentStateAdapter, and conflict between pager's currentItem and adapter's createFragment's position parameter | <p>When implementing ViewPager2 and its associated FragmentStateAdapter for its contents in Kotlin, I ran into a weird issue: It has to do with the adapter's createFragment(position: Int) method and viewPager2's setCurrentItem(item: Int, smoothScroll: Boolean). Currently, implementing this for an adapter of size 2 item... | When implementing ViewPager2 and its associated FragmentStateAdapter for its contents in Kotlin, I ran into a weird issue: It has to do with the adapter's createFragment(position: Int) method and viewPager2's setCurrentItem(item: Int, smoothScroll: Boolean). Currently, implementing this for an adapter of size 2 items i... | android|kotlin|android-viewpager|android-viewpager2|fragmentstateadapter | 0 | 2022-07-19T21:35:49.550Z | 2,022 | 7 | 21 | 1 | 109 | 1 | 1,573 | 124 | 5 | 1 | true | false | false | false | false | false | zero |
73,043,740 | why are my galaxy s22 ultra's reported camera capabilities inconsistent with the hardware specs of the phone? | <p>Here's my JS code that I'm running in Google Chrome on my Galaxy S22 Ultra:</p>
<pre><code> const stream = await navigator.mediaDevices.getUserMedia({
audio: false,
video: {
facingMode: 'environment'
}
});
const track = stream.getVideoTracks()[0];
const capabilities = track.getCapabilities... | Here's my JS code that I'm running in Google Chrome on my Galaxy S22 Ultra: [CODE] framerate is {"max":30,"min":0} . My S22 Ultra can record 4K @ 60FPS so idk what's up with the 30fps limit for the fraterate. zoom is {"max":8,"min":1,"step":0.1} . The Galaxy S22 Ultra h... | android|google-chrome|android-camera|samsung-galaxy | 0 | 2022-07-19T21:38:04.177Z | 2,022 | 7 | 21 | 1 | 28 | 0 | 523 | 109 | 4 | 1 | true | true | false | false | false | false | zero |
73,043,796 | doOnTextChanged in infinite looping | <p>I'm trying to delete the last character in case it's a number in Android's EditText. However, I am falling into an infinite loop.</p>
<p>The logic I'm implementing is the following: If the user types a number in the first 4 characters, the doOnTextChang event is called and validated if it's a number. After validatio... | I'm trying to delete the last character in case it's a number in Android's EditText. However, I am falling into an infinite loop. The logic I'm implementing is the following: If the user types a number in the first 4 characters, the doOnTextChang event is called and validated if it's a number. After validation, it remo... | android|kotlin | 0 | 2022-07-19T21:45:20.183Z | 2,022 | 7 | 21 | 1 | 35 | 1 | 597 | 35 | 2 | 1 | true | false | false | false | false | false | zero |
73,043,813 | i have a problem when i try to build mergeExtDexDebug | <p>i have tried to clean or rebuild project but same problem so idon't know how to fix it
if anyone can told me how to fix it i will appreciate it</p>
<p>error logs :</p>
<p><strong>mergeDebugResource :</strong></p>
<pre><code>> Task :app:mergeDebugResources FAILED
AGPBI: {"kind":"error","te... | i have tried to clean or rebuild project but same problem so idon't know how to fix it if anyone can told me how to fix it i will appreciate it error logs : mergeDebugResource : [CODE] mergeExtDexDebug: [CODE] anyone can help me please? | java|android|gradle | 0 | 2022-07-19T21:47:20.480Z | 2,022 | 7 | 21 | 1 | 58 | 0 | 236 | 53 | 3 | 2 | true | true | false | false | false | false | zero |
73,043,986 | How to perform automated test in webview | <p>I have Android native app and I want to test login page witch was developed using webview that’s open central Authenticator. I’m trying to use appium to test but I’ve see that appium cannot test webview</p> | I have Android native app and I want to test login page witch was developed using webview that’s open central Authenticator. I’m trying to use appium to test but I’ve see that appium cannot test webview | java|performance|automated-tests|appium-android|software-quality | 0 | 2022-07-19T22:15:03.707Z | 2,022 | 7 | 22 | 1 | 34 | 1 | 202 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
73,044,125 | Flutter / Android / Gradle - Task :app:compileDebugKotlin FAILED | <p>I cannot figure this out for the life of me. Cannot get Flutter to successfully build an Android app.</p>
<p>Please tell me what I should do to resolve this based on the information below:</p>
<blockquote>
<p>./gradlew assembleDebug --stacktrace → <a href="https://pastebin.com/70ARBrNR" rel="nofollow noreferrer">htt... | I cannot figure this out for the life of me. Cannot get Flutter to successfully build an Android app. Please tell me what I should do to resolve this based on the information below: ./gradlew assembleDebug --stacktrace → https://pastebin.com/70ARBrNR ./gradlew build --warning-mode all → https://pastebin.com/TJ3avV8z fl... | java|android|flutter|android-studio|gradle | 0 | 2022-07-19T22:35:15.623Z | 2,022 | 7 | 22 | 1 | 38 | 2 | 516 | 64 | 5 | 4 | true | false | false | false | false | false | zero |
73,044,189 | BorderWidth react native | <p>i`m doing an app on expo, but when I put a borderWidth its only render on iOS but not on android, only render on the top of the view , this is the css, I hope you can help me</p>
<p>mainContainer:{
width:'100%',
height:'auto',
flex:1,
flexDirection:'row',
borderWidth:1,
borderColor:'#666666',
borderStyle:'solid'
},<... | i`m doing an app on expo, but when I put a borderWidth its only render on iOS but not on android, only render on the top of the view , this is the css, I hope you can help me mainContainer:{ width:'100%', height:'auto', flex:1, flexDirection:'row', borderWidth:1, borderColor:'#666666', borderStyle:'solid' }, border not... | android|react-native|expo | 0 | 2022-07-19T22:44:06.057Z | 2,022 | 7 | 22 | 1 | 81 | 1 | 351 | 24 | 3 | 0 | false | false | false | false | false | false | zero |
73,044,261 | Android Studio freezing when trying to open Finder on Mac | <p>The same issue was reported here:</p>
<p><a href="https://stackoverflow.com/questions/72420737/android-studio-not-opening-the-finder-in-order-to-open-any-project-in-mac">Android Studio not opening the finder in order to open any project in mac</a></p>
<p>Basically, any time that Android Studio is trying to open up F... | The same issue was reported here: Android Studio not opening the finder in order to open any project in mac Basically, any time that Android Studio is trying to open up Finder, it freezes and I'm forced to force quit the app and open it again. This happens when going through "File -> Open..." or when creating... | macos|android-studio | 1 | 2022-07-19T22:54:59.487Z | 2,022 | 7 | 22 | 1 | 158 | 2 | 816 | 57 | 2 | 0 | false | false | false | false | false | false | low |
73,044,297 | Android + Kotlin + Hilt: Error building project | <p>I'm new to Hilt, and I'm struggling my head in order to implement it in my multi-module app. After infinite attempts the build error varies from "error a" to "error b", then "error c" and so.</p>
<p>This is how I've started implementing Hilt into my <strong>multi-module</strong> app:</p... | I'm new to Hilt, and I'm struggling my head in order to implement it in my multi-module app. After infinite attempts the build error varies from "error a" to "error b", then "error c" and so. This is how I've started implementing Hilt into my multi-module app: [CODE] app build.gradle: [COD... | android|kotlin|dependency-injection|dagger-2|dagger-hilt | 0 | 2022-07-19T23:00:12.513Z | 2,022 | 7 | 23 | 1 | 336 | 2 | 2,309 | 47 | 5 | 5 | true | false | false | false | false | false | zero |
73,044,434 | How to center CustomItem in LazyRow vertically so that each item is in the center of The LazyRow? | <p>I tried using a ContraintLayout to center it vertically as shown below. Nothing happens after I run the app, it stays in the same position. However, I used this same code snippet in my button and it seems to center it along side LazyRow.</p>
<p><strong>Note</strong>: I am trying to accomplish this without modifying ... | I tried using a ContraintLayout to center it vertically as shown below. Nothing happens after I run the app, it stays in the same position. However, I used this same code snippet in my button and it seems to center it along side LazyRow. Note : I am trying to accomplish this without modifying padding Logic I am trying ... | android|android-studio|kotlin|android-jetpack-compose | 0 | 2022-07-19T23:22:50.493Z | 2,022 | 7 | 23 | 1 | 41 | 0 | 556 | 97 | 4 | 2 | true | true | false | false | false | false | zero |
73,044,495 | Image Upload Using Web View | <p>Getting an error while trying to upload an image from camera (ACTION_IMAGE_CAPTURE) using a webview. But it's working when I select the image from Files (ACTION_GET_CONTENT).</p>
<p><em>URL of File trying to upload from ACTION_GET_CONTENT: content://com.android.providers.media.documents/document/image%3A451</em></p>... | Getting an error while trying to upload an image from camera (ACTION_IMAGE_CAPTURE) using a webview. But it's working when I select the image from Files (ACTION_GET_CONTENT). URL of File trying to upload from ACTION_GET_CONTENT: content://com.android.providers.media.documents/document/image%3A451 URL of File trying to ... | java|android|android-webview | 0 | 2022-07-19T23:34:31.393Z | 2,022 | 7 | 23 | 1 | 31 | 1 | 650 | 27 | 3 | 1 | true | false | false | false | false | false | zero |
73,044,575 | Redirect user after installing the app with a given link | <p>I am seeking for a way to generate a link that make user go to the app store or google play page of an app, based on their platform, to ask them to install the app. After they install through such a link, they should be redirected to a page once they log in successfully. The redirection should not occur if the app i... | I am seeking for a way to generate a link that make user go to the app store or google play page of an app, based on their platform, to ask them to install the app. After they install through such a link, they should be redirected to a page once they log in successfully. The redirection should not occur if the app is n... | android|ios|google-play|app-store | 1 | 2022-07-19T23:49:49.330Z | 2,022 | 7 | 23 | 1 | 64 | 1 | 551 | 56 | 4 | 0 | false | false | false | false | false | false | low |
73,044,577 | Can't filter by genre | <p>I have a hardcoded list of movies and I want to filter them by their genre (which is a string), however only the All filter works as of now and for the other genres the result is the same as for the All filter. Can anyone help me out</p>
<p>class HomePresenter:</p>
<pre><code>public class HomePresenter {
List<Fi... | I have a hardcoded list of movies and I want to filter them by their genre (which is a string), however only the All filter works as of now and for the other genres the result is the same as for the All filter. Can anyone help me out class HomePresenter: [CODE] Class Repository: [CODE] Update with the spinner that I us... | java|android|list|filter | 0 | 2022-07-19T23:50:16.773Z | 2,022 | 7 | 23 | 1 | 48 | 3 | 382 | 21 | 4 | 3 | true | false | false | false | false | false | zero |
73,044,627 | Android retrofit async api calls won't work after adding okHttp interceptor to check for network connection | <p>We have both asynchronous and synchronous calls implemented using retrofit and Either to map success/error. After adding the network interceptor asynchronous calls are returning bad responses(works fine on postman). I have tried adding a general error JSON response thinking Either is not able to catch the exceptions... | We have both asynchronous and synchronous calls implemented using retrofit and Either to map success/error. After adding the network interceptor asynchronous calls are returning bad responses(works fine on postman). I have tried adding a general error JSON response thinking Either is not able to catch the exceptions bu... | java|android|kotlin|retrofit|okhttp | 0 | 2022-07-20T00:00:15.140Z | 2,022 | 7 | 0 | 2 | 77 | 1 | 559 | 107 | 5 | 3 | true | false | false | false | false | false | zero |
73,044,642 | How to unit test if an image was loaded using Coil + Compose | <p>I'm loading an image using <a href="https://coil-kt.github.io/coil/compose/" rel="nofollow noreferrer">Coil for Compose</a> like below.</p>
<pre class="lang-kotlin prettyprint-override"><code>@Composable
fun SvgImageSample() {
val painter = rememberAsyncImagePainter(
model = ImageRequest.Builder(LocalCon... | I'm loading an image using Coil for Compose like below. [CODE] The image is loaded properly. Now, I would like to write a test to check if the image was loaded. Is there any assertion out-of-the-box for that? Something like this: [CODE] | android|android-jetpack-compose|coil|android-jetpack-compose-testing | 1 | 2022-07-20T00:03:53.397Z | 2,022 | 7 | 0 | 2 | 213 | 2 | 236 | 60 | 4 | 2 | true | false | false | false | false | false | low |
73,044,707 | One of the value of model class becomes empty while adding to Array List whereas it shows some value in model class in android(java) | <p>I'm trying to fetch data from google map and perform some operation but one of the previously know value is getting emptied.</p>
<p><strong>AddressSearchState.java</strong></p>
<pre><code>
private List<SearchableAddress> convertAddressToSearchableAddress(final List<Address> addressList) {
final... | I'm trying to fetch data from google map and perform some operation but one of the previously know value is getting emptied. AddressSearchState.java [CODE] SearchableAddress.java [CODE] Address : SearchableAddress: Function--getAddress--Returning address: Address[addressLines=[0:"Indiana, USA"],feature=Indian... | java|android|arraylist | 0 | 2022-07-20T00:19:37.037Z | 2,022 | 7 | 0 | 2 | 32 | 0 | 909 | 132 | 3 | 2 | true | true | false | false | false | false | zero |
73,044,708 | Camera problem not generating caption android emulator flutter android studio 2022 | <p>this is a new question. I am creating an image caption generator app , so what happening is every time I try to use the live camera it catches a picture but its not generating caption for it. please help</p>
<p>E/flutter ( 4788): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(no_... | this is a new question. I am creating an image caption generator app , so what happening is every time I try to use the live camera it catches a picture but its not generating caption for it. please help E/flutter ( 4788): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(no_available_... | android|flutter|image|camera | 0 | 2022-07-20T00:19:47.600Z | 2,022 | 7 | 0 | 2 | 29 | 0 | 546 | 82 | 4 | 0 | false | true | false | false | false | false | zero |
73,044,732 | React Native - react-native-exception-handler doesn't catch error thrown inside a promise | <p>My react native application is running on android virtual device (API 23). I'm using react-native-exception-handler for the purpose of handling all errors that occur in one place. But react-native-exception-handle is only catching the simple errors, errors thrown from inside a promise are ignored. Can anyone help me... | My react native application is running on android virtual device (API 23). I'm using react-native-exception-handler for the purpose of handling all errors that occur in one place. But react-native-exception-handle is only catching the simple errors, errors thrown from inside a promise are ignored. Can anyone help me to... | javascript|android|react-native | 0 | 2022-07-20T00:24:46.123Z | 2,022 | 7 | 0 | 2 | 24 | 0 | 880 | 89 | 3 | 3 | true | true | false | false | false | false | zero |
73,044,744 | React Native SSLHandshakeException when running on android | <p>On a new project when running on android I'm getting the following error</p>
<pre><code>Jetifier found 945 file(s) to forward-jetify. Using 8 workers...
info Starting JS server...
info Installing the app...
Downloading https://services.gradle.org/distributions/gradle-7.3.3-all.zip
Exception in thread "main&quo... | On a new project when running on android I'm getting the following error [CODE] Android SDK 31 is installed ANDROID_HOME is set to %LOCALAPPDATA%\Android\Sdk JAVA_HOME is set to C:\Program Files\Android\Android Studio\jre | android|react-native|ssl | 0 | 2022-07-20T00:25:56Z | -1 | -1 | -1 | -1 | 143 | 0 | 221 | 58 | 3 | 1 | true | true | false | false | false | false | zero |
73,044,921 | Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) - dotnet MAUI, with Shiny 3# Alpha Job on Android | <p>Don't have a lot of experience with debugging issues with Android. Have built an app with dotnet MAUI, and since adding a Shiny job to do a Web API call, I'm getting these errors in my logcat:</p>
<pre><code>[07-20 08:11:56.776 1452:4329 D/ConnectivityService]
requestNetwork for uid/pid:10515/17091 activeRequest: nu... | Don't have a lot of experience with debugging issues with Android. Have built an app with dotnet MAUI, and since adding a Shiny job to do a Web API call, I'm getting these errors in my logcat: [CODE] The developer of Shiny isn't interested in helping with issues using Alpha releases, but basically I just want to work o... | android|android-jobscheduler|.net-maui | 0 | 2022-07-20T00:58:59.797Z | 2,022 | 7 | 0 | 2 | 76 | 1 | 688 | 97 | 3 | 3 | true | false | false | false | false | false | zero |
73,045,019 | Bluetooth Low energy (BLE) library for Flutter app development | <p>We have been using <a href="https://github.com/dotintent/FlutterBleLib" rel="nofollow noreferrer">FlutterBleLib</a> for sometime now, but this repo is not maintained anymore. So it is not suitable for production apps.
What other alternatives do we have?</p>
<p><strong>requirements</strong></p>
<ul>
<li>stable on and... | We have been using FlutterBleLib for sometime now, but this repo is not maintained anymore. So it is not suitable for production apps. What other alternatives do we have? requirements stable on android/iphones maintained with good community support open source and free for commercial use | android|flutter|bluetooth|bluetooth-lowenergy | 0 | 2022-07-20T01:22:53.120Z | 2,022 | 7 | 1 | 2 | 213 | 1 | 288 | 62 | 4 | 0 | false | false | false | false | false | false | zero |
73,045,048 | How to intercept Toggle interactions from WebView using Jetpack Compose Accompanist | <p>I am using Accompanist library to implement WebView changes in Android Jetpack Compose.</p>
<p><a href="https://google.github.io/accompanist/webview/" rel="nofollow noreferrer">https://google.github.io/accompanist/webview/</a></p>
<pre><code> WebView(
state = state,
modifie... | I am using Accompanist library to implement WebView changes in Android Jetpack Compose. https://google.github.io/accompanist/webview/ [CODE] I am not seeing any examples to add addJavascriptInterface to intercept toggle on/off interactions from WebView page. Is this is possible with AccompanistWebView? | android|android-jetpack-compose|jetpack-compose-accompanist | 0 | 2022-07-20T01:28:06.610Z | 2,022 | 7 | 1 | 2 | 74 | 1 | 303 | 83 | 3 | 1 | true | false | false | false | false | false | zero |
73,045,165 | Set Shared Preferences data only on install | <p>I want to set the user name in my application only once per install. We don't have to worry about if the user clears the data or not.</p>
<p>How can I achieve this ?</p> | I want to set the user name in my application only once per install. We don't have to worry about if the user clears the data or not. How can I achieve this ? | android|database|kotlin|sharedpreferences|android-room | 0 | 2022-07-20T01:48:52.410Z | 2,022 | 7 | 1 | 2 | 34 | 1 | 158 | 43 | 5 | 0 | false | false | false | false | false | false | zero |
73,045,210 | Unit testing with Flavor keeps failing and show 'The events were not received' | <p>I set,</p>
<pre><code> testOptions {
animationsDisabled = true
unitTests.all {
useJUnitPlatform()
}
}
</code></pre>
<p>And I am using Java Home for Gradle JDK.</p>
<p>The error is here:</p>
<pre><code>Execution failed for task ':app:testDevDebugUnitTest'.
</code></pre>
<pre... | I set, [CODE] And I am using Java Home for Gradle JDK. The error is here: [CODE] [CODE] The difference was just using Flavor. [CODE] My guess is adding flavor changes the path that needs while testing and this happened. So, I've changed path and also changed testImplementation to testDevImplementation but didn't work. ... | android|android-studio|gradle|build.gradle|android-unit-testing | 0 | 2022-07-20T01:58:02.620Z | 2,022 | 7 | 1 | 2 | 33 | 1 | 380 | 78 | 5 | 4 | 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.