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
72,780,748
How to solve Cannot invoke method afterEvaluate() on null object Flutter android, ios working well
<p><strong>I'm running an old flutter project using new flutter version.3.0.2, but when im debugging it shows an error like this. It run on ios</strong> <a href="https://i.stack.imgur.com/vTwMW.png" rel="nofollow noreferrer">enter image description here</a></p> <p>and i tried</p> <blockquote> <p>Downgrading flutter ver...
I'm running an old flutter project using new flutter version.3.0.2, but when im debugging it shows an error like this. It run on ios enter image description here and i tried Downgrading flutter version, Updating dependancies/Reparing dependancies Here is my app/build gradle [CODE] project-level build gradle [CODE] and ...
android|flutter|gradle|project
1
2022-06-28T04:26:51.110Z
2,022
6
4
1
63
0
339
98
4
3
true
true
false
false
false
false
low
72,780,782
Delphi 11.1 Android app crashes after flash screen - no error compiling - worked fine in 10.4.2
<p>There is something I am missing in migrating my app from Delphi 10.4.2 to Delphi 11.1. I did &quot;revert system files&quot; on the libraries as I have seen mentioned elsewhere, which eliminated errors. It compiles error-free but the code won't run on Android, crashing right after the splash screen. It happens in bo...
There is something I am missing in migrating my app from Delphi 10.4.2 to Delphi 11.1. I did &quot;revert system files&quot; on the libraries as I have seen mentioned elsewhere, which eliminated errors. It compiles error-free but the code won't run on Android, crashing right after the splash screen. It happens in both ...
android|delphi
0
2022-06-28T04:34:18.733Z
2,022
6
4
1
143
0
792
95
2
2
true
true
false
false
false
false
zero
72,780,810
How to generic a optional parameter in Dart/Flutter
<p>I have a problem when I try to make some interfaces and need to implement them with a generic. <strong>My question is how can I use a nothing type like</strong></p> <p><em>Nothing in Kotlin</em></p> <p><em>Void in Java</em></p> <p><strong>Example:</strong></p> <p>I have a base class</p> <pre><code>abstract class Bas...
I have a problem when I try to make some interfaces and need to implement them with a generic. My question is how can I use a nothing type like Nothing in Kotlin Void in Java Example: I have a base class [CODE] normal case I use, it perfect [CODE] In some cases, I don't need to include any parameters. but it require 2 ...
android|flutter|dart|generics
4
2022-06-28T04:40:18.543Z
2,022
6
4
1
155
1
671
51
4
4
true
false
false
false
false
false
low
72,780,882
Shares of Lifecycle Livedata ViewModel with ViewBinding
<p>I'm still new to Kotlin.<br /> So I want to try Lifecycle, LiveData, and ViewModel in my study project, using moviedb as its data. But since Android Kotlin Extensions dependency is deprecated, I have to use viewBinding as an alternative, but when I run the app, it goes error like this:</p> <pre><code>2022-06-28 11:3...
I'm still new to Kotlin. So I want to try Lifecycle, LiveData, and ViewModel in my study project, using moviedb as its data. But since Android Kotlin Extensions dependency is deprecated, I have to use viewBinding as an alternative, but when I run the app, it goes error like this: [CODE] So I want to know how to the sai...
android|kotlin|dagger-2|android-lifecycle|android-viewbinding
0
2022-06-28T04:51:17.847Z
2,022
6
4
1
50
1
456
55
5
1
true
false
false
false
false
false
zero
72,780,896
How to Create module class for work manager dependency in kotlin
<p>I have a Worker class that needs an app repository class and the app repository class depends on the API service class. API service class in an interface. I do not know how to create a module class that provides dependency for the Worker class.</p> <p>I create a module class below</p> <pre><code>@Module </code></pre...
I have a Worker class that needs an app repository class and the app repository class depends on the API service class. API service class in an interface. I do not know how to create a module class that provides dependency for the Worker class. I create a module class below [CODE] @InstallIn(ViewModelComponent::class) ...
android|kotlin|android-workmanager|dagger-hilt
0
2022-06-28T04:53:38.567Z
2,022
6
4
1
83
0
530
64
4
2
true
true
false
false
false
false
zero
72,780,998
because list content disappears when I change view on android studio?
<p>I am developing an app in android studio using java, I have a fragment from which I send two variables to another fragment. These variables sent later are incorporated as an option to a list. All this is done as follows:</p> <p>fragment1 who sends dates:</p> <pre><code> Bundle result = new Bundle(); result.putStrin...
I am developing an app in android studio using java, I have a fragment from which I send two variables to another fragment. These variables sent later are incorporated as an option to a list. All this is done as follows: fragment1 who sends dates: [CODE] fragment2 who receive date: [CODE] when I run the program for the...
java|android|list|variables|fragment
0
2022-06-28T05:09:36.023Z
2,022
6
5
1
25
0
520
69
5
2
true
true
false
false
false
false
zero
72,781,214
ScreenOrientation lock API wrong angle in iOS
<p>Issue: Screen is turning towards anticlockwise (landscape-secondary) while calling <em>this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.LANDSCAPE)</em></p> <p>I can't use <em>this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.LANDSCAPE_PRIMARY);</em> hardcoded as I want to support both ...
Issue: Screen is turning towards anticlockwise (landscape-secondary) while calling this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.LANDSCAPE) I can't use this.screenOrientation.lock(this.screenOrientation.ORIENTATIONS.LANDSCAPE_PRIMARY); hardcoded as I want to support both LANDSCAPE_PRIMARY and LANDSCAP...
android|ios|angular|xcode|ionic-framework
0
2022-06-28T05:37:53.197Z
2,022
6
5
1
42
0
1,670
45
5
6
true
true
false
false
false
false
zero
72,781,242
Android studio not resloving attributes of sealed class in NavBarGraph
<p>I am trying to implement the bottom navbar. The nav graph is unable to find the <strong>route</strong> member of the sealed class. Here's the code of the sealed class:</p> <pre><code> import androidx.compose.material.icons.Icons import androidx.compose.material.icons.filled.Home import androidx.compose.material.ic...
I am trying to implement the bottom navbar. The nav graph is unable to find the route member of the sealed class. Here's the code of the sealed class: [CODE] Android Studio does not detect route elements in the NavBarGraph. Here's the photo of that: What's the reason for it?
android|android-studio|android-jetpack-compose|android-jetpack|android-jetpack-navigation
0
2022-06-28T05:41:37.930Z
2,022
6
5
1
32
1
275
70
5
1
true
false
false
false
false
false
zero
72,781,316
Switch video subtitles with ExoPlayer while a video is still playing
<p>Let's say I have two subtitles for a video, how do you switch an exoplayer's subtitles while the video is playing without resetting the player itself? Like for an example when a user click a button</p> <p>By following the <a href="https://exoplayer.dev/media-items.html" rel="nofollow noreferrer">exoplayer documentat...
Let's say I have two subtitles for a video, how do you switch an exoplayer's subtitles while the video is playing without resetting the player itself? Like for an example when a user click a button By following the exoplayer documentation , my current implementation is like this: [CODE] This has a downside, for once th...
android|android-studio|kotlin|exoplayer
0
2022-06-28T05:51:06.777Z
2,022
6
5
1
85
0
723
68
4
1
true
true
false
false
false
false
zero
72,781,337
Google Pay API for OCR/Card Scanning
<p>Has anyone integrated google pay api OCR in the android application. <a href="https://developers.google.com/pay/payment-card-recognition/debit-credit-card-recognition" rel="nofollow noreferrer">https://developers.google.com/pay/payment-card-recognition/debit-credit-card-recognition</a></p> <p>Also can I just use OCR...
Has anyone integrated google pay api OCR in the android application. https://developers.google.com/pay/payment-card-recognition/debit-credit-card-recognition Also can I just use OCR feature from the API without using any other payment features. Any help is appreciated
android|kotlin|payment
0
2022-06-28T05:52:57.673Z
2,022
6
5
1
57
0
268
36
3
0
false
true
false
false
false
false
zero
72,781,388
Animating view up/down with scaling in/out android simultaneously on Tab.select and Tab.unselect
<p>I'm trying to slide up a view along with scaling in 100% to 130% simultaneously. Is there any way I can achieve this when a Tab is selected and I should restore icons to original positions when the Tab is unselected.</p>
I'm trying to slide up a view along with scaling in 100% to 130% simultaneously. Is there any way I can achieve this when a Tab is selected and I should restore icons to original positions when the Tab is unselected.
android|animation|tabs|android-animation
0
2022-06-28T05:58:32.683Z
2,022
6
5
1
10
0
216
96
4
0
false
true
false
false
false
false
zero
72,781,417
Force landscape for in-app camera in flutter - also overlay custom camera view?
<p>Thank you in advance for any help. 2 part question:</p> <ol> <li><p>Our App requires photos of vehicles to be taken. Vehicle photos are naturally better when taken in landscape mode. How can we force the camera to landscape orientation when taking photos in flutter? Need for both iOS and Android if solution must ...
Thank you in advance for any help. 2 part question: Our App requires photos of vehicles to be taken. Vehicle photos are naturally better when taken in landscape mode. How can we force the camera to landscape orientation when taking photos in flutter? Need for both iOS and Android if solution must be custom to each (if ...
android|ios|flutter
0
2022-06-28T06:01:55.057Z
2,022
6
6
1
38
0
702
79
3
0
false
true
false
false
false
false
zero
72,781,449
Ionic 4 application shows white screen after installing the build on Android 12 above
<p>I've signed it with v1 and v2. Also tried jarsigner to sign using SHA256. All these ended up in showing the white screen. Some not even allowed to install application <em>Says' APK is invalid'.</em></p> <p>If someone knows the right commands to build and sign apk please comment.</p>
I've signed it with v1 and v2. Also tried jarsigner to sign using SHA256. All these ended up in showing the white screen. Some not even allowed to install application Says' APK is invalid'. If someone knows the right commands to build and sign apk please comment.
android|deployment|apk|ionic4|android-12
0
2022-06-28T06:05:54.127Z
2,022
6
6
1
32
0
263
85
5
0
false
true
false
false
false
false
zero
72,781,454
MAUI support for PAX terminal e800
<p>I am new to Android and a little confused. I have a PAX e800 terminal the installed (OS) PayDroid Powered by Android 6.0 + (Q20) Prolin with a Cortex A17 + (Q20) Cortex A7 processor.</p> <p>I have no problems building and producing a Signed APK. However when I try to install it on the terminal I get an error <strong...
I am new to Android and a little confused. I have a PAX e800 terminal the installed (OS) PayDroid Powered by Android 6.0 + (Q20) Prolin with a Cortex A17 + (Q20) Cortex A7 processor. I have no problems building and producing a Signed APK. However when I try to install it on the terminal I get an error INSTALL_FAILED_NO...
android|maui
0
2022-06-28T06:06:35.620Z
2,022
6
6
1
40
1
713
34
2
0
false
false
false
false
false
false
zero
72,781,470
java.lang.RuntimeException: java.lang.NoSuchMethodException: jdk.proxy2.$Proxy7.proxyClassLookup()
<pre><code>public Login(AndroidDriver&lt;AndroidElement&gt; driver) { PageFactory.initElements(new AppiumFieldDecorator(driver), this); } </code></pre> <p>@AndroidFindBy(xpath=&quot;//android.widget.Button[@text='NONE OF THE ABOVE']&quot;) private MobileElement None;</p> <p>public MobileElement clickNone(){ ret...
[CODE] @AndroidFindBy(xpath=&quot;//android.widget.Button[@text='NONE OF THE ABOVE']&quot;) private MobileElement None; public MobileElement clickNone(){ return None;
appium|appium-android
0
2022-06-28T06:08:01.350Z
2,022
6
6
1
16
0
166
98
2
1
true
true
false
false
false
false
zero
72,781,502
Appium : xPath without text not identifying the object
<p>Issue description: Using xpath with text description works fine, but using xpath having id is not working.</p> <p><em>[Sensitive parts being masked in picture and code]</em></p> <p>I'm trying to perform a mock project on a mobile app with latest appium version. Having following dependency in my pom file</p> <p>java-...
Issue description: Using xpath with text description works fine, but using xpath having id is not working. [Sensitive parts being masked in picture and code] I'm trying to perform a mock project on a mobile app with latest appium version. Having following dependency in my pom file java-client: 8.1.1 | selenium-java: 4....
appium|appium-android|appium-java
1
2022-06-28T06:11:38.187Z
2,022
6
6
1
31
0
2,060
54
3
3
true
true
false
false
false
false
low
72,781,705
Jetpack Compose view not drawing when coming back to fragment
<p>Using a Compose view that inherent from AbstractComposeView inside an XML ui code of a fragment Knowing that this fragment is part of a navigation graph (Jetpack navigation) When i press the back button going back to my fragment, the compose view just <strong>disappeared</strong>. It's only drawing for the first tim...
Using a Compose view that inherent from AbstractComposeView inside an XML ui code of a fragment Knowing that this fragment is part of a navigation graph (Jetpack navigation) When i press the back button going back to my fragment, the compose view just disappeared . It's only drawing for the first time i open the fragme...
android|android-fragments|android-jetpack-compose
0
2022-06-28T06:33:28.873Z
2,022
6
6
1
23
0
347
61
3
1
true
true
false
false
false
false
zero
72,781,843
How to put NestedScrollView between LinearLayout and MaterialButton on ConstraintLayout?
<p>This is the rough design of my activity:</p> <p><a href="https://i.stack.imgur.com/XRIP2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XRIP2.png" alt="enter image description here" /></a></p> <p>On the top is a RelativeLayout which contains an ImageView and a TextView. On the middle is a NestedS...
This is the rough design of my activity: On the top is a RelativeLayout which contains an ImageView and a TextView. On the middle is a NestedScrollView which contains a RecyclerView and a CardView below it. And finally a Button on the bottom. Previously it's implemented in RelativeLayout, and works OK. Then I change it...
android-layout|android-constraintlayout
1
2022-06-28T06:48:17.950Z
2,022
6
6
1
14
1
494
88
2
1
true
false
false
false
false
false
low
72,781,870
Jetpack Compose do on compose, but not on recomposition - track ContentViewed
<p>I'm trying to implement some kind of <code>LaunchedEffectOnce</code> as I want to track a ContentViewed event. So my requirement is that every time the user sees the content provided by the composable, an event should get tracked.</p> <p>Here is some example code of my problem:</p> <pre class="lang-kotlin prettyprin...
I'm trying to implement some kind of LaunchedEffectOnce as I want to track a ContentViewed event. So my requirement is that every time the user sees the content provided by the composable, an event should get tracked. Here is some example code of my problem: [CODE] This code is doing do the following: Tracks event when...
android|events|android-jetpack-compose|side-effects
1
2022-06-28T06:50:57.250Z
2,022
6
6
1
103
1
859
77
4
2
true
false
false
false
false
false
low
72,781,933
Android Chromecast Sender won't update title and images
<p>I've followed the instruction from <a href="https://developers.google.com/cast/docs/android_sender/integrate" rel="nofollow noreferrer">Google</a> on how to cast media metadata to chromecast, the initial loading is fine, it will show the title, image and play the stream, but my problem is that I am streaming a live ...
I've followed the instruction from Google on how to cast media metadata to chromecast, the initial loading is fine, it will show the title, image and play the stream, but my problem is that I am streaming a live audio stream and need to update the metadata from time to time without having to buffer the audio again. Thi...
android|flutter|chromecast|google-cast|google-cast-sdk
1
2022-06-28T06:54:51.680Z
2,022
6
6
1
74
0
541
55
5
1
true
true
false
false
false
false
low
72,782,071
Resource compilation failed (begin 38, end 33, length 39. Cause: null). Check logs for more details
<p>I've upgraded project from gradle 6.1 to 7.3.3. The proeject has react-native module also. I am getting below error while building. I am not able to solve this from past 7 days because not able to find the root cause of the issue. The project is very big and containes many modules.</p> <pre><code>&gt; Task :app:proc...
I've upgraded project from gradle 6.1 to 7.3.3. The proeject has react-native module also. I am getting below error while building. I am not able to solve this from past 7 days because not able to find the root cause of the issue. The project is very big and containes many modules. [CODE] The project compile successful...
android|react-native|android-gradle-plugin
0
2022-06-28T07:08:37.633Z
2,022
6
7
1
68
0
354
99
3
1
true
true
false
false
false
false
zero
72,782,164
XAMARIN - java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete
<p>After Migrate my Xamarin Android app with AndroidX. This error is coming.</p> <pre><code>java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, com/google/android/gms/actions/ItemListIntents.class PROJECT.Android </code></pre>
After Migrate my Xamarin Android app with AndroidX. This error is coming. [CODE]
c#|android|xamarin.forms|xamarin.android
0
2022-06-28T07:16:11.373Z
2,022
6
7
1
385
1
80
117
4
1
true
false
false
false
false
false
zero
72,782,183
Issue in displaying closest POI to a user in Augmented Reality application
<p>I'm developing an Augmented Reality application in Unity that continuously gets the user's current location and finds the point of interest closest to him. I've used the Firestore database to store the names and geo-coordinates (lat, lon) of all the points of interest. I've attached two scripts here:</p> <p><code>Us...
I'm developing an Augmented Reality application in Unity that continuously gets the user's current location and finds the point of interest closest to him. I've used the Firestore database to store the names and geo-coordinates (lat, lon) of all the points of interest. I've attached two scripts here: UserLocation.cs : ...
android|unity3d|google-cloud-firestore|augmented-reality|latitude-longitude
0
2022-06-28T07:17:27.843Z
2,022
6
7
1
13
0
1,236
74
5
2
true
true
false
false
false
false
zero
72,782,195
Firebase Messaging Not Sending Data-Only Notification
<p>I am trying to have my app adjust the data of a notification, before sending it to the notification tray. I am using Firebase Messaging to send notifications. The goal is to receive the data packet, format it (pulling local info in as well), then create a notification. This needs to happen when app is in backgrou...
I am trying to have my app adjust the data of a notification, before sending it to the notification tray. I am using Firebase Messaging to send notifications. The goal is to receive the data packet, format it (pulling local info in as well), then create a notification. This needs to happen when app is in background / k...
android|firebase|push-notification|google-cloud-functions|firebase-cloud-messaging
0
2022-06-28T07:18:36.923Z
2,022
6
7
1
84
0
1,703
53
5
3
true
true
false
false
false
false
zero
72,782,292
why i can not find the folder i have created using path _provider, i searched for it in the file manager app(android 12) but i did not find it?
<p>This is the code to the function which i used for creataing a folder.</p> <p>note: i have tested if the folder exist using the .exist function and its already exist, but i can not find it in the file manager app.</p> <pre><code>Future&lt;String&gt; getFilePath() async { Directory endPointDirectory=Directory(&quot;...
This is the code to the function which i used for creataing a folder. note: i have tested if the folder exist using the .exist function and its already exist, but i can not find it in the file manager app. [CODE] enter image description here
flutter|dart|flutter-dependencies|android-external-storage
0
2022-06-28T07:25:39.637Z
2,022
6
7
1
56
1
241
143
4
1
true
false
false
false
false
false
zero
72,782,312
Android problem creating multiple AutoCompleteTextViews dynamically
<p>I want to dynamically create input views, which each contain an AutoCompleteTextView. Each AutoCompleteTextView shows a Dropdown list.</p> <p>I have defined an item view (item_new_product.xml), which gets inflated and added to the viewContainer (activity_main.xml).</p> <p>Each AutoCompleteTextView has defined a drop...
I want to dynamically create input views, which each contain an AutoCompleteTextView. Each AutoCompleteTextView shows a Dropdown list. I have defined an item view (item_new_product.xml), which gets inflated and added to the viewContainer (activity_main.xml). Each AutoCompleteTextView has defined a dropDownAnchor in xml...
android|kotlin|autocompletetextview
6
2022-06-28T07:27:44.553Z
2,022
6
7
1
79
0
977
67
3
5
true
true
false
false
false
false
medium
72,782,431
cordova run android:Execution failed for task ':app:processDebugResources'
<p>i have a problem with run android : FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: Execution failed for task ':app:processDebugResources'.</li> </ul> <blockquote> <p>A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed...
i have a problem with run android : FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed AAPT: C:\Users\myapp\platforms\android\app...
android|cordova|build
0
2022-06-28T07:37:12.560Z
2,022
6
7
1
49
0
487
74
3
0
false
true
false
false
false
false
zero
72,782,461
Why NullPointerException occurs when calling getColor from single instance?
<p><a href="https://i.stack.imgur.com/X2pBu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X2pBu.png" alt="enter image description here" /></a></p> <p>google play crash log:</p> <pre><code>Caused by: java.lang.NullPointerException: at com.manager.loader.SkinManager.getColor (SkinManager.java:28) ...
google play crash log: [CODE] activity: [CODE] SkinManager: [CODE] App: [CODE]
android|nullpointerexception|singleton
0
2022-06-28T07:39:42.587Z
2,022
6
7
1
39
1
78
75
3
4
true
false
false
false
false
false
zero
72,782,565
Flutter build bundle on android stopping without error
<p>I'm currently struggling on a problem when trying to build my flutter project on android studio.</p> <p>The command I'm doing is</p> <pre><code>flutter build bundle --no-color --no-tree-shake-icons </code></pre> <p>The &quot;--no-tree-shake-icons&quot; is mandatory since I'm doing stuff in my app with icons. It wasn...
I'm currently struggling on a problem when trying to build my flutter project on android studio. The command I'm doing is [CODE] The &quot;--no-tree-shake-icons&quot; is mandatory since I'm doing stuff in my app with icons. It wasn't a problem until now anyways. When trying to execute this command, this is the result :...
android|flutter|android-studio|build
1
2022-06-28T07:48:25.443Z
2,022
6
7
1
25
0
693
54
4
2
true
true
false
false
false
false
low
72,782,566
Flutter firebase OTP auto verification not working
<p>WE are migrating an android app to flutter. We have implemented firebase based otp verification. In android, everything works perfectly. The user login and OTP verification works smoothly and the auto verification works fine</p> <p>However, in flutter, the OTP auto verification does not work. The onVerificationCompl...
WE are migrating an android app to flutter. We have implemented firebase based otp verification. In android, everything works perfectly. The user login and OTP verification works smoothly and the auto verification works fine However, in flutter, the OTP auto verification does not work. The onVerificationCompleted does ...
android|flutter|firebase
0
2022-06-28T07:48:30.413Z
2,022
6
7
1
112
1
461
50
3
1
true
false
false
false
false
false
zero
72,782,743
How get no sent message
<p>How I can get no sent messages?</p> <p>Where I get all messages from <code>Telephony.Sms.CONTENT_URI</code>, it is good working. But if my message no sent (no many, no radio, etc), I no got in <code>Telephony.Sms.CONTENT_URI</code>.</p> <p>Interesting moment: I sending the message from my app, with SmsManager. But d...
How I can get no sent messages? Where I get all messages from Telephony.Sms.CONTENT_URI , it is good working. But if my message no sent (no many, no radio, etc), I no got in Telephony.Sms.CONTENT_URI . Interesting moment: I sending the message from my app, with SmsManager. But default app can see no sent messages. And ...
android|android-contentprovider|android-contentresolver|android-database|android-sms
0
2022-06-28T08:01:21.840Z
2,022
6
8
1
43
0
695
23
5
1
true
true
false
false
false
false
zero
72,782,804
Set Properties in Debugging->Android debugger Visual Studio with Cmake scripts
<p>Looking for a way to set Debugging properties in Visual Studio via cmake for a C++ Cross Platform Mobile project (Android).</p> <p>Seems like VS_DEBUGGER_WORKING_DIRECTORY VS_DEBUGGER_COMMAND VS_DEBUGGER_COMMAND_ARGUMENTS are for Windows prop sheets only</p> <p>Looking to set properies populated from C:\Program File...
Looking for a way to set Debugging properties in Visual Studio via cmake for a C++ Cross Platform Mobile project (Android). Seems like VS_DEBUGGER_WORKING_DIRECTORY VS_DEBUGGER_COMMAND VS_DEBUGGER_COMMAND_ARGUMENTS are for Windows prop sheets only Looking to set properies populated from C:\Program Files\Microsoft Visua...
android|c++|visual-studio|cmake
0
2022-06-28T08:05:23.713Z
2,022
6
8
1
29
0
426
78
4
0
false
true
false
false
false
false
zero
72,782,894
Listening to MediaNotification/PiP Key events - Android
<p>I need to track if users are clicking on MediaNotification and PiP actions (buttons). I tried various things such as:</p> <ul> <li>MediaControllerCompat.Callback (<a href="https://stackoverflow.com/questions/58471964/catching-android-media-button-events/60077631#60077631">Catching android media button events</a>)</l...
I need to track if users are clicking on MediaNotification and PiP actions (buttons). I tried various things such as: MediaControllerCompat.Callback ( Catching android media button events ) MediaSessionConnector.setMediaButtonEventHandler Writing my own BroadcastReceiver and overriding MediaButtonReceiver https://devel...
android|android-mediaplayer|exoplayer|android-mediasession
0
2022-06-28T08:10:44.093Z
2,022
6
8
1
49
1
994
55
4
0
false
false
false
false
false
false
zero
72,783,093
Exoplayer inside RecyclerView overlaps with other views of the list
<p>I have a recyclerview with hybrid list, i.e with different types itemViews. 1 of the viewholder is based on exoplayer. But sometimes, while scrolling my exoplayer viewholder overlaps with other itemViews or moves in a delayed manner. Exact steps to reproduce it is as follows:-</p> <p>Scroll to a video viewholder -&g...
I have a recyclerview with hybrid list, i.e with different types itemViews. 1 of the viewholder is based on exoplayer. But sometimes, while scrolling my exoplayer viewholder overlaps with other itemViews or moves in a delayed manner. Exact steps to reproduce it is as follows:- Scroll to a video viewholder -> push the a...
android-recyclerview|exoplayer
0
2022-06-28T08:25:05.867Z
2,022
6
8
1
30
0
576
67
2
0
false
true
false
false
false
false
zero
72,783,109
Call ExectuorService with time interval - android
<p>i used a <strong>custom thread</strong> to fetch data in the background every 1 second by making a thread goes to sleep, but my App crashes and throws exception <strong>OutOfMemoryError</strong>. Now i read a documentation in android developer and i understand that using custom thread is bad practice as it is diffic...
i used a custom thread to fetch data in the background every 1 second by making a thread goes to sleep, but my App crashes and throws exception OutOfMemoryError . Now i read a documentation in android developer and i understand that using custom thread is bad practice as it is difficult to manage the memory consistency...
android|httprequest|executorservice|background-task
0
2022-06-28T08:25:57.900Z
2,022
6
8
1
24
1
770
49
4
1
true
false
false
false
false
false
zero
72,783,111
Android Managment API Command Timeout Problem
<p>When the &quot;Duration&quot; in <a href="https://developers.google.com/android/management/reference/rest/v1/enterprises.devices/issueCommand" rel="nofollow noreferrer">https://developers.google.com/android/management/reference/rest/v1/enterprises.devices/issueCommand</a> expires, no Time Out information comes from ...
When the &quot;Duration&quot; in https://developers.google.com/android/management/reference/rest/v1/enterprises.devices/issueCommand expires, no Time Out information comes from Pub/Sub. At the same time, when we query the command, there is no information that the command will no longer go. Can we perceive this? Best re...
android-management-api|android-enterprise|android-enterprise-features
0
2022-06-28T08:26:03.997Z
2,022
6
8
1
40
0
326
45
3
0
false
true
false
false
false
false
zero
72,783,170
takePicture failed with CameraSource
<p>I using barcode scanner and when its finished I need the pivture of the barcode. I took this example: <a href="https://harshitabambure.medium.com/barcode-scanner-and-qr-code-scanner-android-kotlin-b911b1299f65" rel="nofollow noreferrer">https://harshitabambure.medium.com/barcode-scanner-and-qr-code-scanner-android-k...
I using barcode scanner and when its finished I need the pivture of the barcode. I took this example: https://harshitabambure.medium.com/barcode-scanner-and-qr-code-scanner-android-kotlin-b911b1299f65 And the scanner works fine, but my addtion for saving the picture not working and crashes on: [CODE] Log: [CODE] Main C...
android|android-camera
0
2022-06-28T08:31:31.550Z
2,022
6
8
1
50
1
332
36
2
3
true
false
false
false
false
false
zero
72,783,176
How to post silent notification using onesignal rest api C#
<p>I am beginner in using this api and it's services. I have tried lots of thing but nothing worked for me, Just wanted to push silent notification. Any suggestion will be appreciated and Thanks in advance.</p> <pre><code> private static readonly string oneSignalUrl = &quot;https://onesignal.com/api/v1/notificat...
I am beginner in using this api and it's services. I have tried lots of thing but nothing worked for me, Just wanted to push silent notification. Any suggestion will be appreciated and Thanks in advance. [CODE]
c#|android|ios|asp.net-core|onesignal
0
2022-06-28T08:31:44.220Z
2,022
6
8
1
66
0
210
59
5
1
true
true
false
false
false
false
zero
72,783,216
Making the location indicator in turn-by-turn navigation always look forward even when deviating from the route?
<p>Is it possible to ensure that the location indicator doesn't keep pointing back to the route while you are deviating from it? It makes it very hard to see what's in front of the user as when camera tracking mode is turned on, it locks the camera to the location indicator's direction (e.g indicating to go back -&gt; ...
Is it possible to ensure that the location indicator doesn't keep pointing back to the route while you are deviating from it? It makes it very hard to see what's in front of the user as when camera tracking mode is turned on, it locks the camera to the location indicator's direction (e.g indicating to go back -> makes ...
android|heremaps|heremaps-android-sdk|heremap-navigation
0
2022-06-28T08:35:05.777Z
2,022
6
8
1
35
1
580
112
4
0
false
false
false
false
false
false
zero
72,783,242
How to set Cmake's path in Android app module and in a Android Gradle Plugin at the same time?
<p>I write a Android Gradle Plugin. In the plugin, I set a path to cmake with this codes:</p> <pre><code> android.externalNativeBuild(new Action&lt;ExternalNativeBuild&gt;() { @Override void execute(ExternalNativeBuild externalNativeBuild) { externalNativeBuild.cmake.path = project.buildD...
I write a Android Gradle Plugin. In the plugin, I set a path to cmake with this codes: [CODE] There's no problem if I only have one cmake path to generate a so file. But if I have another cmake path at the same time, like the below statement in my build.gradle: [CODE] } There has a problem. The agp won't generate my so...
android|cmake|android-gradle-plugin|shared-libraries
0
2022-06-28T08:37:05.390Z
2,022
6
8
1
35
0
462
94
4
2
true
true
false
false
false
false
zero
72,783,365
Jetpack Compose: TextField aligns outside of AlertDialog as text grows
<p>If you run the following composable and enter a long multiline text into the textfield, you will see that as the text grows, the textfield leaves the AlertDialog.</p> <p>Is there a way to fix this?</p> <pre class="lang-kotlin prettyprint-override"><code>import androidx.compose.foundation.layout.fillMaxWidth import a...
If you run the following composable and enter a long multiline text into the textfield, you will see that as the text grows, the textfield leaves the AlertDialog. Is there a way to fix this? [CODE]
kotlin|android-alertdialog|android-jetpack-compose
1
2022-06-28T08:46:01.103Z
2,022
6
8
1
124
1
197
70
3
1
true
false
false
false
false
false
low
72,783,413
Refresh data while keeping scroll position with RecyclerView
<p>How can I keep my scroll position when I refresh my data in my RecyclerView ? The problem in my code, is that the data I get is coming from an API, and now when I refresh my data, I use the <code>clear()</code> method to delete the current data, and I use a <code>getData ()</code> method to retrieve the new data.</p...
How can I keep my scroll position when I refresh my data in my RecyclerView ? The problem in my code, is that the data I get is coming from an API, and now when I refresh my data, I use the clear() method to delete the current data, and I use a getData () method to retrieve the new data. getData method : [CODE] categor...
android|android-recyclerview
1
2022-06-28T08:49:32.633Z
2,022
6
8
1
60
1
611
60
2
3
true
false
false
false
false
false
low
72,783,433
How to fix android SDK file not found
<p>can someone please help me cause i've been trying to fix this problem for hours now</p> <blockquote> <p><a href="https://i.stack.imgur.com/GAUMU.png" rel="nofollow noreferrer">flutter doctor picture</a><br /> <a href="https://i.stack.imgur.com/z736c.png" rel="nofollow noreferrer">SDK tools picture</a></p> </blockquo...
can someone please help me cause i've been trying to fix this problem for hours now flutter doctor picture SDK tools picture [CODE]
android|flutter|android-sdk-tools
0
2022-06-28T08:50:49.657Z
2,022
6
8
1
165
3
131
37
3
1
true
false
false
false
false
false
zero
72,783,455
Jetpack Compose OutlinedTextField gets focus but, no keyboard show up
<p>I want to show a dialog and automatically set focus to a OutlinedTextField, so user can instantly start typing.<br /> I ended up with text field does get focus, does get the cursor flickering, but the keyboard remains hidden. So user still has to click on a textField to make the keyboard appear. Here is how I'm doin...
I want to show a dialog and automatically set focus to a OutlinedTextField, so user can instantly start typing. I ended up with text field does get focus, does get the cursor flickering, but the keyboard remains hidden. So user still has to click on a textField to make the keyboard appear. Here is how I'm doing this [C...
android|keyboard|focus|android-jetpack-compose|textfield
0
2022-06-28T08:52:14.040Z
2,022
6
8
1
507
1
324
69
5
1
true
false
false
false
false
false
zero
72,783,557
Inject JavaScript in Android WebView to replace already existing object
<p>I need some help with Android's WebView. I am trying to create an app which loads a webpage, I cannot change. The webpage does load a number of javascript files and I am trying to overwrite the behavior of one of the existing objects in them. The problem is that in one of the scripts, this object gets initialized wi...
I need some help with Android's WebView. I am trying to create an app which loads a webpage, I cannot change. The webpage does load a number of javascript files and I am trying to overwrite the behavior of one of the existing objects in them. The problem is that in one of the scripts, this object gets initialized with ...
android|android-webview|inject|javascript-injection
0
2022-06-28T08:59:38.227Z
2,022
6
8
1
50
1
512
71
4
2
true
false
false
false
false
false
zero
72,783,571
native app with flutter module how to share AWS Amplify cognito user session
<p>I have native android app using AWS Amplify cognito to user authentication, I already add flutter module which show static data screens. now i need to call backend api to get dynamic information, how can i use existing native app user access tokens to call an API from flutter module.</p>
I have native android app using AWS Amplify cognito to user authentication, I already add flutter module which show static data screens. now i need to call backend api to get dynamic information, how can i use existing native app user access tokens to call an API from flutter module.
android|flutter|amazon-cognito|aws-amplify
0
2022-06-28T09:00:30.740Z
2,022
6
9
1
14
0
284
76
4
0
false
true
false
false
false
false
zero
72,783,627
Best way to share an entire page (UI and logic) between react native repos?
<p>I am working on two react-native repos at the moment, and they both share an entire navigation section, say blog. Things I need to consider:</p> <ol> <li>Both the apps will have almost the exact page/screen, so it would be beneficial to pull it out and share it across apps. Most of the changes to the page components...
I am working on two react-native repos at the moment, and they both share an entire navigation section, say blog. Things I need to consider: Both the apps will have almost the exact page/screen, so it would be beneficial to pull it out and share it across apps. Most of the changes to the page components would be requir...
javascript|android|ios|reactjs|react-native
0
2022-06-28T09:04:49.190Z
2,022
6
9
1
37
0
1,279
75
5
0
false
true
false
false
false
false
zero
72,783,770
MqttException Android 12
<p>I'm trying to get MQTT working on Android 12, I imported the aar file and did everything I needed <a href="https://github.com/hannesa2/paho.mqtt.android/releases/tag/3.3.0" rel="nofollow noreferrer">as here</a> but now I'm getting this error:</p> <pre><code>exception MqttException is never thrown in body of correspo...
I'm trying to get MQTT working on Android 12, I imported the aar file and did everything I needed as here but now I'm getting this error: [CODE] Errors on the lines:109 123 174 My code is: [CODE] This problem did not exist before I tried to transfer the library, if the script will work back to the normal library, but o...
android|android-studio|mqtt
0
2022-06-28T09:16:09.197Z
2,022
6
9
1
59
0
393
24
3
2
true
true
false
false
false
false
zero
72,783,788
The getter '_hasError' isn't defined for the class 'Future<T>'. - 'Future' is from 'dart:async'. Try correcting the name to the name of a getter
<p>In this code, I am passing the fetched data from the PHP API and it is parsed and mapped by the JSON function successfully but I have noticed that it does not return the value to the future builder which is originally calling the fetchJson function and the following error is displayed when i debug and the debugger r...
In this code, I am passing the fetched data from the PHP API and it is parsed and mapped by the JSON function successfully but I have noticed that it does not return the value to the future builder which is originally calling the fetchJson function and the following error is displayed when i debug and the debugger reac...
android|json|flutter|dart
0
2022-06-28T09:17:13.387Z
2,022
6
9
1
82
0
976
144
4
1
true
true
false
false
false
false
zero
72,783,823
How to calculate line heights for Noto Simplified Chinese Font in Android?
<p>I am writing a editor control that has a checkbox for every line of text.</p> <p>I have a problem calculating the height of the font:</p> <ul> <li><strong>NotoSansMonoCJKSC-Regular.otf</strong></li> </ul> <p>I have done a comparison with <strong>consola.ttf (Consolas)</strong> and taken screenshots here. Pay attenti...
I am writing a editor control that has a checkbox for every line of text. I have a problem calculating the height of the font: NotoSansMonoCJKSC-Regular.otf I have done a comparison with consola.ttf (Consolas) and taken screenshots here. Pay attention to how the Chinese gradually slips below the guide line. (Also note ...
c#|android|forms|xamarin|fonts
0
2022-06-28T09:20:02.603Z
2,022
6
9
1
56
1
842
74
5
3
true
false
false
false
false
false
zero
72,783,845
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object[] java.util.Collection.toArray()' on a null object reference
<p>I am new to android studio and I have been trying to implement a recycler view and a pie chart fetching data from an API on to my app use search bar onto my app did it in a way and it worked but as l was adding more function to the application it started crushing with the above error</p> <pre><code>Logcat (Errors): ...
I am new to android studio and I have been trying to implement a recycler view and a pie chart fetching data from an API on to my app use search bar onto my app did it in a way and it worked but as l was adding more function to the application it started crushing with the above error [CODE] My code (Adapter.java): [COD...
java|android
0
2022-06-28T09:21:46.667Z
2,022
6
9
1
44
0
322
145
2
2
true
true
false
false
false
false
zero
72,783,926
android modern development: how can I understand user did not change any data in a screen?
<p>I built a fragment, using jetpack compose for adding views on screen and state and view model classes for saving state. first time when I navigate to this fragment, fetch API is called and If I have any value on this API, I filled text fields with them. It is possible that the API is empty and do not return any valu...
I built a fragment, using jetpack compose for adding views on screen and state and view model classes for saving state. first time when I navigate to this fragment, fetch API is called and If I have any value on this API, I filled text fields with them. It is possible that the API is empty and do not return any value. ...
kotlin|android-jetpack-compose
0
2022-06-28T09:27:14.957Z
2,022
6
9
1
75
1
757
90
2
0
false
false
false
false
false
false
zero
72,784,101
how to hide keyboard when entry is focused in xamarin forms
<p>Im trying to hide a soft keyboard in android device by having the entry focused by default i.e., when the page is loaded entry should be focused automatically and keyboard should be hidden</p> <p>Can anyone please help me on this.</p> <pre><code> protected override void OnElementChanged(ElementChangedEventArgs&lt;E...
Im trying to hide a soft keyboard in android device by having the entry focused by default i.e., when the page is loaded entry should be focused automatically and keyboard should be hidden Can anyone please help me on this. [CODE]
xamarin.forms|xamarin.android
1
2022-06-28T09:38:38.353Z
2,022
6
9
1
221
2
230
59
2
1
true
false
false
false
false
false
low
72,784,155
Because 'flutter App' depends on snippetcoder_utils any which doesn't exist, version solving failed
<p>I'm trying to use the snippetcoder utils dependency but after I run pub get, I get this error &quot;Because qr_scanner depends on snippetcoder_utils any which doesn't exist (could not find package snippetcoder_utils at <a href="https://pub.dartlang.org" rel="nofollow noreferrer">here</a>), version solving failed.&qu...
I'm trying to use the snippetcoder utils dependency but after I run pub get, I get this error &quot;Because qr_scanner depends on snippetcoder_utils any which doesn't exist (could not find package snippetcoder_utils at here ), version solving failed.&quot; dependencies: flutter: sdk: flutter qr_code_scanner: ^0.4.0 url...
android|flutter|android-studio|flutter-dependencies
0
2022-06-28T09:42:26.897Z
2,022
6
9
1
55
1
395
99
4
0
false
false
false
false
false
false
zero
72,784,157
Not sure what context does an inner flow operate on
<p>I have a question about the context in which an inner flow produces</p> <p>Consider the following code.</p> <pre><code> withContext(Dispatchers.Main) { val flowA = flowOf(1,2,3,4) val flowB = flowOf(&quot;a&quot;,&quot;b&quot;,&quot;c&quot;) flowA.flatMapConcat { num-&gt; ...
I have a question about the context in which an inner flow produces Consider the following code. [CODE] I have a nested flow and I am unsure on what context would the flowB.first() terminal operator operate on ?
kotlin|kotlin-coroutines|android-viewmodel|kotlin-flow
1
2022-06-28T09:42:27.867Z
2,022
6
9
1
66
1
211
51
4
1
true
false
false
false
false
false
low
72,784,238
Flutter updated Native App - Problems with duplicate Push Notifications
<p>So, we updated an existing app with an new app written in Flutter. Everything worked great, except for one problem with push notifications.</p> <ul> <li><p>For the new app (Flutter), when a user (does not have to be logged in) subscribes to push notifications, the fcm token is stored in a separate list than from the...
So, we updated an existing app with an new app written in Flutter. Everything worked great, except for one problem with push notifications. For the new app (Flutter), when a user (does not have to be logged in) subscribes to push notifications, the fcm token is stored in a separate list than from the old (native) app A...
android|flutter|push-notification|firebase-cloud-messaging
0
2022-06-28T09:47:30.183Z
2,022
6
9
1
29
0
964
71
4
0
false
true
false
false
false
false
zero
72,784,266
How to disable Git-commit with specific packages and files inside AndroidStudio?
<h2>The Problem</h2> <p>I had a lot of files autogenerated by Android studio after I build the project, so when I try to <code>commit</code> the project, the commit section is full of files I didn't want to <code>commit</code> or <code>push</code> to the repo.</p> <p><a href="https://i.stack.imgur.com/u1sz5.png" rel="n...
The Problem I had a lot of files autogenerated by Android studio after I build the project, so when I try to commit the project, the commit section is full of files I didn't want to commit or push to the repo. How I can tell Git to don't care about these files and didn't commit or push them? What I try I try to add the...
git|android-studio|version-control|git-commit|ignore
2
2022-06-28T09:49:30.403Z
2,022
6
9
1
69
1
386
80
5
0
false
false
false
false
false
false
low
72,784,344
Android SDK not found [How to resolve permanently] [Flutter][Mac]
<p>So, I have just now managed to resolve a <strong>Flutter Doctor</strong> issue about the Android SDK not being found, and it took a long time and I tried many things. Did I almost give up? No, I always had a new idea of what to try next, but it was tiring and frustrating and demotivating going through the process. ...
So, I have just now managed to resolve a Flutter Doctor issue about the Android SDK not being found, and it took a long time and I tried many things. Did I almost give up? No, I always had a new idea of what to try next, but it was tiring and frustrating and demotivating going through the process. Installing a new Andr...
android|macos|android-sdk-tools|flutter-doctor
0
2022-06-28T09:55:22.830Z
2,022
6
9
1
31
0
1,798
65
4
1
true
true
false
false
false
false
zero
72,784,375
How to get String response from post request volley
<blockquote> <p>I am trying to get a string response from post request. Here, I am sending a post request. where I am sending this data. I have a Model of BillReceipt. Which I pass on the request body.</p> </blockquote> <pre><code>public void UserTransactionReceiptReport(TransactionTypeListener&lt;String&gt; listener, ...
I am trying to get a string response from post request. Here, I am sending a post request. where I am sending this data. I have a Model of BillReceipt. Which I pass on the request body. [CODE] and I call this api from recycler download button.Here , I globally declared the manager where i write the api code. and also d...
java|android|android-studio|android-volley
0
2022-06-28T09:57:55.047Z
2,022
6
9
1
51
1
401
51
4
2
true
false
false
false
false
false
zero
72,784,596
Bluetooth permission not working in android 11 in react native
<p>My build tool version - 30.0.2 android sdk version 7.0.4 react native version - 68.0</p> <p>Bluetooth permission is working on android 12 but its not working on 11 or older device. permission popup not apprears.</p>
My build tool version - 30.0.2 android sdk version 7.0.4 react native version - 68.0 Bluetooth permission is working on android 12 but its not working on 11 or older device. permission popup not apprears.
android|react-native
0
2022-06-28T10:13:14.813Z
2,022
6
10
1
118
0
204
62
2
0
false
true
false
false
false
false
zero
72,784,636
What is right place to start a WorkManager in MVVM architecture Android?
<p>I have a <strong>workmanager</strong> that every five hours picks up a word from the roomdb and <strong>Notification</strong> it</p> <p>I do not know where is the righ place to put the work manager in the MVVM architecture. Should I use in ViewModel or Repository?</p>
I have a workmanager that every five hours picks up a word from the roomdb and Notification it I do not know where is the righ place to put the work manager in the MVVM architecture. Should I use in ViewModel or Repository?
android|mvvm|android-architecture-components|android-workmanager|android-mvvm
3
2022-06-28T10:16:47.660Z
2,022
6
10
1
158
2
223
72
5
0
false
false
false
false
false
false
low
72,784,686
RxJava Unit test Observable interval, Change response by advancing through time
<p>I have a network polling function with Observable interval in my repository</p> <pre><code>class repository @Inject constructor( private val api: api, private val schedulerProvider: SchedulerProvider ) { private fun networkPoll(): Observable&lt;response&gt; { return Observable.interval(1L, TimeU...
I have a network polling function with Observable interval in my repository [CODE] How do I unit test pollForState3 and change the response by advancing through time?
java|android|kotlin|rx-java
0
2022-06-28T10:20:33.770Z
2,022
6
10
1
48
1
166
79
4
1
true
false
false
false
false
false
zero
72,784,799
How to set One to many relation in android room DB in kotlin
<p>I have two tables. First table is as below</p> <pre><code> @Entity data class GramPanchayatSurveyEntity( @PrimaryKey var gpCode: Int, var distCode: Int, var locationTypeCode: Int, var location: String, var latitude: String, var longitude: String, var googleLocation: String, ...
I have two tables. First table is as below [CODE] And the second table as [CODE] I have a relation class that fetches data from both tables as [CODE] When I am getting data from this relation and convert the data into JSON Array using gson it gives me the output like that This is the actual output of when I convert the...
android|kotlin|android-room
2
2022-06-28T10:28:35.303Z
2,022
6
10
1
36
1
530
60
3
3
true
false
false
false
false
false
low
72,784,847
Our Wear OS app not listed on the Google Play
<p>So we have an issue with our Wear OS app. Recently we got an email from Google that our app is removed from the Play Store because of quote:</p> <blockquote> <p>your app is not compatible with Watch/Wear OS devices due to a conflict in your app’s manifest with the following features: <strong>android.hardware.locatio...
So we have an issue with our Wear OS app. Recently we got an email from Google that our app is removed from the Play Store because of quote: your app is not compatible with Watch/Wear OS devices due to a conflict in your app’s manifest with the following features: android.hardware.location.network , android.hardware.sc...
android|wear-os|android-wear-3.0
1
2022-06-28T10:31:23.250Z
2,022
6
10
1
62
1
580
45
3
1
true
false
false
false
false
false
low
72,784,942
Flutter Bad State: Stream has already been listened to
<p>I am trying to use methodChannel in flutter to receive events from native Android code. But once I cancel the stream subscription I can no longer create new subscriptons even if I set the stream asBroadcastStream()</p> <p><strong>Receiver.dart</strong></p> <pre><code>static Stream&lt;dynamic&gt; get accessStream { ...
I am trying to use methodChannel in flutter to receive events from native Android code. But once I cancel the stream subscription I can no longer create new subscriptons even if I set the stream asBroadcastStream() Receiver.dart [CODE] When trying to call the function [CODE] It works for the first time but when I call ...
android|flutter|stream|flutter-method-channel
1
2022-06-28T10:37:46.557Z
2,022
6
10
1
193
1
421
54
4
3
true
false
false
false
false
false
low
72,784,957
Pixabay API JSON parse with volley in android studio do not display in recyclerview item
<p>I'm facing a great problem, i am trying to build an app that fetch data from JSON file from a link the parse it with Volley. Now i want to display the data on a RecyclerView which doesn't seem to work, i'm pretty dure that my code is good but something doesn't seem to work and i can't find it. Please someone <strong...
I'm facing a great problem, i am trying to build an app that fetch data from JSON file from a link the parse it with Volley. Now i want to display the data on a RecyclerView which doesn't seem to work, i'm pretty dure that my code is good but something doesn't seem to work and i can't find it. Please someone HELP ME! ....
android|json|android-recyclerview
0
2022-06-28T10:38:47.160Z
2,022
6
10
1
37
0
728
88
3
5
true
true
false
false
false
false
zero
72,784,987
How to design circular step progress indicator in native android
<p>Please help me to achieve step progress indicator as shown below in android. I could not find any relevant library to achieve this.</p> <p><img src="https://i.stack.imgur.com/xXyGi.png" alt="Text" /></p>
Please help me to achieve step progress indicator as shown below in android. I could not find any relevant library to achieve this.
java|android|kotlin|android-progressbar
0
2022-06-28T10:41:02.163Z
2,022
6
10
1
54
1
131
64
4
0
false
false
false
false
false
false
zero
72,785,051
React Native: Reset all animation in reanimated2 when click continuously
<p>I have a toast that uses reanimated2 that uses animated: delay, time.... to show the toast with a certain time. I had the problem that when clicking consecutively at the same time, the content of the new toast was overwritten, so the animations remained the same leading to the new toast rendering time not guaranteed...
I have a toast that uses reanimated2 that uses animated: delay, time.... to show the toast with a certain time. I had the problem that when clicking consecutively at the same time, the content of the new toast was overwritten, so the animations remained the same leading to the new toast rendering time not guaranteed. H...
android|react-native|react-native-reanimated|react-native-reanimated-v2
0
2022-06-28T10:44:56.840Z
2,022
6
10
1
24
0
391
72
4
0
false
true
false
false
false
false
zero
72,785,345
Attempt to invoke virtual method 'void androidx.recyclerview.widget.RecyclerView.setLayoutManager(androidx.recyclerview..)' on a null object reference
<p>I want to write a good chat application with bottom navigation using Fragments. In ChatsFragment.kt I got a problem: <a href="https://i.stack.imgur.com/buB0V.png" rel="nofollow noreferrer">enter image description here</a></p> <p>My fun onCreateView() in ChatsFragment:</p> <pre><code>override fun onCreateView( in...
I want to write a good chat application with bottom navigation using Fragments. In ChatsFragment.kt I got a problem: enter image description here My fun onCreateView() in ChatsFragment: [CODE] Exception on usersRecycler.layoutManager = LinearLayoutManager(this, RecyclerView.VERTICAL, false) I read a lot of solutions li...
android|kotlin|android-recyclerview|linearlayoutmanager
0
2022-06-28T11:07:08.753Z
2,022
6
11
1
74
4
803
150
4
1
true
false
false
false
false
false
zero
72,785,348
How to programmatically detect on Android 11+ if our app was installed from Google Play
<p>AdMob ad serving is limited to certain apps due to &quot;invalid traffic concerns&quot;. I realized that the apps were getting installed outside of Google Play in certain countries. (For example - <a href="https://www.9apps.com/bn/android-apps" rel="nofollow noreferrer">https://www.9apps.com/bn/android-apps</a>).</p...
AdMob ad serving is limited to certain apps due to &quot;invalid traffic concerns&quot;. I realized that the apps were getting installed outside of Google Play in certain countries. (For example - https://www.9apps.com/bn/android-apps ). I want to disable ads if the app is not downloaded from Google Play. So is there a...
android|google-play|admob|ads
0
2022-06-28T11:07:21.040Z
2,022
6
11
1
62
0
820
87
4
0
false
true
false
false
false
false
zero
72,785,400
How can I get h5 url parameter in android and ios app
<p>We have a h5 webpage, the webpage address is <a href="http://www.example.com?channel_code=123456" rel="nofollow noreferrer">www.example.com?channel_code=123456</a>, and there is an android download link and an ios download link on this webpage. After the user downloads the app and installs it, how does the app get t...
We have a h5 webpage, the webpage address is www.example.com?channel_code=123456 , and there is an android download link and an ios download link on this webpage. After the user downloads the app and installs it, how does the app get the channel_code?
javascript|android|html|ios
0
2022-06-28T11:11:34.687Z
2,022
6
11
1
34
0
251
53
4
0
false
true
false
false
false
false
zero
72,785,448
Can I use geofencing on InstantApp?
<p>I need to use geofencing to receive notifications on my Instant App. Geofences are added but when the user enters the location, the Geofencing Receiver is never triggered. I cannot find anything related to geofencing on Instant App so if anyone used it or faced the same issue please let me know. The same code works ...
I need to use geofencing to receive notifications on my Instant App. Geofences are added but when the user enters the location, the Geofencing Receiver is never triggered. I cannot find anything related to geofencing on Instant App so if anyone used it or faced the same issue please let me know. The same code works on ...
android|android-studio|geofencing|android-geofence|android-instant-apps
0
2022-06-28T11:15:09.610Z
2,022
6
11
1
24
0
411
35
5
0
false
true
false
false
false
false
zero
72,785,452
What dependency should be used to get row id from resources without using R class?
<p>Like this:</p> <pre><code>val myString = getString(string.hello_from_vb_activity) </code></pre> <p>Not like this:</p> <pre><code>val myString = getString(R.string.hello_from_vb_activity) </code></pre> <p><a href="https://github.com/android/architecture-components-samples/blob/0905d0e307ef457a4c37511a542edfe3bdb4d2a3...
Like this: [CODE] Not like this: [CODE] An example from Google
android|android-studio
0
2022-06-28T11:15:34.470Z
2,022
6
11
1
30
1
62
82
2
2
true
false
false
false
false
false
zero
72,785,476
How to write unit tests for SystemUI in AOSP Environment?
<p>In our project, we are currently extending the SystemUI of the Android Open Source Project. To improve our code quality, we also want to cover our code with unit tests, but currently we are kind of stuck in the right approach to that. We tried different approaches:</p> <ul> <li>Robolectric with <code>android_robolec...
In our project, we are currently extending the SystemUI of the Android Open Source Project. To improve our code quality, we also want to cover our code with unit tests, but currently we are kind of stuck in the right approach to that. We tried different approaches: Robolectric with android_robolectric_test in a seperat...
android|android-source|robolectric|blueprint
0
2022-06-28T11:18:14.273Z
2,022
6
11
1
65
0
1,268
57
4
2
true
true
false
false
false
false
zero
72,785,481
Not getting my ID's from my XML File into my Kotlin file
<p>So, I'm new to this and I'd really appreciate a quick help. I'm making a chat app for android and my ID's ive given to EditText arent't being referenced into my Kotlin file. When I type them in, they aren't shown on the suggestion drop down and they have that yellow squiggle that says 'Parameter Not Used'. Here's th...
So, I'm new to this and I'd really appreciate a quick help. I'm making a chat app for android and my ID's ive given to EditText arent't being referenced into my Kotlin file. When I type them in, they aren't shown on the suggestion drop down and they have that yellow squiggle that says 'Parameter Not Used'. Here's the c...
android|android-studio|kotlin
0
2022-06-28T11:18:34.680Z
2,022
6
11
1
34
1
487
56
3
2
true
false
false
false
false
false
zero
72,785,586
Java - EnumSet.noneOf()- Why use Class<E> instead of T?
<p>The definition is: <a href="https://developer.android.com/reference/java/util/EnumSet" rel="nofollow noreferrer">https://developer.android.com/reference/java/util/EnumSet</a></p> <pre><code>noneOf(Class&lt;E&gt; elementType) Creates an empty enum set with the specified element type. </code></pre> <p>But why does it ...
The definition is: https://developer.android.com/reference/java/util/EnumSet [CODE] But why does it require Class<E> and not, say, T as in noneOf(T elementType) ? Is it because it requires the type to be entered at runtime? But when I write code for example EnumSet.noneOf(Authority.class); I know the type (Authority) a...
java|android|oop|generics|reflection
2
2022-06-28T11:27:16.810Z
2,022
6
11
1
95
2
456
55
5
1
true
false
false
false
false
false
low
72,785,642
how can i solve provide error causing by dagger-hilt?
<p>I'm using kotlin clean architecture + hilt in my project. this the error i got :</p> <pre><code> C:\Users\ayoub\AndroidStudioProjects\cleanArchitecture_project\app\build\generated\source\kapt\debug\com\example\cleanarchitecture_project\presentation\App_HiltComponents.java:122: error: [Dagger/MissingBinding] com.e...
I'm using kotlin clean architecture + hilt in my project. this the error i got : [CODE] that's the link of the project in bitbucket : Here thanks for helping me.
android-studio|kotlin|dagger-hilt|clean-architecture
0
2022-06-28T11:31:56.837Z
2,022
6
11
1
74
1
161
53
4
1
true
false
false
false
false
false
zero
72,785,713
Kotlin "Destructuring declaration initializer of type String must have a 'component1()' function"
<p>This is how I am calling the function :-</p> <pre><code>val (ImageUrl: String) = uploadImage(&quot;ImageTitle&quot;, imageTitleUri!!) </code></pre> <p>This is the function code:-</p> <pre><code>private fun uploadImage(ImageName: String, ImageUri: Uri): String { val fileRef = storagePicRef!!.child(&quot;$Imag...
This is how I am calling the function :- [CODE] This is the function code:- [CODE] This is how I am trying to get the Image Url. But I am getting this error:- [CODE] I saw other similar questions but here the return value is only one of type string. So, I can directly use it.
android|kotlin|destructuring
1
2022-06-28T11:38:14.487Z
2,022
6
11
1
94
1
276
97
3
3
true
false
false
false
false
false
low
72,785,802
Android, manifest variables using C++ encryption (with NDK)
<p>I've just recently implemented NDK, and everything seems to work fine. Now.. I'm not sure on how to use the c++ method in the manifest, I managed to use it in some section of my code by creating an object which load the cpp library:</p> <pre><code>object ApiKeyRetriever { init{ System.loadLibrary(&quot;a...
I've just recently implemented NDK, and everything seems to work fine. Now.. I'm not sure on how to use the c++ method in the manifest, I managed to use it in some section of my code by creating an object which load the cpp library: [CODE] But now, I need it in the manifest for the facebook meta-data [CODE] Currently I...
android|android-studio|kotlin|android-ndk|manifest
1
2022-06-28T11:44:33.073Z
2,022
6
11
1
76
1
596
59
5
2
true
false
false
false
false
false
low
72,785,816
Can't create table and Insert data using SQLite in Android Studio
<p>I have made a class that's called DataBaseHelperFoodLogger that extends SQLiteOpenHelper, and whenever I call the addItem method, its supposed to create the table if it doesn't exist, and then insert the values that the user introduced (from the activity where the method is called), I even have a bit of code that gi...
I have made a class that's called DataBaseHelperFoodLogger that extends SQLiteOpenHelper, and whenever I call the addItem method, its supposed to create the table if it doesn't exist, and then insert the values that the user introduced (from the activity where the method is called), I even have a bit of code that gives...
java|android|sqlite|android-studio
0
2022-06-28T11:45:02.790Z
2,022
6
11
1
35
0
948
65
4
2
true
true
false
false
false
false
zero
72,785,875
flutter:how to save an image to a directory in the internal storage?
<p>I have got this Xfile path <strong>(&quot;/data/user/0/com.example.cameraapp/cache/CAP4460198903632485844.jpg)</strong>, which has been returned by Camera.takePicture(this function is part of Camera flutter package).</p> <p>my goal is to save the picture in the returned path to a specific directory in the internal ...
I have got this Xfile path (&quot;/data/user/0/com.example.cameraapp/cache/CAP4460198903632485844.jpg) , which has been returned by Camera.takePicture(this function is part of Camera flutter package). my goal is to save the picture in the returned path to a specific directory in the internal storage how i could impleme...
flutter|android-camera|flutter-dependencies|flutter-test
0
2022-06-28T11:49:34.450Z
2,022
6
11
1
100
0
329
68
4
0
false
true
false
false
false
false
zero
72,785,882
Camera x imageCapture.takePicture function is not working on android 12
<p>Here i'm trying to take pictures using camerax , it is working with below android 12 devices perfectly but when use android 12 device it is not working.</p> <pre><code> long x = System.currentTimeMillis(); String fileName = getExternalFilesDir(null) + &quot;&quot; + x + &quot;.jpg&quot;; ...
Here i'm trying to take pictures using camerax , it is working with below android 12 devices perfectly but when use android 12 device it is not working. [CODE] i debugged the code and put a brake-point in onError function , but it is not called
java|androidx|android-camerax
0
2022-06-28T11:50:00.247Z
2,022
6
11
1
162
0
244
71
3
1
true
true
false
false
false
false
zero
72,785,921
How to focus on button from second textInput using onSubmiteEditing for React native Android TV
<p>I am working on Android TV application where i want focus on button (Submit) when done button click of keyboard for second TextInput.</p> <p>please help How to focus on button from second textInput using onSubmiteEditing for React native Android TV.</p> <pre><code> &lt;View style={{flexDirection:'column',alignI...
I am working on Android TV application where i want focus on button (Submit) when done button click of keyboard for second TextInput. please help How to focus on button from second textInput using onSubmiteEditing for React native Android TV. [CODE] In above code , i have two input field and one submit button. i want f...
react-native|android-tv|tvapplicationcontroller
0
2022-06-28T11:52:47.480Z
2,022
6
11
1
122
2
401
95
3
1
true
false
false
false
false
false
zero
72,785,962
I need to get list with an argument
<pre><code>private fun getRadResultList() { safeLet( arguments?.getString(&quot;referenceVisitId&quot;), arguments?.getString(&quot;facilityId&quot;) ) { referenceVisitId, facilityId -&gt; viewModel.getRadResultsWithId(referenceVisitId, facilityId) } } </code></pre> <p>This is my previous co...
[CODE] This is my previous code. The number of arguments requested by the function is now one. How do I return the facilityId in getRadResults() [CODE] This code is the latest version. getRadResult() function wants only the facilityId.
android|list|kotlin|arguments|kotlin-null-safety
0
2022-06-28T11:55:34.003Z
2,022
6
11
1
34
1
235
35
5
2
true
false
false
false
false
false
zero
72,786,165
Create array colors similar to the selected color
<p>Currently I generate random colors to paint, but I would like to know if there is a method to generate random colors within a range of the selected color, I want the colors not to be totally random, but to be from the same range of colors as the selected one</p> <pre><code> int colorselected = colors.getFirst...
Currently I generate random colors to paint, but I would like to know if there is a method to generate random colors within a range of the selected color, I want the colors not to be totally random, but to be from the same range of colors as the selected one [CODE]
java|android
1
2022-06-28T12:08:32.757Z
2,022
6
12
1
20
0
265
49
2
1
true
true
false
false
false
false
low
72,786,198
Android Studio Google SignIn Button layout problem
<p>I'm trying to add a Google SignIn button and I've seen that if I want to make my custom one, I need to follow all of the design conditions of google, so I'm trying to use the one avaiable in Android Studio.</p> <p><a href="https://i.stack.imgur.com/JTnyT.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur...
I'm trying to add a Google SignIn button and I've seen that if I want to make my custom one, I need to follow all of the design conditions of google, so I'm trying to use the one avaiable in Android Studio. There is no gravity attribute for that button. [CODE] Here is my code
android|android-studio|google-signin
0
2022-06-28T12:10:59.233Z
2,022
6
12
1
39
0
276
50
3
1
true
true
false
false
false
false
zero
72,786,293
What is a proper way to connect with a media browser who is currently playing audio?
<p>I am currently working on an app that includes an audio media player. What I want to accomplish is to start a track on a fragment that represents the UI of the media player (like a bottom collapsed media player), and then when I click on this media player layout, I want to start an activity that will display the med...
I am currently working on an app that includes an audio media player. What I want to accomplish is to start a track on a fragment that represents the UI of the media player (like a bottom collapsed media player), and then when I click on this media player layout, I want to start an activity that will display the media ...
android|kotlin|android-mediasession|mediabrowser
0
2022-06-28T12:18:12.273Z
2,022
6
12
1
19
0
704
84
4
0
false
true
false
false
false
false
zero
72,786,457
How to press green tick button using Keyboard actions appium android
<p>In my code, I need to press some number and click on green tick button.</p> <p><a href="https://i.stack.imgur.com/TdIQm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TdIQm.png" alt="enter image description here" /></a></p> <p>After I click, expected is hide the keypad and it shows a error valida...
In my code, I need to press some number and click on green tick button. After I click, expected is hide the keypad and it shows a error validation message.. I have the following code in my script. [CODE] As per code. Its entering the value. Not sure which AndroidKey to pass for pressing Green tick button, I'm passing A...
android|appium|appium-android|appium-java
0
2022-06-28T12:29:41.557Z
2,022
6
12
1
81
3
533
68
4
1
true
false
false
false
false
false
zero
72,786,519
How to get StrikeThrough on a String ? Not a TextView, EditText or a View. But like String a = "my text" and then pass it to SQLite as a String
<p>I have this method which works fine for an EditText or a view.</p> <pre><code>public SpannableString strikeThrough(String txt){ SpannableString spannableString = new SpannableString(txt); StrikethroughSpan strikethroughSpan = new StrikethroughSpan(); spannableString.setSpan(strikethroughSpan,0, txt.leng...
I have this method which works fine for an EditText or a view. [CODE] But my problem is after that, the text doesn't have StrikeThrough. [CODE] When I get the data in RecyclerView, it would not be in Strikethrough.
java|android
0
2022-06-28T12:34:03.683Z
2,022
6
12
1
70
2
214
143
2
2
true
false
false
false
false
false
zero
72,786,547
Jetpack Compose: How to center an item in LazyVerticalGrid?
<p>I have a <code>LazyVerticalGrid</code> composable that shows my items. I want to show an error message with a button in the center of <code>LazyVerticalGrid</code> when an error has occured. Here is my error item and my <code>LazyVerticalGrid</code>:</p> <p><code>ErrorItem</code></p> <pre><code>@Composable fun Error...
I have a LazyVerticalGrid composable that shows my items. I want to show an error message with a button in the center of LazyVerticalGrid when an error has occured. Here is my error item and my LazyVerticalGrid : ErrorItem [CODE] [CODE] I have tried to use fillParentMaxSize with my ErrorItem but it is not working. Here...
android|kotlin|android-jetpack-compose
1
2022-06-28T12:35:37.773Z
2,022
6
12
1
380
1
336
59
3
2
true
false
false
false
false
false
low
72,786,552
java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process. Make sure to call FirebaseApp.initializeApp(Context) first
<p>I'm having a problem with the app created, I looked for many solutions and none of them work. Neither putting the code that tells me, nor updating everything... It says it's something related to Firebase, but I don't know how to solve it, here is my error and code.</p> <pre><code> Process: com.paradigma.SIGEPedidos,...
I'm having a problem with the app created, I looked for many solutions and none of them work. Neither putting the code that tells me, nor updating everything... It says it's something related to Firebase, but I don't know how to solve it, here is my error and code. [CODE] Build Grade (app): [CODE] Build Grade (Module):...
android|database|firebase|android-studio
0
2022-06-28T12:35:50.753Z
2,022
6
12
1
329
2
598
147
4
4
true
false
false
false
false
false
zero
72,786,560
How can I set the memory size using coil in jetpack compose.And do I need to reclaim memory in compose?
<p>I used asyncImage in the project, combined with lazyColumn and Swiperefresh, and called the screen through navigation, but during the test, I found that the memory will increase due to the nagate screen, and after the screen is reverted, the memory through gc will not decrease. Is there a way to clear resources in m...
I used asyncImage in the project, combined with lazyColumn and Swiperefresh, and called the screen through navigation, but during the test, I found that the memory will increase due to the nagate screen, and after the screen is reverted, the memory through gc will not decrease. Is there a way to clear resources in memo...
android|kotlin|android-jetpack-compose|android-jetpack-navigation|coil
0
2022-06-28T12:36:09.677Z
2,022
6
12
1
96
0
332
103
5
1
true
true
false
false
false
false
zero
72,786,676
Bluethooth system dedicated to an apk and a speaker
<p>I need to build an apk and speaker system that will only work if I have the 2 specific elements. The apk and the speaker must be recognized by a code, so that I can only play sounds in the dedicated speaker and vice versa the dedicated speaker will not play sound unless I have that apk. Does anyone know if there is ...
I need to build an apk and speaker system that will only work if I have the 2 specific elements. The apk and the speaker must be recognized by a code, so that I can only play sounds in the dedicated speaker and vice versa the dedicated speaker will not play sound unless I have that apk. Does anyone know if there is a b...
android
0
2022-06-28T12:44:04.110Z
2,022
6
12
1
10
0
374
51
1
0
false
true
false
false
false
false
zero
72,786,678
Xamarin.Android <queries> element but as activity attribute in code instead
<p>Android 11 adds the visibility feature that requires a <code>&lt;queries&gt;</code> element in the android manifest for an app to be capable of deep linking into another. Is it possible to define that in code using an attribute instead of directly in the manifest?</p> <p>Example intent filter:</p> <pre><code>[Intent...
Android 11 adds the visibility feature that requires a <queries> element in the android manifest for an app to be capable of deep linking into another. Is it possible to define that in code using an attribute instead of directly in the manifest? Example intent filter: [CODE] And then I'd like to add the <queries> eleme...
xamarin.forms|xamarin.android|deep-linking
0
2022-06-28T12:44:18.567Z
2,022
6
12
1
84
1
756
75
3
3
true
false
false
false
false
false
zero
72,786,760
How to parse an xml file in android?
<p>I have an XML file like</p> <pre><code>&lt;container xmlns=&quot;urn:oasis:names:tc:opendocument:xmlns:container&quot; version=&quot;1.0&quot;&gt; &lt;rootfiles&gt; &lt;rootfile full-path=&quot;OEBPS/content.opf&quot; media-type=&quot;application/oebps-package+xml&quot;/&gt; &lt;/rootfiles&gt; &lt;/con...
I have an XML file like [CODE] I need the full-path value that is &quot;OEBPS/content.opf&quot; text. I tried using Document builder and XML parser but no results. How do I traverse to that node and get the value
java|android|xml|xml-parsing
0
2022-06-28T12:51:14.997Z
2,022
6
12
1
70
2
212
36
4
1
true
false
false
false
false
false
zero
72,786,761
How Attempt to invoke virtual method on a null object reference
<p>I'm trying to make a list filled with data from the database via firebase but my recycler view is null. I have no idea where the error is</p> <p>I created this algorithm but it's giving error</p> <p>The intention is to make a list with the items</p> <pre><code> java.lang.NullPointerException: Attempt to invoke virt...
I'm trying to make a list filled with data from the database via firebase but my recycler view is null. I have no idea where the error is I created this algorithm but it's giving error The intention is to make a list with the items [CODE] CommunitieFragmet.Java [CODE] fragment_communities.xml [CODE] item.xml [CODE] Rec...
android|firebase
-1
2022-06-28T12:51:19.140Z
2,022
6
12
1
318
1
341
63
2
5
true
false
false
false
false
true
negative
72,786,983
The google maps in my home page become blank when the application reopened from the background
<p>I use <code>Google Maps</code> in my Flutter app and when I make my app in the background state and reopen the screen , the map becomes blank.</p> <p>Here is the code of the map</p> <pre><code>Container( child: Stack( children: &lt;Widget&gt;[ GoogleMap( zoomControlsEnabled: true, ...
I use Google Maps in my Flutter app and when I make my app in the background state and reopen the screen , the map becomes blank. Here is the code of the map [CODE]
android|flutter|dart|google-maps|fluttermap
1
2022-06-28T13:05:28.627Z
2,022
6
13
1
45
0
164
94
5
1
true
true
false
false
false
false
low
72,787,106
Repeat request if get 202 code Android Kotlin RxJava 2
<p>I need to implement a request retry if 202 code comes using RxJava 2, the problem is that when I try to do this, then with 202 code the response from the server is empty, and with a successful response, the desired model comes, so with 202 code I get an error, and further processing by the response code does not occ...
I need to implement a request retry if 202 code comes using RxJava 2, the problem is that when I try to do this, then with 202 code the response from the server is empty, and with a successful response, the desired model comes, so with 202 code I get an error, and further processing by the response code does not occur....
android|kotlin|retrofit2|rx-java2
0
2022-06-28T13:14:08.280Z
2,022
6
13
1
32
0
395
54
4
3
true
true
false
false
false
false
zero
72,787,122
Swift : What is the equivalent of regions in Android Studio?
<p>I'm used to code android applications, and I'm starting in Apple development. In Android studio, it's possible to surround a bloc of code within a region, like this :</p> <pre class="lang-java prettyprint-override"><code>//region VARIABLES int a; float b; //endregion </code></pre> <p>for a better visualization of th...
I'm used to code android applications, and I'm starting in Apple development. In Android studio, it's possible to surround a bloc of code within a region, like this : [CODE] for a better visualization of the code. Is there an equivalent in Swift? Or is the closest thing to it is : [CODE]
android|swift|xcode
0
2022-06-28T13:15:23.220Z
2,022
6
13
1
60
1
288
60
3
2
true
false
false
false
false
false
zero
72,787,301
Not able to get Intent.ACTION_PACKAGE_ADDED events
<p>I have created a broadcast receiver and registered it, but i am not able to receive the Intent.ACTION_PACKAGE_ADDED events.</p> <pre><code> val intentFilter = IntentFilter().apply { addAction(Intent.ACTION_PACKAGE_ADDED) addAction(Intent.ACTION_PACKAGE_REMOVED) addDataScheme(&quot;pack...
I have created a broadcast receiver and registered it, but i am not able to receive the Intent.ACTION_PACKAGE_ADDED events. [CODE] This is my BroadcastReceiver class [CODE] I am not getting any events, however the same broadcast receiver works for intents like: [CODE] and also i am getting logs for PACKAGE_ADDED Events...
java|android|broadcastreceiver|intentfilter
2
2022-06-28T13:27:24.537Z
2,022
6
13
1
71
1
496
50
4
4
true
false
false
false
false
false
low