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,226,299
Is it possible to disable new Bluetooth connections only when already connected to another Bluetooth device?
<p>I have headphones that I connect to with my phone, however if I get close a stereo receiver or into my truck my phone drops the headphone connection and jumps to the newer device's bluetooth.</p> <p>I'd like to block that autoconnect behavior, but only if I'm currently connected to another device. Is this possible o...
I have headphones that I connect to with my phone, however if I get close a stereo receiver or into my truck my phone drops the headphone connection and jumps to the newer device's bluetooth. I'd like to block that autoconnect behavior, but only if I'm currently connected to another device. Is this possible on Android ...
android|bluetooth
0
2022-08-03T18:40:47.047Z
2,022
8
18
2
16
0
330
108
2
0
false
true
false
false
false
false
zero
73,226,350
Ionic 6 Android Long press on input field throwing exception
<p>I have an android application using the Ionic 5 with capacitor framework. The application was working fine till last month. Now when I long press on any of the input fields (for eg; pasting some copied text) app crashes with the below exception</p> <p><a href="https://i.stack.imgur.com/6Bpqq.png" rel="nofollow noref...
I have an android application using the Ionic 5 with capacitor framework. The application was working fine till last month. Now when I long press on any of the input fields (for eg; pasting some copied text) app crashes with the below exception Below are my android configurations: [CODE] Any help is really appreciated.
android|capacitor|ionic5
0
2022-08-03T18:45:40Z
-1
-1
-1
-1
50
0
320
60
3
1
true
true
false
false
false
false
zero
73,226,550
Github Action: Build-tool 33.0.0 is missing DX at /usr/local/lib/android/sdk/build-tools/33.0.0/dx
<p>I am trying to generate android apk using github action. My project is developed using Vue + Cordova.</p> <p>I have written github workflow but I am getting below error:</p> <blockquote> <p>Build-tool 33.0.0 is missing DX at /usr/local/lib/android/sdk/build-tools/33.0.0/dx</p> </blockquote> <p><a href="https://i.sta...
I am trying to generate android apk using github action. My project is developed using Vue + Cordova. I have written github workflow but I am getting below error: Build-tool 33.0.0 is missing DX at /usr/local/lib/android/sdk/build-tools/33.0.0/dx [CODE]
android|cordova|jenkins|github-actions
1
2022-08-03T19:04:14.667Z
2,022
8
19
2
221
2
253
98
4
1
true
false
false
false
false
false
low
73,226,677
Google Pay Button for Android CSS for hybrid apps
<p>I have a CapacitorJS hybrid application which integrates Google Pay. We were using the web Google Pay button seen here: <a href="https://developers.google.com/pay/api/web/guides/brand-guidelines#style" rel="nofollow noreferrer">https://developers.google.com/pay/api/web/guides/brand-guidelines#style</a> but the one t...
I have a CapacitorJS hybrid application which integrates Google Pay. We were using the web Google Pay button seen here: https://developers.google.com/pay/api/web/guides/brand-guidelines#style but the one that says &quot;Pay with Google Pay&quot; However, during our approval process for our Android app, the approver rej...
android|css|capacitor|google-pay
0
2022-08-03T19:16:15.007Z
2,022
8
19
2
71
0
844
49
4
0
false
true
false
false
false
false
zero
73,226,688
Can I send a broadcast intent to simulate a Firebase Push Notification?
<p>Is there a way to send an Android intent to the Firebase Service in order to simulate push notifications instead of relying on the notification composer?</p> <pre><code>&lt;service android:name=&quot;.firebase.MyMessagingService&quot; android:exported=&quot;false&quot;&gt; &lt;int...
Is there a way to send an Android intent to the Firebase Service in order to simulate push notifications instead of relying on the notification composer? [CODE]
android|firebase|push-notification|firebase-cloud-messaging|broadcastreceiver
0
2022-08-03T19:17:30.053Z
2,022
8
19
2
29
0
160
71
5
1
true
true
false
false
false
false
zero
73,226,712
HAXM - The system requirements are not satisfied. - VMX support
<p>I am installing HAXM, an app required for running android emulator. So I downloaded it, then ran <code>extras\intel\Hardware_Accelerated_Execution_Manager\silent_install</code> and got this:</p> <pre><code>Intel HAXM installation failed! For more details, please check the installation log: C:\Users\ASUS\AppData\Loca...
I am installing HAXM, an app required for running android emulator. So I downloaded it, then ran extras\intel\Hardware_Accelerated_Execution_Manager\silent_install and got this: [CODE] The content of the .log file mentioned in the output is: [CODE] So only two requirements to fix. But I guess VMX supported one has to d...
android
0
2022-08-03T19:19:23.620Z
2,022
8
19
2
99
1
1,543
63
1
3
true
false
false
false
false
false
zero
73,226,850
java.lang.UnsatisfiedLinkError: Expecting an absolute path of the library: "C:/users/direct/path/to/the/lib.so"
<p>A .class file inside a jar, located in libs, is trying to load a library as follows:</p> <pre><code>static{ System.load(&quot;C:\\Users\\direct\\path\\to\\my\\library\\jniLibs\\x86\\lib.so&quot;); } </code></pre> <p>but it gives the error:</p> <pre><code>java.lang.UnsatisfiedLinkError: Expecting an absolute path o...
A .class file inside a jar, located in libs, is trying to load a library as follows: [CODE] but it gives the error: [CODE] It works very well with system.loadLibrary, but I would like to know what is the reason for this error. I want to try how system.load works so that I can load a .so file from anywhere.
java|android|android-ndk|.so
0
2022-08-03T19:31:14.900Z
2,022
8
19
2
152
0
307
111
4
2
true
true
false
false
false
false
zero
73,226,873
Dialer app for Flip Phones / Keyboard phones
<p>I'm making an app for keyboard senior phones, I want to make a simple dialer like every phone (when you click a button in the main screen it opens the dialer).</p> <p>How can I get when the user clicks the button on the main screen?</p> <p>Thanks</p>
I'm making an app for keyboard senior phones, I want to make a simple dialer like every phone (when you click a button in the main screen it opens the dialer). How can I get when the user clicks the button on the main screen? Thanks
android
0
2022-08-03T19:33:57.263Z
2,022
8
19
2
12
0
232
44
1
0
false
true
false
false
false
false
zero
73,226,888
Android Studio- show error on null object reference
<p>I'm traing to creat webview app for multiple button bt app make crash <a href="https://i.stack.imgur.com/CvADm.png" rel="nofollow noreferrer">this is error</a></p>
I'm traing to creat webview app for multiple button bt app make crash this is error
android|android-studio|apk
-2
2022-08-03T19:35:18.263Z
2,022
8
19
2
29
1
83
51
3
0
false
false
false
false
false
true
negative
73,226,949
Wear os build internal testing got rejected from google play store
<p>I got rejected from google play store while trying to upload internal testing build for tester.</p> <p>I have the watch release type enabled in release type <a href="https://i.stack.imgur.com/S05bC.png" rel="nofollow noreferrer">release type</a></p> <p>They mention in the email I got <strong>&quot;App doesn’t mentio...
I got rejected from google play store while trying to upload internal testing build for tester. I have the watch release type enabled in release type release type They mention in the email I got &quot;App doesn’t mention Wear OS in store listing and also All wear SS are transparent.&quot; , should I add something in fu...
android|google-play|wear-os|google-play-internal-testing
2
2022-08-03T19:39:45.193Z
2,022
8
19
2
62
1
648
66
4
0
false
false
false
false
false
false
low
73,227,143
How do i make something like mobizen logo pop ups on screen in kivi python
<p><em>MOST OF US PROBABLY KNOW BUT MOBIZEN IS AN MOBILE SCREEN RECORDING APP</em></p> <p><em><strong>The part that i want to know is how,</strong></em></p> <p><em><strong>mobizen logo stays on screen and,</strong></em></p> <p><em><strong>toolbar appears whenever you click the logo stays on screen even while phone is o...
MOST OF US PROBABLY KNOW BUT MOBIZEN IS AN MOBILE SCREEN RECORDING APP The part that i want to know is how, mobizen logo stays on screen and, toolbar appears whenever you click the logo stays on screen even while phone is on another app, where i should research to make something like this. (I'm using 'kivy' library in ...
python|android
0
2022-08-03T19:59:08.027Z
2,022
8
19
2
25
1
347
74
2
0
false
false
false
false
false
false
zero
73,227,151
Alarm Manager not working when app is closed on a real device but works on an emulator- Xamarin Forms(Android)
<p>I have been on this for about 3 days and I have not found anything to resolve my issue. What I seek to achieve is to receive notifications when the app is closed. I have tested it on my emulators and it works fine but does not work on real devices. The notifications work fine when the app is running in the foregroun...
I have been on this for about 3 days and I have not found anything to resolve my issue. What I seek to achieve is to receive notifications when the app is closed. I have tested it on my emulators and it works fine but does not work on real devices. The notifications work fine when the app is running in the foreground a...
android|xamarin|xamarin.forms|xamarin.android|android-notifications
1
2022-08-03T19:59:48.940Z
2,022
8
19
2
66
0
545
110
5
3
true
true
false
false
false
false
low
73,227,257
Android aplication location works when I run the app into device from Android Studio, but it does not work when I install the apk on the device
<p>I have an app which retrieves fine location. It does work pretty fine when I run the app from Android Studio and it installs on the device. But If I generate an apk file and install it to the phone, the location service doesn't work with the very same app. I couldn't understand where could be the problem on my packa...
I have an app which retrieves fine location. It does work pretty fine when I run the app from Android Studio and it installs on the device. But If I generate an apk file and install it to the phone, the location service doesn't work with the very same app. I couldn't understand where could be the problem on my package ...
android|location
0
2022-08-03T20:08:46.503Z
2,022
8
20
2
28
0
331
143
2
0
false
true
false
false
false
false
zero
73,227,432
Android - Create a module(library) manually
<p>Iam using <a href="https://androidide.com/" rel="nofollow noreferrer">AndroidIde</a> to create my applications I need to create a library but there is no way to create a module, how can I create a module manually.</p>
Iam using AndroidIde to create my applications I need to create a library but there is no way to create a module, how can I create a module manually.
java|android|module
0
2022-08-03T20:25:21.583Z
2,022
8
20
2
26
0
149
43
3
0
false
true
false
false
false
false
zero
73,227,540
Could not install Gradle distribution from 'https://test.com/artifactory/android-devel/org/gradle/6.8/gradle-6.8-bin.zip'
<p>I have one project in android studio, but when i try to compile it, it is showing the next error and not permits to build an apk</p> <blockquote> <p>Could not install Gradle distribution from 'https://test.com/artifactory/android-devel/org/gradle/6.8/gradle-6.8-bin.zip'.</p> </blockquote> <p>The gradle configuration...
I have one project in android studio, but when i try to compile it, it is showing the next error and not permits to build an apk Could not install Gradle distribution from 'https://test.com/artifactory/android-devel/org/gradle/6.8/gradle-6.8-bin.zip'. The gradle configuration is [CODE] The url exists because i try to l...
java|android|gradle
-1
2022-08-03T20:36:38.683Z
2,022
8
20
2
33
1
433
121
3
1
true
false
false
false
false
true
negative
73,227,553
Compose Window Insets to move view up when Keyboard is Open, Kotlin IME Animation not working
<p>I'm having a small problem with my implementation of <a href="https://programming.vip/docs/window-insets-for-android-compose.html" rel="nofollow noreferrer">this</a> tutorial:</p> <p>I'm trying to position a <code>Column</code> to the bottom of the entire screen, and then when a text field is focused, I want the <co...
I'm having a small problem with my implementation of this tutorial: I'm trying to position a Column to the bottom of the entire screen, and then when a text field is focused, I want the Column to rise above the keyboard. I have achieved the following with this code: [CODE] And when I tap on the first, or second text fi...
android|kotlin|android-jetpack-compose|ime|jetpack-compose-accompanist
0
2022-08-03T20:38:03.337Z
2,022
8
20
2
240
1
1,047
93
5
3
true
false
false
false
false
false
zero
73,227,589
How to cycle thourgh Textfield tab order?
<p>I have a few <code>CustomOutlinedTextField</code> Composables with a specific tab order from top to bottom. Is there a way to make the cursor move to the first field in the order when the tab or down key is pressed on the last item in the order list, essentially allowing me to cycle through the fields?</p>
I have a few CustomOutlinedTextField Composables with a specific tab order from top to bottom. Is there a way to make the cursor move to the first field in the order when the tab or down key is pressed on the last item in the order list, essentially allowing me to cycle through the fields?
android|android-jetpack-compose|tab-ordering|android-compose-textfield
0
2022-08-03T20:42:29.200Z
2,022
8
20
2
31
0
290
41
4
0
false
true
false
false
false
false
zero
73,227,686
Why event channel disables when an asyncTask will execute? In flutter android
<p>I have written a native code for flutter that will download file from given url. Everything works fine and file will download and store perfectly. The problem is that when i want to retrieve downloaded percentage(download progress). I used event channel. It will work until I tap download button. After I tap download...
I have written a native code for flutter that will download file from given url. Everything works fine and file will download and store perfectly. The problem is that when i want to retrieve downloaded percentage(download progress). I used event channel. It will work until I tap download button. After I tap download bu...
flutter|flutter-test|flutter-android|flutter-streambuilder|event-channel
1
2022-08-03T20:51:57.570Z
2,022
8
20
2
43
0
1,093
77
5
3
true
true
false
false
false
false
low
73,227,692
"Update your information to get paid" warning in Google Play Store
<p>i am indie developer, i have published an app on the google play store. I have not a company so I don't have any tax info. However Google sent this warning which is shared below screenshot and i can't get paid. Do you have any idea to solve this? Thanks in advance <a href="https://i.stack.imgur.com/YGMCe.png" rel="n...
i am indie developer, i have published an app on the google play store. I have not a company so I don't have any tax info. However Google sent this warning which is shared below screenshot and i can't get paid. Do you have any idea to solve this? Thanks in advance
android|payment|google-play-console|google-pay
0
2022-08-03T20:52:56.780Z
2,022
8
20
2
32
0
264
66
4
0
false
true
false
false
false
false
zero
73,227,741
Soft keyboard disappears immediately when TextField is autofocused
<p>I have a TextField inside a modal bottom sheet and it has autofocus on.</p> <pre><code>import 'package:flutter/material.dart'; import 'package:intl/intl.dart'; class EditTask extends StatefulWidget { final dynamic currTask; final Function submitEdit; const EditTask(this.currTask, this.submitEdit, {Key key}) :...
I have a TextField inside a modal bottom sheet and it has autofocus on. [CODE] This widget is called inside another widget via a modal bottom sheet: [CODE] The soft keyboard appears and disappears immediately when the modal bottom sheet appears and the autofocused TextField becomes unfocused. What's interesting is, whe...
android|flutter|dart|mobile
0
2022-08-03T20:59:18.257Z
2,022
8
20
2
36
0
622
66
4
2
true
true
false
false
false
false
zero
73,227,784
Flutter(Android) splash screen with two logos
<p>I would like to create a splash screen for an application created with flutter. I already have tried the <a href="https://pub.dev/packages/flutter_native_splash" rel="nofollow noreferrer">flutter_native_splash</a> package, but the problem is that I need two logos in the splash.</p> <p>The first one should centered, ...
I would like to create a splash screen for an application created with flutter. I already have tried the flutter_native_splash package, but the problem is that I need two logos in the splash. The first one should centered, and it will be the original logo of the application, while the second one will be a Text somethin...
android|flutter|android-studio|splash-screen
0
2022-08-03T21:03:27.573Z
2,022
8
21
2
149
3
507
45
4
0
false
false
false
false
false
false
zero
73,227,952
How to read a JSON file in assets folder onto a livedata string in ViewModel?
<p>i'm trying to build a simple Android App with Jetpack Compose.</p> <p>i want to load (JSON) data, stored on the assets folder</p> <p>[ { &quot;id&quot;: 1, &quot;name&quot;: &quot;Tiago&quot; } ]</p> <p>into a String in ViewModel. I'm trying the following</p> <pre><code>val moshi = Moshi.Builder().add(KotlinJsonAdap...
i'm trying to build a simple Android App with Jetpack Compose. i want to load (JSON) data, stored on the assets folder [ { &quot;id&quot;: 1, &quot;name&quot;: &quot;Tiago&quot; } ] into a String in ViewModel. I'm trying the following [CODE]
android|gson|android-jetpack-compose|android-viewmodel|moshi
1
2022-08-03T21:21:52.880Z
2,022
8
21
2
159
0
241
77
5
1
true
true
false
false
false
false
low
73,227,964
How do I send hex values from one android device (through shell) to another android device connected to the first?
<p>I would like to use HEX values to</p> <ul> <li>turn on display</li> <li>Turn off display</li> <li>volume on/off (ect..)</li> </ul> <p>Currently the set up is one android device has another android display connected to its usb port. Using serial usb connection to connect to the serial port on android display. I want ...
I would like to use HEX values to turn on display Turn off display volume on/off (ect..) Currently the set up is one android device has another android display connected to its usb port. Using serial usb connection to connect to the serial port on android display. I want to send on / off / volume hex code to that tty p...
android|shell|hex|script|tty
0
2022-08-03T21:23:56.160Z
2,022
8
21
2
50
0
560
114
5
0
false
true
false
false
false
false
zero
73,227,992
Android Studio Emulator Crashing On Button Click
<p>I am very new to Android Studio and am trying to create a log in screen which then opens an inventory screen. The problem I am having is when I click Submit to the username and password, the app completely crashes. Right now, I am just working out how to organize the layout portion of things, but need to figure out...
I am very new to Android Studio and am trying to create a log in screen which then opens an inventory screen. The problem I am having is when I click Submit to the username and password, the app completely crashes. Right now, I am just working out how to organize the layout portion of things, but need to figure out how...
java|android|android-studio
-1
2022-08-03T21:27:05.193Z
2,022
8
21
2
35
1
523
48
3
3
true
false
false
false
false
true
negative
73,228,003
com.google.android.gms.common.GooglePlayServicesMissingManifestValueException
<h1>Overview</h1> <p>I am trying to use the <em><strong>FusedLocationProviderClient</strong></em> in <strong>Kotlin</strong>. My goal is to fetch the precise (to at least <strong>10m</strong>) location (in the form of <strong>longitude and latitude</strong>)</p> <p>This is my <code>fetchLocation()</code> function:</p> ...
Overview I am trying to use the FusedLocationProviderClient in Kotlin . My goal is to fetch the precise (to at least 10m ) location (in the form of longitude and latitude ) This is my fetchLocation() function: [CODE] The error is caused because [CODE] keeps triggering, which means that it is failing. This is the stack ...
android|kotlin|google-play-services
0
2022-08-03T21:28:08.840Z
2,022
8
21
2
29
0
575
77
3
4
true
true
false
false
false
false
zero
73,228,042
Create custom table in Android Studio
<p>I want to creae a table with custom rows and colums in android studio that the number of rows and colums can be input by user. how can i create this by &quot;for&quot; loop?</p>
I want to creae a table with custom rows and colums in android studio that the number of rows and colums can be input by user. how can i create this by &quot;for&quot; loop?
android-studio|for-loop
0
2022-08-03T21:32:25.437Z
2,022
8
21
2
18
0
173
37
2
0
false
true
false
false
false
false
zero
73,228,330
adding interface in MainActivity Kotlin
<p>I'm new to android, please help me</p> <p>i made a interface in MainActivity and tried to initialize it like =&gt; class MainActivity(private val sender: DateSender) but it has to have it's defualt constractor or such.</p> <p>it was the compile error =&gt;</p> <p>java.lang.RuntimeException: Unable to instantiate act...
I'm new to android, please help me i made a interface in MainActivity and tried to initialize it like => class MainActivity(private val sender: DateSender) but it has to have it's defualt constractor or such. it was the compile error => java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.exampl...
android|android-studio|kotlin|interface
0
2022-08-03T22:10:23.840Z
2,022
8
22
2
43
2
605
39
4
1
true
false
false
false
false
false
zero
73,228,337
how to use org.mockito.ArgumentMatchers.startsWith with Android Studio Chipmunk 2021.2.1 Patch 1
<p>It pushes to upgrade Gradle plugin, but once I did it, the whole bunch of errors pop up.<br /> It looks like my project build.gradle:</p> <pre><code>dependencies { classpath &quot;com.android.tools.build:gradle:7.0.3&quot; } </code></pre> <p>module build.gradle:</p> <pre><code>dependencies { ... t...
It pushes to upgrade Gradle plugin, but once I did it, the whole bunch of errors pop up. It looks like my project build.gradle: [CODE] module build.gradle: [CODE] and gradle-wrapper.properties: [CODE] do not work anymore. I tried to change them, but could not bring my powermock back. What is the right combination of ve...
android-studio|gradle|powermock
0
2022-08-03T22:11:28.243Z
2,022
8
22
2
16
0
327
96
3
3
true
true
false
false
false
false
zero
73,228,348
TextInputLayout InputType.TYPE_TEXT_VARIATION_PASSWORD showing password by default
<p>I created alert dialog with <code>TextInputLayout</code> programmatically in fragment. I need to hide password by default, <code>TextInputLayout</code> has toggle button and it is working as expected hide/show on click. I tried to keep password hidden by default by settingsingleline to true and other hack i got from...
I created alert dialog with TextInputLayout programmatically in fragment. I need to hide password by default, TextInputLayout has toggle button and it is working as expected hide/show on click. I tried to keep password hidden by default by settingsingleline to true and other hack i got from other SO answers but i still...
java|android|android-alertdialog|material-components|android-textinputedittext
0
2022-08-03T22:13:06.393Z
2,022
8
22
2
38
1
676
82
5
2
true
false
false
false
false
false
zero
73,228,444
Why does Android Webview cancel my app's api calls but nowhere else?
<p>I'm running a server in a Vagrant box that has an endpoint <code>/api/loadData</code> with all access controls set to <code>'*'</code>, and I have host files that point to a custom hostname on my dev machine and on the Android emulator. Here is my fetch:</p> <p><div class="snippet" data-lang="js" data-hide="false" d...
I'm running a server in a Vagrant box that has an endpoint /api/loadData with all access controls set to '*' , and I have host files that point to a custom hostname on my dev machine and on the Android emulator. Here is my fetch: [CODE] I can call this endpoint and see the data on desktop and on Chrome in my Android em...
android|android-studio|ionic-framework|vagrant|capacitor
0
2022-08-03T22:25:24.040Z
2,022
8
22
2
38
0
752
68
5
1
true
true
false
false
false
false
zero
73,228,592
Android Studio Commit tool window disappeared after switching to Non-Modal interface
<p>I always prefer to switch the Commit tool window to Non Modal interface from Android Studio Preferences.</p> <p>However, after updating to Android Studio Chipmunk | 2021.2.1 patch I have the following behaviour:</p> <p>Commit tool window completely disappeared from Android Studio if I untick the Use non-modal interf...
I always prefer to switch the Commit tool window to Non Modal interface from Android Studio Preferences. However, after updating to Android Studio Chipmunk | 2021.2.1 patch I have the following behaviour: Commit tool window completely disappeared from Android Studio if I untick the Use non-modal interface from Perferen...
android-studio
0
2022-08-03T22:46:50.083Z
2,022
8
22
2
25
0
460
84
1
0
false
true
false
false
false
false
zero
73,228,675
Submitting Expo app bundle to Google play - "unsupported version of Play billing. Please upgrade to version 3 or newer"
<p>Please help - I have a problem with enabling billing permissions in my expo app (managed workflow). When i build app bundle <code>expo build:android -t app-bundle</code> and submit it to google, google said that too many permissions - all permissions were enabled, which is insane. I removed all - added &quot;permiss...
Please help - I have a problem with enabling billing permissions in my expo app (managed workflow). When i build app bundle expo build:android -t app-bundle and submit it to google, google said that too many permissions - all permissions were enabled, which is insane. I removed all - added &quot;permissions&quot;: [] t...
android|expo
0
2022-08-03T23:00:36.923Z
2,022
8
23
2
69
2
1,163
119
2
0
false
false
false
false
false
false
zero
73,228,761
Android Studio Emulator Crashing on Ubuntu
<p>I can't get the emulator to work on my ubuntu. I'm getting this error when I try to start it and it happens on several android versions, olds and new ones.</p> <p><a href="https://i.stack.imgur.com/tz0Et.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tz0Et.png" alt="android studio emulator crash ...
I can't get the emulator to work on my ubuntu. I'm getting this error when I try to start it and it happens on several android versions, olds and new ones.
android-studio|ubuntu|android-emulator
0
2022-08-03T23:13:41.570Z
2,022
8
23
2
48
1
155
42
3
0
false
false
false
false
false
false
zero
73,229,071
Kotlin: How to convert a list of object to a Set based on object values
<p>Please suggest better ways to convert routes to routesMap.</p> <pre><code>lateinit var routes: List&lt;Pair&lt;String, String&gt;&gt; val routesMap = HashMap&lt;String, ArrayList&lt;String&gt;&gt; routes.forEach { routesMap.getOrPut(it.first) { ArrayList&lt;String&gt;() }.add(it.second) } </code></pre>
Please suggest better ways to convert routes to routesMap. [CODE]
android|kotlin|collections|java-stream|flatmap
0
2022-08-04T00:10:20.800Z
2,022
8
0
3
82
1
65
71
5
1
true
false
false
false
false
false
zero
73,229,087
Run airmon-ng on termux
<p>When I run airmon-ng (as root) termux tells me this:</p> <blockquote> <p>Please install lsusb from your distro's package manager</p> </blockquote> <p>Searching I found that this is installed using <code>pkg install usbutils</code> but when I try to install it, this happens:</p> <blockquote> <p>Unable to locate packa...
When I run airmon-ng (as root) termux tells me this: Please install lsusb from your distro's package manager Searching I found that this is installed using pkg install usbutils but when I try to install it, this happens: Unable to locate package usbutils Is there any way to run airmon-ng without lsub? Is possible to in...
android|linux|termux|aircrack-ng|lsusb
0
2022-08-04T00:13:46.847Z
2,022
8
0
3
541
1
397
23
5
0
false
false
false
false
false
false
zero
73,229,126
I have error when I try to run my project on my real device
<p>I try to run my project on my device and I get this error: Error: ADB exited with exit code 1 Performing Streamed Install</p> <p><code>adb: failed to install E:\flutter-file\chat_app\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl13460422...
I try to run my project on my device and I get this error: Error: ADB exited with exit code 1 Performing Streamed Install adb: failed to install E:\flutter-file\chat_app\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_OLDER_SDK: Failed parse during installPackageLI: /data/app/vmdl1346042202.tmp/base.apk ...
android|flutter
0
2022-08-04T00:23:37.383Z
2,022
8
0
3
299
1
447
59
2
0
false
false
false
false
false
false
zero
73,229,150
Hidden fragment in viewPager not showing onbackPressed when app restarts due to low memory
<p>I have a viewpager in an activity with a fragment A that stays hidden onBackPressed() from Fragment B which only happens after the app restarts due to low memory.</p> <p><strong>MainActivity</strong></p> <pre><code> @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInst...
I have a viewpager in an activity with a fragment A that stays hidden onBackPressed() from Fragment B which only happens after the app restarts due to low memory. MainActivity [CODE] Add Fragment method called on viewpager Fragment A to show Fragment B [CODE] onBackPressed after app restarts from low memory while fragm...
android|android-viewpager2|fragmentstateadapter
0
2022-08-04T00:29:02.350Z
2,022
8
0
3
18
0
429
90
3
3
true
true
false
false
false
false
zero
73,229,356
Update Service With New Data
<p>I am building a TODO app, I am using MVVM, LiveData, and Room.</p> <p>So currently, when the app is open, I observe today tasks and update the recyclerView.</p> <p><strong>Goal:</strong> I want to add a service that will send a notification to the user when the task starts, in addition, if more tasks are added, the ...
I am building a TODO app, I am using MVVM, LiveData, and Room. So currently, when the app is open, I observe today tasks and update the recyclerView. Goal: I want to add a service that will send a notification to the user when the task starts, in addition, if more tasks are added, the service should be updated with all...
java|android|kotlin|service|android-service
0
2022-08-04T01:16:48.737Z
2,022
8
1
3
27
0
674
28
5
2
true
true
false
false
false
false
zero
73,229,366
Firebase oAuth webview closes
<p>I am using Firebase oAuthProvider to authenticate the user with Microsoft.</p> <pre><code>OAuthProvider.Builder provider = OAuthProvider.newBuilder(&quot;microsoft.com&quot;); provider.addCustomParameter(&quot;prompt&quot;, &quot;consent&quot;); firebaseAuth .startActivityForSignInWithProvider(/* activity= */ th...
I am using Firebase oAuthProvider to authenticate the user with Microsoft. [CODE] When the oAuth is launched, it opens a chrome tab, the problem arises if Microsoft requires 2 factor and user switches from the web view and opens another app like gmail or messages, the webview disappears and seems like it cant be access...
java|android|kotlin
0
2022-08-04T01:18:51.663Z
2,022
8
1
3
15
0
429
29
3
1
true
true
false
false
false
false
zero
73,229,414
Android Multiwindow on Android 11 +
<p>I want to launch third-party apps on floating window I tried :</p> <pre><code>try {ActivityOptions mOptions = ActivityOptions.makeBasic(); Intent i = c.getPackageManager().getLaunchIntentForPackage(s) .addCategory(Intent.CATEGORY_LAUNCHER) .addFlags(Intent.FLAG_ACTIVITY_LAUNCH...
I want to launch third-party apps on floating window I tried : [CODE] This code works on on Android 10 and below but not on Android 11 and up what is wrong? I want to launch apps like this
android|multi-window
0
2022-08-04T01:28:15.327Z
2,022
8
1
3
25
0
188
35
2
1
true
true
false
false
false
false
zero
73,229,467
Problem when checking Load in background on audio clip in Unity
<p>I found a problem while developing the app. If you connect Bluetooth earphones while playing a game, other sounds come out well, but audio clips with a check in Load in background do not produce sound. To solve this, I also subscribed to Audiosetting.OnAudioConfigurationChanged event, but it didn't resolve. Also, th...
I found a problem while developing the app. If you connect Bluetooth earphones while playing a game, other sounds come out well, but audio clips with a check in Load in background do not produce sound. To solve this, I also subscribed to Audiosetting.OnAudioConfigurationChanged event, but it didn't resolve. Also, the s...
android|unity3d|audio|bluetooth
0
2022-08-04T01:37:24.543Z
2,022
8
1
3
36
0
434
63
4
0
false
true
false
false
false
false
zero
73,229,504
How to add loglevel in xcode for React-Native project
<p>For my react-native project,When I do <code>react-native run-ios</code> I'm getting error like in the screenshot, and asking to build from Xcode for further logs</p> <p><a href="https://i.stack.imgur.com/A4Fx3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A4Fx3.png" alt="rn ss" /></a></p> <p>If ...
For my react-native project,When I do react-native run-ios I'm getting error like in the screenshot, and asking to build from Xcode for further logs If I do build from Xcode. I'm getting same error error: No such file or directory (os error 2) . And asking to run with --log-level or export SENTRY_LOG_LEVEL . How to set...
android|ios|xcode|react-native
0
2022-08-04T01:44:37.053Z
2,022
8
1
3
24
0
439
53
4
0
false
true
false
false
false
false
zero
73,229,512
selector drawable not working when applying on a button
<p>selector drawable xml not working when applying it to a button on the screen, whenever i change the background of the button to the drawable xml the button is not being pressed when i run the app and it's color doesn't change, when i change the background to a static color it returns to it's normal behavior and is p...
selector drawable xml not working when applying it to a button on the screen, whenever i change the background of the button to the drawable xml the button is not being pressed when i run the app and it's color doesn't change, when i change the background to a static color it returns to it's normal behavior and is pres...
android|android-layout
0
2022-08-04T01:45:50.513Z
2,022
8
1
3
32
1
368
55
2
0
false
false
false
false
false
false
zero
73,229,655
Change LinearLayout height by number of lines of textview in java
<p>I have a textview in a LinearLayout, and I want the height of LinearLayout to be changed from the number of lines in textview, please sombody will help me and tell me how can I do it without any problems?</p>
I have a textview in a LinearLayout, and I want the height of LinearLayout to be changed from the number of lines in textview, please sombody will help me and tell me how can I do it without any problems?
java|textview|height|line|android-linearlayout
-1
2022-08-04T02:13:35.933Z
2,022
8
2
3
12
1
204
65
5
0
false
false
false
false
false
true
negative
73,229,657
Custom WebView working in simulator but not in physical device. Xamarin
<p>I have implemented a custom web view renderer in Droid project. The issue is, Custom WebView working in simulator but not in physical device.</p> <p>In physical device WebView load only 1st time not in second time. Even though the android version is same, the physical device and the simulator have different results....
I have implemented a custom web view renderer in Droid project. The issue is, Custom WebView working in simulator but not in physical device. In physical device WebView load only 1st time not in second time. Even though the android version is same, the physical device and the simulator have different results. [CODE] An...
c#|xamarin|xamarin.forms|xamarin.android
2
2022-08-04T02:13:45.060Z
2,022
8
2
3
68
1
350
71
4
1
true
false
false
false
false
false
low
73,229,849
Disable copy-paste-sellet all menu when selecting a text
<p>I'm building a WebView App where i'm adding my custom menu with copy , paste and other options , now upon clicking , it shows both my custom menu as well as the default menu which shows when we highlight a word .. i would like to know if there is a way to programmatically disable that default menu in my current app ...
I'm building a WebView App where i'm adding my custom menu with copy , paste and other options , now upon clicking , it shows both my custom menu as well as the default menu which shows when we highlight a word .. i would like to know if there is a way to programmatically disable that default menu in my current app , T...
java|android
0
2022-08-04T02:50:14.050Z
2,022
8
2
3
21
0
436
56
2
0
false
true
false
false
false
false
zero
73,229,904
androidx.constraintlayout.widget.ConstraintLayout is over lapping
<p>Layout image</p> <p><img src="https://i.stack.imgur.com/AYNuu.png" alt="1" /></p> <p>I am new to android development. I made this androidx.constraintlayout.widget.ConstraintLayout layout and it is over lapping the screen. I have also nested other cardview and constraint layouts inside it.. Below is the full code. I ...
Layout image I am new to android development. I made this androidx.constraintlayout.widget.ConstraintLayout layout and it is over lapping the screen. I have also nested other cardview and constraint layouts inside it.. Below is the full code. I removed the button margin of the parent constraint but it still over laps [...
xml|android-layout|android-constraintlayout
0
2022-08-04T03:00:36.723Z
2,022
8
3
3
43
0
325
65
3
1
true
true
false
false
false
false
zero
73,230,029
WebAuthn credentials.get bug after discoverable credentials test
<p><a href="https://i.stack.imgur.com/Pm7A6.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Pm7A6.jpg" alt="Screenshot Android 8.0 Multi-Device options" /></a></p> <p>Having got Platform Authenticator and Multi-device Authentication working I am trying to expand my FIDO2 knowledge by reading through ...
Having got Platform Authenticator and Multi-device Authentication working I am trying to expand my FIDO2 knowledge by reading through WebAuthn issues on GitHub To this end I was testing Discoverable Credentials (i.e. specifying allowCredentials as empty []) I couldn't get the signing to match so reverted to allowing on...
javascript|c#|android|public-key-encryption|webauthn
0
2022-08-04T03:24:54.880Z
2,022
8
3
3
125
1
1,377
64
5
2
true
false
false
false
false
false
zero
73,230,070
What does this mean: The audio_session pod failed to validate due to 1 error! Flutter
<p>I was working on my app and everything is fine, after i tried to export iPA for testing i got this error message as shown here:</p> <p><a href="https://i.stack.imgur.com/FM835.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FM835.jpg" alt="enter image description here" /></a></p> <p>I never seen a...
I was working on my app and everything is fine, after i tried to export iPA for testing i got this error message as shown here: I never seen anything like this error before, tried to clear flutter + xCode builds and still same, i even can't install/update Cocoa pods, tried to remove podfile.lock to generate a new one a...
xcode|flutter|android-studio|dart
0
2022-08-04T03:33:28.543Z
2,022
8
3
3
35
1
413
85
4
0
false
false
false
false
false
false
zero
73,230,088
Save as using Ionic for mobile - How to show a save dialog in Android?
<p>How can I export a json as a file using Ionic running as apk in Android?</p> <p>There are many things that I can do when using browser on PC, but when using Android I can't download.</p> <p>I used a &quot;a link&quot; and ngx-filesaver, both don't show a save dialog.</p> <p>How to show a save dialog in Android?</p> ...
How can I export a json as a file using Ionic running as apk in Android? There are many things that I can do when using browser on PC, but when using Android I can't download. I used a &quot;a link&quot; and ngx-filesaver, both don't show a save dialog. How to show a save dialog in Android? This is my template html: [C...
android|angular|ionic-framework
1
2022-08-04T03:36:27.143Z
2,022
8
3
3
50
1
335
70
3
2
true
false
false
false
false
false
low
73,230,108
type 'String' is not a subtype of type 'Source
<p>I have url of music stored in the firestore. Below in the code I am trying to play audio as per the url but I am unable to play the audio and I am getting Unhandled Exception: type 'String' is not a subtype of type 'Source'. I am using audiplayers package.</p> <pre><code> Row ( mainAxisAlignment: MainAxis...
I have url of music stored in the firestore. Below in the code I am trying to play audio as per the url but I am unable to play the audio and I am getting Unhandled Exception: type 'String' is not a subtype of type 'Source'. I am using audiplayers package. [CODE]
android|flutter|android-studio|dart|audio
0
2022-08-04T03:38:54.797Z
2,022
8
3
3
98
1
263
46
5
1
true
false
false
false
false
false
zero
73,230,149
Flutter - android: Exception when convert large file (more than 1GB) to byte
<p>I'm using <strong>dart:io</strong> to convert file to bytes. with image and short video it's work. but with large file (more than 1GB) i got error</p> <pre><code>E/flutter (16030): [ERROR:flutter/shell/common/shell.cc(93)] Dart Error: NewExternalTypedData expects argument 'length' to be in the range [0..1073741823]....
I'm using dart:io to convert file to bytes. with image and short video it's work. but with large file (more than 1GB) i got error [CODE] my code [CODE] it's look like limit of memory. any way to solve this?
android|flutter|file|dart-io
0
2022-08-04T03:47:58.293Z
2,022
8
3
3
73
2
206
76
4
2
true
false
false
false
false
false
zero
73,230,172
How to make model class for this json data
<p>How to make model for this json? I am facing issue in entry array, unable to make model for this entry array in the json data. How to get rid of this issue:</p> <pre><code>{ &quot;feed&quot;: { &quot;entry&quot;: [ { &quot;im:name&quot;: { &quot;label&quot;: &quot;EquityValueMeasure&quo...
How to make model for this json? I am facing issue in entry array, unable to make model for this entry array in the json data. How to get rid of this issue: [CODE]
android|json|kotlin|jsonparser
0
2022-08-04T03:52:08.813Z
2,022
8
3
3
46
1
163
42
4
1
true
false
false
false
false
false
zero
73,230,363
Difference between aosp tag: android-12.0.0_r34 and tag: android-mainline-12.0.0_r34
<p>I notice that <a href="https://source.android.com/setup/start/build-numbers?hl=zh-cn#source-code-tags-and-builds" rel="nofollow noreferrer">https://source.android.com/setup/start/build-numbers?hl=zh-cn#source-code-tags-and-builds</a>, aosp gives newest tag: android-12.0.0_r34 but under this link <a href="https://and...
I notice that https://source.android.com/setup/start/build-numbers?hl=zh-cn#source-code-tags-and-builds , aosp gives newest tag: android-12.0.0_r34 but under this link https://android.googlesource.com/platform/packages/modules/NeuralNetworks/+refs , it updates to android-mainline-12.0.0_r126. So I try to fetch &quot;an...
android|tags|branch|android-source
0
2022-08-04T04:23:06.810Z
2,022
8
4
3
32
0
458
84
4
0
false
true
false
false
false
false
zero
73,230,376
Cant locate JSON file on android (Unity PlayerPrefs)
<p>I have stored my JSON file into UnityPlayerPrefs, according to Unity, the location will be stored at: <strong>The PlayerPrefs data is physically stored in /data/data/pkg-name/shared_prefs/pkg-name.xml.</strong> When I debug my JSON file.<a href="https://i.stack.imgur.com/ijbvU.png" rel="nofollow noreferrer"><img src...
I have stored my JSON file into UnityPlayerPrefs, according to Unity, the location will be stored at: The PlayerPrefs data is physically stored in /data/data/pkg-name/shared_prefs/pkg-name.xml. When I debug my JSON file. This is the file I store which is correct, however, when I tried to find the JSON file on my phone,...
android|json|file
0
2022-08-04T04:24:59.437Z
2,022
8
4
3
24
0
1,052
52
3
0
false
true
false
false
false
false
zero
73,230,404
Custom Navigation Icon not visible Material Toolbar Android
<p>I am using Material Design Components, each fragment in my app has a seperate Toolbar <a href="https://developer.android.com/guide/fragments/appbar#fragment" rel="nofollow noreferrer">Fragment Owned Toolbar</a></p> <p>I am having issue setting the custom drawable as the navitaion icon using xml attribute. In the <a ...
I am using Material Design Components, each fragment in my app has a seperate Toolbar Fragment Owned Toolbar I am having issue setting the custom drawable as the navitaion icon using xml attribute. In the Material.io docs they mention a xml attribute to set the custom navitaion icon. Navigation Icon is not visible on t...
android|material-design|material-components-android|material-components
0
2022-08-04T04:30:43.127Z
2,022
8
4
3
110
0
487
59
4
2
true
true
false
false
false
false
zero
73,230,503
Android Management API features: Set up policy compliance rules
<p>I've been following the Android Management API guide quickstart: <a href="https://developers.google.com/android/management/compliance" rel="nofollow noreferrer">https://developers.google.com/android/management/compliance</a></p> <p>Then, I've been testing on my device (in this case, my device fails to comply with an...
I've been following the Android Management API guide quickstart: https://developers.google.com/android/management/compliance Then, I've been testing on my device (in this case, my device fails to comply with any of the passwordPolicies ), and it worked. My setup: [CODE] The device I am testing this on is Pixel 5 runnin...
android|google-api
2
2022-08-04T04:50:07.070Z
2,022
8
4
3
35
0
562
63
2
1
true
true
false
false
false
false
low
73,230,507
Fast Networking Library is not importing in Android Studio
<p>Why is the implementation of the FastNetworking Library not working in Android Studio?</p> <p>I tried to resolve this dependency:</p> <pre><code>implementation 'com.amitshekhar.android:android-networking:1.0.2' </code></pre> <p>But it is not working in Android Studio. I also added:</p> <pre><code>maven { url &quot;h...
Why is the implementation of the FastNetworking Library not working in Android Studio? I tried to resolve this dependency: [CODE] But it is not working in Android Studio. I also added: [CODE] But this is not working either. Please help me how to resolve this implementation because I want to use get and post APIs in my ...
android|android-studio
1
2022-08-04T04:50:25.653Z
2,022
8
4
3
100
0
496
58
2
4
true
true
false
false
false
false
low
73,230,528
Unknown SIGBUS error on Android production app
<p>I was looking for crashes on the <code>Playstore</code> console and found some crashes which weren’t captured by <code>Dynatrace</code>. It seems like logs from <code>NDK</code> (which I'm not aware of) but the app isn’t built using it.</p> <p>Has anyone faced similar crashing logs? Any help will be appreciated.</p>...
I was looking for crashes on the Playstore console and found some crashes which weren’t captured by Dynatrace . It seems like logs from NDK (which I'm not aware of) but the app isn’t built using it. Has anyone faced similar crashing logs? Any help will be appreciated. Full log. [CODE]
android|google-play|analytics|sigbus
0
2022-08-04T04:54:48.537Z
2,022
8
4
3
88
0
285
46
4
1
true
true
false
false
false
false
zero
73,230,557
How can I get playerId at server after after got auth code from Google's Play game service V2?
<p>I am making a game with Unity, and going to integrate Google play login with PGS V2, I know with PGS V2 I cannot request extra scope (it was mentioned here <a href="https://developers.google.com/games/services/common/concepts/sign-in" rel="nofollow noreferrer">https://developers.google.com/games/services/common/conc...
I am making a game with Unity, and going to integrate Google play login with PGS V2, I know with PGS V2 I cannot request extra scope (it was mentioned here https://developers.google.com/games/services/common/concepts/sign-in ). I can get auth code and can send it to the server and get an access token (with https://oaut...
android|unity3d|google-play-services|google-signin|google-play-games
2
2022-08-04T04:59:20.010Z
2,022
8
4
3
68
1
865
94
5
0
false
false
false
false
false
false
low
73,230,660
How to move one view when another view is hidden Android?
<p>I have three child views inside <strong>ConstraintLayout</strong>. What I want is to automatically change the height of the <strong>cardView2</strong> when <strong>cicOptionLayout</strong> is hidden <strong>(Visibility.GONE)</strong>. It should take the height of the <strong>cicOptionLayout</strong>.</p> <pre><code>...
I have three child views inside ConstraintLayout . What I want is to automatically change the height of the cardView2 when cicOptionLayout is hidden (Visibility.GONE) . It should take the height of the cicOptionLayout . [CODE] I tried to do it programmatically. But I need more reliable option. It would be nice to get i...
android|layout
0
2022-08-04T05:17:53.200Z
2,022
8
5
3
24
0
354
57
2
2
true
true
false
false
false
false
zero
73,230,696
Any suggestions on how to call a method in main activity after pressing a notification button?
<p>I am trying to update a recycler view, which I can update with a method in main activity, but I am trying to get to it from a notification button, which opens a broadcast receiver and manipulates data, but I need to call the method in main activity to update my recycler view. I am trying to do this from the recycler...
I am trying to update a recycler view, which I can update with a method in main activity, but I am trying to get to it from a notification button, which opens a broadcast receiver and manipulates data, but I need to call the method in main activity to update my recycler view. I am trying to do this from the recycler vi...
android|kotlin|android-recyclerview|broadcastreceiver
0
2022-08-04T05:23:30.140Z
2,022
8
5
3
37
1
507
94
4
0
false
false
false
false
false
false
zero
73,230,808
I have used @AfterClass and After TearDown test closed but next class page doesn't take initiate to run
<p>I want to @AfterClass teardown and the next class should initiate/be configured again. For example: Class1 closed Class 2 should run But I am not sure what is wrong with my code</p> <pre><code>XML Code &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;!DOCTYPE suite SYSTEM &quot;https://testng.org...
I want to @AfterClass teardown and the next class should initiate/be configured again. For example: Class1 closed Class 2 should run But I am not sure what is wrong with my code [CODE] Class 1 [CODE] I want to move next class after teardown First Class Class 2 [CODE] But when I run this code class 1 teardown but Class ...
selenium|appium|appium-android
0
2022-08-04T05:37:32.057Z
2,022
8
5
3
48
1
334
103
3
3
true
false
false
false
false
false
zero
73,230,882
Android Studio: Could I load my Yolov5 model (.pt file) in my phone without converting to TFLite and torchscript?
<p>I search on the Internet, most of people use TFLite and Torchscript for object detection. But, I think my phone has GPU, it is not necessarily to convert to other version for reducing the hardware pressure. So can we just load the .pt file directly? And how to do that? Seem that I cannot just change the code as belo...
I search on the Internet, most of people use TFLite and Torchscript for object detection. But, I think my phone has GPU, it is not necessarily to convert to other version for reducing the hardware pressure. So can we just load the .pt file directly? And how to do that? Seem that I cannot just change the code as below. ...
java|android-studio|pytorch|computer-vision|object-detection
1
2022-08-04T05:47:34.123Z
2,022
8
5
3
102
1
326
113
5
1
true
false
false
false
false
false
low
73,231,105
Error: "No Bugsnag API Key set" while creating release build with proguard enabled in react native android
<p>The logcat trace of the same:</p> <p>2022-08-02 14:55:41.358 26505-26652/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules</p> <p>Process: com.ProjectName, PID: 26505</p> <p>com.facebook.react.common.JavascriptException: Error: No Bugsnag API Key set, stack:</p> <p>value@1407:2064 s@1407:697 _@1377:806 p@1377:...
The logcat trace of the same: 2022-08-02 14:55:41.358 26505-26652/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules Process: com.ProjectName, PID: 26505 com.facebook.react.common.JavascriptException: Error: No Bugsnag API Key set, stack: value@1407:2064 s@1407:697 _@1377:806 p@1377:694 start@1377:1767 @1376:130 h...
android|react-native|bugsnag
0
2022-08-04T06:15:34.637Z
2,022
8
6
3
47
1
425
106
3
0
false
false
false
false
false
false
zero
73,231,342
How to handle the application Back-Button in an Android app
<p>I have a question about handling the application Back-Button in an Android app. Since this can be ambiguous, look at the screenshot below to know what I mean by &quot;application Back-Button&quot;.</p> <p><a href="https://i.stack.imgur.com/fwYcl.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fwYc...
I have a question about handling the application Back-Button in an Android app. Since this can be ambiguous, look at the screenshot below to know what I mean by &quot;application Back-Button&quot;. The left arrow at the top left of the picture is (what I mean by) the application Back-Button. The little triangle on the ...
android|kotlin|callback
0
2022-08-04T06:40:13.673Z
2,022
8
6
3
27
1
598
59
3
0
false
false
false
false
false
false
zero
73,231,446
In android crashes why is the pc register different from the backtrace pc values?
<p>My expectation is that the pc register would equal the pc value of frame 0 within the backtrace, but actually they are different (0000007cba01b640 vs 0000000000042f89). Why is that?</p> <p>Example trace:</p> <pre><code>Build fingerprint: 'google/foo/bar:10/123.456/78910:user/release-keys' ABI: 'arm64' Timestamp: 202...
My expectation is that the pc register would equal the pc value of frame 0 within the backtrace, but actually they are different (0000007cba01b640 vs 0000000000042f89). Why is that? Example trace: [CODE]
android|crash
0
2022-08-04T06:49:42.417Z
2,022
8
6
3
23
0
203
81
2
1
true
true
false
false
false
false
zero
73,231,448
null object reference on data binding on runtime
<p>I am using dataBinding</p> <p>I have MainActivity</p> <pre><code>public class MainActivity extends AppCompatActivity { ActivityMainBinding binding; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); binding = ActivityMainBinding.inflate(getLayoutInflater()); ...
I am using dataBinding I have MainActivity [CODE] My gradle file [CODE] I am getting runtime error Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.View com.actofit.beat.databinding.ActivityMainBinding.getRoot()' on a null object reference I can't figure out what is the null obj...
java|android|android-studio|data-binding
0
2022-08-04T06:49:48.297Z
2,022
8
6
3
115
2
362
48
4
2
true
false
false
false
false
false
zero
73,231,490
Fail to connect local server /10.0.2.2 (port 3000) from /10.0.2.16 (port 49968)
<p>I have a problem with connecting server. I want to get a response from the server but it doesn't work</p> <p><a href="https://i.stack.imgur.com/VgeW7.png" rel="nofollow noreferrer">I tested on postman</a></p> <p>Since I run it on an emulator, I changed http://localhost:3000 to <a href="http://10.0.0.2:3000" rel="nof...
I have a problem with connecting server. I want to get a response from the server but it doesn't work I tested on postman Since I run it on an emulator, I changed http://localhost:3000 to http://10.0.0.2:3000 [CODE] When I check the log, this error appears How can I solve this problem?
android-studio|android-emulator
0
2022-08-04T06:53:39.490Z
2,022
8
6
3
73
0
286
79
2
1
true
true
false
false
false
false
zero
73,231,495
How do I use local auth and bar code scanner in the same flutter project?
<p>I building a flutter app that scans bar codes and also uses biometric auth in it. The problem is for package local_auth</p> <p>MainActivity.kt should be like</p> <pre><code>import io.flutter.embedding.android.FlutterFragmentActivity; public class MainActivity extends FlutterFragmentActivity { // ... } </...
I building a flutter app that scans bar codes and also uses biometric auth in it. The problem is for package local_auth MainActivity.kt should be like [CODE] but for scaning bar codes MainActivity.kt should be like [CODE] else it don't work. How do I use them both in the same project?
flutter|flutter-dependencies|barcode-scanner|android-biometric|localauthentication
1
2022-08-04T06:54:01.230Z
2,022
8
6
3
79
1
285
73
5
2
true
false
false
false
false
false
low
73,231,514
Flutter CupertinoSlider not moving
<p>I'm using a <code>CupertinoSldier</code> to Adjust the font size. the size does change, but the slider itself isn't moving from it's original location.</p> <p>Here's the slider code:</p> <pre><code>child: CupertinoSlider( min: 8.0, max: 34.0, activeColor: Colors.blue, thumbColor: Colors.blueAccent, ...
I'm using a CupertinoSldier to Adjust the font size. the size does change, but the slider itself isn't moving from it's original location. Here's the slider code: [CODE] Any ideas?
android|flutter|dart|flutter-cupertino
0
2022-08-04T06:55:25.680Z
2,022
8
6
3
45
2
180
34
4
1
true
false
false
false
false
false
zero
73,231,515
Calling javascript button function from webview
<p>After creating a ‘register’ button in the webview, I want to navigate directly to a specific component when I click ‘func register’ in Kotlin.</p> <p>Kotlin logic is structured like this.</p> <pre><code>// Android inner class JavaScriptInterface { @JavascriptInterface @SuppressWarnings(&quot;unused&quot;) ...
After creating a ‘register’ button in the webview, I want to navigate directly to a specific component when I click ‘func register’ in Kotlin. Kotlin logic is structured like this. [CODE] This is javascript code. [CODE] When you click the register function in Javascript code, the webview recognizes the register functio...
javascript|android|reactjs|kotlin|webview
1
2022-08-04T06:55:28.853Z
2,022
8
6
3
49
1
383
47
5
2
true
false
false
false
false
false
low
73,231,578
Constraintlayout Barrier setType not work
<p>i have a Barrier in activity_constraint_layout, and want change it's type based some data from network, but setType(int type) is not work.</p> <pre><code>override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_constraint_layout) clContainer...
i have a Barrier in activity_constraint_layout, and want change it's type based some data from network, but setType(int type) is not work. [CODE]
android-constraintlayout|barrier
0
2022-08-04T07:01:36.493Z
2,022
8
7
3
22
1
145
41
2
1
true
false
false
false
false
false
zero
73,231,587
Default value for dropdown menu in jetpack compose
<p>I want to select a default value for my dropdown menu as soon as the component renders. Don't want it to set as a label instead I want one of the options from dropdown menu to be selected by default and then the user might change it according to his preference</p> <p>I am doing something like this , it does sets the...
I want to select a default value for my dropdown menu as soon as the component renders. Don't want it to set as a label instead I want one of the options from dropdown menu to be selected by default and then the user might change it according to his preference I am doing something like this , it does sets the default v...
android|kotlin|dropdown|android-jetpack-compose|android-jetpack
0
2022-08-04T07:02:31.263Z
2,022
8
7
3
101
1
437
50
5
2
true
false
false
false
false
false
zero
73,231,589
I am trying to save data in Sugar DB(V 1.5)
<p>Is there any <code>.saveAll()</code> method which I can use to save all the instances of a list from an API at once instead of saving by <code>.save()</code> method by iterating through the list.</p>
Is there any .saveAll() method which I can use to save all the instances of a list from an API at once instead of saving by .save() method by iterating through the list.
android|database|sugarcrm
0
2022-08-04T07:02:33.533Z
2,022
8
7
3
14
1
169
43
3
0
false
false
false
false
false
false
zero
73,231,642
How can I create Result class for local test?
<p>I am testing ViewModel. And the method I want to test is RemoteConfigNetworkRepository.</p> <pre><code>class RemoteConfigNetworkRepository( private val service: RemoteConfigService ) { suspend fun fetchRemoteConfig(isTest: Boolean? = false): Result&lt;RemoteConfig?&gt; { return try { val ...
I am testing ViewModel. And the method I want to test is RemoteConfigNetworkRepository. [CODE] I want to return fake Result data from this method to test a method in the ViewModel. How can I test with this method? [CODE]
android|mockito|junit4|mockk
0
2022-08-04T07:06:49.997Z
2,022
8
7
3
41
1
220
45
4
2
true
false
false
false
false
false
zero
73,231,701
Android Camera2 recorded video always showing 30fps frame rate
<p>Camera2 recorded video always showing 30fps. I am trying to record video at 240fps using Camera2 api.Even if i use slow motion video recording feature of device camera like Samsung s22, which can record video upto 960fps.It always show video frame rate as 30fps</p> <p>Here is code snippet</p> <pre><code> mMediaReco...
Camera2 recorded video always showing 30fps. I am trying to record video at 240fps using Camera2 api.Even if i use slow motion video recording feature of device camera like Samsung s22, which can record video upto 960fps.It always show video frame rate as 30fps Here is code snippet [CODE] I am also trying this configur...
android|kotlin|android-camera2|video-recording
0
2022-08-04T07:12:23.027Z
2,022
8
7
3
62
1
370
62
4
2
true
false
false
false
false
false
zero
73,231,793
Share screen android 10 Bug
<p>I try to share screen of my phone through applications such as Discord and Zoom, but when I turn it on and exit to run another application, the device freezes and does not work, any solutions? i have custom rom aex android 10 on honor play phone</p>
I try to share screen of my phone through applications such as Discord and Zoom, but when I turn it on and exit to run another application, the device freezes and does not work, any solutions? i have custom rom aex android 10 on honor play phone
android|screen|share
0
2022-08-04T07:19:23.180Z
2,022
8
7
3
14
0
245
27
3
0
false
true
false
false
false
false
zero
73,231,880
How to get the speaker specifications of an android phone programmatically(Python/C++)?
<p>I want to get the <strong>speaker specifications</strong> of an android phone programmatically. I need a code which returns me the following features:</p> <p>1- Sound Pressure Level (<strong>SPL</strong>)</p> <p>2- Signal-to-Noise Ratio (<strong>SNR</strong>)</p> <p>3- Power Handling (<strong>RMS Value</strong>)</p>...
I want to get the speaker specifications of an android phone programmatically. I need a code which returns me the following features: 1- Sound Pressure Level ( SPL ) 2- Signal-to-Noise Ratio ( SNR ) 3- Power Handling ( RMS Value ) Any kind of help would be much appreciated. Does anyone know how to do it?
android|specifications|speaker|readspeaker
0
2022-08-04T07:26:12.890Z
2,022
8
7
3
31
0
305
87
4
0
false
true
false
false
false
false
zero
73,231,943
android compose ime not change when focus of textfield move to other textfield
<p>Ime doesn't change when focus of textfield move to other textfield.</p> <p>I have two text field like below.</p> <pre class="lang-kotlin prettyprint-override"><code>var myValue by remember { mutableStateOf(&quot;&quot;) } // A TextField TextField( value = myValue, onValueChange = { myValue = it }, keyboa...
Ime doesn't change when focus of textfield move to other textfield. I have two text field like below. [CODE] First,When I click A for the first time and the keyboard comes up, ime is well set to search. In this state, if I click B to move the focus to B, the IME is still Search. When I put down the keyboard and click B...
android|android-jetpack-compose
1
2022-08-04T07:31:13.943Z
2,022
8
7
3
47
0
469
78
2
1
true
true
false
false
false
false
low
73,231,988
my android studio doesnt download the library
<p>i have tried to implement the following library in my android studio project but it does not download the implementation.</p> <pre><code>implementation 'androidmads.library.qrgenearator:QRGenearator:1.0.4' implementation 'com.google.zxing:core:3.3.2' </code></pre> <p>from <a href="https://github.com/androidmads/QRGe...
i have tried to implement the following library in my android studio project but it does not download the implementation. [CODE] from this my gradle(project) file is [CODE] my gradle setting file is: [CODE] i dont know what i am missing any help?
android|firebase|android-studio|encryption|qr-code
0
2022-08-04T07:33:52.097Z
2,022
8
7
3
35
0
246
45
5
3
true
true
false
false
false
false
zero
73,231,992
Google wallet API not available error - Android kotlin
<p>Error :</p> <p>API: Wallet.API is not available on this device. Connection failed with: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null</p> <p>Demo App link : <a href="https://github.com/google-pay/android-quickstart/tree/master/kotlin" rel="nofollow noreferrer">https://github.com/google-p...
Error : API: Wallet.API is not available on this device. Connection failed with: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null Demo App link : https://github.com/google-pay/android-quickstart/tree/master/kotlin checkoutActivity.kt [CODE] } AndroidManifest.xml [CODE] I have a google pay in m...
android|android-pay|wallet|wallet-connect
0
2022-08-04T07:33:58.293Z
2,022
8
7
3
58
0
692
54
4
2
true
true
false
false
false
false
zero
73,232,021
How to get callback in fragment when it's in stack (currently not visible)
<p>I want <strong>callback</strong> in <strong>fragment</strong> when it's <strong>not currently visible</strong></p> <p><strong>Ex:</strong> I am opening <code>FragmentA</code> then I am opening <code>FragmentB</code> now I am updating list sequence in <code>FragmentB</code> after updating list sequence I also want to...
I want callback in fragment when it's not currently visible Ex: I am opening FragmentA then I am opening FragmentB now I am updating list sequence in FragmentB after updating list sequence I also want to update list in FragmentA before opening it (want to update list in FragmentA when FragmentB is visible) I have not p...
java|android|android-studio|kotlin|android-fragments
0
2022-08-04T07:36:01.633Z
2,022
8
7
3
50
2
526
74
5
0
false
false
false
false
false
false
zero
73,232,136
Click widget to launch fragment Android
<p>I am implementing a widget function and facing an issue. I tried to launch a specific fragment by a button that I made in my widget but it was not able to do it with <code>Intent</code>. How can I launch a fragment in a widget?</p> <blockquote> <p>AppWidgetProvider</p> </blockquote> <pre><code>class WidgetProvider :...
I am implementing a widget function and facing an issue. I tried to launch a specific fragment by a button that I made in my widget but it was not able to do it with Intent . How can I launch a fragment in a widget? AppWidgetProvider [CODE]
android|android-studio|kotlin|android-fragments|widget
0
2022-08-04T07:44:46.957Z
2,022
8
7
3
28
1
240
39
5
1
true
false
false
false
false
false
zero
73,232,152
AAPT: error: attribute fastforward_increment (aka aplicationid.dev:fastforward_increment) not found
<p><a href="https://i.stack.imgur.com/P5lJx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P5lJx.png" alt="enter image description here" /></a></p> <p>my dependency on pubspec.yaml</p> <pre><code> chewie: 1.3.0 flutter_zoom_sdk: ^1.0.0 </code></pre> <p>gradle dependency</p> <pre><code>dependenc...
my dependency on pubspec.yaml [CODE] gradle dependency [CODE]
android|flutter|exoplayer|zoom-sdk|flutter-video-player
1
2022-08-04T07:46:14.843Z
2,022
8
7
3
159
1
61
99
5
2
true
false
false
false
false
false
low
73,232,181
java.io.IOException: Cannot run program "/data/user/0/com.mvi.sample/cache/buildStuff/aapt": error=13, Permission denied
<p>I can run this command in older devices that they are not root phone,</p> <pre><code>Runtime.getRuntime().exec(&quot;chmod 777 &quot; + aapt.getAbsolutePath()); </code></pre> <p>but I can't run that on new devices like android 11 and i give this error:</p> <pre><code>W/System.err: java.io.IOException: Cannot run pro...
I can run this command in older devices that they are not root phone, [CODE] but I can't run that on new devices like android 11 and i give this error: [CODE]
java|android|kotlin|aapt|aapt2
0
2022-08-04T07:47:41.633Z
2,022
8
7
3
20
0
158
120
5
2
true
true
false
false
false
false
zero
73,232,199
How should Mockito be used during JUnit4 Testing
<p>I'm trying to test my use case through Mockito, but it doens't seem to work very well. This is my use case that I wanna test:</p> <pre><code>class GetStudentsUseCase @Inject constructor(private val studentRepository: StudentRepository) { suspend fun execute():Result&lt;List&lt;Student&gt;&gt; = studentRepository...
I'm trying to test my use case through Mockito, but it doens't seem to work very well. This is my use case that I wanna test: [CODE] Then, I created GetStudentsUseCaseTest that looks like this: [CODE] What should I put inside the test_name method? Edit: answer with solution
android|kotlin|junit|mockito
1
2022-08-04T07:49:27.290Z
2,022
8
7
3
25
1
274
48
4
2
true
false
false
false
false
false
low
73,232,202
Chart X Axis label location is not at the center of data location
<p>I'm trying to make Line chart there are 10 of data</p> <p>but I can't put xAxis label at the center of data point location</p> <p>and I want to show about 4 of xAxis label because it's length to long</p> <pre><code> xAxis.setDrawLabels(true); xAxis.setLabelCount(4); xAxis.setTextColor(getActiv...
I'm trying to make Line chart there are 10 of data but I can't put xAxis label at the center of data point location and I want to show about 4 of xAxis label because it's length to long [CODE] As you can see data point doesn't match with xAxis label... This is Example of what I want Point Dot matches with grid line jus...
android|mpandroidchart|x-axis
0
2022-08-04T07:49:39.157Z
2,022
8
7
3
19
0
358
65
3
2
true
true
false
false
false
false
zero
73,232,238
How to debug AOSP class GattService.java
<p>I want to understand more about the Ble android framework internal and to do it I need to debug AOSP code.</p> <p>From Android Studio I can download SDK sources and see for example <code>BluetoothLeScanner.java</code> code but I cannot see for example <code>GattService.java</code> (<a href="https://cs.android.com/an...
I want to understand more about the Ble android framework internal and to do it I need to debug AOSP code. From Android Studio I can download SDK sources and see for example BluetoothLeScanner.java code but I cannot see for example GattService.java ( link aosp code )? How can I set breakpoints on that class? Do I need ...
android-source|android-ble|android-debugging
0
2022-08-04T07:51:58.647Z
2,022
8
7
3
37
0
396
40
3
0
false
true
false
false
false
false
zero
73,232,286
Instant Dynamic Feature Module vs instant application
<p>I've read several page on documentation, but seems its not quite clear, what structure should be done if u need to have</p> <blockquote> <p><a href="https://developer.android.com/topic/google-play-instant/getting-started/instant-enabled-app-bundle" rel="nofollow noreferrer">instant app</a></p> </blockquote> <p>what ...
I've read several page on documentation, but seems its not quite clear, what structure should be done if u need to have instant app what should be available only from special link , not from play store itself ( try now button). Will this structure work for this case ? source video I mean do we need separate instant app...
android|android-instant-apps|android-app-links
1
2022-08-04T07:56:32.737Z
2,022
8
7
3
55
0
383
53
3
0
false
true
false
false
false
false
low
73,232,328
android motionlayout swipe sometimes not working
<p>First of all, I am not good at English. please understand</p> <p>ExoPlayer + MotionLayout</p> <ol> <li>The fragment is exposed when the adapter is clicked in the source</li> <li>At the time of exposure, the motion layout is sent to the end to enlarge the screen.</li> <li>If you do 2step after defining the fragment ...
First of all, I am not good at English. please understand ExoPlayer + MotionLayout The fragment is exposed when the adapter is clicked in the source At the time of exposure, the motion layout is sent to the end to enlarge the screen. If you do 2step after defining the fragment when clicking the adapter, it does not wor...
android|android-motionlayout
1
2022-08-04T07:59:28.300Z
2,022
8
7
3
36
0
921
48
2
6
true
true
false
false
false
false
low
73,232,345
Android 12 turn bluetooth on
<p>So.. i got all new permissions added in manifest file,</p> <pre><code>&lt;uses-permission android:name=&quot;android.permission.BLUETOOTH_ADMIN&quot; android:maxSdkVersion=&quot;30&quot; /&gt; &lt;uses-permission android:name=&quot;android.permission.BLUETOOTH&quot; android:maxSdkVersion=&quot;30&quot; ...
So.. i got all new permissions added in manifest file, [CODE] I got this: android.permission.ACCESS_COARSE_LOCATION-0 android.permission.ACCESS_LOCATION_EXTRA_COMMANDS-0 android.permission.BLUETOOTH_SCAN-0 android.permission.BLUETOOTH_CONNECT-0 android.permission.BLUETOOTH_ADVERTISE--1 android.permission.BLUETOOTH--1 a...
java|android|bluetooth
0
2022-08-04T08:00:40.587Z
2,022
8
8
3
69
2
559
28
3
2
true
false
false
false
false
false
zero
73,232,391
How to use Paging3 Library to start on the not-first page?
<p>I'm trying to use <code>PagingSource</code>, <code>LazyPagingItems</code> and <code>LazyColumn</code> to display a dataset that extends into the past and the future.</p> <p>I want the initial load of my list to be centered on &quot;today&quot;, and allow the user to scroll up to go back in time, down to go forward i...
I'm trying to use PagingSource , LazyPagingItems and LazyColumn to display a dataset that extends into the past and the future. I want the initial load of my list to be centered on &quot;today&quot;, and allow the user to scroll up to go back in time, down to go forward in time. My paging source does this with a custom...
android-jetpack-compose|android-paging-3|lazycolumn
1
2022-08-04T08:04:04.857Z
2,022
8
8
3
99
1
1,041
58
3
1
true
false
false
false
false
false
low
73,232,489
Could not find method implementation() for arguments [project ':rctmgl']
<p>I'm working on Expo and recently updated the Expo SDK Version to 45.0 and just encountered this problem when running the <code>eas build -p android</code></p> <p>Could not find method implementation() for arguments [project ':rctmgl'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDepend...
I'm working on Expo and recently updated the Expo SDK Version to 45.0 and just encountered this problem when running the eas build -p android Could not find method implementation() for arguments [project ':rctmgl'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler. Here is my...
android|react-native|expo|build.gradle
1
2022-08-04T08:12:45.537Z
2,022
8
8
3
104
0
392
72
4
0
false
true
false
false
false
false
low
73,232,553
Is there any way to show notification on an Android TV for API30 or higher?
<p>I have an Android TV application which major feature is showing real-time notifications to users while they are watching TV. I actually used the following code to display users a notification;</p> <pre><code>View layout = View.inflate(MyApp.getAppContext(), R.layout.notification_layout, null); TextView text = layou...
I have an Android TV application which major feature is showing real-time notifications to users while they are watching TV. I actually used the following code to display users a notification; [CODE] But as Android said the setGravity method doesn't work anymore for devices running API30 or higher. https://developer.an...
android|android-studio|firebase-cloud-messaging|android-tv
0
2022-08-04T08:18:00.350Z
2,022
8
8
3
101
1
1,220
75
4
1
true
false
false
false
false
false
zero
73,232,571
How to pass a composable function without a lamda?
<pre><code>Scaffold( bottomBar = { SootheBottomNavigation() }, content = { padding -&gt; HomeScreen(Modifier.padding(padding)) } ) @Composable fun HomeScreen(modifier: Modifier = Modifier) { } </code></pre> <p>How do you pass content composable ...
[CODE] How do you pass content composable without the lambda into Scaffold? Below is the parameter for Scaffold [CODE]
android|kotlin|android-jetpack-compose|android-jetpack
1
2022-08-04T08:19:25.980Z
2,022
8
8
3
66
1
118
50
4
2
true
false
false
false
false
false
low
73,232,605
textToSpeech - unresolved reference in Kotlin
<p>I have been trying to implement textToSpeech on a microphone that you can press on, but the textToSpeech turns red and &quot;unresolved reference&quot; is displayed.</p> <p>Here is the code from the Main Activity:</p> <pre><code>vh.miketv.setOnClickListener { val text: String = ce...
I have been trying to implement textToSpeech on a microphone that you can press on, but the textToSpeech turns red and &quot;unresolved reference&quot; is displayed. Here is the code from the Main Activity: [CODE] Also, here is everything that I have imported: [CODE] I have also tried in Java, and it worked with the fo...
java|android|kotlin|text-to-speech
2
2022-08-04T08:21:03.577Z
2,022
8
8
3
62
1
692
45
4
3
true
false
false
false
false
false
low
73,232,619
getParcelableArrayListExtra causes a different type to be set to a variable
<p>The problem starts with <code>getParcelableArrayListExtra</code> doesn't support type check when we try to set it to a variable. Let me give an example as basic as I can.</p> <p>A User Class.</p> <pre><code>import kotlinx.parcelize.Parcelize import android.os.Parcelable @Parcelize data class UserClass( ...
The problem starts with getParcelableArrayListExtra doesn't support type check when we try to set it to a variable. Let me give an example as basic as I can. A User Class. [CODE] The random class which we'll try to set to the User variable. [CODE] The class that fills intent [CODE] Test class [CODE] Type check(as,as?) ...
android|android-intent|parcelable|parcel
0
2022-08-04T08:22:24.640Z
2,022
8
8
3
89
1
651
75
4
4
true
false
false
false
false
false
zero
73,232,701
How to remove item using Paging 3 library and Retrofit?
<p>I'm using Paging 3 library for first time and I wanted to know how can I remove an item.</p> <p>I'm using PagingDataAdapter with a RecyclerView and loading data using Retrofit. Maybe it's easy to reach but it's my first time using this library and I have no idea.</p>
I'm using Paging 3 library for first time and I wanted to know how can I remove an item. I'm using PagingDataAdapter with a RecyclerView and loading data using Retrofit. Maybe it's easy to reach but it's my first time using this library and I have no idea.
android|retrofit|paging|android-paging-3
1
2022-08-04T08:29:34.453Z
2,022
8
8
3
32
0
256
55
4
0
false
true
false
false
false
false
low
73,232,705
How to collect and distribute payments coming from in app purchases?
<p>Stripe does not work with the Google and Apple payment system when it comes to purely digital transactions <a href="https://support.stripe.com/questions/apple-pay-or-in-app-purchases-for-mobile-application-payments" rel="nofollow noreferrer">in the app</a> (e.g. tips or subscriptions for digital goods). Is there a s...
Stripe does not work with the Google and Apple payment system when it comes to purely digital transactions in the app (e.g. tips or subscriptions for digital goods). Is there a service that can be used to collect and distribute payments that integrates with the Google/Apple payment system? More specifically, I'm lookin...
android|ios|stripe-payments|in-app-purchase
1
2022-08-04T08:29:53.207Z
2,022
8
8
3
30
0
547
68
4
0
false
true
false
false
false
false
low