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,772,110
Python/Buildozer: How to use the 32 bit version of fitz / PyMuPDF with buildozer on windows wsl (_fitz.so is 64-bit instead of 32-bit)
<p>I want to create an android app of a python programm using buildozer. I have trouble integrating the PyMuPDF / fitz</p> <p>That is my setup:</p> <pre><code>Windows 10 [Version 10.0.19043.1706] mit WSL 2 Ubuntu 20.04 LTS (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64) Buildozer 1.3.0 Python 3.8.10 </code></pre> ...
I want to create an android app of a python programm using buildozer. I have trouble integrating the PyMuPDF / fitz That is my setup: [CODE] And in the *.spec-File I added: [CODE] I get the following error at runtime: [CODE] How can I use the 32bit version of fitz?
python|android|32-bit|buildozer|pymupdf
0
2022-06-27T12:27:53.337Z
2,022
6
12
0
29
0
265
134
5
3
true
true
false
false
false
false
zero
72,772,116
Flutter get android screen DPI inside fragment activity?
<p>I have a flutter activity which gets screen DPI which works fine, but i need to make it a FlutterFragmentActivity because i need to use local_auth plugin inside the app, i've tried something like this:</p> <pre><code>class MainActivity: FlutterFragmentActivity() { // Native android channel used to get the screen DPI...
I have a flutter activity which gets screen DPI which works fine, but i need to make it a FlutterFragmentActivity because i need to use local_auth plugin inside the app, i've tried something like this: [CODE] } but now it doesn't recognize activity anymore and throws this exception: `MainActivity.kt: (39, 17): Unresolv...
flutter|android-fragmentactivity|localauthentication
0
2022-06-27T12:28:11.580Z
2,022
6
12
0
27
0
742
56
3
1
true
true
false
false
false
false
zero
72,772,180
How to restrict Cut, Copy, Select & Paste option in Android when double tap or long click the edit text view?
<p>I need to hide the copy,cut,select all and paste option when I double tap or long click the edit text view in Android application. I have checked several ways and the below is one of them that I checked. I also checked with android:longClickable=&quot;false&quot; and android:textIsSelectable=&quot;false&quot; in x...
I need to hide the copy,cut,select all and paste option when I double tap or long click the edit text view in Android application. I have checked several ways and the below is one of them that I checked. I also checked with android:longClickable=&quot;false&quot; and android:textIsSelectable=&quot;false&quot; in xml fi...
android|kotlin
0
2022-06-27T12:33:01.880Z
2,022
6
12
0
30
0
554
109
2
1
true
true
false
false
false
false
zero
72,772,189
How to remove background from live rtmp streaming video?
<p>Can I remove the background in RTMP streaming (without a green screen)? Currently, I am using the <a href="https://github.com/pedroSG94/rtmp-rtsp-stream-client-java" rel="nofollow noreferrer">Pedro</a> library for RTMP streaming on android.</p>
Can I remove the background in RTMP streaming (without a green screen)? Currently, I am using the Pedro library for RTMP streaming on android.
android|android-studio|android-layout|rtmp
0
2022-06-27T12:33:31.210Z
2,022
6
12
0
29
0
142
56
4
0
false
true
false
false
false
false
zero
72,772,212
How to change the app icon on android studio multiple times and nothing
<p>I have tried multiple times to change the app icon but to no use. If I click under the ic_launcher it shows my picture but when I run it it does not. I have done the new image set way and the add manually into the andoid manifest. Help <a href="https://i.stack.imgur.com/qouTS.png" rel="nofollow noreferrer">enter ima...
I have tried multiple times to change the app icon but to no use. If I click under the ic_launcher it shows my picture but when I run it it does not. I have done the new image set way and the add manually into the andoid manifest. Help enter image description here
java|android-studio
0
2022-06-27T12:35:50.203Z
2,022
6
12
0
21
0
264
71
2
0
false
true
false
false
false
false
zero
72,772,277
load google maps in a fragment
<p>hello everyone I'm just learning to use googlemaps and I have a problem. I want to add maps in a fragment. My code is:</p> <pre><code>public class MapsLine extends Fragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); } @Override ...
hello everyone I'm just learning to use googlemaps and I have a problem. I want to add maps in a fragment. My code is: [CODE] mapsline_fragment-xml is: [CODE] I added to the manifest: [CODE] i added to build.grabdle(livel app): implementation 'com.google.android.gms: play-services-maps: 18.0.2' Now when the MapsLine fr...
android|google-maps|android-fragments
0
2022-06-27T12:41:24.193Z
2,022
6
12
0
31
0
455
30
3
3
true
true
false
false
false
false
zero
72,772,473
Android Emulator checkbox and radio button bug - various incorrect states are showed on ui
<p>Recently I've spotted weird emulator behaviour with showing the radio buttons and checkboxes. Instead of having only 2 states of UI it has or to be more specific it shows 4 different or even more. I suppose they are frozen animation states. On the layout inspector and on the newer version of the API it looks normal....
Recently I've spotted weird emulator behaviour with showing the radio buttons and checkboxes. Instead of having only 2 states of UI it has or to be more specific it shows 4 different or even more. I suppose they are frozen animation states. On the layout inspector and on the newer version of the API it looks normal. Se...
android|user-interface|emulation
1
2022-06-27T12:55:43.230Z
2,022
6
12
0
37
1
604
90
3
0
false
false
false
false
false
false
low
72,772,592
Endless circular scrolling in browsesupportfragment android tv
<p>I want to implement browse support fragment with circular endless scrolling. For example I added 7 rows in the browse support fragment. When I click down on last row I have to show first row. In the same way when I click on up button from first row I need to show the last row without entire page scrolling. Is there ...
I want to implement browse support fragment with circular endless scrolling. For example I added 7 rows in the browse support fragment. When I click down on last row I have to show first row. In the same way when I click on up button from first row I need to show the last row without entire page scrolling. Is there any...
android|android-tv|leanback
0
2022-06-27T13:04:22.440Z
2,022
6
13
0
42
0
343
62
3
0
false
true
false
false
false
false
zero
72,772,678
Error - Zip file app-debug.apk already contains entry 'classes.dex', cannot overwrite
<p>I imported a jar file in app/libs dir and added it as a library in build.gradle file. But when I am building the project getting errors -</p> <pre><code>Zip file 'E:\AndroidProjects\testing\app\build\intermediates\apk\debug\app-debug.apk' already contains entry 'classes.dex', cannot overwrite </code></pre> <p>Note -...
I imported a jar file in app/libs dir and added it as a library in build.gradle file. But when I am building the project getting errors - [CODE] Note - This jar file is created in another environment/ having a different signature. [CODE] This issue looks like this and this - and I have tried deleting/ cleaning the buil...
android|android-studio|jar|android-support-library|android-library
0
2022-06-27T13:10:11.170Z
2,022
6
13
0
228
1
424
85
5
2
true
false
false
false
false
false
zero
72,772,701
Android - How can I zoom in on a custom View I made using Kotlin?
<p>I have a FloorView, and within this FloorView I'll be filling it with RoomViews. Every floor has rooms. I want a functionality that can allow the user to zoom in on the floor, and see the rooms up closer. Think of it as Google maps. The earth is the floor, and the buildings/road are the rooms</p> <p>The floor is hug...
I have a FloorView, and within this FloorView I'll be filling it with RoomViews. Every floor has rooms. I want a functionality that can allow the user to zoom in on the floor, and see the rooms up closer. Think of it as Google maps. The earth is the floor, and the buildings/road are the rooms The floor is huge, will ha...
android|kotlin
1
2022-06-27T13:11:42.113Z
2,022
6
13
0
50
1
766
65
2
2
true
false
false
false
false
false
low
72,772,733
How can i click on component behind any component in jetpack compose?
<p>Let say i have a two surface in a box and they are on top of each other;</p> <pre><code>Box( modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.Center ) { Surface( modifier = Modifier.size(200.dp).clickab...
Let say i have a two surface in a box and they are on top of each other; [CODE] View: When I click on the blue surface, I want the red surface to be clicked. Or I want to make the blue surface &quot;Click Invisible&quot; How can i achieve this?
android|android-jetpack-compose
1
2022-06-27T13:13:39.157Z
2,022
6
13
0
71
2
244
69
2
1
true
false
false
false
false
false
low
72,772,790
Could not open URL... No Activity found to handle Intent
<p>I'm trying to apply deep linking in my react native app. I followed the documentation and when trying to do the first test I had some problems, I believe it's because of using stack navigator and drawer menu.</p> <p>Stack:</p> <pre><code>const SignedInStack = () =&gt; ( &lt;Stack.Navigator&gt; &lt;Stack.Screen...
I'm trying to apply deep linking in my react native app. I followed the documentation and when trying to do the first test I had some problems, I believe it's because of using stack navigator and drawer menu. Stack: [CODE] DrawerMenu: [CODE] App.js: [CODE] My first useEffect on initial screen of my stack: [CODE] Right ...
android|react-native|react-navigation|navigation-drawer|deep-linking
2
2022-06-27T13:17:22.627Z
2,022
6
13
0
493
1
593
56
5
4
true
false
false
false
false
false
low
72,772,792
OnTextChanged triggered before writing anything
<p>Im using <code>EditText</code> and trying to validate it. In my validations, Im checking if the <code>EditText</code> is empty and if it is, shows an error.</p> <p>My problem is that my error is showing when the activity starts and when I didnt click anything, so is triggering before I write anything and before any ...
Im using EditText and trying to validate it. In my validations, Im checking if the EditText is empty and if it is, shows an error. My problem is that my error is showing when the activity starts and when I didnt click anything, so is triggering before I write anything and before any text change. What I want is to show ...
android|kotlin|android-edittext
0
2022-06-27T13:17:39.880Z
2,022
6
13
0
33
0
451
47
3
0
false
true
false
false
false
false
zero
72,772,861
Fallback fonts with Jetpack Compose in Android
<p>I've been rehearsing for a while but I still have no clue about how to do it. What I know so far is that Typeface has a CustomFallbackBuilder on which you define the font families which you want to fallback if one fails to load the text, but this is graphics Typeface, not compose.</p> <p>So what I'm asking here if t...
I've been rehearsing for a while but I still have no clue about how to do it. What I know so far is that Typeface has a CustomFallbackBuilder on which you define the font families which you want to fallback if one fails to load the text, but this is graphics Typeface, not compose. So what I'm asking here if there's a w...
android|android-jetpack-compose
2
2022-06-27T13:23:48.570Z
2,022
6
13
0
39
0
479
46
2
0
false
true
false
false
false
false
low
72,772,883
how to test the performance of camerax?
<p>Recently we have started using camerax library for the camera module of our hybrid app . How can we test the performance of camerax so that we can ensure customers will have a better usage experience?</p>
Recently we have started using camerax library for the camera module of our hybrid app . How can we test the performance of camerax so that we can ensure customers will have a better usage experience?
android|hybrid-mobile-app|android-camerax|multi-device-hybrid-apps
0
2022-06-27T13:25:17.463Z
2,022
6
13
0
35
0
200
39
4
0
false
true
false
false
false
false
zero
72,772,909
Create one fragment and reuse it
<p>I have 2 fragments a and b in which there is a container for fragments, I need to place a separate fragment x in these 2 containers so that the nested fragment x is not recreated when switching between fragments a and b, create a singleton from fragment x. Please tell me how can i implement this</p>
I have 2 fragments a and b in which there is a container for fragments, I need to place a separate fragment x in these 2 containers so that the nested fragment x is not recreated when switching between fragments a and b, create a singleton from fragment x. Please tell me how can i implement this
java|android|kotlin
-2
2022-06-27T13:27:05.593Z
2,022
6
13
0
40
1
296
32
3
0
false
false
false
false
false
true
negative
72,772,933
How to input many vertex to geometry shader, Buffers and shaders pass data to each other?
<p>I want do a bokeh app on Android, use OpenGL ES 3.0, I read this article <a href="https://therealmjp.github.io/posts/bokeh/" rel="nofollow noreferrer">How To Fake Bokeh</a>:</p> <blockquote> <ol> <li><p>Do a full-res bokeh point extraction pass. For each pixel, compute the average brightness of the 5x5 block surroun...
I want do a bokeh app on Android, use OpenGL ES 3.0, I read this article How To Fake Bokeh : Do a full-res bokeh point extraction pass. For each pixel, compute the average brightness of the 5x5 block surrounding the pixel and compare it with the brightness of the current pixel. If the pixel brightness minus the average...
android|opengl-es|glsl
0
2022-06-27T13:28:38.287Z
2,022
6
13
0
62
0
1,827
89
3
0
false
true
false
false
false
false
zero
72,772,967
Get Android Dependencies to an Empty Project
<p>I have cloned a github repo. (Which only has a README)</p> <p>I want to get android dependencies into that repository. (The whole android files and structures that comes with creating a new project from the Android Studio Wizard).</p> <p>Is this possible.?</p> <p>I need to build an app from that repo (make commits a...
I have cloned a github repo. (Which only has a README) I want to get android dependencies into that repository. (The whole android files and structures that comes with creating a new project from the Android Studio Wizard). Is this possible.? I need to build an app from that repo (make commits and push to the repo) I h...
java|android|android-studio|kotlin
0
2022-06-27T13:30:50.933Z
2,022
6
13
0
24
1
555
44
4
0
false
false
false
false
false
false
zero
72,772,984
Null pointer exception when trying to populate spinner from firebase database
<p>I am attempting to populate a spinner on Android Studio items from a Firebase Database. However, when trying to run the application, I am met with a null pointer exception. Can anyone tell me what I'm missing???</p> <p>Code:</p> <pre><code>public void populateSpinner(){ DatabaseReference db = FirebaseDatabas...
I am attempting to populate a spinner on Android Studio items from a Firebase Database. However, when trying to run the application, I am met with a null pointer exception. Can anyone tell me what I'm missing??? Code: [CODE] Link to image of firebase database [1]: https://i.stack.imgur.com/SCfSI.png
android|firebase|firebase-realtime-database
0
2022-06-27T13:32:00.033Z
2,022
6
13
0
51
1
300
77
3
1
true
false
false
false
false
false
zero
72,773,077
Inconsistency detected. Invalid view holder adapter positionk{position=5 id=-1, oldPos=0, pLpos:0 scrap [attachedScrap] tmpDetached no parent}
<p>Well, i had gone through every portal to know the issue but hadn't worked, Actually it crashed randomly.</p> <p>Exception is as follows,</p> <pre><code>Fatal Exception: java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid view holder adapter positionkj8{1734d08 position=5 id=-1, oldPos=0, pLpos:0 sc...
Well, i had gone through every portal to know the issue but hadn't worked, Actually it crashed randomly. Exception is as follows, [CODE] code: Fragment code is as follows, [CODE] onBoardingReferralPresenter.setReferralPresenterToViewModelCallBack(viewViewModel) initView() [CODE] } xml code is as follows, design_collaps...
android|android-layout|android-recyclerview|android-coordinatorlayout|android-viewholder
1
2022-06-27T13:39:54.310Z
2,022
6
13
0
49
0
391
142
5
7
true
true
false
false
false
false
low
72,773,148
Android - Duplicated Icons after Build with Cordova
<p>Before I came here and ask I did a lot of research to figure out what happened that cause this problem but I didn´t found any answers that would help me.</p> <p>Problem summary: we have a legacy app at work and I used cordova to build the app and emulate it on android studio. To build the app was everything ok, but ...
Before I came here and ask I did a lot of research to figure out what happened that cause this problem but I didn´t found any answers that would help me. Problem summary: we have a legacy app at work and I used cordova to build the app and emulate it on android studio. To build the app was everything ok, but I don´t kn...
android|android-studio|cordova|duplicates
0
2022-06-27T13:45:20.417Z
2,022
6
13
0
19
0
568
51
4
1
true
true
false
false
false
false
zero
72,773,323
How to add Samsung Iap SDK to android Studio
<p>Im an android developer, my experience in using android studio isn't very high. Im really stuck on how should I include/ import the Samsung In app purchase on my project. I have downloaded this SDK &quot;SamsungInAppPurchaseSDK_v6.1&quot; from the official page of Samsung, but dont know how to do the next step.</p> ...
Im an android developer, my experience in using android studio isn't very high. Im really stuck on how should I include/ import the Samsung In app purchase on my project. I have downloaded this SDK &quot;SamsungInAppPurchaseSDK_v6.1&quot; from the official page of Samsung, but dont know how to do the next step. I have ...
android|android-studio|sdk|in-app-purchase|samsung-mobile-sdk
0
2022-06-27T13:56:48.600Z
2,022
6
13
0
48
1
857
44
5
0
false
false
false
false
false
false
zero
72,773,551
Difference between onCreateView and onViewCreated in Fragment - Kotlin
<p>I know this question has been asked many times but just wanted to have some more clarity.</p> <p>So I wanted to create a simple fragment with a button that should change the fragment when clicked - very simple and basic one.</p> <p>hence I create a function, and called it on <code>onCreateView</code>. Nothing happed...
I know this question has been asked many times but just wanted to have some more clarity. So I wanted to create a simple fragment with a button that should change the fragment when clicked - very simple and basic one. hence I create a function, and called it on onCreateView . Nothing happeded. Then I created onViewCrea...
android|kotlin
0
2022-06-27T14:13:27.873Z
2,022
6
14
0
64
2
456
70
2
1
true
false
false
false
false
false
zero
72,773,556
How to use onFocusChangeListener inside a recycler view adapter?
<p>I am currently trying to expand a view when it is focused and contract it when unfocused. But, I am unable to get the events for <code>onFocusChangeListener</code>. I tried adding that for all of the views inside the parent view but that didn't work either. Is there anything like reyclerview takes all the focus chan...
I am currently trying to expand a view when it is focused and contract it when unfocused. But, I am unable to get the events for onFocusChangeListener . I tried adding that for all of the views inside the parent view but that didn't work either. Is there anything like reyclerview takes all the focus changes to itself n...
android|kotlin|onfocuschangelistener
0
2022-06-27T14:14:00.440Z
2,022
6
14
0
25
0
515
64
3
3
true
true
false
false
false
false
zero
72,773,582
Kotlin Multiplatform doesn't see files from another directory
<p>I am struggling with writing tests for both iOS and Android native side in Kotlin Multiplatform (KMP). I created a couple of interfaces in one module (it's called <code>shared</code>) and created another module, called <code>sharedTests</code>, where I created sample test (<code>FirstTest.kt</code>). Take a look at ...
I am struggling with writing tests for both iOS and Android native side in Kotlin Multiplatform (KMP). I created a couple of interfaces in one module (it's called shared ) and created another module, called sharedTests , where I created sample test ( FirstTest.kt ). Take a look at pictures below. The problem is, that K...
android|android-studio|kotlin|kotlin-multiplatform
0
2022-06-27T14:15:49.380Z
2,022
6
14
0
107
0
646
61
4
3
true
true
false
false
false
false
zero
72,773,584
FontFeature.fractions(), how do I make it so a single number doesn't become a numerator?
<p>I installed Fira Code, pictures included, the font I'm working with is Open Sans and I've hired someone to make it a frac font. I don't know if I'm doing something wrong or if it's on his end. All he has said is that I need to enable ligatures.</p> <p><a href="https://i.stack.imgur.com/zs5X0.png" rel="nofollow noref...
I installed Fira Code, pictures included, the font I'm working with is Open Sans and I've hired someone to make it a frac font. I don't know if I'm doing something wrong or if it's on his end. All he has said is that I need to enable ligatures. fractions() and enable('frac') give me the same results. [CODE] Example: It...
flutter|android-studio|dart|visual-studio-code|fira-code
0
2022-06-27T14:15:58.997Z
2,022
6
14
0
59
0
526
88
5
1
true
true
false
false
false
false
zero
72,773,761
Firebase A/B testing set specific variant for a user
<p>I have A/B testing in my application with two variants.</p> <p>The thing that I want to do is to set a specific user in a variant by myself(Like with his firebase token)I don't know how to achieve this.</p> <p>I couldn't find anything in the firebase panel for it.</p>
I have A/B testing in my application with two variants. The thing that I want to do is to set a specific user in a variant by myself(Like with his firebase token)I don't know how to achieve this. I couldn't find anything in the firebase panel for it.
android|firebase|firebase-remote-config|firebase-ab-testing
0
2022-06-27T14:27:25.573Z
2,022
6
14
0
146
1
250
52
4
0
false
false
false
false
false
false
zero
72,773,766
Can I safely delete the 'macOS' folder generated by 'flutter create'?
<p>Whenever I run <code>flutter create my_app_name</code> it generates a number of folders (such as 'lib', 'ios', 'android', 'build') which in my case I do need.</p> <p>Since I'm just interested in developing (mobile) apps for both iOS and Android, there are also some other folders automatically created which I believe...
Whenever I run flutter create my_app_name it generates a number of folders (such as 'lib', 'ios', 'android', 'build') which in my case I do need. Since I'm just interested in developing (mobile) apps for both iOS and Android, there are also some other folders automatically created which I believe I don't necessarily ne...
flutter|flutter-ios|flutter-android
0
2022-06-27T14:27:42.520Z
2,022
6
14
0
76
0
594
69
3
0
false
true
false
false
false
false
zero
72,773,849
I can't run emulator in android studio
<p><a href="https://i.stack.imgur.com/4ulba.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4ulba.png" alt="enter image description here" /></a></p> <p>Here, some error occur when I run emulator for run application.</p>
Here, some error occur when I run emulator for run application.
android|flutter|android-studio|android-emulator
1
2022-06-27T14:33:23.170Z
2,022
6
14
0
46
1
63
38
4
0
false
false
false
false
false
false
low
72,773,882
How can I verify my android app on server-side
<p>How can I get some value that is unique to an android app? This value should only apply to my app. I want to use this value to verify my app from the server-side.</p>
How can I get some value that is unique to an android app? This value should only apply to my app. I want to use this value to verify my app from the server-side.
android|server|verify
0
2022-06-27T14:36:03.310Z
2,022
6
14
0
17
0
162
46
3
0
false
true
false
false
false
false
zero
72,773,983
Firebase Auth - How to use custom domain on the Phone OTP auth SMS?
<p>I am building a flutter app and using Firebase Auth, for the Phone sign in users receive an OTP SMS with a firebase domain with the verification code. How can I set it up to show my domain on the SMS.</p> <blockquote> <p>123456 is your verification code for domain.firebaseapp.com</p> </blockquote> <p>How can I set u...
I am building a flutter app and using Firebase Auth, for the Phone sign in users receive an OTP SMS with a firebase domain with the verification code. How can I set it up to show my domain on the SMS. 123456 is your verification code for domain.firebaseapp.com How can I set up the OTP to show domain.com , instead of, d...
android|flutter|firebase|google-cloud-platform|firebase-authentication
1
2022-06-27T14:42:25.837Z
2,022
6
14
0
118
1
343
67
5
0
false
false
false
false
false
false
low
72,774,086
How to get multiple data from List using Spinner?
<p>I want more required data from my Spinner but unable to get. This is my list <code>[&quot;id&quot;:&quot;1&quot;,&quot;title&quot;:&quot;test 1&quot;,&quot;tableid&quot;:&quot;my_value&quot;]</code> and my Spinner showing dropdown of <code>table</code> to users and I want <code>my_value</code> from list. But I want ...
I want more required data from my Spinner but unable to get. This is my list [&quot;id&quot;:&quot;1&quot;,&quot;title&quot;:&quot;test 1&quot;,&quot;tableid&quot;:&quot;my_value&quot;] and my Spinner showing dropdown of table to users and I want my_value from list. But I want to show users to table . How can I achieve...
java|android|spinner|android-spinner
0
2022-06-27T14:49:06.380Z
2,022
6
14
0
54
0
519
49
4
3
true
true
false
false
false
false
zero
72,774,112
React-native-webview injectJavaScript doesn't work on Android
<p>Bug description: Hi, everyone! I'm trying to send data from RN to Web, it works fine on iOS, but does nothing for Android. I've spent 16 hours to read everything that is written in issues of official repository and all over the internet and tried every variant, but Android doesn't want to work.</p> <p>Reciving data ...
Bug description: Hi, everyone! I'm trying to send data from RN to Web, it works fine on iOS, but does nothing for Android. I've spent 16 hours to read everything that is written in issues of official repository and all over the internet and tried every variant, but Android doesn't want to work. Reciving data from Web w...
android|reactjs|react-native|react-native-webview
0
2022-06-27T14:50:54.800Z
2,022
6
14
0
85
0
873
61
4
0
false
true
false
false
false
false
zero
72,774,325
android studio edittext force enter | keydown event
<p>I have an edittext that performs an action and if the result of that actions returns an int greater than 1 a dialog box pops up for user input, how can I after the user has inputted data to force enter on the edittext (from_loc_code) again?</p> <p>from_loc_code being my edittext that already has data</p> <pre><code>...
I have an edittext that performs an action and if the result of that actions returns an int greater than 1 a dialog box pops up for user input, how can I after the user has inputted data to force enter on the edittext (from_loc_code) again? from_loc_code being my edittext that already has data [CODE]
android|android-edittext
0
2022-06-27T15:04:47.663Z
2,022
6
15
0
9
0
301
51
2
1
true
true
false
false
false
false
zero
72,774,326
Secondary note being added Android studio
<p>I am having a problem when creating a new note that it creates a secondary note. Every time that says welcome to notes, it's only supposed to create that note only once wants the app is installed. Can anyone help me out?</p> <pre class="lang-java prettyprint-override"><code> @Override protected void onCreate(...
I am having a problem when creating a new note that it creates a secondary note. Every time that says welcome to notes, it's only supposed to create that note only once wants the app is installed. Can anyone help me out? [CODE]
java|android
0
2022-06-27T15:04:54.410Z
2,022
6
15
0
34
0
227
41
2
1
true
true
false
false
false
false
zero
72,774,367
Multiple different pointerInput
<p>I'm currently trying to implement the option of switching between a composable being either zoomable, pannable (dragging the surface) or neither of those. What works so far is toggling the respective buttons, with the expected result. What does not work is toggling one button from the other - this gives the unexpect...
I'm currently trying to implement the option of switching between a composable being either zoomable, pannable (dragging the surface) or neither of those. What works so far is toggling the respective buttons, with the expected result. What does not work is toggling one button from the other - this gives the unexpected ...
kotlin|android-jetpack-compose
2
2022-06-27T15:07:25.160Z
2,022
6
15
0
116
1
935
31
2
2
true
false
false
false
false
false
low
72,774,383
How can we Repeat alarm everyday and show dialog box when they triggered in flutter
<p>how can we set repeat alarms in flutter and when they triggered the dialog box should open. I tried some packages like android alarm mamager plus and flutter_alarm_clock. I can't find a way to do the things that i want. If you can help me so help me.</p>
how can we set repeat alarms in flutter and when they triggered the dialog box should open. I tried some packages like android alarm mamager plus and flutter_alarm_clock. I can't find a way to do the things that i want. If you can help me so help me.
android|flutter|dart|alarm
0
2022-06-27T15:08:46.970Z
2,022
6
15
0
38
0
250
83
4
0
false
true
false
false
false
false
zero
72,774,385
Flutter running with no response after first installation in Windows
<p>I'm new in flutter and trying to learn about it for the first time. <br> I'm following the instruction of flutter documentation in <a href="https://docs.flutter.dev/get-started/install/windows" rel="nofollow noreferrer">here</a></p> <p>When in step to the setting environment, I follow the instruction <a href="https:...
I'm new in flutter and trying to learn about it for the first time. I'm following the instruction of flutter documentation in here When in step to the setting environment, I follow the instruction here . After restarting the pc, the next step I must running the command flutter doctor in cmd. In this step, I get stuck b...
flutter|android-studio|visual-studio-code|command
0
2022-06-27T15:08:54.777Z
2,022
6
15
0
44
1
539
68
4
0
false
false
false
false
false
false
zero
72,774,449
Android studio shows "MainActivity.java uses or overrides a deprecated API." but it also shows "Inspection of the code found nothing to report."
<p>I am updating a project from 2 years ago to search for obsolete code and update it, it compiles without problems but I receive this warning:</p> <blockquote> <p>Note: C:\Users\PCDELL\AndroidStudioProjects\BM\app\src\main\java\p\p\bm\MainActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:de...
I am updating a project from 2 years ago to search for obsolete code and update it, it compiles without problems but I receive this warning: Note: C:\Users\PCDELL\AndroidStudioProjects\BM\app\src\main\java\p\p\bm\MainActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. ...
android|android-studio
0
2022-06-27T15:12:27.263Z
2,022
6
15
0
70
1
1,001
144
2
1
true
false
false
false
false
false
zero
72,774,467
Crashlytics report could not be enqueued to DataTransport
<p>I am having trouble with crashlytics, crash reports are not being sent. here it is the logcat trace:</p> <pre><code>I/FirebaseCrashlytics: Initializing Firebase Crashlytics 18.2.11 for me.easymobile.instantnfc D/FirebaseCrashlytics: Crashlytics automatic data collection ENABLED by API. D/FirebaseCrashlytics: Analyti...
I am having trouble with crashlytics, crash reports are not being sent. here it is the logcat trace: [CODE] crashlytics configuration seems to be ok, as the console is displaying the following message: [CODE] gradle files are configured as defined here https://firebase.google.com/docs/crashlytics/get-started?hl=da&plat...
android|firebase|firebase-analytics
2
2022-06-27T15:14:02.433Z
2,022
6
15
0
308
1
456
57
3
2
true
false
false
false
false
false
low
72,774,476
Can't Clean project with Failed to create parent directory '/.gradle' when creating directory
<p>I upgraded my project from:</p> <pre><code>compileSdkVersion 30 </code></pre> <p>To:</p> <pre><code>compileSdkVersion 32 </code></pre> <p>and every time i Clean the project i keep getting the error</p> <pre><code>Failed to create parent directory '/.gradle' when creating directory </code></pre> <p>the full error is:...
I upgraded my project from: [CODE] To: [CODE] and every time i Clean the project i keep getting the error [CODE] the full error is: [CODE] I tried cleaning the Cash folder in the .gradle folder or renaming the /.gradle/deamon/6.8 folder but both didn't work any ideas why it's happening ? or how i can fix it on a mac ?
java|android|android-studio
0
2022-06-27T15:14:56.763Z
2,022
6
15
0
32
0
319
93
3
4
true
true
false
false
false
false
zero
72,774,638
Android image detection cant load model with download manager
<p>I have a problem with the following code</p> <p>this is my camera activity</p> <pre><code>public class CameraActivity extends AppCompatActivity { private PreviewView previewView; private ListenableFuture&lt;ProcessCameraProvider&gt; cameraProviderFuture; private byte[] decodeString; private ObjectDet...
I have a problem with the following code this is my camera activity [CODE] this is the class that handles the models [CODE] when i try to run this i get the following error [CODE] can anybody help me with this i have scoured the entire internet for a solution but i cant find it. It seems that my modelname is wrong but ...
java|android|machine-learning
0
2022-06-27T15:26:53.960Z
2,022
6
15
0
37
0
455
61
3
3
true
true
false
false
false
false
zero
72,774,695
Dagger annotationProcessor giving error when using dagegr-compiler-2.41.jar instead of "com.google.dagger:dagger-android-processor:2.41"
<p>I am able to compile and run when using annotationProcessor &quot;com.google.dagger:dagger-compiler:2.41&quot; in build.gradle dependencies but when i use <code>annotationProcessor files('libs/dagger-compiler-2.41.jar')</code> it gives an error stating</p> <p>**Execution failed for task ':MyApplication:compilePie_pi...
I am able to compile and run when using annotationProcessor &quot;com.google.dagger:dagger-compiler:2.41&quot; in build.gradle dependencies but when i use annotationProcessor files('libs/dagger-compiler-2.41.jar') it gives an error stating **Execution failed for task ':MyApplication:compilePie_pieDebugJavaWithJavac'. d...
android|gradle|dependency-injection|dagger-2|annotation-processing
0
2022-06-27T15:31:02.193Z
2,022
6
15
0
89
0
408
136
5
0
false
true
false
false
false
false
zero
72,774,734
Flutter App not installable from Google store for Android 12
<p>I'am trying to start internal testing for my flutter App in the Google Play Console. It works for other devices except those with Android 12. On Android 12 I'm not able to install the App. But the App runs flawlessly on an Android 12 Emulator.</p> <p><a href="https://i.stack.imgur.com/QjKqw.jpg" rel="nofollow norefe...
I'am trying to start internal testing for my flutter App in the Google Play Console. It works for other devices except those with Android 12. On Android 12 I'm not able to install the App. But the App runs flawlessly on an Android 12 Emulator. I've already followed the instructions at this question Flutter App not inst...
android|flutter|google-play|google-play-console
0
2022-06-27T15:34:16.537Z
2,022
6
15
0
190
2
651
60
4
1
true
false
false
false
false
false
zero
72,774,843
How to hide or NOT SHOW items in a Room Database based on a Boolean
<p>I have a Todo Application and I want to hide (which basically means not showing)the tasks based on its completed status(strikeThrough over the text). However, the hideCompleted tasks implementation I followed isn't working but the sort and search is working and I said this because I put all the Implementations in a ...
I have a Todo Application and I want to hide (which basically means not showing)the tasks based on its completed status(strikeThrough over the text). However, the hideCompleted tasks implementation I followed isn't working but the sort and search is working and I said this because I put all the Implementations in a sin...
android|kotlin|android-room|kotlin-stateflow
0
2022-06-27T15:43:25.920Z
2,022
6
15
0
60
1
799
67
4
4
true
false
false
false
false
false
zero
72,774,909
Data binding& fragment issue android
<p>I'm now trying to implement data binding for a fragment in my android studio project. I followed all the guidelines provided in official android documentation. It builds well, but when I launch it on my emulator It throw this compilation error</p> <pre><code>Cannot inherit from final 'com.example....databinding.Frag...
I'm now trying to implement data binding for a fragment in my android studio project. I followed all the guidelines provided in official android documentation. It builds well, but when I launch it on my emulator It throw this compilation error [CODE] Here is my fragment class code [CODE] fragment xml part [CODE] I've t...
android|xml|android-studio|kotlin|data-binding
0
2022-06-27T15:49:23.030Z
2,022
6
15
0
46
0
401
36
5
3
true
true
false
false
false
false
zero
72,774,962
Updating View of AlertDialog from Fragment
<p>I am not sure why I cannot update the <code>imageView</code> of a custom <code>dialog layout xml</code> which is opened from inside a <code>fragment</code>.</p> <pre><code>AlertDialog.Builder builder = new AlertDialog.Builder(getContext()); builder.setView(R.layout.qr_code_layout_dialog); imageFromLayout.setImageBit...
I am not sure why I cannot update the imageView of a custom dialog layout xml which is opened from inside a fragment . [CODE] I have also tried to use a Dialog object (not AlertDialog) but it will not even open, therefore AlertDialog opens but will not show any images. Nor will it allow me to update the images from wit...
android|android-studio|dialog|fragment|android-alertdialog
0
2022-06-27T15:52:24.713Z
2,022
6
15
0
38
1
422
42
5
1
true
false
false
false
false
false
zero
72,774,976
Using permission Handler - Nearby device Permission Not working
<p>I am building a Flutter Application that needs to connect to bluetooth devices nearby.</p> <p>I followed the documentation for permission_handler <a href="https://github.com/Baseflow/flutter-permission-handler/blob/master/permission_handler/README.md" rel="nofollow noreferrer">here</a> and it works (kinda) but stran...
I am building a Flutter Application that needs to connect to bluetooth devices nearby. I followed the documentation for permission_handler here and it works (kinda) but strangely enough it does not fully set the nearby device permission properly because when I go scan for nearby devices it is unable to find any. I know...
flutter|android-permissions|user-permissions
1
2022-06-27T15:53:20.703Z
2,022
6
15
0
378
1
552
63
3
2
true
false
false
false
false
false
low
72,775,043
Date range picker overlaps phone's navigation buttons
<p>I am currently using this version of the material library</p> <p>&quot;com.google.android.material:material:1.7.0-alpha02&quot;</p> <p>However, when I show a date range picker using the martial date picker, the picker overlaps the navigation buttons on my phone see image below:</p> <p><a href="https://i.stack.imgur....
I am currently using this version of the material library &quot;com.google.android.material:material:1.7.0-alpha02&quot; However, when I show a date range picker using the martial date picker, the picker overlaps the navigation buttons on my phone see image below:
android|material-components-android
0
2022-06-27T15:57:55.307Z
2,022
6
15
0
30
0
264
53
2
0
false
true
false
false
false
false
zero
72,775,079
Gradle fails with: Failed to load compiled script from classpath [.../.gradle/caches/jars-9/.../classes.jar]
<p>After trying cleaning up the build cache (doing 'rm -rf $HOME/.gradle/caches/' as suggested in <a href="https://stackoverflow.com/questions/23025433/how-to-clear-gradle-cache">How to clear gradle cache?</a>), Gradle stopped working entirely (no task would work). All of them immediate report the following error:</p> ...
After trying cleaning up the build cache (doing 'rm -rf $HOME/.gradle/caches/' as suggested in How to clear gradle cache? ), Gradle stopped working entirely (no task would work). All of them immediate report the following error: [CODE] Any ideas?
android|gradle
0
2022-06-27T15:59:52.993Z
2,022
6
15
0
331
1
246
108
2
1
true
false
false
false
false
false
zero
72,775,247
productFlavors main ~ Gradle Error: Multiple entries with same key: main=[] and main=[]
<p>When I increased gradle version to <code>gradle-7.3.3</code> from <code>gradle-7.2</code>, I receive a gradle sync error which is saying <code>Multiple entries with same key: main=[] and main=[]</code>.</p> <p>When I change my productFlavors name to <code>mainCore</code> or something else then <code>main</code>, gra...
When I increased gradle version to gradle-7.3.3 from gradle-7.2 , I receive a gradle sync error which is saying Multiple entries with same key: main=[] and main=[] . When I change my productFlavors name to mainCore or something else then main , gradle syncs without an error. I'd like to know how to keep using main prod...
android|gradle|android-productflavors
2
2022-06-27T16:13:48.130Z
2,022
6
16
0
103
0
367
87
3
1
true
true
false
false
false
false
low
72,775,353
Is there a way to check if loading Glide image is successful?
<p>I am using glide to inflate image. And there is a function <code>.error()</code> that allows to inflate some image in case of error. But is there a way to catch the exception when <code>.load(&quot;url&quot;)</code> been called? Because instead of inflating default icon I want to call some other function</p> <pre><c...
I am using glide to inflate image. And there is a function .error() that allows to inflate some image in case of error. But is there a way to catch the exception when .load(&quot;url&quot;) been called? Because instead of inflating default icon I want to call some other function [CODE]
android|android-glide
1
2022-06-27T16:21:52.963Z
2,022
6
16
0
45
0
286
61
2
1
true
true
false
false
false
false
low
72,775,407
How to fix Android Studio emulator failing to launch?
<p>TLDR - Android Studio will not load the emulator and says the cloud operation was unsuccessful along with this error message:</p> <pre><code>&gt; Task :app:processDebugResources FAILED Execution failed for task ':app:processDebugResources'. &gt; Failed to create MD5 hash for file content. </code></pre> <p>Android st...
TLDR - Android Studio will not load the emulator and says the cloud operation was unsuccessful along with this error message: [CODE] Android studio version: [CODE] To start, I clicked run to start the Pixel 5 API 26 emulator and run my application, and my computer blue screened with the error KMOD_EXCEPTION_NOT_HANDLED...
android|android-studio|gradle|android-emulator|build.gradle
0
2022-06-27T16:26:13.390Z
2,022
6
16
0
116
1
1,018
53
5
3
true
false
false
false
false
false
zero
72,775,479
ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
<p>Im trying to make an app that can video call using WebRTC. but the videocall WebView from webrtc didnt appear.</p> <p>this is how i set up the webview</p> <pre><code> fun setupWebView() { binding!!.webView.setWebChromeClient(object : WebChromeClient() { override fun onPermissionRequest(request: Permissio...
Im trying to make an app that can video call using WebRTC. but the videocall WebView from webrtc didnt appear. this is how i set up the webview [CODE] and this is how load the videocall from the webview [CODE] and this is the error that i got from the log [CODE]
android|webview|webrtc
0
2022-06-27T16:32:23.653Z
2,022
6
16
0
162
0
262
75
3
3
true
true
false
false
false
false
zero
72,775,564
Android: when is putExtra() and getExtra() used?
<p>The internet gave lots of example of HOW we can use putextra and getextra. However, I wish to ask: when is putextra / getextra being used and are there any best practices I should know. If there's a list that I'm not aware of, please be kind to point it out. Please don't give me the syntax as I already succeeded cr...
The internet gave lots of example of HOW we can use putextra and getextra. However, I wish to ask: when is putextra / getextra being used and are there any best practices I should know. If there's a list that I'm not aware of, please be kind to point it out. Please don't give me the syntax as I already succeeded creati...
android|android-activity|pass-data
0
2022-06-27T16:38:34.460Z
2,022
6
16
0
39
0
386
48
3
0
false
true
false
false
false
false
zero
72,775,643
UsbDeviceConnection.requestWait() Issue - External Device Won't Reconnect
<p>Some background: I have been trying to refactor this Android app's Usb system. Initially, in order to transfer data between endpoints, they used the UsbDeviceConnection.bulkTransfer() method. I refactored it to use the UsbRequest.initialize(), UsbRequest.queue(), and then UsbDeviceConnection.requestWait() methods. W...
Some background: I have been trying to refactor this Android app's Usb system. Initially, in order to transfer data between endpoints, they used the UsbDeviceConnection.bulkTransfer() method. I refactored it to use the UsbRequest.initialize(), UsbRequest.queue(), and then UsbDeviceConnection.requestWait() methods. When...
android|android-asynctask|usb|usb-debugging|android-usb
0
2022-06-27T16:45:42.870Z
2,022
6
16
0
34
0
804
73
5
2
true
true
false
false
false
false
zero
72,775,937
Flutter - No signature of method: build_ajdeszrvira2c4ut4defndizu.android() is applicable
<p>my app work good on the emulator but now nothing, i have no idea what happend - need help please</p> <p>&quot; Launching lib\main.dart on M2004J19C in debug mode... Running Gradle task 'assembleDebug'...</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li><p>Where: Build file 'C:\Users\comG1\Desktop\App002\...
my app work good on the emulator but now nothing, i have no idea what happend - need help please &quot; Launching lib\main.dart on M2004J19C in debug mode... Running Gradle task 'assembleDebug'... FAILURE: Build failed with an exception. Where: Build file 'C:\Users\comG1\Desktop\App002\sinai_app\android\app\build.gradl...
android|flutter|dart|gradle|build.gradle
0
2022-06-27T17:10:57.937Z
2,022
6
17
0
18
0
889
89
5
0
false
true
false
false
false
false
zero
72,776,028
React Native ScrollView Touchable Area is Smaller than the scrollview container
<p>My react-native scrollview container is only touchable in about the top 30% of it. Normally in a scroll view you can scroll from anywhere in the entire ScrollView container but mine only recognizes scrolling touches at the top.</p> <p>I created a scrollview in react-native that renders a list of pressable text conta...
My react-native scrollview container is only touchable in about the top 30% of it. Normally in a scroll view you can scroll from anywhere in the entire ScrollView container but mine only recognizes scrolling touches at the top. I created a scrollview in react-native that renders a list of pressable text containers insi...
javascript|android|reactjs|react-native|scrollview
0
2022-06-27T17:17:13.747Z
2,022
6
17
0
23
0
659
79
5
2
true
true
false
false
false
false
zero
72,776,030
Designing custom layout in compose
<p>I'm trying to create the layout below using compose. I've been looking for similar designs, but I'm not sure if some things has become deprecated or something; since some things do not function. Anyone has any idea how to create something similar as in the image or why my code is not displaying as in the image?</p> ...
I'm trying to create the layout below using compose. I've been looking for similar designs, but I'm not sure if some things has become deprecated or something; since some things do not function. Anyone has any idea how to create something similar as in the image or why my code is not displaying as in the image? My Code...
android|kotlin|android-jetpack-compose
0
2022-06-27T17:17:18.683Z
2,022
6
17
0
80
1
345
34
3
1
true
false
false
false
false
false
zero
72,776,143
How to show image from an external database (kotlin)
<p>Hello guys I want to make app with an External Database, I made my Database with SQLite browser, Put my image to drawable, I need to show image and text but it just shows text I mean it works (Image does not show also this is not any error log about it ) For more guidance I have some code in Adapter also I put gitla...
Hello guys I want to make app with an External Database, I made my Database with SQLite browser, Put my image to drawable, I need to show image and text but it just shows text I mean it works (Image does not show also this is not any error log about it ) For more guidance I have some code in Adapter also I put gitlab l...
android|sqlite|kotlin|android-external-storage
0
2022-06-27T17:26:18.880Z
2,022
6
17
0
85
1
496
52
4
6
true
false
false
false
false
false
zero
72,776,343
How to set Query in FirebaseRecyclerOptions for showing child keys?
<p><a href="https://i.stack.imgur.com/fs8Zf.png" rel="nofollow noreferrer">enter image description here</a></p> <p>This is my data structure...</p> <p>I want to show all assignment names (Assignment No 1, Assignment No 2, etc.) in real-time in RecycleView.</p> <pre><code> DatabaseReference dbr=FirebaseDatabase.getInsta...
enter image description here This is my data structure... I want to show all assignment names (Assignment No 1, Assignment No 2, etc.) in real-time in RecycleView. [CODE] This is my code.
java|android|firebase-realtime-database
0
2022-06-27T17:45:40.557Z
2,022
6
17
0
25
0
187
67
3
1
true
true
false
false
false
false
zero
72,776,721
I have run error at on Create on Android studio
<p>I get a massage says &quot;app is keep stopping&quot; when I run the project on my mobile. the error at on Create(MainActivity.java:16) at the line 16 set Content View method help me</p>
I get a massage says &quot;app is keep stopping&quot; when I run the project on my mobile. the error at on Create(MainActivity.java:16) at the line 16 set Content View method help me
java|android|android-studio
-3
2022-06-27T18:17:37.057Z
2,022
6
18
0
35
1
182
47
3
0
false
false
false
false
false
true
negative
72,776,843
Android databinding a resource into a include tag
<p>I am having some issues with data binding a @string/title into a include tag.</p> <p>relevant include xml</p> <pre><code>&lt;layout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quot;http://schemas.android.c...
I am having some issues with data binding a @string/title into a include tag. relevant include xml [CODE] As you can see I have a variable called titleText and I am basically just trying to set a textview using it. Here is the parent XML that is not working for this titleText [CODE] I am not sure why it can't link the ...
android|android-layout|android-databinding
0
2022-06-27T18:31:22.713Z
2,022
6
18
0
15
0
348
49
3
2
true
true
false
false
false
false
zero
72,777,095
Android studio, pass assets file path to another method
<p>I am making an app which use the following java line:</p> <pre><code>Net dnnNet = Dnn.readNetFromONNX(&quot;path\to\file&quot;); </code></pre> <p>As you can see, readNetFromONNX requires path to onnx file. So I put my onnx file under assest folder, so I can use it at run time. The problem is I you can only read asse...
I am making an app which use the following java line: [CODE] As you can see, readNetFromONNX requires path to onnx file. So I put my onnx file under assest folder, so I can use it at run time. The problem is I you can only read assets foler with AssestManager and inputstream... the readNetFromONNX needs path... How do ...
android|android-studio
0
2022-06-27T18:54:34.650Z
2,022
6
18
0
25
0
440
55
2
1
true
true
false
false
false
false
zero
72,777,165
Bundle Files with Compose for Desktop
<p>I am an Android developer, I have experience with Jetpack Compose. Now I am trying to build desktop apps, so I found this <strong>Compose for Desktop</strong> project. I want to store a <code>JSON</code> file with my desktop app so that I can read the file from my desktop app and show it to users.</p> <p>In Android,...
I am an Android developer, I have experience with Jetpack Compose. Now I am trying to build desktop apps, so I found this Compose for Desktop project. I want to store a JSON file with my desktop app so that I can read the file from my desktop app and show it to users. In Android, I could use the raw or assets folders, ...
kotlin|android-jetpack-compose|compose-desktop|compose-multiplatform
3
2022-06-27T19:02:26.983Z
2,022
6
19
0
110
1
586
37
4
0
false
false
false
false
false
false
low
72,777,192
How can I change the button radius in Material Design 3?
<p><strong>Google tells me I can change the button radius as you can see in the image below but not explain how</strong></p> <p><a href="https://i.stack.imgur.com/Mkqdz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Mkqdz.png" alt="enter image description here" /></a></p> <p><strong>I want to change...
Google tells me I can change the button radius as you can see in the image below but not explain how I want to change from rounded full (7) to rounded small (3) as you can see in the image below Here is the button [CODE]
android|android-layout|material-design|android-button
0
2022-06-27T19:05:47.950Z
2,022
6
19
0
38
1
220
56
4
1
true
false
false
false
false
false
zero
72,777,198
How do I align ListView items based on a condition?
<p>I am creating a chat program with Android Studio, and I am having trouble figuring out a way to show a list of messages that are left aligned for incoming messages and right aligned for outgoing messages. Right now, they are all left aligned.</p> <p>What is the simplest way to left and right align text based on if t...
I am creating a chat program with Android Studio, and I am having trouble figuring out a way to show a list of messages that are left aligned for incoming messages and right aligned for outgoing messages. Right now, they are all left aligned. What is the simplest way to left and right align text based on if the user id...
android|android-studio|android-layout|listview|android-listview
0
2022-06-27T19:06:35.787Z
2,022
6
19
0
38
1
430
51
5
0
false
false
false
false
false
false
zero
72,777,243
Android status bar color does not change from white
<p>On my app, most of the app has a backgroundColor set to white, so, I want to set my statusbar to black, according to the documentation this should work:</p> <pre><code>&lt;StatusBar barStyle={'dark-content'} translucent={true} /&gt; </code></pre> <p>but as you can see in the image: <a href="https://i.stack.imgur.com...
On my app, most of the app has a backgroundColor set to white, so, I want to set my statusbar to black, according to the documentation this should work: [CODE] but as you can see in the image: now if I just put a green background to check the statusbar I get this: What can I do to solve this issue?
android|react-native|statusbar
0
2022-06-27T19:10:03.393Z
2,022
6
19
0
218
1
299
51
3
1
true
false
false
false
false
false
zero
72,777,256
pathPattern wildcard with single segment
<p>I want my app open user links that look like:</p> <pre><code>https://trakt.tv/users/&lt;username&gt; </code></pre> <p>but <strong>not</strong> sublinks of the user</p> <pre><code>https://trakt.tv/users/&lt;username&gt;/&lt;something&gt; </code></pre> <p>The pattern I'm using is <code>&lt;data android:scheme=&quot;ht...
I want my app open user links that look like: [CODE] but not sublinks of the user [CODE] The pattern I'm using is <data android:scheme=&quot;https&quot; android:host=&quot;trakt.tv&quot; android:pathPattern=&quot;/users/..*&quot; /> which is not valid in my case as it opens the sublinks. Is there a way to restrict the ...
android|intentfilter
1
2022-06-27T19:11:13.387Z
2,022
6
19
0
27
1
355
40
2
2
true
false
false
false
false
false
low
72,777,491
React Native App login with office 365 using react-native-app-auth npm package
<p>I am trying to authenticate my ios and android app with microsoft office 365 using react-native-app-auth package and not sure why it is not returning the token.</p> <p>Here is the config that I am using:</p> <pre><code>const config = { issuer: 'https://login.microsoftonline.com/{tenant-id}/v2.0', clien...
I am trying to authenticate my ios and android app with microsoft office 365 using react-native-app-auth package and not sure why it is not returning the token. Here is the config that I am using: [CODE] I have also tried with the below config [CODE] Here is the code: [CODE] I have registered the app correctly in Azure...
android|ios|reactjs|react-native|office365
0
2022-06-27T19:36:43.620Z
2,022
6
19
0
217
1
741
78
5
3
true
false
false
false
false
false
zero
72,777,545
Recyclerview is putting images from one object in multiple positions
<p>So I have found the source of the problem. Inside my Adapter for my Recyclerview I am trying to check if the imageName is null or empty, if it isn't then we can get the image from the local storage and put it into the holder's ImageView. When doing this check and only having an image in the first item in the list of...
So I have found the source of the problem. Inside my Adapter for my Recyclerview I am trying to check if the imageName is null or empty, if it isn't then we can get the image from the local storage and put it into the holder's ImageView. When doing this check and only having an image in the first item in the list of it...
android|kotlin|user-interface|android-recyclerview|carousel
1
2022-06-27T19:42:24.667Z
2,022
6
19
0
42
1
1,133
68
5
2
true
false
false
false
false
false
low
72,777,638
Why multiple marker of google map is not showing in android emulator for ionic 6 apps?
<p>I am new in ionic. Currently I am working on google map feature. I am able to draw route between source and destination and show multiple markers. It is working fine in browser but not in android emulator. My intention is to develop an app like &quot;UBER&quot;. Please help me out. I am stuck here. Below my codes ar...
I am new in ionic. Currently I am working on google map feature. I am able to draw route between source and destination and show multiple markers. It is working fine in browser but not in android emulator. My intention is to develop an app like &quot;UBER&quot;. Please help me out. I am stuck here. Below my codes are g...
android|google-maps|android-emulator|google-maps-markers|ionic6
1
2022-06-27T19:53:26.030Z
2,022
6
19
0
35
0
509
86
5
1
true
true
false
false
false
false
low
72,777,682
Cannot migrate to Android 13
<p>I'm trying to migrate my app to Android 13, but I can't manage to do so. I have the following contents in by main module gradle build file:</p> <pre><code>android { // Android Build Settings compileSdk 33 buildToolsVersion &quot;33.0.0&quot; ndkVersion &quot;25.0.8528842&quot; defaultConfig { ...
I'm trying to migrate my app to Android 13, but I can't manage to do so. I have the following contents in by main module gradle build file: [CODE] And I'm using version 7.2.1 of AGP: [CODE] Those are the steps required by Google , but when I sync the project something is completely wrong. For example, all the manifest ...
android|android-studio|gradle|android-13|android-tiramisu
2
2022-06-27T19:57:50.850Z
2,022
6
19
0
334
0
904
28
5
2
true
true
false
false
false
false
low
72,777,771
AUTOINCREMENT is only allowed on an INTEGER PRIMARY KEY in "CREATE TABLE OPERATION_TABLE
<p>I'm have problem with adding a data to data base the edit text that I insert the data from is in second activity when I press add the app goes tosecond activity and when i try again the app crush.</p> <p>HELP PLEASE!!!</p> <p>this on sql data Healper class</p> <pre><code> public void onCreate(SQLiteDatabase db) { ...
I'm have problem with adding a data to data base the edit text that I insert the data from is in second activity when I press add the app goes tosecond activity and when i try again the app crush. HELP PLEASE!!! this on sql data Healper class [CODE] this a click listener in the activate: [CODE] and this the add method ...
java|android|sqlite|android-studio
0
2022-06-27T20:07:42.263Z
2,022
6
20
0
34
0
326
88
4
3
true
true
false
false
false
false
zero
72,777,936
KMM - Unresolved reference: platform for IOS application
<p>Hellow. I have a trouble with template <strong>KMM</strong> application. It got an error after I created new KMM application - in shared IOS app module it cannot find package <strong>platform</strong>. It's on kotlin. Adroid app works well.</p> <p>Need to say, that I works on window by Android studio. I know there a...
Hellow. I have a trouble with template KMM application. It got an error after I created new KMM application - in shared IOS app module it cannot find package platform . It's on kotlin. Adroid app works well. Need to say, that I works on window by Android studio. I know there are troubles to start IOS app on window, but...
android|ios|kotlin|mobile|kmm
0
2022-06-27T20:26:14.667Z
2,022
6
20
0
88
1
522
56
5
1
true
false
false
false
false
false
zero
72,777,964
Using vector drawable as Android app icon
<p>After creating an Android Studio 'Phone and Tablet' project using Material3 for Jetpack Compose, there appears to be a superfluous amount of image files created, despite the minimum API being 30 (Android 11). Why in the <code>mipmap</code> folder has a whole bunch of raster images been generated, when for years, dev...
After creating an Android Studio 'Phone and Tablet' project using Material3 for Jetpack Compose, there appears to be a superfluous amount of image files created, despite the minimum API being 30 (Android 11). Why in the mipmap folder has a whole bunch of raster images been generated, when for years, developers have bee...
android|kotlin|android-manifest|android-jetpack-compose|android-drawable
0
2022-06-27T20:30:34.043Z
2,022
6
20
0
212
1
646
41
5
1
true
false
false
false
false
false
zero
72,778,025
I got an ID error in my XML file although it is unique
<p>My xml file was working fine until I created a new <code>TextView</code> and decided to give it an id which is <code>txtVw6</code> that gave me an error although it is unique. when I press <strong>Alter+Enter</strong> it gives me <strong>create resource id value</strong> . Can I Know what is wrong with this ID?</p> ...
My xml file was working fine until I created a new TextView and decided to give it an id which is txtVw6 that gave me an error although it is unique. when I press Alter+Enter it gives me create resource id value . Can I Know what is wrong with this ID? Edit : I've just closed android studio and reopen it again, the err...
android|xml|user-interface|textview|android-identifiers
0
2022-06-27T20:37:37.160Z
2,022
6
20
0
41
0
338
54
5
1
true
true
false
false
false
false
zero
72,778,077
Issue with calling setContentView(R.layout.activity_main) on some devices
<p>I recently encountered an issue with running my application (monitoring kid's phone location) on some Android device. It works well on the following devices: MI 5 SPlus (Android 8), Red Mi Note 3 Pro (Android 10), MI POCO X3(Android 10), Sony Xperia L (Android 4.4.2). And when I tried to run that application on Sam...
I recently encountered an issue with running my application (monitoring kid's phone location) on some Android device. It works well on the following devices: MI 5 SPlus (Android 8), Red Mi Note 3 Pro (Android 10), MI POCO X3(Android 10), Sony Xperia L (Android 4.4.2). And when I tried to run that application on Samsung...
android|android-studio|layout|appcompatactivity|setcontentview
0
2022-06-27T20:43:24.827Z
2,022
6
20
0
43
1
848
73
5
5
true
false
false
false
false
false
zero
72,778,101
Notification should stops once the condition is met
<p>The app will notify every minute if there are some data in the Array, but once the array is empty, the notification should stop but it does not. The data inside my array are derived from firebase realtime database.</p> <p>This is my code for that. it is inside <strong>addChildEventListener</strong>.</p> <p><strong>l...
The app will notify every minute if there are some data in the Array, but once the array is empty, the notification should stop but it does not. The data inside my array are derived from firebase realtime database. This is my code for that. it is inside addChildEventListener . listEth is the array. I can call the data ...
android|android-studio|firebase-realtime-database|alarmmanager
0
2022-06-27T20:44:56.310Z
2,022
6
20
0
36
1
868
51
4
7
true
false
false
false
false
false
zero
72,778,503
How to use navGraphViewModels with custom factory that accepts a parameter?
<p>Standard chat style app. Single-activity app with two fragments—one for the list of groups, another with a fragment to show the messages in the group. The two fragments are part of a nested nav graph so I can use navigation graph scope for my view models.</p> <p>The ViewModel for the messages view needs the id of th...
Standard chat style app. Single-activity app with two fragments—one for the list of groups, another with a fragment to show the messages in the group. The two fragments are part of a nested nav graph so I can use navigation graph scope for my view models. The ViewModel for the messages view needs the id of the messagin...
android|kotlin|android-fragments|android-viewmodel|android-architecture-navigation
0
2022-06-27T21:30:46.573Z
2,022
6
21
0
54
0
1,230
75
5
2
true
true
false
false
false
false
zero
72,778,564
Android: Efficient way to compress Bitmap
<p>Is there a decent way to compress a Bitmap without re-scaling it without eating too much memory that cause OOM?</p> <pre><code>Bitmap compressedImageFile; try { compressedImageFile = MediaStore.Images.Media.getBitmap(getContentResolver(), fileUri); //Converting bitmap to array stream ByteArrayOutput...
Is there a decent way to compress a Bitmap without re-scaling it without eating too much memory that cause OOM? [CODE] byteArrayOutputStream.toByteArray() is causing OOM, this can be avoid by reducing the bitmap size in a half but probably there is a more decent approach? This is where I am using it
android|bitmap|android-bitmap|image-compression
0
2022-06-27T21:38:42.340Z
2,022
6
21
0
36
0
300
41
4
1
true
true
false
false
false
false
zero
72,778,714
When will awaitWorkAvailable resume from runRecomposeAndApplyChanges in Recomposer?
<p>I saw that changes were tracked and requested invalidation through <code>Recompoer#runRecomposeAndApplyChanges</code>. This function tracks changes and requests invalidation in the while statement and remains suspended until new changes are made through <code>waitWorkAvailable()</code> in the while statement.</p> <p...
I saw that changes were tracked and requested invalidation through Recompoer#runRecomposeAndApplyChanges . This function tracks changes and requests invalidation in the while statement and remains suspended until new changes are made through waitWorkAvailable() in the while statement. awaitWorkAvailable() works with su...
android|android-jetpack-compose|internals
0
2022-06-27T21:58:17.747Z
2,022
6
21
0
76
1
1,120
83
3
0
false
false
false
false
false
false
zero
72,778,855
java.lang.RuntimeException: Canvas: trying to draw too large(131276288bytes) bitmap
<p>I'm using recycleview for a set of images and I ran into this issue when I finish logging into my app,right before the data is parsed to the main activity and I can't figure out else it can be solved other than compressing the images:</p> <pre><code> at android.view.DisplayListCanvas.throwIfCannotDraw(Display...
I'm using recycleview for a set of images and I ran into this issue when I finish logging into my app,right before the data is parsed to the main activity and I can't figure out else it can be solved other than compressing the images: [CODE]
java|image|android-studio|view|recycleview
0
2022-06-27T22:21:33.707Z
2,022
6
22
0
16
0
241
83
5
1
true
true
false
false
false
false
zero
72,778,877
Android In App Updates and Play Developer API
<p>I am looking to begin using inAppUpdates and publish an app on the Google Play store. I've read through the documentation, and found it to be lacking at best. As of now, I have the app published for Internal Testing, and I can get the app to recognize that there is an update and install it. However, it seems that I ...
I am looking to begin using inAppUpdates and publish an app on the Google Play store. I've read through the documentation, and found it to be lacking at best. As of now, I have the app published for Internal Testing, and I can get the app to recognize that there is an update and install it. However, it seems that I nee...
android|google-play-developer-api|in-app-update
0
2022-06-27T22:25:36.320Z
2,022
6
22
0
55
0
1,274
45
3
1
true
true
false
false
false
false
zero
72,778,941
Xamarin Community Toolkit CameraView video file location supplied becomes invalid IOS and Android
<p>I'm using the CameraView to capture a series of short videos. I want these videos to be viewable at a later time from within the app. I'm using the MediaCaptured event to get the path of captured videos and saving these paths in a SQLite db.</p> <p>The first problem is on iOS, the path is valid while the app is open...
I'm using the CameraView to capture a series of short videos. I want these videos to be viewable at a later time from within the app. I'm using the MediaCaptured event to get the path of captured videos and saving these paths in a SQLite db. The first problem is on iOS, the path is valid while the app is open, but if I...
xamarin|xamarin.android|xamarin.ios|filepath|camera-view
0
2022-06-27T22:35:09.720Z
2,022
6
22
0
43
0
770
97
5
1
true
true
false
false
false
false
zero
72,778,957
CardView CheckBox Empty Space
<p>I am making a very simple Android app using Kotlin that has a checkbox list. The checkbox only works when I click on the box itself or the text beside it. My question is: How do I check the boxes by clicking on the empty spaces next to the texts?</p> <p><a href="https://i.stack.imgur.com/TZrfr.png" rel="nofollow nor...
I am making a very simple Android app using Kotlin that has a checkbox list. The checkbox only works when I click on the box itself or the text beside it. My question is: How do I check the boxes by clicking on the empty spaces next to the texts? How to check boxes by clicking the empty space?
android|kotlin|checkbox|cardview
0
2022-06-27T22:38:00.590Z
2,022
6
22
0
25
1
294
29
4
0
false
false
false
false
false
false
zero
72,779,016
navController.navigate() not working in lambda function
<p>On button click I need to perform one POST request, after that open fragment with loaded from network bundle.</p> <p>Now I am testing without bundle, but <code>navigate</code> method does not work, when it is in my network handler.</p> <pre><code>fun changeFragmentToMessages() { findNavController().navigate(R.id...
On button click I need to perform one POST request, after that open fragment with loaded from network bundle. Now I am testing without bundle, but navigate method does not work, when it is in my network handler. [CODE] I can see &quot;Got login response&quot; in logcat, so the lambda is called. Also, if we move changeF...
android|android-fragments
0
2022-06-27T22:47:08.427Z
2,022
6
22
0
24
0
439
55
2
1
true
true
false
false
false
false
zero
72,779,062
How to implement a recycler view inside a viewpager2
<p>Basically, I want to add a recycler view inside a viewpager2 which will have 3 tabs that can be swiped left/right to switch tabs, and in each tab there will be present the recycler view which can be swiped vertically. But every time I try to do that either viewpager2 is working (when the height of viewpager2 is set ...
Basically, I want to add a recycler view inside a viewpager2 which will have 3 tabs that can be swiped left/right to switch tabs, and in each tab there will be present the recycler view which can be swiped vertically. But every time I try to do that either viewpager2 is working (when the height of viewpager2 is set to ...
android|xml|kotlin
0
2022-06-27T22:54:18.167Z
2,022
6
22
0
51
1
1,168
52
3
3
true
false
false
false
false
false
zero
72,779,064
Will Android PeriodicWorkRequest stop working when app is updated?
<p>If an Android app is updated automatically from Play Store, does <code>PeriodicWorkRequest</code> get canceled automatically?</p> <p>For example, if I want to clean up some temporary files every 6 hours, does it mean the clean up task will be terminated whenever the app is updated?</p> <p><a href="https://developer....
If an Android app is updated automatically from Play Store, does PeriodicWorkRequest get canceled automatically? For example, if I want to clean up some temporary files every 6 hours, does it mean the clean up task will be terminated whenever the app is updated? https://developer.android.com/reference/androidx/work/Per...
android
2
2022-06-27T22:54:45.337Z
2,022
6
22
0
26
0
336
66
1
0
false
true
false
false
false
false
low
72,779,306
Add GestureDetector to ViewPager2
<p>I have a <code>ViewPager2</code> that I can swipe left and right to show a different fragment. I want to add a <a href="https://developer.android.com/reference/android/view/GestureDetector" rel="nofollow noreferrer">GestureDetector</a> on it so I can detect other motion events as well (swipes, etc). It doesn't seem ...
I have a ViewPager2 that I can swipe left and right to show a different fragment. I want to add a GestureDetector on it so I can detect other motion events as well (swipes, etc). It doesn't seem to work together with the ViewPager2 though. Either the ViewPager2 gets the touches or the GestureDetector gets the touches (...
java|android|android-studio|kotlin
0
2022-06-27T23:38:04.817Z
2,022
6
23
0
52
0
497
33
4
1
true
true
false
false
false
false
zero
72,779,619
Unity: need help exporting FBX model from android target at runtime
<p>I have been working on a runtime FBX exporter for unity. It uses the Autodesk FBX SDK, which asks for you to have RUNTIME_FBX in the scripting define symbols of the project in order to be built and ran on a target.</p> <p>I have this defined in the the settings and it works with a desktop build. But once I switch th...
I have been working on a runtime FBX exporter for unity. It uses the Autodesk FBX SDK, which asks for you to have RUNTIME_FBX in the scripting define symbols of the project in order to be built and ran on a target. I have this defined in the the settings and it works with a desktop build. But once I switch the target t...
android|unity3d|autodesk|fbx
1
2022-06-28T00:47:54.450Z
2,022
6
0
1
55
1
638
67
4
0
false
false
false
false
false
false
low
72,779,704
Porting Android mobile application to WeChat Mini Program
<p>Are there any tools that can help me port my Android mobile application to a WeChat Mini Program? If not automated tools, is there any documentation as to best practices for manually porting my Android mobile application to a WeChat Mini Program?</p>
Are there any tools that can help me port my Android mobile application to a WeChat Mini Program? If not automated tools, is there any documentation as to best practices for manually porting my Android mobile application to a WeChat Mini Program?
android|wechat-miniprogram
0
2022-06-28T01:06:58.047Z
2,022
6
1
1
28
0
246
57
2
0
false
true
false
false
false
false
zero
72,780,154
How we can restrict Wi-Fi to access internet to any application?
<p>I want to connect with wifi after connection which does not provide internet to any application.</p> <p>How to restrict wifi internet access to any applicaton ? Any suggestions let me know please.</p>
I want to connect with wifi after connection which does not provide internet to any application. How to restrict wifi internet access to any applicaton ? Any suggestions let me know please.
android|wifi|android-source|wifimanager
-1
2022-06-28T02:35:13Z
-1
-1
-1
-1
38
1
189
64
4
0
false
false
false
false
false
true
negative
72,780,162
Can't invoke function when changing Date property in DatePicker - Xamarin.Forms
<p>I have a date picker in my view:</p> <pre><code>&lt;DatePicker MinimumDate=&quot;{Binding Today}&quot; Date=&quot;{Binding SelectedDate, Mode=TwoWay}&quot;/&gt; </code></pre> <p>And in my viewModel class i have these two properties:</p> <pre><code>private DateTime selectedDate; public DateTime SelectedDate {...
I have a date picker in my view: [CODE] And in my viewModel class i have these two properties: [CODE] I want to execute a function when my SelectedDate changes (when the user chooses the date) but i get this error: However, i can execute the same function when its only in the &quot;Today&quot; property (i did that for ...
c#|android|xaml|xamarin.forms
0
2022-06-28T02:36:15.590Z
2,022
6
2
1
61
2
367
79
4
2
true
false
false
false
false
false
zero
72,780,231
Dart Wrapping Options are gone from Flutter Outline
<p><a href="https://i.stack.imgur.com/Ft4KM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ft4KM.png" alt="enter image description here" /></a></p> <p>I have tried restarting and clearing caches through Invalidate caches and Quick assist for Dart is also turned on.</p> <p>The odd thing is that my ot...
I have tried restarting and clearing caches through Invalidate caches and Quick assist for Dart is also turned on. The odd thing is that my other project shows and works fine. I have tried created a new project once, and then it happens again.
flutter|android-studio|dart
0
2022-06-28T02:49:32.950Z
2,022
6
2
1
22
0
243
51
3
0
false
true
false
false
false
false
zero
72,780,242
Shared preference : Value not updated in the real time or immediately
<p>I am trying to implement a feature where the user provides input on one screen and the data is stored locally (Shared Preferences) and as soon as the user gets back to another screen or pops back, the data should be updated to that screen immediately from the previous screen. Currently what is happening is, the data...
I am trying to implement a feature where the user provides input on one screen and the data is stored locally (Shared Preferences) and as soon as the user gets back to another screen or pops back, the data should be updated to that screen immediately from the previous screen. Currently what is happening is, the data is...
flutter|android-studio|dart|sharedpreferences
1
2022-06-28T02:52:03.397Z
2,022
6
2
1
49
1
406
69
4
1
true
false
false
false
false
false
low
72,780,404
How to access a module into another module of Android
<p>I'm having few different variants and for each variant I'm having different module into my project but now I got a new requirement where I'll have to use an existing module in a new build variant. It means if any changes happen in code of <code>variant1</code> the changes should be reflected in the apps of <code>var...
I'm having few different variants and for each variant I'm having different module into my project but now I got a new requirement where I'll have to use an existing module in a new build variant. It means if any changes happen in code of variant1 the changes should be reflected in the apps of variant1 and variant3 . H...
android|variant|android-module
1
2022-06-28T03:22:55.700Z
2,022
6
3
1
28
0
688
53
3
0
false
true
false
false
false
false
low
72,780,573
What is "androidx.lifecycle.BundlableSavedStateRegistry.key" in this bundle?
<p>I'm using <code>toolargetool</code> to investigate why the app is crashing from <code>TransactionTooLargeException</code>.</p> <p>I'm seeing there's this key <code>androidx.lifecycle.BundlableSavedStateRegistry.key</code> which can be around 400 KB when I put the app into the background.</p> <p>What is this key and ...
I'm using toolargetool to investigate why the app is crashing from TransactionTooLargeException . I'm seeing there's this key androidx.lifecycle.BundlableSavedStateRegistry.key which can be around 400 KB when I put the app into the background. What is this key and where is it coming from? How can I reduce the size of t...
android|kotlin|androidx|android-bundle|onsaveinstancestate
1
2022-06-28T03:53:28.643Z
2,022
6
3
1
190
0
338
76
5
0
false
true
false
false
false
false
low
72,780,660
How to convert a jsonobject into a jsonarray and also change all keys with all custom same keys in Java and Android
<h2>Code:</h2> <pre><code>Map&lt;String, Integer&gt; map = new LinkedHashMap&lt;&gt;(); for (int j = 0; j &lt; jsonArray.length(); j++) { JSONObject list = jsonArray.getJSONObject(j); String key = list.getString(&quot;symbol&quot;) + list.getString(&quot;groupname&quot;); if (!map.containsKey(key)) { ...
Code: [CODE] Output: [CODE] ^^ this is an jsonobject I have got by using linkedhashmap. So, now my problem is I want to convert it into jsonArray format to set in the model (recyclerview). I have also tried by iterating, but I am getting the same values in each single row. Not only this, but also I want to change all j...
java|arrays|json|android-studio|android-recyclerview
0
2022-06-28T04:11:51.193Z
2,022
6
4
1
88
1
439
115
5
3
true
false
false
false
false
false
zero
72,780,718
Math in development(((
<p>Sup, guys! I have a task to calculate coordinates of continuation line between points A &amp; B. I have a code each calculate distance between these points, and I have tangent of angle for calculating next points D and F. Thanks for any help <a href="https://i.stack.imgur.com/cGyU0.png" rel="nofollow noreferrer"><im...
Sup, guys! I have a task to calculate coordinates of continuation line between points A & B. I have a code each calculate distance between these points, and I have tangent of angle for calculating next points D and F. Thanks for any help [CODE]
android|kotlin|math|geometry|location
-1
2022-06-28T04:21:51.510Z
2,022
6
4
1
60
1
244
22
5
1
true
false
false
false
false
true
negative