id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
73,091,743
Wait for first Flow emit and update second Flow whenever there is a change on first one
<p>I implemented an API call and I would like to allow the user to choose the sort order, keeping the choice saved in <code>Datastore Preferences</code>. <br /> But I couldn't implement this idea, since both are returning a <code>Flow</code>, I don't know how to make one Flow wait for the other, and whenever the first ...
I implemented an API call and I would like to allow the user to choose the sort order, keeping the choice saved in Datastore Preferences . But I couldn't implement this idea, since both are returning a Flow , I don't know how to make one Flow wait for the other, and whenever the first one emits a new value, update the ...
android|kotlin|kotlin-coroutines
1
2022-07-23T14:59:19.663Z
2,022
7
14
5
111
1
402
87
3
3
true
false
false
false
false
false
low
73,091,802
input type="date" doesn't work with android browser
<p>Input type=&quot;date&quot; doesn't work with with android browser but work on chrome inspector with mobile device simulator for all android mobile . <a href="https://i.stack.imgur.com/etJGx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/etJGx.png" alt="Input type=&quot;date&quot; on simulator ...
Input type=&quot;date&quot; doesn't work with with android browser but work on chrome inspector with mobile device simulator for all android mobile . It is impossible to modify the year directly, I must click previous month until the year to target . . The previous and after bouton modify the month. When I click on yea...
android|date|input
0
2022-07-23T15:07:25.337Z
2,022
7
15
5
36
0
488
51
3
0
false
true
false
false
false
false
zero
73,091,980
When i install my flutter app on Android devices, the onBackgroundMessage() doesn't work. Someone knows how to solve?
<p>I'm using onBackgroundMessage() and FirebaseMessaging.onMessage.listen() to receive notifications both in Background and Foreground mode, but i only get the notifications in Foreground. Here's a snippet of my app.dart:</p> <p><code>import 'package:souhi/services/firebase_messaging.service.dart';</code></p> <p><code>...
I'm using onBackgroundMessage() and FirebaseMessaging.onMessage.listen() to receive notifications both in Background and Foreground mode, but i only get the notifications in Foreground. Here's a snippet of my app.dart: import 'package:souhi/services/firebase_messaging.service.dart'; import 'package:souhi/services/notif...
android|flutter|push-notification|firebase-cloud-messaging
1
2022-07-23T15:30:19.050Z
2,022
7
15
5
34
0
932
117
4
7
true
true
false
false
false
false
low
73,092,074
What context should I pass to the AdapterItem from InformationFragment?
<p><strong>AdapterItem</strong></p> <p>class AdapterItem(val context: Context, val userList: List): RecyclerView.Adapter&lt;AdapterItem.ViewHolder&gt;() {</p> <pre><code>class ViewHolder(itemView:View):RecyclerView.ViewHolder(itemView){ </code></pre> <p>var numeLista: TextView var caloriiLista: TextView</p> <pre><code>...
AdapterItem class AdapterItem(val context: Context, val userList: List): RecyclerView.Adapter<AdapterItem.ViewHolder>() { [CODE] var numeLista: TextView var caloriiLista: TextView [CODE] } InformationFragment: const val BASE_URL= &quot;https://raw.githubusercontent.com/terrenjpeterson/caloriecounter/master/src/data/&qu...
android|kotlin
1
2022-07-23T15:42:53.520Z
2,022
7
15
5
69
4
373
71
2
3
true
false
false
false
false
false
low
73,092,123
How to get default Carrier APN on android devices
<p>A few years back I was able to get default APN using the Core Telephony API mentioned in Android developers guide. Now I am not able to get the APN. I see a new documentation, APN Settings, but I am not able to get the carrier APN using the getAPN method in APN Setting. Is there anyway to get the carrier APN?</p...
A few years back I was able to get default APN using the Core Telephony API mentioned in Android developers guide. Now I am not able to get the APN. I see a new documentation, APN Settings, but I am not able to get the carrier APN using the getAPN method in APN Setting. Is there anyway to get the carrier APN? Appreciat...
android|apn
0
2022-07-23T15:50:46.457Z
2,022
7
15
5
13
0
336
49
2
0
false
true
false
false
false
false
zero
73,092,146
NoClassDefFoundError for androidx.test.espresso.IdlingResource in release build only
<p>I've been able to implement the IdlingResource in my espresso tests, but it fails to run on a release build. Runs just fine on debug build or without IdlingResource, but I really need IdlingResource to manage the timing issues in espresso tests. I'd much rather submit release builds to Firebase Test Lab as I've do...
I've been able to implement the IdlingResource in my espresso tests, but it fails to run on a release build. Runs just fine on debug build or without IdlingResource, but I really need IdlingResource to manage the timing issues in espresso tests. I'd much rather submit release builds to Firebase Test Lab as I've done in...
java|android-espresso|release
0
2022-07-23T15:54:23.783Z
2,022
7
15
5
102
0
804
84
3
4
true
true
false
false
false
false
zero
73,092,205
A failure occurred while executing com.android.build.gradle.internal.transforms.ShrinkAppBundleResourcesAction
<p>I am trying to create an appbundle for my Flutter app. It's been working nice until now, but for some reason it's giving an error now. I just went to the project's folder and ran <code>flutter clean</code> and then <code>flutter build appbundle</code>. Nonetheless, it gave the following error:</p> <pre><code>Runnin...
I am trying to create an appbundle for my Flutter app. It's been working nice until now, but for some reason it's giving an error now. I just went to the project's folder and ran flutter clean and then flutter build appbundle . Nonetheless, it gave the following error: [CODE]
java|android|flutter|gradle|build.gradle
1
2022-07-23T16:00:06.767Z
2,022
7
16
5
56
1
276
110
5
1
true
false
false
false
false
false
low
73,092,446
How can use ActivityResultLauncher without import androidx
<p>right I'm trying to import to my project:</p> <pre><code>import androidx.activity.result.ActivityResultLauncher; </code></pre> <p>and I tried to implement:</p> <pre><code>private ActivityResultLauncher&lt;Intent&gt; intentActivityResultLauncher; </code></pre> <p>but I think I'm getting an error because is a legacy p...
right I'm trying to import to my project: [CODE] and I tried to implement: [CODE] but I think I'm getting an error because is a legacy project maybe any idea how can I implement without import with androidx
java|android-studio|androidx
0
2022-07-23T16:33:50.597Z
2,022
7
16
5
27
0
206
58
3
2
true
true
false
false
false
false
zero
73,092,455
How to fix two API requests with flow coroutines
<p>I have problems to execute two flows with efficient way. Sometimes I have to trigger this method(click on button) twice to have different result it seems that sometimes flow is not triggered well. What could be problem here? My result I would like to achieve. CLick on button -&gt; 1 flow triggered with success resul...
I have problems to execute two flows with efficient way. Sometimes I have to trigger this method(click on button) twice to have different result it seems that sometimes flow is not triggered well. What could be problem here? My result I would like to achieve. CLick on button -> 1 flow triggered with success result -> (...
android|kotlin|kotlin-coroutines|kotlin-flow
0
2022-07-23T16:35:01.970Z
2,022
7
16
5
53
0
459
48
4
4
true
true
false
false
false
false
zero
73,092,489
Automatically indent align enum parameters in columns (table-like) in IntelliJ
<p>Say I have an enum like this:</p> <pre><code>public enum TestEnum { TEST1(5, 6, 18, 9, 3), TEST2(10, 21, 4, 5, 34), TEST3(4, 5, 8, 2, 16), TEST4(3, 1, 92, 67, 22); TestEnum(int i1, int i2, int i3, int i4, int i5) { } } </code></pre> <p>How can I automatically (or by clicking <code>Ctrl</code...
Say I have an enum like this: [CODE] How can I automatically (or by clicking Ctrl + Alt + L ) format the enum like this: [CODE] It should optimally use tabs, so that the columns start at indexes divisible by 4 (0, 4, 8, 12 ...) I tried these workarounds: Formatting myself using @formatter:off , which is a lot of work d...
java|android-studio|kotlin|intellij-idea|indentation
5
2022-07-23T16:39:16.377Z
2,022
7
16
5
128
0
1,377
78
5
2
true
true
false
false
false
false
low
73,092,717
Icon color is not changing even after changing the fill color in xml file
<p><a href="https://i.stack.imgur.com/M4AY6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M4AY6.png" alt="enter image description here" /></a></p> <p>This is the code of like icon svg and I have changed the color to pink from black, but when I try to display the icon using compose it's appearing as...
This is the code of like icon svg and I have changed the color to pink from black, but when I try to display the icon using compose it's appearing as black only as u can see down The compose code is [CODE]
android|android-jetpack-compose|android-jetpack|android-jetpack-compose-text
0
2022-07-23T17:07:12.267Z
2,022
7
17
5
54
1
205
73
4
1
true
false
false
false
false
false
zero
73,092,744
Disable ads after in-app product purchase with in-app billing 5
<p>I have set up in-app billing 5 in my application which is mainly about disabling Admob ads after the user makes a purchases , after the user pays for the in-app product , I would like to know what are the possible ways to disable ads after the purchase is made , I have thought about using product flavors but not sur...
I have set up in-app billing 5 in my application which is mainly about disabling Admob ads after the user makes a purchases , after the user pays for the in-app product , I would like to know what are the possible ways to disable ads after the purchase is made , I have thought about using product flavors but not sure i...
android|kotlin|in-app-purchase|in-app-billing
0
2022-07-23T17:11:14.913Z
2,022
7
17
5
66
0
585
63
4
0
false
true
false
false
false
false
zero
73,092,850
How to get File object from assets?
<p>I have a markdown file in my assets folder. I am using a markdown viewer which takes <code>java.io.File</code> Object as an argument to parse the file on screen.</p> <p>But i don't know how to get a File Object from a file in assets folder. Is there a way i can achieve this. I tried URI way but it failed.</p> <p>Thi...
I have a markdown file in my assets folder. I am using a markdown viewer which takes java.io.File Object as an argument to parse the file on screen. But i don't know how to get a File Object from a file in assets folder. Is there a way i can achieve this. I tried URI way but it failed. This is my code snippet which may...
android|kotlin
1
2022-07-23T17:26:43.317Z
2,022
7
17
5
25
1
425
35
2
1
true
false
false
false
false
false
low
73,092,878
How to have multiple custom themes in jetpack compose?
<p>My current code is as follows:</p> <pre><code> @Composable fun AppTheme(darkTheme: Boolean = false, content: @Composable() () -&gt; Unit) { val colors = if (darkTheme) DarkThemeColors else LightThemeColors MaterialTheme( colors = colors, typography = MaterialTheme.typography, ...
My current code is as follows: [CODE] which im calling in main activity like that: [CODE] toggle light theme is basically this: isDark.value = !isDark.value and then im calling onClick in another screen like that: [CODE] this accomplishes the dark and light theme, now what if I wanted to have more themes, so something ...
android|kotlin|themes|android-jetpack-compose|android-jetpack
2
2022-07-23T17:29:34.113Z
2,022
7
17
5
126
0
534
54
5
4
true
true
false
false
false
false
low
73,092,933
Bad state: Stream has already been listened to. : Error when using WebSocket with Stream builder
<p><strong>I am using a web socket to get the response. I create a stream using it and assign it to the StreamBuilder stream property (refer code below) for getting data snapshots.</strong></p> <p>Problem:<br /> <em>When I &quot;re-navigate&quot; to the screen which is using this Stream Builder, I get a red screen with...
I am using a web socket to get the response. I create a stream using it and assign it to the StreamBuilder stream property (refer code below) for getting data snapshots. Problem: When I &quot;re-navigate&quot; to the screen which is using this Stream Builder, I get a red screen with an error- Bad state: Stream has alre...
android|json|websocket|navigation|flutter-streambuilder
1
2022-07-23T17:35:36.860Z
2,022
7
17
5
33
0
496
96
5
1
true
true
false
false
false
false
low
73,092,995
click gesture detection on part of edittext android
<p>I am working on a text editor for a programming language, it has two parts, the line number box (2) and the code box (1) like in the figure below</p> <pre><code>.................. . . . . . . . 2. 1 . . . . . . . . . . .................. </co...
I am working on a text editor for a programming language, it has two parts, the line number box (2) and the code box (1) like in the figure below [CODE] If the user clicks in the line number box (2), I need to execute some code, here I just show a toast with the message 'Click' but ignoure the default behavior of edit ...
android|android-edittext|gesture
0
2022-07-23T17:46:06.277Z
2,022
7
17
5
15
0
569
51
3
2
true
true
false
false
false
false
zero
73,093,004
How do I allow only one specific fragment to have both portrait and landscape orientations in Android?
<p>In my Android application, I have added <code>android:screenOrientation=&quot;portrait&quot;</code> to all activities in my <code>Android.manifest</code> and <code>android:orientation=&quot;vertical&quot;</code> to every activity's/fragment's respective layout so that the app can only be viewed in portrait mode.</p>...
In my Android application, I have added android:screenOrientation=&quot;portrait&quot; to all activities in my Android.manifest and android:orientation=&quot;vertical&quot; to every activity's/fragment's respective layout so that the app can only be viewed in portrait mode. However, there is one fragment in particular ...
android|kotlin|android-fragments|android-dialogfragment|android-orientation
0
2022-07-23T17:47:24.417Z
2,022
7
17
5
55
1
733
102
5
0
false
false
false
false
false
false
zero
73,093,081
onClick of LazyColumn doesn't be executed
<p>I am trying to set onClick() in IconButton like this</p> <pre><code>IconButton(onClick = { navController?.navigate(NavigationScreen.Search.route) }) { Icon( painter = painterResource(id = R.drawable.hamburger_setting), ...
I am trying to set onClick() in IconButton like this [CODE] I call the TweetContentCardRecyclerView() funtion in Home(). For that reason, onClick() where i set in IconButton is not working. Can i set onClick() in another way in TweetContentCard() so that it can work or I have to set onClick() in TweetContentCardRecycle...
android|kotlin|android-recyclerview|android-jetpack-compose
0
2022-07-23T18:00:20.167Z
2,022
7
18
5
44
1
362
41
4
2
true
false
false
false
false
false
zero
73,093,086
Problem using react-native-track-player with a custom dev client
<p>I get this error when I try to use react-native-track-player in expo</p> <p>TypeError: null is not an object (evaluating ‘TrackPlayer.RATING_HEART’)</p> <p>Invariant Violation: “main” has not been registered. This can happen if: *** Metro (the local dev server) is run from the wrong folder. Check if Metro is running...
I get this error when I try to use react-native-track-player in expo TypeError: null is not an object (evaluating ‘TrackPlayer.RATING_HEART’) Invariant Violation: “main” has not been registered. This can happen if: *** Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and res...
android|react-native|notifications|expo|avaudioplayer
0
2022-07-23T18:00:54.783Z
2,022
7
18
5
93
0
523
64
5
0
false
true
false
false
false
false
zero
73,093,156
Replace baseContext in Fragment
<p>I have a little problem with <em>baseContext</em> in Fragment, in a nutshell, I'm making an application with Retrofit and RecyclerView, and for practice I decided to make them in Fragment,I took this code from MainActivity and then I ran into a problem that I don't know how to replace baseContext in override fun onR...
I have a little problem with baseContext in Fragment, in a nutshell, I'm making an application with Retrofit and RecyclerView, and for practice I decided to make them in Fragment,I took this code from MainActivity and then I ran into a problem that I don't know how to replace baseContext in override fun onResponse, I j...
kotlin|android-fragments|android-recyclerview|retrofit2
0
2022-07-23T18:11:51.190Z
2,022
7
18
5
33
0
381
31
4
1
true
true
false
false
false
false
zero
73,093,175
What is wrong with my code. I am unable to draw on the screen
<p>I have checked my code several times and don't know where is it going wrong. i am trying to build a drawing app and after doing all this code I am unable to get any output. <strong>Not able to draw on the canvas</strong>.<br/></p> <p>please help me get rid of this issue.</p> <p>This is my DrawingView.kt</p> <pre><co...
I have checked my code several times and don't know where is it going wrong. i am trying to build a drawing app and after doing all this code I am unable to get any output. Not able to draw on the canvas . please help me get rid of this issue. This is my DrawingView.kt [CODE] This is my activity_main.xml file [CODE] An...
android|kotlin|paint
0
2022-07-23T18:14:46.647Z
2,022
7
18
5
30
1
360
61
3
3
true
false
false
false
false
false
zero
73,093,179
How can I use dynamic colors in SplashScreen api an android 12?
<p>I'm trying to make the background of an android 12 splash screen use @android:color/system_neutral1_900 as the background, but as I can see, the color loads only after the splash screen. Is there any way to use it on the splash screen?</p> <pre class="lang-xml prettyprint-override"><code>&lt;style name=&quot;Theme.A...
I'm trying to make the background of an android 12 splash screen use @android:color/system_neutral1_900 as the background, but as I can see, the color loads only after the splash screen. Is there any way to use it on the splash screen? [CODE] The color does not appear and it uses the default grey. I also tried with oth...
android|android-12|android-splashscreen|android-api-31
1
2022-07-23T18:15:09.637Z
2,022
7
18
5
120
1
415
63
4
1
true
false
false
false
false
false
low
73,093,235
My TextView string is long. When the user read some text and exit, he can continue reading from there after re-enter. How to do it?
<p>I set a long string in textView. When the user reads some text and exits, he can continue reading from there.</p> <p>I need java code for android studio.</p>
I set a long string in textView. When the user reads some text and exits, he can continue reading from there. I need java code for android studio.
java|string|android-studio|textview
0
2022-07-23T18:24:25.043Z
2,022
7
18
5
24
0
146
131
4
0
false
true
false
false
false
false
zero
73,093,359
Basically I'm Creating a Anime Streaming App on Android Studio with Kotlin & XML and every time running it on AVD gives me nothing but crashes
<p><a href="https://i.stack.imgur.com/3pLpW.png" rel="nofollow noreferrer">Heres HTTP Status-503 Exception Error on RUN Tab</a></p> <p><a href="https://i.stack.imgur.com/cNLYU.png" rel="nofollow noreferrer">Heres the MainActivity.kt code where I think error is occuring</a></p> <p><a href="https://i.stack.imgur.com/B6Xc...
Heres HTTP Status-503 Exception Error on RUN Tab Heres the MainActivity.kt code where I think error is occuring Heres MainActivity.kt End part
android-studio
0
2022-07-23T18:45:55.140Z
2,022
7
18
5
17
0
142
142
1
0
false
true
false
false
false
false
zero
73,093,408
Blank response in PHP using FCM for push notification to mobile app. Local it is working fine, on Centos server it is returning blank response
<p>getting blank response on Centos server and local it is working fine. I tried to disable the firewall on centos also and try again but still getting blank response.</p> <pre><code>$api_key = 'api_key'; $fields = array ( 'registration_ids' =&gt; array ( $device_id ), 'data' =&gt; array ( &quot;message&quot; =&gt; $me...
getting blank response on Centos server and local it is working fine. I tried to disable the firewall on centos also and try again but still getting blank response. [CODE]
php|android|centos|firebase-cloud-messaging
0
2022-07-23T18:52:48.400Z
2,022
7
18
5
31
1
171
142
4
1
true
false
false
false
false
false
zero
73,093,456
kotlin coroutines trying to build recipes app based on recipessdb with kotlin +coroutines and mvvm but i have an error that i don't know
<p><code>here is my api sevice</code></p> <pre><code> interface GetDataServices { @GET(&quot;categories.php&quot;) suspend fun getCategoryList(): Category </code></pre> <p><code>here is my Repositor</code></p> <pre><code>class Repository( var getDataService : GetDataServices ?=null, var dao: Rec...
here is my api sevice [CODE] here is my Repositor [CODE] here is my ViewModel [CODE] here is my activity [CODE] here isُError [CODE] here isُ another Error [CODE] here is my dependincies def lifecycle_version = &quot;2.5.0-alpha01&quot; def arch_version = &quot;2.1.0&quot; implementation(&quot;androidx.lifecycle:lifecy...
android|kotlin|mvvm|retrofit|kotlin-coroutines
0
2022-07-23T19:00:11.620Z
2,022
7
19
5
64
2
600
136
5
7
true
false
false
false
false
false
zero
73,093,547
Jetpack Compose Navigation destination that matches request NavDeepLinkRequest
<p>Hello everyone Jetpack Compose Navigation system is pain in my back. Sorry for bad language but i am working for this an hour but still can figure it how. I have list of items which came from firebase- firestore and i want to do action that if user clicks on card it will open a new page with items come from lazy gri...
Hello everyone Jetpack Compose Navigation system is pain in my back. Sorry for bad language but i am working for this an hour but still can figure it how. I have list of items which came from firebase- firestore and i want to do action that if user clicks on card it will open a new page with items come from lazy grid. ...
firebase|android-studio|android-jetpack-compose|dagger-hilt|android-jetpack-navigation
0
2022-07-23T19:11:48.727Z
2,022
7
19
5
156
0
506
78
5
1
true
true
false
false
false
false
zero
73,093,673
How to set up React native with android studio?
<p>I am very new to react native and mobile dev. I am trying to set up react native to work on my android studio emulator and when I do it does not load up the phone emulator as it is supposed to. When it did load up the phone emulator and I pressed a to open my project o Andriod doesn't open up but gave me this error....
I am very new to react native and mobile dev. I am trying to set up react native to work on my android studio emulator and when I do it does not load up the phone emulator as it is supposed to. When it did load up the phone emulator and I pressed a to open my project o Andriod doesn't open up but gave me this error. Co...
javascript|android|ios|react-native|android-emulator
0
2022-07-23T19:28:39.050Z
2,022
7
19
5
41
0
370
47
5
0
false
true
false
false
false
false
zero
73,093,678
Android Studio Cannot Install Any SDK (Im Beginner)
<p>Im starting Android Programming so Im installing Android Studio.</p> <p>When Im trying to run the wizard, I get an error: &quot;Missing SDK&quot;</p> <p><a href="https://i.stack.imgur.com/9AKhw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9AKhw.png" alt="Missing SDK Error image" /></a></p> <p>I...
Im starting Android Programming so Im installing Android Studio. When Im trying to run the wizard, I get an error: &quot;Missing SDK&quot; I didn't download any SDK and I know that Android Studio can download and install SDK's itself. Then, I click on Next to see what's happening: I know this page should has a Todo lis...
java|android|android-studio|kotlin|sdk
1
2022-07-23T19:29:19.390Z
2,022
7
19
5
65
1
1,700
51
5
0
false
false
false
false
false
false
low
73,093,732
Android Compose: Place an element in the center and other elements above it
<p>I need to insert a Text element <code>Text(&quot;text center&quot;)</code> in the center of the screen (both horizontally and vertically). Also, I want to insert the <code>Text(&quot;text&quot;)</code> element above <code>Text(&quot;text center&quot;)</code> with a blank space of <code>32dp</code>: <a href="https://...
I need to insert a Text element Text(&quot;text center&quot;) in the center of the screen (both horizontally and vertically). Also, I want to insert the Text(&quot;text&quot;) element above Text(&quot;text center&quot;) with a blank space of 32dp : So for example the following code is not correct because the whole bloc...
android|user-interface|android-jetpack-compose
1
2022-07-23T19:40:03.260Z
2,022
7
19
5
84
2
378
75
3
1
true
false
false
false
false
false
low
73,093,734
Saving radio group checkedId with SharedPreferences to make the radio button selection to be the same when resuming Kotlin
<p>I'm trying to program an android app with android studio that counts steps taken by the user. I'm trying to make a settings/options activity where the user can both set their height and preferred measure unit. I was able to code the height selection so that it is saved into SharedPreferences so that every time the u...
I'm trying to program an android app with android studio that counts steps taken by the user. I'm trying to make a settings/options activity where the user can both set their height and preferred measure unit. I was able to code the height selection so that it is saved into SharedPreferences so that every time the user...
android|kotlin|radio-button|sharedpreferences|radio-group
0
2022-07-23T19:40:19.020Z
2,022
7
19
5
43
3
1,045
122
5
2
true
false
false
false
false
false
zero
73,093,759
Is it possible to have a Shared Dependency in all my android studio projects?
<p>Every time I create an android project, I have to add for example &quot;navigation library&quot; or some other ones,Is it possible to make it such the desired dependency is already included in my every project? the reason I want this is because adding and downloading these libraries are hard for me due to some IP li...
Every time I create an android project, I have to add for example &quot;navigation library&quot; or some other ones,Is it possible to make it such the desired dependency is already included in my every project? the reason I want this is because adding and downloading these libraries are hard for me due to some IP limit...
android|gradle
0
2022-07-23T19:44:19.353Z
2,022
7
19
5
41
1
348
77
2
0
false
false
false
false
false
false
zero
73,093,785
How to make a popup take all screen size
<p>I'm creating an mobile app on Android Studio, and I have a list of shows where, if I click on one of them, it displays a popup with all informations on the clicked show.</p> <p>I'm creating my popup like this :</p> <pre><code>class ShowPopup(private val adapter : ShowAdapter, private val currentShow : ShowModel) : D...
I'm creating an mobile app on Android Studio, and I have a list of shows where, if I click on one of them, it displays a popup with all informations on the clicked show. I'm creating my popup like this : [CODE] And here I show the popup on click: [CODE] My issue here is that, when clicking on the show, my popup only ta...
android|android-studio|popup
0
2022-07-23T19:48:50.680Z
2,022
7
19
5
33
1
657
40
3
3
true
false
false
false
false
false
zero
73,093,912
Nested async functions in Android
<p>I have asynchronous functions with firebase and other APIs that depend on each other. So, to start task B has to finish task A. The async functions are retuning MyResult which can be a success or failure. Now I’m doing it in that way</p> <pre><code> when(val resullt1 = function1UseCase.getresult1()){ is MyRes...
I have asynchronous functions with firebase and other APIs that depend on each other. So, to start task B has to finish task A. The async functions are retuning MyResult which can be a success or failure. Now I’m doing it in that way [CODE] Is there a better way to do it? Because when I have more nested tasks the code ...
android|asynchronous|async-await
0
2022-07-23T20:08:43.577Z
2,022
7
20
5
40
1
351
33
3
1
true
false
false
false
false
false
zero
73,094,012
Chromecast multiple media in a webpage to multiple Android TVs, in Angular
<p>I have an Angular webpage with multiple cast buttons for multiple media content in the page. I need to cast those content to each Android TV( I have multiple Android TVs and trying to cast one particular media to one TV)</p> <p>The first media content is casting to corresponding Android TV with no errors. But when I...
I have an Angular webpage with multiple cast buttons for multiple media content in the page. I need to cast those content to each Android TV( I have multiple Android TVs and trying to cast one particular media to one TV) The first media content is casting to corresponding Android TV with no errors. But when I try to ca...
javascript|angular|chromecast|android-tv
0
2022-07-23T20:30:16.197Z
2,022
7
20
5
26
0
494
74
4
0
false
true
false
false
false
false
zero
73,094,031
Button that sets imageView from the gallery, within fragment
<p>I have tried many different solutions that I have found, this seems to be the closest i've been to getting this section to work. When debugging the bundle is shows as null.</p> <p><strong>onActivityResult Launcher</strong></p> <pre><code> activityResultLauncher = registerForActivityResult(new ActivityResultContr...
I have tried many different solutions that I have found, this seems to be the closest i've been to getting this section to work. When debugging the bundle is shows as null. onActivityResult Launcher [CODE] onClickListener [CODE]
android
0
2022-07-23T20:34:07.567Z
2,022
7
20
5
27
1
228
60
1
2
true
false
false
false
false
false
zero
73,094,139
Why does App crashes when enableing obfuscate?
<h1>What happens</h1> <p>App crashes when I set</p> <pre><code>minifyEnabled true shrinkResources true </code></pre> <h2>Stacktrace [<strong>IMPORTANT</strong>]</h2> <pre><code>java.lang.NoClassDefFoundError: Failed resolution of: Landroid/app/Application$ActivityLifecycleCallbacks$-CC; at androidx.lifecycle.Report...
What happens App crashes when I set [CODE] Stacktrace [ IMPORTANT ] [CODE] My Solution It works when I use one of these suggestions: Upgrate minSdkVersion to 28 or Higher; disable obfuscate However, these suggestions are not my purpose,which I need minSdkVersion to set 21 .
android|androidx
-1
2022-07-23T20:55:21.900Z
2,022
7
20
5
60
1
274
46
2
2
true
false
false
false
false
true
negative
73,094,320
"The XamarinTelemetry task failed unexpectedly" on second build
<p>With the latest VS preview (VS 17.3 Preview 3), with both Android and iOS, building my application works the first time I build it, but the second time it fails with</p> <blockquote> <p>The &quot;XamarinTelemetry&quot; task failed unexpectedly.</p> </blockquote> <p>Looking at the logs I see this:</p> <pre><code>1&gt...
With the latest VS preview (VS 17.3 Preview 3), with both Android and iOS, building my application works the first time I build it, but the second time it fails with The &quot;XamarinTelemetry&quot; task failed unexpectedly. Looking at the logs I see this: [CODE] The only workaround I've found is to clean the entire so...
visual-studio|xamarin|xamarin.forms|xamarin.android|xamarin.ios
28
2022-07-23T21:31:20.860Z
2,022
7
21
5
2,915
7
443
63
5
1
true
false
true
false
true
false
high
73,094,349
Make a ScrollView take all space available - Android
<p>I have a <code>ConstraintLayout</code> in which I have an image at the top and an action bar at the bottom that should both stay fixed. I have a <code>ScrollView</code> between them, and I want it to take all the space available between the image at the top and the action bar at the bottom. However, I tried using <c...
I have a ConstraintLayout in which I have an image at the top and an action bar at the bottom that should both stay fixed. I have a ScrollView between them, and I want it to take all the space available between the image at the top and the action bar at the bottom. However, I tried using height=wrap_content but then th...
android
1
2022-07-23T21:36:13.743Z
2,022
7
21
5
48
1
640
52
1
1
true
false
false
false
false
false
low
73,094,390
android studio questions previous button crash
<pre><code>private val questionBank = listOf( Question(R.string.question_australia, true), Question(R.string.question_oceans, true), Question(R.string.question_mideast, false), Question(R.string.question_africa, false), Question(R.string.question_americas, true), Question(R.str...
[CODE] when I run the android studio, the previous button work fine only when I have select first next button. it will crash if I select first previous button. I am having hard time to figured out the logic behind module calculation what should I add or change where when I press previous button first it will go to last...
android-studio|button
0
2022-07-23T21:43:06.520Z
2,022
7
21
5
16
1
342
46
2
1
true
false
false
false
false
false
zero
73,094,481
Hoping to display a value every 3 seconds using thread.sleep. However, it's not working
<p>im taking this kotlin basics in google and im in the &quot;intro to debugging&quot; section.. total noob here and i've managed to plow through the subjects and now im stuck here.. so the expected outcome is for the textview to display a quotient every three seconds but when i run the app, it shows a static value of ...
im taking this kotlin basics in google and im in the &quot;intro to debugging&quot; section.. total noob here and i've managed to plow through the subjects and now im stuck here.. so the expected outcome is for the textview to display a quotient every three seconds but when i run the app, it shows a static value of 60....
android-studio|kotlin|kotlin-android
0
2022-07-23T21:58:52.660Z
2,022
7
21
5
43
1
485
87
3
1
true
false
false
false
false
false
zero
73,094,667
Compose - Hoverable & clickable line
<p>I'm trying to make a composable with a line shape. These lines will be connecting any two coordinates together, meaning it won't be a straight horizontal/vertical line, I know I can use divider for that.</p> <p>I can do a line in drawWithCache (compose desktop's equivalent of Canvas), but these lines are neither hov...
I'm trying to make a composable with a line shape. These lines will be connecting any two coordinates together, meaning it won't be a straight horizontal/vertical line, I know I can use divider for that. I can do a line in drawWithCache (compose desktop's equivalent of Canvas), but these lines are neither hoverable nor...
kotlin|android-jetpack-compose|compose-desktop
0
2022-07-23T22:39:03.710Z
2,022
7
22
5
57
1
625
36
3
0
false
false
false
false
false
false
zero
73,094,794
CSS-animation lets the whole webpage-section flicker when scrolling on Android
<p>I've noticed a strange behavior on a CSS animation, when I viewed my webpage on an Android device.<br /> When I scroll up and down a few timer while the animation is running, the whole page starts to flicker. It's reproducable (even tough a bit finicky). This YouTube-video shows the effect:<br /> <a href="https://ww...
I've noticed a strange behavior on a CSS animation, when I viewed my webpage on an Android device. When I scroll up and down a few timer while the animation is running, the whole page starts to flicker. It's reproducable (even tough a bit finicky). This YouTube-video shows the effect: https://www.youtube.com/watch?v=tO...
android|css|animation|tailwind-css
1
2022-07-23T23:08:01.163Z
2,022
7
23
5
27
0
648
78
4
1
true
true
false
false
false
false
low
73,094,872
Chart formatter shows the wrong date (MPAndroidChart)
<p>I want to get 7 days of coin exchange data using Coingecko api and show it on a chart. I used a formatter for this, but it always shows the same date as seen in the picture I shared below. When I test the code inside the formatter separately, there is no problem and they show the date information correctly.</p> <p><...
I want to get 7 days of coin exchange data using Coingecko api and show it on a chart. I used a formatter for this, but it always shows the same date as seen in the picture I shared below. When I test the code inside the formatter separately, there is no problem and they show the date information correctly. Coingecko E...
java|android|api|charts|mpandroidchart
1
2022-07-23T23:37:15.940Z
2,022
7
23
5
43
1
855
53
5
6
true
false
false
false
false
false
low
73,094,920
Why is my Android Java ProgressBar not displaying progress correctly?
<p>In my game, players have experience, and upon reaching a certain XP threshold, they rank up. The progress bar is supposed to show their progress towards the next rank, but instead the progress bar is empty. (It will display some progress sometimes, but I don't know why, and it's not correct progress anyway.)</p> <p>...
In my game, players have experience, and upon reaching a certain XP threshold, they rank up. The progress bar is supposed to show their progress towards the next rank, but instead the progress bar is empty. (It will display some progress sometimes, but I don't know why, and it's not correct progress anyway.) Here is wh...
android-studio|android-layout
0
2022-07-23T23:52:32.363Z
2,022
7
23
5
23
0
477
69
2
3
true
true
false
false
false
false
zero
73,094,960
Problem with displaying admob ads inside vpn app
<p>I'm having trouble showing admob ads inside my VPN app</p> <p>When users from countries with low eCPM connect to VPNs from countries with higher eCPM, Google does not know the real country of the user and therefore limits the sending of ads.</p> <p>For example, it shows ads that are in the UK to people in Japan and ...
I'm having trouble showing admob ads inside my VPN app When users from countries with low eCPM connect to VPNs from countries with higher eCPM, Google does not know the real country of the user and therefore limits the sending of ads. For example, it shows ads that are in the UK to people in Japan and vice versa There ...
java|android|kotlin|admob
0
2022-07-24T00:05:06.370Z
2,022
7
0
6
47
0
426
48
4
0
false
true
false
false
false
false
zero
73,094,963
Connect android device to wifi programmatically without user interaction
<p>I need to connect an android device to wifi programmatically without interacting with the user. Notably, this app is being purpose built and will not be on the play store or deployed publicly (I say this because what I need to do could have serious security concerns).</p> <p>Here is how I am connecting the device ...
I need to connect an android device to wifi programmatically without interacting with the user. Notably, this app is being purpose built and will not be on the play store or deployed publicly (I say this because what I need to do could have serious security concerns). Here is how I am connecting the device programmatic...
android|android-permissions|android-wifi
1
2022-07-24T00:06:30.947Z
2,022
7
0
6
96
1
806
72
3
1
true
false
false
false
false
false
low
73,095,251
React Native ScrollView Scroll Animation
<p>I want to scroll the object that I scrolled horizontally with <code>ScrollView</code>. How can I make the animation made with <code>View</code> in <code>ScrollView</code>?</p> <pre><code>&lt;Animated.View style={{ transform: [{ translateX: animated.interpolate({ inputRange: [0, 1], outputRange: [0, 500] }) }] }}&gt;...
I want to scroll the object that I scrolled horizontally with ScrollView . How can I make the animation made with View in ScrollView ? [CODE] How does ScrollView accept? [CODE]
android|ios|react-native|scrollview|react-native-component
0
2022-07-24T01:38:41.550Z
2,022
7
1
6
64
0
176
40
5
2
true
true
false
false
false
false
zero
73,095,534
"Internal Storage" always renamed as "Shared Internal Storage"
<p>So, since I used the feature &quot;Use SDCard as internal Storage&quot; (also called Shared storage) for the first time on my Samsung Galaxy J3 (ROM ViperOS 3.1), in all clean flashes, and also on new phones, my &quot;Internal Storage&quot; always gets renamed to &quot;Shared Internal Storage&quot;. I would like to ...
So, since I used the feature &quot;Use SDCard as internal Storage&quot; (also called Shared storage) for the first time on my Samsung Galaxy J3 (ROM ViperOS 3.1), in all clean flashes, and also on new phones, my &quot;Internal Storage&quot; always gets renamed to &quot;Shared Internal Storage&quot;. I would like to cha...
android|restore|android-internal-storage
0
2022-07-24T03:15:21.583Z
2,022
7
3
6
25
0
833
62
3
0
false
true
false
false
false
false
zero
73,095,579
How do I add app to share menu for iOS/Android
<p>I'm trying to add my app to the list of available shares for other apps, and I wanted to make sure I had it right. The documentation doesn't explicitly state this, and I <em>really</em> want to be sure of what it means before I move forward:</p> <p>Every app that wants <em>other</em> apps to share to them needs to a...
I'm trying to add my app to the list of available shares for other apps, and I wanted to make sure I had it right. The documentation doesn't explicitly state this, and I really want to be sure of what it means before I move forward: Every app that wants other apps to share to them needs to add their app to the Share Ex...
react-native|ios-sharesheet|react-native-share|android-sharesheet
0
2022-07-24T03:28:08.270Z
2,022
7
3
6
88
0
515
46
4
0
false
true
false
false
false
false
zero
73,095,588
Realme mobile doesn't open because Iremoved some system apps using adb
<p>I removed some system packages using adb command in realme phone. The packages are <code>com.heytap.pictorial</code>,<code>com.heytap.finshell.fin</code>,<code>weather app</code>. There is no issues for 5 hours. But next day morning the mobile screen doesn't open, it only splashes like winking. What can I do to reco...
I removed some system packages using adb command in realme phone. The packages are com.heytap.pictorial , com.heytap.finshell.fin , weather app . There is no issues for 5 hours. But next day morning the mobile screen doesn't open, it only splashes like winking. What can I do to recover my realme narzo10?
adb|android-splashscreen
0
2022-07-24T03:30:02.627Z
2,022
7
3
6
24
0
305
70
2
0
false
true
false
false
false
false
zero
73,095,648
I want to keep user logged in untill he signsOut in my app AndroidStudio Firebase
<p>I was developing a e-com application for my final year project. I am facing a problem like ex. &quot;There is a user XXX if he logs into my app he should be logged inside my app every time he opens until he signs out&quot;. This is my problem and i have been stuck in this case for a long duration now please help me ...
I was developing a e-com application for my final year project. I am facing a problem like ex. &quot;There is a user XXX if he logs into my app he should be logged inside my app every time he opens until he signs out&quot;. This is my problem and i have been stuck in this case for a long duration now please help me ove...
android|firebase|firebase-authentication
0
2022-07-24T03:47:52.993Z
2,022
7
3
6
23
2
359
81
3
1
true
false
false
false
false
false
zero
73,095,742
Getting comeout from the app after clicking on login button
<p>I'm Doing some backend work for my app and I'm getting comeout from the app after clicking on login button.</p> <p><strong>MainActivity.java</strong></p> <p>My Default Activity.</p> <pre><code>public class MainActivity extends AppCompatActivity { private Button joinNowButton, loginButton; private ProgressDialog lo...
I'm Doing some backend work for my app and I'm getting comeout from the app after clicking on login button. MainActivity.java My Default Activity. [CODE] activity_main.xml [CODE] LoginActivity.java After clicking the button, I want the loginActivity to be opened from the main activity. [CODE] activity_login.xml [CODE] ...
android
2
2022-07-24T04:16:57.153Z
2,022
7
4
6
60
1
346
59
1
5
true
false
false
false
false
false
low
73,095,761
Android studio throwing this exception while running flutter app
<pre><code>java.util.zip.ZipException: zip END header not found at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1581) at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1476) at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1483) at java.base/java.util.zip.ZipFile$Source....
[CODE]
android|flutter|gradle|firebase-realtime-database
0
2022-07-24T04:20:55.313Z
2,022
7
4
6
33
1
6
64
4
1
true
false
false
false
false
false
zero
73,095,773
How to save json as a list of models in Flutter?
<p>I have a json data like this. <a href="https://i.stack.imgur.com/29k6O.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/29k6O.png" alt="enter image description here" /></a></p> <p>I want to convert it to a list of models like below, how do I do that? <a href="https://i.stack.imgur.com/vQlPd.png" re...
I have a json data like this. I want to convert it to a list of models like below, how do I do that? I am a newbie please give me the solution. Thank you!
android|json|flutter|dart|firebase-realtime-database
-1
2022-07-24T04:25:17.953Z
2,022
7
4
6
62
1
154
48
5
0
false
false
false
false
false
true
negative
73,095,777
No noarg super constructor for CLASS CLASS
<p><code>Kotlin 1.5.0</code></p> <p>I have a error when trying to build my android app after bumping the kotlin version to <code>1.5.0</code>.</p> <p>I am thinking its related to having a parcelized class and using the no-arg plugin.</p> <p>I have the following class</p> <pre><code>import android.os.Parcelable import k...
Kotlin 1.5.0 I have a error when trying to build my android app after bumping the kotlin version to 1.5.0 . I am thinking its related to having a parcelized class and using the no-arg plugin. I have the following class [CODE] And I am getting this error: [CODE] This error occured when I updated our kotlin version from ...
android|kotlin|gradle|android-gradle-plugin
1
2022-07-24T04:26:45.963Z
2,022
7
4
6
133
1
440
42
4
5
true
false
false
false
false
false
low
73,095,804
How to make CustomRadioButton with 8 options in 2 rows
<p>I'm trying to create a CustomRadioButton that have 8 options to be in 2 rows, each row has 4 buttons that fit the screen width without any scrolling.</p> <p>my current code is as follows:</p> <pre><code>Row( children: [ CustomRadioButton( elevation: 0, absoluteZeroSp...
I'm trying to create a CustomRadioButton that have 8 options to be in 2 rows, each row has 4 buttons that fit the screen width without any scrolling. my current code is as follows: [CODE] Now the 8 options are in one row. How i can achieve this?
flutter|android-studio|dart
0
2022-07-24T04:36:44.600Z
2,022
7
4
6
35
1
245
54
3
1
true
false
false
false
false
false
zero
73,095,806
Android Studio fails to push to GitHub
<p>(I am aware of prior threads, this seems to be a new problem) I upgraded Android Studio to 2021.2.1 patch 1 a couple of weeks ago. Since then, communication with GitHub is flaky:</p> <p>I cannot git push; I have to close the SDK, get back in, and then -- sometimes -- it works. Error message I get:</p> <pre><code>err...
(I am aware of prior threads, this seems to be a new problem) I upgraded Android Studio to 2021.2.1 patch 1 a couple of weeks ago. Since then, communication with GitHub is flaky: I cannot git push; I have to close the SDK, get back in, and then -- sometimes -- it works. Error message I get: [CODE] Git > Show Git Log --...
android-studio|github
3
2022-07-24T04:36:53.520Z
2,022
7
4
6
176
1
543
38
2
1
true
false
false
false
false
false
low
73,095,876
What are the UI blocking thread operation in Java or Kotlin
<p>Is there a documentation list of all UI blocking operation in Java or Kotlin like <code>InputStream.read()</code>? Or other way to identify blocking operation without needing to run the project?</p>
Is there a documentation list of all UI blocking operation in Java or Kotlin like InputStream.read() ? Or other way to identify blocking operation without needing to run the project?
java|android|kotlin
0
2022-07-24T04:54:07.053Z
2,022
7
4
6
61
1
182
59
3
0
false
false
false
false
false
false
zero
73,095,898
RCTModernEventEmitter fires twice for android fabric component
<p>I am trying to create a <code>fabric</code> component for <code>android</code>, specifically I want to use the <code>onClickHandler</code> of the button component and pass a callback to <code>react-native</code> side via <code>RCTModernEventEmitter</code>. It works fine for <code>iOS</code> but for android the <code...
I am trying to create a fabric component for android , specifically I want to use the onClickHandler of the button component and pass a callback to react-native side via RCTModernEventEmitter . It works fine for iOS but for android the RCTModernEventEmitter emits twice every time I click the button This is my spec [COD...
java|android|react-native|rctbridge
1
2022-07-24T05:00:38.040Z
2,022
7
5
6
112
0
569
62
4
3
true
true
false
false
false
false
low
73,095,899
Google cast doesn't work with API 32 or API 33 on Android Studio
<p>According to the d/m screenshots the Google cast function is unable to scan available devices although this function works properly with API 30 (x86 ABI only x64 doesn't) How can I get it to work with API 32 or API 33 (any will do)</p> <p><a href="https://i.stack.imgur.com/c0Oyp.png" rel="nofollow noreferrer"><img s...
According to the d/m screenshots the Google cast function is unable to scan available devices although this function works properly with API 30 (x86 ABI only x64 doesn't) How can I get it to work with API 32 or API 33 (any will do)
android-studio|google-cast
0
2022-07-24T05:00:38.817Z
2,022
7
5
6
235
0
231
64
2
0
false
true
false
false
false
false
zero
73,095,908
How to change Recyclerview background with click in Android
<p>In my application I want used <code>RecyclerView</code> and I want when click on Items, change background.<br> I want first show default item for selected and when user change this default item, change background and deselected this default item.<br></p> <p><strong>My Code :</strong></p> <pre><code>class StateAdapte...
In my application I want used RecyclerView and I want when click on Items, change background. I want first show default item for selected and when user change this default item, change background and deselected this default item. My Code : [CODE] For set default item I added this code : [CODE] But after added this line...
android|android-recyclerview|android-adapter
0
2022-07-24T05:03:27.927Z
2,022
7
5
6
27
1
455
59
3
2
true
false
false
false
false
false
zero
73,096,018
relative size and placement in Kivy for different platforms (phone, tablet, windows, mac) and android emulator question
<p>In Kivy how do you make the applications resize relative to the screen? It smushes text together when resizing in VS code and I'm not sure what it would look like on a tablet or phone. I know when you resize in Windows and Mac you would create a side bar. But how do you guarantee the right size for mobile? Mostly ha...
In Kivy how do you make the applications resize relative to the screen? It smushes text together when resizing in VS code and I'm not sure what it would look like on a tablet or phone. I know when you resize in Windows and Mac you would create a side bar. But how do you guarantee the right size for mobile? Mostly havin...
android|ios|python-3.x|visual-studio-code|kivy-language
0
2022-07-24T05:32:44.227Z
2,022
7
5
6
18
0
1,106
119
5
1
true
true
false
false
false
false
zero
73,096,047
How to implement zoom feature for RecyclerView?
<p>I need to implement a <code>RecyclerView</code> using <code>GridLayoutManager</code> to represent seats of a stadium. On item (seat) selection, some information pops up and finally the user can book it. The problem is, high number of seats per row on a small screen make it difficult for the user to select an item. S...
I need to implement a RecyclerView using GridLayoutManager to represent seats of a stadium. On item (seat) selection, some information pops up and finally the user can book it. The problem is, high number of seats per row on a small screen make it difficult for the user to select an item. So, I want to implement a zoom...
android|kotlin|android-recyclerview
0
2022-07-24T05:41:07.463Z
2,022
7
5
6
44
0
432
47
3
0
false
true
false
false
false
false
zero
73,096,121
How we can interact with Android through dart? Is there any packages in Dart? For Eg. Python has a package related to OS
<p>In python <code>import os</code> command is used to interact with the OS. I just want to know, Is there any <strong>Dart Packages</strong> similiar to python's package? Because, we are currently working with an <strong>android app</strong> which need to be interact with the OS.</p>
In python import os command is used to interact with the OS. I just want to know, Is there any Dart Packages similiar to python's package? Because, we are currently working with an android app which need to be interact with the OS.
android|flutter|dart
0
2022-07-24T05:58:18.890Z
2,022
7
5
6
42
0
231
120
3
0
false
true
false
false
false
false
zero
73,096,148
Different results in AES encryption between Python and Java
<p>I am trying to encrypt the communications between a java and a python app and the problem is I'm getting different result in decrypting the encrypted string from the other side in both apps. I searched a lot but I didn't found any problem in the code and I will be much appreciated if you guide me in this. Here is th...
I am trying to encrypt the communications between a java and a python app and the problem is I'm getting different result in decrypting the encrypted string from the other side in both apps. I searched a lot but I didn't found any problem in the code and I will be much appreciated if you guide me in this. Here is the e...
python|java|android|aes|cbc-mode
1
2022-07-24T06:04:18.267Z
2,022
7
6
6
91
0
619
59
5
4
true
true
false
false
false
false
low
73,096,212
Hey everyone, i start using android studio and working on flutter project but i face this error every time Error: ADB exited with exit code 1
<p><img src="https://i.stack.imgur.com/XcXFh.png" alt="1" /></p> <p>I start using android studio and working on the flutter project but I face this error every time Error: ADB exited with exit code 1 Performing Streamed Install</p>
I start using android studio and working on the flutter project but I face this error every time Error: ADB exited with exit code 1 Performing Streamed Install
android|flutter
0
2022-07-24T06:20:27.933Z
2,022
7
6
6
36
0
159
141
2
0
false
true
false
false
false
false
zero
73,096,328
TabIndicator not displaying with android:TabbedPage.ToolbarPlacement="Bottom" Xamarin Forms
<p>I am working on a Xamarin forms project and in one Tabbed page I need to use tab bar position at bottom. But when I do that the tab bar indicator not working/ not showing. I cannot use <strong>Xamarin community toolkit tabview</strong> either cause there is a bug when you use <code>NavigationPage.HasNavigationBar=&q...
I am working on a Xamarin forms project and in one Tabbed page I need to use tab bar position at bottom. But when I do that the tab bar indicator not working/ not showing. I cannot use Xamarin community toolkit tabview either cause there is a bug when you use NavigationPage.HasNavigationBar=&quot;False&quot; link . If ...
android|xamarin
1
2022-07-24T06:46:58.597Z
2,022
7
6
6
50
1
501
91
2
3
true
false
false
false
false
false
low
73,096,389
unable to open link in text view
<p>I'm a beginner I want to put a text and some words inside the text I want it to appear as a link I did it the word it appears as a link but when you click on the word nothing happens</p> <pre><code> TextView text; Button button; @Override protected void onCreate(Bundle savedInstanceState) { s...
I'm a beginner I want to put a text and some words inside the text I want it to appear as a link I did it the word it appears as a link but when you click on the word nothing happens [CODE] string xml [CODE]
java|android-studio
0
2022-07-24T07:00:17.043Z
2,022
7
7
6
20
0
207
32
2
2
true
true
false
false
false
false
zero
73,096,394
How to cancel CountdownTImer in Android kotlin?
<p>I want to cancel the timer when user presses the back button or minimizes the app. I have tried using cancel() on 'override fun onDestroy()' but still the timer is running.</p> <p>Below is my countdown timer code</p> <pre><code>countDownTimer = object : CountDownTimer(Constants.timerDuration, 1000) { overrid...
I want to cancel the timer when user presses the back button or minimizes the app. I have tried using cancel() on 'override fun onDestroy()' but still the timer is running. Below is my countdown timer code [CODE] This is how I have initialized the countdown variable [CODE] And below is the code for cancelling the timer...
android|kotlin|timer|countdowntimer
1
2022-07-24T07:01:03.103Z
2,022
7
7
6
75
1
697
47
4
4
true
false
false
false
false
false
low
73,096,460
kotlin testing error cannot create parent directories
<p>When I run test, I am getting the error when I try to test if Datastore.edit had been called:</p> <pre><code>java.io.IOException: Unable to create parent directories of /data/user/0/com.example.app.test/files/datastore/user.preferences_pb </code></pre> <p>It is a small class that handles Datastore, which is the foll...
When I run test, I am getting the error when I try to test if Datastore.edit had been called: [CODE] It is a small class that handles Datastore, which is the following: Pref.kt [CODE] PrefTest.kt [CODE] in my device, I can see the directory /data/user/0/com.example.app.test/files. But not sure why the datastore directo...
kotlin|android-testing
0
2022-07-24T07:16:08.790Z
2,022
7
7
6
27
0
372
53
2
3
true
true
false
false
false
false
zero
73,096,493
How to share image from recyclerView arraylist?
<p>I am trying to share an images from arraylist,when I click on share button app list appears to share but when I select an app to share,it shows null in another app.</p> <p>please help me to find out the solution :(</p> <p>here is my recycler onBindViewHolder code.</p> <pre><code>holder.send.setOnClickListener(new Vi...
I am trying to share an images from arraylist,when I click on share button app list appears to share but when I select an app to share,it shows null in another app. please help me to find out the solution :( here is my recycler onBindViewHolder code. [CODE] and here how my app is sharing
java|android-studio|share
1
2022-07-24T07:23:24.593Z
2,022
7
7
6
21
0
288
47
3
1
true
true
false
false
false
false
low
73,096,522
Android Studio: Kotlin Random Number Generator not working
<p>I am using CardView in RecyclerView for displaying a list of City names.</p> <p>Along with the city name, I would like to add a curved square image containing a random background colour and the starting letter of the city name, just like the default image of our Gmail accounts.</p> <p>I have tried the following appr...
I am using CardView in RecyclerView for displaying a list of City names. Along with the city name, I would like to add a curved square image containing a random background colour and the starting letter of the city name, just like the default image of our Gmail accounts. I have tried the following approach for generati...
android|kotlin|random|android-recyclerview|custom-adapter
0
2022-07-24T07:29:39.953Z
2,022
7
7
6
99
3
829
58
5
3
true
false
false
false
false
false
zero
73,096,529
How to use web camera in webview in android?
<p>Hello there SO community!</p> <p>I am working on an android webview app that uses the web camera.</p> <p>It works perfectly on a website, but in my app it doesn't work properly.</p> <p><a href="https://i.stack.imgur.com/HQxNL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HQxNL.png" alt="This is ...
Hello there SO community! I am working on an android webview app that uses the web camera. It works perfectly on a website, but in my app it doesn't work properly. How I can overcome this problem? I have wrote all the permissions in the manifest like the camera, read external, write external storage and internet access...
java|android|android-studio|webview
1
2022-07-24T07:30:58.630Z
2,022
7
7
6
52
1
374
44
4
1
true
false
false
false
false
false
low
73,096,596
How to convert a web app to android app without 'url' in offline mode?
<p>I make a web app using HTML canvas.I want to convert my web app to an android app. But main problem is that my app's all file in my device offline and I have no url of my HTML web app project but have only files of project. Can anyone tell me how to convert my HTML project to android app?</p>
I make a web app using HTML canvas.I want to convert my web app to an android app. But main problem is that my app's all file in my device offline and I have no url of my HTML web app project but have only files of project. Can anyone tell me how to convert my HTML project to android app?
javascript|android|html|web-applications|offline
0
2022-07-24T07:42:50.527Z
2,022
7
7
6
53
2
289
70
5
0
false
false
false
false
false
false
zero
73,096,611
Appednding the text on a TextInput field to list in kivy for manipulation
<ul> <li><strong>Appending TextInput objects to a list.</strong></li> </ul> <p>I created a screen with buttons 0 - 9 with a single TextInput field that displays the numbers on_clicking them, along with an <strong>ENTER</strong> button.</p> <ul> <li><p>Assuming I clicked <strong>5 &amp; 6</strong> , 56 will be displayed...
Appending TextInput objects to a list. I created a screen with buttons 0 - 9 with a single TextInput field that displays the numbers on_clicking them, along with an ENTER button. Assuming I clicked 5 & 6 , 56 will be displayed on the TextInput field. what I'm trying to achieve is: on_clicking the ENTER button, the numb...
python|android|list|kivy|textinput
0
2022-07-24T07:44:42.437Z
2,022
7
7
6
30
1
400
73
5
0
false
false
false
false
false
false
zero
73,096,798
I am using ImageSwitcher. When I run the file I'm getting the following error:
<p><strong>MainActivity.java</strong></p> <pre><code>import android.os.Bundle; import androidx.appcompat.app.AppCompatActivity; import android.view.View; import com.example.app38.databinding.ActivityMainBinding; import android.view.ViewGroup; import android.view.animation.AnimationUtils; import android.widget.ImageSwit...
MainActivity.java [CODE] Animal.java [CODE] content_main.xml [CODE] Logcat FATAL EXCEPTION: main Process: com.example.app38, PID: 14499 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app38/com.example.app38.MainActivity}: java.lang.ClassCastException: android.view.ViewGroup$LayoutParams ...
android|imageswitcher
0
2022-07-24T08:22:32.477Z
2,022
7
8
6
22
1
2,844
78
2
3
true
false
false
false
false
false
zero
73,096,814
How to finish an Activity inside a dialog? I called finish(); and SecondActivity.this.finish(); but they didn't work
<p>In the first case, finish() works properly, but it doesn't work inside the dialog. This code is from second Activity, in the first case when I call finish() it finishes and return back to MainActivity but in the second case inside the dialog when I call <code>finish();</code> the app crashes.</p> <p>I can do somethi...
In the first case, finish() works properly, but it doesn't work inside the dialog. This code is from second Activity, in the first case when I call finish() it finishes and return back to MainActivity but in the second case inside the dialog when I call finish(); the app crashes. I can do something like startActivity(n...
java|android
0
2022-07-24T08:25:37.240Z
2,022
7
8
6
66
1
482
116
2
1
true
false
false
false
false
false
zero
73,096,923
access child database in firebase always returns null using android studio & kotlin
<p>I've been having problems accessing this child database in firebase, it always returns null, been searching online for days and still got no answer...here's my code, I'm using Kotlin and Firebase:</p> <pre><code>auth = FirebaseAuth.getInstance() database = FirebaseDatabase.getInstance() databaseReference = database...
I've been having problems accessing this child database in firebase, it always returns null, been searching online for days and still got no answer...here's my code, I'm using Kotlin and Firebase: [CODE] heres my database configuration Te structure is users/nik/... (the one I've highlighted red in the screenshot is nik...
android|firebase|kotlin|firebase-realtime-database
0
2022-07-24T08:45:55.707Z
2,022
7
8
6
40
1
399
83
4
1
true
false
false
false
false
false
zero
73,096,957
Delete Larger data by IDs Greendao database android
<p>I want to delete some lakes of entries in Greendao database.</p> <p>Problem: Because of the bad coding, table is filled with lots of duplicate entries. Now challenge is to clean only the duplicate data. Some of the users are having 10L of data in that only 2L data is valid, rest of the data is duplicate.</p> <p>Curr...
I want to delete some lakes of entries in Greendao database. Problem: Because of the bad coding, table is filled with lots of duplicate entries. Now challenge is to clean only the duplicate data. Some of the users are having 10L of data in that only 2L data is valid, rest of the data is duplicate. Currenly, I am fetchi...
android|database|greendao
0
2022-07-24T08:51:23.933Z
2,022
7
8
6
10
0
647
51
3
1
true
true
false
false
false
false
zero
73,097,076
Is there a way to setup lifetime subscription for my Android app in Google Play Console?
<p>In Google Play Console, I have previously created yearly and monthly subscriptions and they work just fine, however now I want to create a subscription where the user only pays once and gets a lifetime subscription to the application.</p> <p>Unfortunately, when I create a new subscription, it is required to select o...
In Google Play Console, I have previously created yearly and monthly subscriptions and they work just fine, however now I want to create a subscription where the user only pays once and gets a lifetime subscription to the application. Unfortunately, when I create a new subscription, it is required to select one &quot;R...
android|google-play-console|in-app-subscription
0
2022-07-24T09:12:36.837Z
2,022
7
9
6
107
1
512
88
3
0
false
false
false
false
false
false
zero
73,097,090
can anyone help me out why I am getting null value even there is no error in the code
<pre><code>package com.example.myquizapp import androidx.appcompat.app.AppCompatActivity import android.os.Bundle import android.util.Log import android.widget.ProgressBar import android.widget.TextView </code></pre> <p>here is my code</p> <pre><code>class QuizActivity : AppCompatActivity() { private var progressBa...
[CODE] here is my code [CODE] on hover R.id.progressBar I get :public static final int progressBar = 1000004 [CODE] // public static final int tv_progress = 100000 //on hover progressBar I get : private final var progressBar: ProgressBar? [CODE]
android|kotlin|textview|android-progressbar
-1
2022-07-24T09:14:35.550Z
2,022
7
9
6
39
2
245
85
4
4
true
false
false
false
false
true
negative
73,097,185
how to create custom fontstyles and colors UI in flutter
<p>I want to create custom fontstyles and colors based on user choice like instagram story editing section.is there any way to create like that? please help me to get through it</p> <p>i want to customize like this (not exact like this)i want to create my own editor</p> <p><a href="https://i.stack.imgur.com/usYti.jpg" ...
I want to create custom fontstyles and colors based on user choice like instagram story editing section.is there any way to create like that? please help me to get through it i want to customize like this (not exact like this)i want to create my own editor
android|flutter|dart|fonts
0
2022-07-24T09:29:01.090Z
2,022
7
9
6
20
0
256
56
4
0
false
true
false
false
false
false
zero
73,097,187
Uploading png error with MultipartBody.Part and RequestBody in Kotlin
<p>I am currently making a project for attendance application in Kotlin and I am trying to send a selfie image to the back-end for proof of attendance. I used MultipartBody.Part to send the image file and RequestBody to send the other stuff.</p> <pre><code>@Multipart @POST(&quot;shiftentry/clockin&quot;) suspen...
I am currently making a project for attendance application in Kotlin and I am trying to send a selfie image to the back-end for proof of attendance. I used MultipartBody.Part to send the image file and RequestBody to send the other stuff. [CODE] So once I capture a selfie, the image will be saved to a file and that wil...
android|kotlin|file-upload|multipartform-data
1
2022-07-24T09:29:26.227Z
2,022
7
9
6
47
0
1,290
69
4
3
true
true
false
false
false
false
low
73,097,191
Attempt to invoke virtual method 'void android.widget.SeekBar.setMax(int)' on a null object reference
<p>I just started coding and for my project, I'm tasked to make a music player app. Right now, I am currently trying to code a time labeler such that the the time would follow the music. (Sorry my English is not very good.) I'm not too sure what the error means so could you guys help me? Is there anything that I should...
I just started coding and for my project, I'm tasked to make a music player app. Right now, I am currently trying to code a time labeler such that the the time would follow the music. (Sorry my English is not very good.) I'm not too sure what the error means so could you guys help me? Is there anything that I should ch...
java|android|android-studio
0
2022-07-24T09:29:43.800Z
2,022
7
9
6
16
0
360
101
3
1
true
true
false
false
false
false
zero
73,097,196
firebase notification android visibility cannot be set to PUBLIC
<p>I'm deploying Cloud Functions to Firebase (Firebase client 10.9.2). They are triggered upon Realtime DB records entry.</p> <p>The function needs to send a notification to a given device.</p> <p>As per the <a href="https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#Visibility" rel="nofollow nore...
I'm deploying Cloud Functions to Firebase (Firebase client 10.9.2). They are triggered upon Realtime DB records entry. The function needs to send a notification to a given device. As per the documentation , I want to set the Android Visibility property to PUBLIC. It doesn't accept this setting, the Cloud Console error ...
android|firebase-notifications
0
2022-07-24T09:31:05.633Z
2,022
7
9
6
30
0
496
64
2
3
true
true
false
false
false
false
zero
73,097,226
how to fix "source code doesn't match bytecode"?
<p>The following is all installed things in my android studio: <a href="https://i.stack.imgur.com/p7S3v.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p7S3v.png" alt="enter image description here" /></a></p> <p>I have no other installed API or system images. This is my <code>build.gradle</code> file...
The following is all installed things in my android studio: I have no other installed API or system images. This is my build.gradle file [CODE] But despite i have API and system image that uses the same API while debugging, when i am in android SDK's source file, i get this writing: Yeah, i know that there is this topi...
java|android|android-studio
0
2022-07-24T09:36:14.420Z
2,022
7
9
6
44
0
707
48
3
1
true
true
false
false
false
false
zero
73,097,332
my app keeps crashing in android studio for some random reason
<p>so basically, i am trying to develop an app in android studio but it keeps crashing. I got no idea why. can som1 help?</p> <p>This is the error code below:</p> <pre><code>2022-07-24 12:45:13.430 9938-9938/com.example.aviationista E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.aviationista, PID: 9938 ja...
so basically, i am trying to develop an app in android studio but it keeps crashing. I got no idea why. can som1 help? This is the error code below: [CODE]
java|android|kotlin
-1
2022-07-24T09:52:25.070Z
2,022
7
9
6
47
2
155
62
3
1
true
false
false
false
false
true
negative
73,097,412
Exception is: java.lang.NoClassDefFoundError: org/objectweb/asm/commons/Method
<p>Starting Gradle Daemon... Gradle Daemon started in 33 s 662 ms</p> <p>FAILURE: Build failed with an exception.</p> <ul> <li>What went wrong: org/objectweb/asm/commons/Method</li> </ul> <blockquote> <p>org.objectweb.asm.commons.Method</p> </blockquote> <ul> <li>Try:</li> </ul> <blockquote> <p>Run with --info or --deb...
Starting Gradle Daemon... Gradle Daemon started in 33 s 662 ms FAILURE: Build failed with an exception. What went wrong: org/objectweb/asm/commons/Method org.objectweb.asm.commons.Method Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights. Exception is: java.lang.NoClassD...
android-studio
0
2022-07-24T10:05:47.150Z
2,022
7
10
6
31
0
25,342
78
1
0
false
true
false
false
false
false
zero
73,097,447
Android Compose: how to get notification permission
<p>I need to get permission to turn do not disturb mode on or off. Normally, without composing I would use the following code and check the result of the launched activity:</p> <pre><code>val mNotificationManager = getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager if (!mNotificationManager.isNot...
I need to get permission to turn do not disturb mode on or off. Normally, without composing I would use the following code and check the result of the launched activity: [CODE] But with jetpack compose I would not know how to check if the user has obtained the permissions or not. For example, with the following code, I...
android|android-jetpack-compose|android-notifications|android-permissions|jetpack-compose-accompanist
0
2022-07-24T10:10:29.863Z
2,022
7
10
6
264
1
579
51
5
2
true
false
false
false
false
false
zero
73,097,456
I can not open downloaded from the server on android add-on files minecraft
<p>I have a task, I need to download from the server add-on files for minecraft (.mcaddon, .mcpack, etc.) on android. For this I use <code>DownloadManager</code>. It downloads the files, but I can't open them in minecraft. I assumed that the problem is in <code>MimeType</code>, so I tried several solutions (<code>appli...
I have a task, I need to download from the server add-on files for minecraft (.mcaddon, .mcpack, etc.) on android. For this I use DownloadManager . It downloads the files, but I can't open them in minecraft. I assumed that the problem is in MimeType , so I tried several solutions ( application/x-freearc , application/o...
android|kotlin|minecraft|android-download-manager
0
2022-07-24T10:11:32.593Z
2,022
7
10
6
67
1
468
75
4
1
true
false
false
false
false
false
zero
73,097,486
cannot run android studio emulator
<p>Trying to setup Intel x86 Emulator Accelerator (HAXM installer). Even after dowanlod manually from git hub get the same result. This is the resulf od trying install it through SDK-Manger:</p> <p>Packages to install: - Intel x86 Emulator Accelerator (HAXM installer) (extras;intel;Hardware_Accelerated_Execution_Manage...
Trying to setup Intel x86 Emulator Accelerator (HAXM installer). Even after dowanlod manually from git hub get the same result. This is the resulf od trying install it through SDK-Manger: Packages to install: - Intel x86 Emulator Accelerator (HAXM installer) (extras;intel;Hardware_Accelerated_Execution_Manager) Prepari...
android-studio|android-emulator
0
2022-07-24T10:14:56.683Z
2,022
7
10
6
44
0
1,096
34
2
0
false
true
false
false
false
false
zero
73,097,542
Can't attach the adapter to the RecyclerView
<p>Why can't I attach the adapter to <code>RecyclerView</code>? Just constantly getting <code>W/RecyclerView: No adapter attached; skipping layout</code></p> <p><strong>Fragment class</strong></p> <pre><code>class Latest : Fragment() { private var mRecyclerView: RecyclerView? = null private var mAdapter: CurrencyAdapt...
Why can't I attach the adapter to RecyclerView ? Just constantly getting W/RecyclerView: No adapter attached; skipping layout Fragment class [CODE] Adapter [CODE]
android|kotlin|android-recyclerview
0
2022-07-24T10:23:53.033Z
2,022
7
10
6
33
1
162
44
3
2
true
false
false
false
false
false
zero
73,097,632
android - Imageview has height 0 in adapter
<p>I've an imageview in my RecyclerView's adapter ... I download the image for it with Glide library . this is item view code :</p> <pre><code>&lt;androidx.cardview.widget.CardView xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:ca...
I've an imageview in my RecyclerView's adapter ... I download the image for it with Glide library . this is item view code : [CODE] ..... this is my adapter class : [CODE] it creates the views and I've 10 rows .. each row has it's own image and the image URL is 100percent true I'm sure about it but it has 0 height and ...
android|android-recyclerview|android-listview|android-imageview|android-adapter
0
2022-07-24T10:36:01.837Z
2,022
7
10
6
16
2
519
43
5
2
true
false
false
false
false
false
zero
73,097,686
Firebase seems to save names based on local devices
<p>First of all, not sure where to post this on the Stack community.</p> <p>I am creating an app, which suppose to be responsive, see: <a href="http://pedecabra.ideacodinglab.com/" rel="nofollow noreferrer">pedecabra.ideacodinglab.com</a> When I save to Firebase, from different devices, it creates the same collection t...
First of all, not sure where to post this on the Stack community. I am creating an app, which suppose to be responsive, see: pedecabra.ideacodinglab.com When I save to Firebase, from different devices, it creates the same collection twice, it supposes not to happen. But...just warned the user to use the same device. Bu...
android|angularjs|firebase|google-cloud-firestore|galaxy
1
2022-07-24T10:44:14.860Z
2,022
7
10
6
34
1
1,687
51
5
0
false
false
false
false
false
false
low
73,097,689
Is it safe to use Coroutines runBlocking() inside onDataSetChanged of RemoteViewsFactory?
<p>I am trying to fetch some latest movie images and display them in the Android app widgets, As per the requirement, the widget should refresh every hour to get the latest movies images.</p> <p>Since I am using coroutines throughout the app, I need to use the existing retrofit services with suspend function to get the...
I am trying to fetch some latest movie images and display them in the Android app widgets, As per the requirement, the widget should refresh every hour to get the latest movies images. Since I am using coroutines throughout the app, I need to use the existing retrofit services with suspend function to get the data. As ...
android|kotlin|kotlin-coroutines|android-appwidget|android-appwidget-list
2
2022-07-24T10:44:54.713Z
2,022
7
10
6
156
2
1,753
89
5
2
true
false
false
false
false
false
low
73,097,704
Flutter can't see image metadata info from Properties->Details
<p>I've to display image metadata info(date, lat, lng) to users. User can also edit their image while captured. But can't get any metadata info from edited image, cause editor remove metadata info from image. That's why I'm using FlutterExif to write lat, lng into image.</p> <pre><code>exif = FlutterExif.fromPath(fileP...
I've to display image metadata info(date, lat, lng) to users. User can also edit their image while captured. But can't get any metadata info from edited image, cause editor remove metadata info from image. That's why I'm using FlutterExif to write lat, lng into image. [CODE] From this, I can read metadata information f...
android|ios|flutter|dart
0
2022-07-24T10:47:03.197Z
2,022
7
10
6
28
0
612
62
4
1
true
true
false
false
false
false
zero
73,097,730
How to get rid of the resource not found exception when clicked on item view on recycler view and instead of data and activity lauch, it crashes app
<p>I have built an app to learn the use of adapter and recycler view. It contains a recycler view and adapter, it uses data class to show data on clicked to an item of the recycler view, but the app crashes on runtime whenever I click on an item of the recycler view and showing <strong>java resources not found excepti...
I have built an app to learn the use of adapter and recycler view. It contains a recycler view and adapter, it uses data class to show data on clicked to an item of the recycler view, but the app crashes on runtime whenever I click on an item of the recycler view and showing java resources not found exception , could a...
java|kotlin|android-recyclerview|android-adapter|android-runtime
0
2022-07-24T10:50:30.080Z
2,022
7
10
6
22
1
415
148
5
1
true
false
false
false
false
false
zero
73,097,745
Setting right path for raw audio file
<p>I am creating music player for Android in Java. Crucial function will be reading a cover art from raw song file. I am using MediaMetadataRetriever to do this but I have a error and I can t define the right path to raw file for setDataSource() function.</p> <p>The mp3 file to open is in the folder: res/raw/song.mp3</...
I am creating music player for Android in Java. Crucial function will be reading a cover art from raw song file. I am using MediaMetadataRetriever to do this but I have a error and I can t define the right path to raw file for setDataSource() function. The mp3 file to open is in the folder: res/raw/song.mp3 After start...
java|android|audio|android-mediaplayer
0
2022-07-24T10:52:47.970Z
2,022
7
10
6
59
0
426
37
4
3
true
true
false
false
false
false
zero
73,097,748
How do I cache an audio file onto local storage in React Native?
<p>After getting it from the server for the first time, i want to cache the data and store it in local storage and get it from there afterwards. How can i do this? What APIs do i use?(Newbie)</p>
After getting it from the server for the first time, i want to cache the data and store it in local storage and get it from there afterwards. How can i do this? What APIs do i use?(Newbie)
javascript|android|reactjs|react-native|caching
2
2022-07-24T10:53:54.027Z
2,022
7
10
6
46
0
188
64
5
0
false
true
false
false
false
false
low