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,982,017
Firebase SMS OTP says unreviewed, but the app is reviewed and published on google play
<p>I am using Firebase phone Auth for a flutter app, the app is deployed on the google play and works fine, but when anyone use phone sign in, here is the SMS they receive:</p> <blockquote> <p>123456 is your verification code for com.myapp.myapp (unreviewed)</p> </blockquote> <p>the app is reviewed and published on goo...
I am using Firebase phone Auth for a flutter app, the app is deployed on the google play and works fine, but when anyone use phone sign in, here is the SMS they receive: 123456 is your verification code for com.myapp.myapp (unreviewed) the app is reviewed and published on google play. I am to sure whats still (unreview...
android|flutter|firebase|authentication|firebase-authentication
1
2022-07-14T14:16:31.867Z
2,022
7
14
3
65
1
360
86
5
0
false
false
false
false
false
false
low
72,982,078
Android Studio app not appearing in emulator
<p>Cleared the project and build my app, which is using Ionic, Capacitor and Vue3.js. According to the logs, the build completes without errors. But the app does not appear in the emulator.</p> <p>Here is my AndroidManifest.xml</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;manifest...
Cleared the project and build my app, which is using Ionic, Capacitor and Vue3.js. According to the logs, the build completes without errors. But the app does not appear in the emulator. Here is my AndroidManifest.xml [CODE]
android|android-studio|android-emulator
1
2022-07-14T14:21:08.697Z
2,022
7
14
3
37
1
224
44
3
1
true
false
false
false
false
false
low
72,982,172
How will usage of kapt(Kotlin Annotation Processing Tool) alters my project when kapt is in maintenance mode?
<p>I observed that kapt will not work when I use it in my project while it is in maintenance mode. Because when I use it in my project it throws me this error</p> <pre><code> :app:kaptDebugKotlin task failed. :app:kaptReleaseKotlin task failed. </code></pre> <p>, and I think there is nothing wrong in my codes and...
I observed that kapt will not work when I use it in my project while it is in maintenance mode. Because when I use it in my project it throws me this error [CODE] , and I think there is nothing wrong in my codes and I have tried different ways and I am pretty sure that this error due to kapt because error only occurs w...
android|kotlin|kapt
0
2022-07-14T14:27:50.747Z
2,022
7
14
3
32
0
442
109
3
1
true
true
false
false
false
false
zero
72,982,352
Problems with android studio and quasar
<p>I work with quasar. I try initiating the project with these commands:</p> <pre><code>quasar build -m capacitor -T android quasar dev -m capacitor -T android </code></pre> <p>but when I insert the first command <a href="https://i.stack.imgur.com/BKWjU.png" rel="nofollow noreferrer">this error</a> appears</p> <pre><co...
I work with quasar. I try initiating the project with these commands: [CODE] but when I insert the first command this error appears [CODE]
java|android|vue.js|android-studio|quasar
1
2022-07-14T14:39:56.930Z
2,022
7
14
3
1,073
0
138
39
5
2
true
true
false
false
false
false
low
72,982,353
DateTimePickerModal On Working on Android
<p>I have used <code>react-native-modal-datetime-picker</code> to create a calendar view. I have created a state, <code>birthDate</code> to set my date using <code>onChange</code> function in <code>DateTimePickerModal</code>. The problem is the date is getting picked on IOS device but while picking the date in Android ...
I have used react-native-modal-datetime-picker to create a calendar view. I have created a state, birthDate to set my date using onChange function in DateTimePickerModal . The problem is the date is getting picked on IOS device but while picking the date in Android the state of birthDate is not changing and it is takin...
android|react-native|use-state
0
2022-07-14T14:40:03.813Z
2,022
7
14
3
136
1
461
41
3
1
true
false
false
false
false
false
zero
72,982,429
How do I change a device's currently active backup transport?
<p>When I execute the <code>bmgr list transports</code> command in the adb shell with my Android device plugged in, I see the following three backup transports are available for my Android device:</p> <pre><code> com.android.localtransport/.LocalTransport com.google.android.gms/.backup.migrate.service.D2dTranspo...
When I execute the bmgr list transports command in the adb shell with my Android device plugged in, I see the following three backup transports are available for my Android device: [CODE] I understand that the * character identifies the currently active transport. I would like to change the currently active transport t...
adb|android-backup-service
0
2022-07-14T14:45:31.147Z
2,022
7
14
3
48
1
401
61
2
1
true
false
false
false
false
false
zero
72,982,453
Android Studio "Unknown attribute android:text" warning in new project
<p>There's a warning that annoys me in Android Studio 3.5.3 for Linux, which I'm trying for the first time. I'm following the Android Tutorial <a href="https://developer.android.com/codelabs/basic-android-kotlin-training-create-dice-roller-app-with-button" rel="nofollow noreferrer">Create an interactive Dice Roller app...
There's a warning that annoys me in Android Studio 3.5.3 for Linux, which I'm trying for the first time. I'm following the Android Tutorial Create an interactive Dice Roller app and, on the 3rd step, it says that the button's text could be altered by changing the attribute &quot;text&quot; on the menu &quot;Declared At...
android-studio|android-layout|android-xml|android-studio-3.5|android-xml-attribute
3
2022-07-14T14:47:11.677Z
2,022
7
14
3
426
2
1,619
70
5
0
false
false
false
false
false
false
low
72,982,511
Android Studio: Set Text in fragment
<p>I've recently picked up an Android Studio project I started a year ago in Kotlin. It features three fragments that can be navigated through by a bottom navigation bar.</p> <p>Now, to break my current issue down to a simple example that even doesn't work for me: Given there's a the editText object <code>exercise</cod...
I've recently picked up an Android Studio project I started a year ago in Kotlin. It features three fragments that can be navigated through by a bottom navigation bar. Now, to break my current issue down to a simple example that even doesn't work for me: Given there's a the editText object exercise in fragment_home.xml...
android|kotlin|android-fragments|android-view
0
2022-07-14T14:50:18.463Z
2,022
7
14
3
147
3
1,049
36
4
2
true
false
false
false
false
false
zero
72,982,619
Composable Row elements disappear when the font size is set to big
<p>Currently, I have row with 3 elements, and I want to get something like left side. So far, I'm getting the right one. and my code is like this</p> <pre><code>Row(Arrangement.SpaceBetween) { Component1(weight = 1f) Component2(weight = 1f) Component3(weight = 1f) } </code></pre> <p>the reason I set <code>w...
Currently, I have row with 3 elements, and I want to get something like left side. So far, I'm getting the right one. and my code is like this [CODE] the reason I set weight = 1f is that when the font size is set to too big, then it will only show component1 and a bunch of space around it. (com2 and com3 will not show)...
android|android-jetpack-compose
0
2022-07-14T14:57:54.687Z
2,022
7
14
3
17
1
355
66
2
1
true
false
false
false
false
false
zero
72,982,625
Unable to import new hardware profiles into android studio
<p>Since I do not have a google glass device. I want to create an emulator in android studio with hardware profiles but I am unable to import a new hardware profile into android studio device manager. I am trying to import the google glass enterprise edition 2 hardware profile we can download it <a href="https://github...
Since I do not have a google glass device. I want to create an emulator in android studio with hardware profiles but I am unable to import a new hardware profile into android studio device manager. I am trying to import the google glass enterprise edition 2 hardware profile we can download it here . After I click the s...
android|android-studio|android-emulator|google-glass|google-glass-camera
2
2022-07-14T14:58:23.947Z
2,022
7
14
3
64
0
572
58
5
0
false
true
false
false
false
false
low
72,982,687
Flutter & Firebase Notification Problem, Not recivieng notification
<p>As for now flutter_messaging pacakge version is firebase_messaging: ^12.0.0</p> <p>and according to this package you dont need to specify any special settings in android manifest etc</p> <p>so leaving this aside, i followed all the required steps to connect my flutter app with fire base <strong>NOTE I ONLY NEED NOTI...
As for now flutter_messaging pacakge version is firebase_messaging: ^12.0.0 and according to this package you dont need to specify any special settings in android manifest etc so leaving this aside, i followed all the required steps to connect my flutter app with fire base NOTE I ONLY NEED NOTIFICAITON IN ANDROID FOR T...
android|flutter|firebase|firebase-cloud-messaging
0
2022-07-14T15:02:40.867Z
2,022
7
15
3
32
0
793
67
4
0
false
true
false
false
false
false
zero
72,982,883
Android: Adjust the buttons above soft keyboard on clicking edittext
<p>I am trying to adjust the softkeyboard right below the image buttons, but it covers the image buttons which does not makes it clickable . I want the buttons to be right above the softkeyboard when the user clicks on the edittext. I have tried using the <code>windowSoftInputMode=&quot;adjustResize&quot;</code>, but i...
I am trying to adjust the softkeyboard right below the image buttons, but it covers the image buttons which does not makes it clickable . I want the buttons to be right above the softkeyboard when the user clicks on the edittext. I have tried using the windowSoftInputMode=&quot;adjustResize&quot; , but it does not seem...
java|android|android-studio|android-layout|window-soft-input-mode
0
2022-07-14T15:16:20.290Z
2,022
7
15
3
31
1
414
68
5
2
true
false
false
false
false
false
zero
72,983,037
Video upload failing with Retrofit
<p>My users are able to upload videos.</p> <p>I'm trying to upload the video to the server, but I'm getting this error for bigger videos:</p> <blockquote> <p>java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 100663296 free bytes and 118MB until OOM, target footprint 244429328, growth limit...
My users are able to upload videos. I'm trying to upload the video to the server, but I'm getting this error for bigger videos: java.lang.OutOfMemoryError: Failed to allocate a 134217744 byte allocation with 100663296 free bytes and 118MB until OOM, target footprint 244429328, growth limit 268435456 Here is how I'm put...
android|retrofit|retrofit2
0
2022-07-14T15:28:12.553Z
2,022
7
15
3
47
0
529
34
3
3
true
true
false
false
false
false
zero
72,983,083
compose lazy gridcells not resolving correctly in a read-only file
<p>Required: androidx.compose.foundation.lazy.GridCells</p> <p>Found: androidx.compose.foundation.lazy.grid.GridCells</p> <p>for use with ReactionsPicker... a file from Stream Chat library ReactionsPicker call is in MessagesActivity ''' is SelectedMessageReactionsPickerState -&gt; { val gcells=GridCells.Fixed(5) // I a...
Required: androidx.compose.foundation.lazy.GridCells Found: androidx.compose.foundation.lazy.grid.GridCells for use with ReactionsPicker... a file from Stream Chat library ReactionsPicker call is in MessagesActivity ''' is SelectedMessageReactionsPickerState -> { val gcells=GridCells.Fixed(5) // I added this. cells is ...
android|android-studio|android-jetpack-compose|getstream-chat
0
2022-07-14T15:30:41.777Z
2,022
7
15
3
78
1
818
66
4
1
true
false
false
false
false
false
zero
72,983,147
Hilt: Components and Scopes in Android client-server app
<p>Base app architecture for Android client-server app is:</p> <ul> <li>UI (Activity + Fragment or Jetpack Compose)</li> <li>ViewModel (also is part of UI actually)</li> <li>Data (repositories to get data from database (Room) and API (Retrofit))</li> </ul> <p>Hilt has different Components and Scopes for Android <a href...
Base app architecture for Android client-server app is: UI (Activity + Fragment or Jetpack Compose) ViewModel (also is part of UI actually) Data (repositories to get data from database (Room) and API (Retrofit)) Hilt has different Components and Scopes for Android https://dagger.dev/hilt/components.html For my base app...
android|dependency-injection|dagger-hilt|android-architecture
0
2022-07-14T15:35:31.640Z
2,022
7
15
3
29
0
1,251
56
4
5
true
true
false
false
false
false
zero
72,983,173
DllNotFoundException when calling my CloudXR Android plugin from Unity
<p>I am creating an Android plugin to be used by Unity. However, I get a <code>DLLNotFoundException</code> when I try calling the plugin from Unity. Here are the steps I took:</p> <h2>Android Studio</h2> <p>I have generated an AAR plugin from the <code>hello_cloudxr_c</code> sample Android project which uses <code>Clou...
I am creating an Android plugin to be used by Unity. However, I get a DLLNotFoundException when I try calling the plugin from Unity. Here are the steps I took: Android Studio I have generated an AAR plugin from the hello_cloudxr_c sample Android project which uses CloudXR version 3.2 . This can be downloaded here: hell...
c#|android|unity3d
0
2022-07-14T15:37:28.397Z
2,022
7
15
3
38
0
2,484
70
3
3
true
true
false
false
false
false
zero
72,983,198
How to reference multiple aar artifacts in a com.android.library module?
<p>In my Android application project I am trying to <strong>avoid</strong> referencing an external Maven repository in my project from where I would load <strong>multiple</strong> .aar artifacts which make up <strong>one</strong> SDK.</p> <p>Instead, I would like to put the .aar files <strong>into</strong> my project a...
In my Android application project I am trying to avoid referencing an external Maven repository in my project from where I would load multiple .aar artifacts which make up one SDK. Instead, I would like to put the .aar files into my project and then reference them from one of my Gradle Android library modules . I alrea...
android|android-library|aar|android-jetifier
0
2022-07-14T15:39:30.363Z
2,022
7
15
3
63
1
952
72
4
0
false
false
false
false
false
false
zero
72,983,201
DiffUtil with ListAdapter, I wanna update specific items every time
<pre><code>data class A( val id: String ): BaseItem() { override fun equals(other: Any?): Boolean { // Need to Update every time even it is the same item return false } override fun hashCode(): Int { return id.hashCode() } } data class B( val id: String ): BaseItem() { ...
[CODE] [CODE] I have 3 types of data class for the RecyclerView. When using DiffUtil, I want to make the change every time only for the type A. Should I return false when A.equals() called? [CODE] Would it be solved by making equals() of type A class always return false?
android|android-diffutils
0
2022-07-14T15:39:48.333Z
2,022
7
15
3
26
0
271
67
2
3
true
true
false
false
false
false
zero
72,983,318
Android Toolbar will not display
<p>I am trying to create a toolbar. I call: setSupportActionBar(binding.appBarMain.toolbar);</p> <p>However, nothing appears at the top of the application.</p> <p>Here is my toolbar xml:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;androidx.constraintlayout.widget.ConstraintLayout...
I am trying to create a toolbar. I call: setSupportActionBar(binding.appBarMain.toolbar); However, nothing appears at the top of the application. Here is my toolbar xml: [CODE] I have a navigation that slides in from the left and works fine, however I would like a toolbar that displays the navigation as well. style.xml...
android
0
2022-07-14T15:48:11.023Z
2,022
7
15
3
47
1
374
32
1
4
true
false
false
false
false
false
zero
72,983,344
BLE not reading characteristic in reactive_ble
<p>I'm using the flutter_reactive_ble package to communicate with a ble device. All is good until I try to read the characteristic which gives me the following error:</p> <pre><code>E/flutter (28251): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Exception: GenericFailure&lt;CharacteristicValueUpdat...
I'm using the flutter_reactive_ble package to communicate with a ble device. All is good until I try to read the characteristic which gives me the following error: [CODE] This is my code block that contains the function: [CODE] I already tried finding other characteristic uuids to see if the problem was about the uuid,...
android|flutter|dart|bluetooth-lowenergy|nrf52
0
2022-07-14T15:50:10.073Z
2,022
7
15
3
135
1
801
46
5
2
true
false
false
false
false
false
zero
72,983,352
How to set Icon for a secondary activity with BROWSABLE intent filter for android 12?
<p>I want open an activity from my app with intentChoser for compass navigation and the problem is that in android 12 icon of this activity is not changed is same as application icon. How to set icon for this activity? <br /> Bellow is code how icon was set early android:icon=&quot;@drawable/ic_compass&quot;.</p> <p><a...
I want open an activity from my app with intentChoser for compass navigation and the problem is that in android 12 icon of this activity is not changed is same as application icon. How to set icon for this activity? Bellow is code how icon was set early android:icon=&quot;@drawable/ic_compass&quot;. This ic ic_comapass...
android|kotlin|android-activity|android-manifest
0
2022-07-14T15:50:47.533Z
2,022
7
15
3
41
0
422
85
4
1
true
true
false
false
false
false
zero
72,983,389
Is it possible to find out how many times a Google Wallet pass has been downloaded?
<p>I'm looking on the Google Pay and Wallet console, under the Google Wallet API and can see all my passes. I can't find a statistics section - I really want to find out how many of each pass have been downloaded and when. Is this possible?</p> <p>Thanks in advance :)</p>
I'm looking on the Google Pay and Wallet console, under the Google Wallet API and can see all my passes. I can't find a statistics section - I really want to find out how many of each pass have been downloaded and when. Is this possible? Thanks in advance :)
android-pay|google-pay
0
2022-07-14T15:53:41.970Z
2,022
7
15
3
28
0
258
83
2
0
false
true
false
false
false
false
zero
72,983,440
The argument type 'Future<dynamic> Function()' can't be assigned to the parameter type 'Future<bool> Function()?'
<p>I'm new to Flutter and I can't solve this error, if someone could help me to solve it I would be grateful.</p> <p>I declare this function and the compiler shows me that the error is in the function declaration.</p> <pre><code>Future _onWillPop() { //return _Pop(); //??? return showDialog( context: co...
I'm new to Flutter and I can't solve this error, if someone could help me to solve it I would be grateful. I declare this function and the compiler shows me that the error is in the function declaration. [CODE] This is where I declare the function and where the error appears. [CODE] Error: Cannot run with sound null sa...
android|flutter|android-studio|dart
0
2022-07-14T15:58:07.160Z
2,022
7
15
3
38
0
969
113
4
2
true
true
false
false
false
false
zero
72,983,470
Provide domain-layer UseCase classes with HILT
<p>I am implementing some of the architectural designs from <a href="https://github.com/google/iosched" rel="nofollow noreferrer">Google I/O's app</a> to my own app, but I have come across something in their app that has created some confusion for me.</p> <p>They have a domain layer with repository usecases, which I us...
I am implementing some of the architectural designs from Google I/O's app to my own app, but I have come across something in their app that has created some confusion for me. They have a domain layer with repository usecases, which I use myself in my apps usually. However, I do have to provide these usecases with dagge...
android|kotlin|dagger-2|android-jetpack|dagger-hilt
2
2022-07-14T16:01:05.847Z
2,022
7
16
3
271
1
1,086
46
5
5
true
false
false
false
false
false
low
72,983,475
In Android how do you create a button with a progress bar going around it as per Material IO Guidance
<p>I want to make a button which has an indeterminate progress bar around it's outside, <a href="https://material.io/archive/guidelines/components/progress-activity.html#progress-activity-types-of-indicators" rel="nofollow noreferrer">as we can see here</a>.</p> <p><a href="https://i.stack.imgur.com/2RbUo.png" rel="nof...
I want to make a button which has an indeterminate progress bar around it's outside, as we can see here . Based upon the available widgets, I cannot see how to make a circular button with this progress bar on it's outside. At this point, I have my floating action button: [CODE] With no progress bar! Please help. I foun...
android|android-layout|material-components-android
0
2022-07-14T16:01:34.173Z
2,022
7
16
3
35
1
1,041
101
3
2
true
false
false
false
false
false
zero
72,983,680
Android Calendar doesn't add Day
<pre><code> val dayCalendar = Calendar.getInstance() dayCalendar.time = entryDateC.time for (day in 1..howManyDays) { dayCalendar.add(Calendar.DAY_OF_MONTH, 1) if (!disabledDays.contains(dayCalendar)) { disabledDays.add(dayCalendar) } } </code></pre> <p>I checked and m...
[CODE] I checked and made sure that howManyDays is 30 by logging day inside the for loop. What I'm trying to do, is to add to the disabledDays each day for one month after the entryDate , but this code doesn't seem to work. All what is added to the disabledDays is one date. Any help?
android|kotlin|date|calendar|days
0
2022-07-14T16:16:58.513Z
2,022
7
16
3
58
0
284
32
5
1
true
true
false
false
false
false
zero
72,983,705
Unable to swipe BottomSheet when it's child NestedScrollView is scrolled
<p>I have a <code>BottomSheet</code> with a header (<code>LinearLayout</code>) and a <code>NestedScrollView</code> with a <code>RecyclerView</code> in it.</p> <p><code>NestedScrollView</code> has been added to stop <code>BottomSheet</code> from being swiped down when <code>RecyclerView</code> is scrolled, in activity <...
I have a BottomSheet with a header ( LinearLayout ) and a NestedScrollView with a RecyclerView in it. NestedScrollView has been added to stop BottomSheet from being swiped down when RecyclerView is scrolled, in activity setNestedScrollingEnabled on NestedScrollView is set to false. So the BottomSheet must be swipeable ...
android|android-recyclerview
0
2022-07-14T16:19:16.787Z
2,022
7
16
3
53
0
724
72
2
1
true
true
false
false
false
false
zero
72,983,726
Flutter WebView: Webpage not updating when switching from one webview to another
<p>Iam Devoloping a flutter app which loads webpage using flutter webView package.Iam using bottomNavigation bar to switch from one webpage to another.</p> <p>I have created a resuable webview widget,which takes url as parameter and loads the website, Here's the code:</p> <pre><code>import 'package:flutter/material.da...
Iam Devoloping a flutter app which loads webpage using flutter webView package.Iam using bottomNavigation bar to switch from one webpage to another. I have created a resuable webview widget,which takes url as parameter and loads the website, Here's the code: [CODE] And I will call loadpage(url: &quot;https://google.com...
android|flutter|flutterwebviewplugin
0
2022-07-14T16:21:38.653Z
2,022
7
16
3
36
0
544
80
3
3
true
true
false
false
false
false
zero
72,983,739
Problem to convert a kivy file to a .apk file in Google Colab
<p>I made a kivy app that I would like to convert to an .apk file to be able to use it in my android phone. I know that there is a lot of tutorials on the internet that explain how to do this in Google Colab. I used the instructions given in the article that you can find here : <a href="https://towardsdatascience.com/3...
I made a kivy app that I would like to convert to an .apk file to be able to use it in my android phone. I know that there is a lot of tutorials on the internet that explain how to do this in Google Colab. I used the instructions given in the article that you can find here : https://towardsdatascience.com/3-ways-to-con...
python|android|python-3.x|kivy|google-colaboratory
0
2022-07-14T16:23:07.657Z
2,022
7
16
3
149
0
979
61
5
3
true
true
false
false
false
false
zero
72,983,972
Execution failed for task ':expo-file-system:compileDebugKotlin'
<p>I inherited a react-native project and I'm struggling simply to get the project to build in Android, it's compiling for iOS.</p> <p>When I try to run the project the emulator is staring (- so I think my android developer envirement is setup right) but I have the following exeption</p> <blockquote> <p>FAILURE: Build ...
I inherited a react-native project and I'm struggling simply to get the project to build in Android, it's compiling for iOS. When I try to run the project the emulator is staring (- so I think my android developer envirement is setup right) but I have the following exeption FAILURE: Build failed with an exception. What...
android|react-native|compiler-errors|expo
1
2022-07-14T16:42:32.327Z
2,022
7
16
3
107
1
597
64
4
2
true
false
false
false
false
false
low
72,984,033
How to extends Application class to use Flutter plugin's class
<p>I am working on wrapping custom native Android and iOS libraries in a Flutter plugin. The native libraries have push notification functionalities that the plugin users can use. Normally for native Android and iOS developers, they only need to extend the application class with the library's class in Android, and exte...
I am working on wrapping custom native Android and iOS libraries in a Flutter plugin. The native libraries have push notification functionalities that the plugin users can use. Normally for native Android and iOS developers, they only need to extend the application class with the library's class in Android, and extend/...
android|ios|flutter|push-notification|flutter-plugin
0
2022-07-14T16:47:42.940Z
2,022
7
16
3
56
0
1,371
62
5
2
true
true
false
false
false
false
zero
72,984,103
Delphi FMX StringGrid how to change the keyboardtype to numeric
<p>Using Delphi 11.1 FireMonkey Hello I would like to change the keyboardtype of a stringgrid column to mumeric (for Android). Could someone please help me with that? Thanks! Ad</p>
Using Delphi 11.1 FireMonkey Hello I would like to change the keyboardtype of a stringgrid column to mumeric (for Android). Could someone please help me with that? Thanks! Ad
android|delphi|keyboard|firemonkey|stringgrid
0
2022-07-14T16:53:00.380Z
2,022
7
16
3
78
1
174
63
5
0
false
false
false
false
false
false
zero
72,984,118
A problem occurred evaluating project bluetooth_print
<p>I keep having a problem running my app. <a href="https://i.stack.imgur.com/yJPX2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/yJPX2.png" alt="enter image description here" /></a></p>
I keep having a problem running my app.
android|flutter|visual-studio|gradle|bluetooth-printing
0
2022-07-14T16:54:11.920Z
2,022
7
16
3
80
1
39
53
5
0
false
false
false
false
false
false
zero
72,984,178
getting null from function
<p>I am writing an android project using themoviedatabase api (tmdb). I use this to get data from tmdb <a href="https://github.com/UweTrottmann/tmdb-java" rel="nofollow noreferrer">https://github.com/UweTrottmann/tmdb-java</a></p> <p>And I use this library to set image to ImageView <a href="https://github.com/square/p...
I am writing an android project using themoviedatabase api (tmdb). I use this to get data from tmdb https://github.com/UweTrottmann/tmdb-java And I use this library to set image to ImageView https://github.com/square/picasso But when i run, it return null error at Picasso.get().load() java.lang.NullPointerException: At...
java|android
0
2022-07-14T16:59:28.820Z
2,022
7
16
3
37
1
453
26
2
1
true
false
false
false
false
false
zero
72,984,210
How to update livedata through a method with multiple parameters
<p>I have this livedata &quot;events&quot; that should be updated if the method loadEvents() gets fired. The thing is, I need to pass many different parameters to that method. If I call this method and then observe the data, the data is null. How can I do this?</p> <p>Viewmodel:</p> <pre><code>private val _events = Mut...
I have this livedata &quot;events&quot; that should be updated if the method loadEvents() gets fired. The thing is, I need to pass many different parameters to that method. If I call this method and then observe the data, the data is null. How can I do this? Viewmodel: [CODE] In my fragment, getEvents() works if I don'...
android|kotlin|android-livedata
0
2022-07-14T17:02:24.037Z
2,022
7
17
3
83
2
697
64
3
2
true
false
false
false
false
false
zero
72,984,257
How to retrieve subcategory data from json
<p>First of all sorry if the term <strong>subcategory</strong> is not the right one, I did not know what to call it</p> <p>I'm trying to retrieve the data present in <code>data</code> but I can't.</p> <p>My Json</p> <pre><code>{ &quot;server&quot;: [ { &quot;data&quot;: [ { &quot;name&quot...
First of all sorry if the term subcategory is not the right one, I did not know what to call it I'm trying to retrieve the data present in data but I can't. My Json [CODE] Main.java [CODE] I don't get a crash but I find these error lines in logcat [CODE] If you have a solution!
java|json|android-studio
0
2022-07-14T17:06:58.123Z
2,022
7
17
3
34
2
278
42
3
3
true
false
false
false
false
false
zero
72,984,346
Does Switching off the Android Phone destroys the activity?
<p>I was playing with the activity life cycle today. I had logged all the lifecycle methods. I was on the <code>MainActivity</code> and then switched off the phone suddenly. I noticed 2 methods being called:</p> <p><code>onPause</code>,</p> <p><code>onStop</code>,</p> <p>but <code>onDestroy</code> never got called.</p>...
I was playing with the activity life cycle today. I had logged all the lifecycle methods. I was on the MainActivity and then switched off the phone suddenly. I noticed 2 methods being called: onPause , onStop , but onDestroy never got called. Any take on this?
java|android|kotlin|mobile
1
2022-07-14T17:16:34.257Z
2,022
7
17
3
45
2
260
59
4
0
false
false
false
false
false
false
low
72,984,371
Export .clang-format code style to Android Studio
<p><strong>Question:</strong> Is there a way to import <code>.clang-format</code> code style in Android Studio for native development?</p> <p><strong>Context:</strong></p> <p>Hello all,</p> <p>I am currently working on a cross-platform C++ project, which also involves Android. We have multiple subprojects, including a ...
Question: Is there a way to import .clang-format code style in Android Studio for native development? Context: Hello all, I am currently working on a cross-platform C++ project, which also involves Android. We have multiple subprojects, including a platform-independent common code base. The structure of the whole repos...
android|c++|android-studio|intellij-idea|clang-format
2
2022-07-14T17:19:39.597Z
2,022
7
17
3
112
1
1,297
49
5
1
true
false
false
false
false
false
low
72,984,407
How to publish legacy android app with "unsafe encryption" error?
<p>We use AES encryption with static key and static vector. Encryption and decryption of data made on Windows, MacOS and Android. We know it is not secure to store the key in the app and we do not care about security, we just need to be able to support legacy data format, <strong>we need encryption not for security, bu...
We use AES encryption with static key and static vector. Encryption and decryption of data made on Windows, MacOS and Android. We know it is not secure to store the key in the app and we do not care about security, we just need to be able to support legacy data format, we need encryption not for security, but for back ...
android-security
0
2022-07-14T17:22:56.750Z
2,022
7
17
3
28
0
546
65
1
0
false
true
false
false
false
false
zero
72,984,423
App crash after interegrating firebase authentication in my app
<p>My app crashes on starting it (basically any activity with firebase code) after adding firebase authentication</p> <p>This is the logcat</p> <pre><code>2022-07-14 20:17:21.538 15482-15482/com.example.flimer E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.flimer, PID: 15482 java.lang.RuntimeExcep...
My app crashes on starting it (basically any activity with firebase code) after adding firebase authentication This is the logcat [CODE] This is the code for the splashscreen [CODE] This is the crash happening in my sign up screen on starting [CODE]
android|firebase|kotlin
-1
2022-07-14T17:24:03.843Z
2,022
7
17
3
56
1
249
63
3
3
true
false
false
false
false
true
negative
72,984,525
change edit text value when others edit text value change
<p>This is what I'm doing</p> <pre><code>binding.etReceivedPrice.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @Override public void onTextChanged(CharSequence s, int s...
This is what I'm doing [CODE] I want to calculate total amount and display in total amount edit text when received amount is typed.
java|android|android-studio|android-edittext
0
2022-07-14T17:32:02.517Z
2,022
7
17
3
28
1
131
57
4
1
true
false
false
false
false
false
zero
72,984,673
How to add a RecyclerView in a fragment Kotlin- I initialize the dataset but idk what to to with context
<p>ItemAdapter:</p> <p>class ItemAdapter( val context: Context, val dataset: List) : RecyclerView.Adapter&lt;ItemAdapter.ItemViewHolder&gt;() {</p> <p>Fragment:</p> <p>val dataset: List =ArrayList() val context: Context =</p> <p>//so i can initialize the-&gt; adapter= ItemAdapter(context, dataset)</p>
ItemAdapter: class ItemAdapter( val context: Context, val dataset: List) : RecyclerView.Adapter<ItemAdapter.ItemViewHolder>() { Fragment: val dataset: List =ArrayList() val context: Context = //so i can initialize the-> adapter= ItemAdapter(context, dataset)
android|kotlin
0
2022-07-14T17:46:07.527Z
2,022
7
17
3
29
2
258
104
2
0
false
false
false
false
false
false
zero
72,984,680
react native "Build failed with an exception"
<p>FAILURE: Build failed with an exception.</p> <ul> <li><p>Where: Build file 'C:\Users\ertu\Desktop\r\a\android\app\build.gradle' line: 1</p> </li> <li><p>What went wrong: A problem occurred evaluating project ':app'.</p> </li> </ul> <blockquote> <p>Failed to apply plugin 'com.android.internal.application'. Android Gr...
FAILURE: Build failed with an exception. Where: Build file 'C:\Users\ertu\Desktop\r\a\android\app\build.gradle' line: 1 What went wrong: A problem occurred evaluating project ':app'. Failed to apply plugin 'com.android.internal.application'. Android Gradle plugin requires Java 11 to run. You are currently using Java 1....
android|reactjs|react-native
-1
2022-07-14T17:46:46.997Z
2,022
7
17
3
48
1
532
45
3
0
false
false
false
false
false
true
negative
72,984,762
RecyclerView card change size randomly while scrolling
<p>My problem is as follows:<br /> I want to change <code>recyclerView card</code> size dynamically also with the margins between <code>textViews</code> inside.<br /> Three cases:<br /> <strong>1.</strong> Amount is empty so two textViews inside recyclerView card need to be slightly squeezed.<br /> I do it like this:</...
My problem is as follows: I want to change recyclerView card size dynamically also with the margins between textViews inside. Three cases: 1. Amount is empty so two textViews inside recyclerView card need to be slightly squeezed. I do it like this: [CODE] 2. Amount is very big so two textViews will be shifted into two ...
android|android-recyclerview|android-viewholder|android-viewbinding
0
2022-07-14T17:53:27.150Z
2,022
7
17
3
109
1
1,136
54
4
4
true
false
false
false
false
false
zero
72,984,845
How can I fake dagger injection for Instrumented test in dynamic-feature modules?
<p>I have a simple <strong>Note Taking Application</strong>. The Application has an <code>app</code> <em>gradle module</em> and <code>editnote</code> <em>gradle dynamic feature-module</em>.</p> <p>Hence my <code>editnote</code> gradle module will depend on <code>app</code> gradle module [because <em>feature-module</em>...
I have a simple Note Taking Application . The Application has an app gradle module and editnote gradle dynamic feature-module . Hence my editnote gradle module will depend on app gradle module [because feature-module is not not resolved at the compile time] My app contains an ApplicationModule dagger module and Applica...
android|kotlin|dependency-injection|dagger-2|instrumented-test
0
2022-07-14T18:00:09.130Z
2,022
7
18
3
40
0
1,099
81
5
6
true
true
false
false
false
false
zero
72,984,851
Repeat background in ScrollView
<p>Which is the best way to implement non-static background for ScrollView that repeats? Here's an example: <a href="https://imgur.com/a/FRbONWu" rel="nofollow noreferrer">https://imgur.com/a/FRbONWu</a></p> <p>My scrollview size is undefined, so i need to reuse given background. I tried to use this:</p> <pre><code>//b...
Which is the best way to implement non-static background for ScrollView that repeats? Here's an example: https://imgur.com/a/FRbONWu My scrollview size is undefined, so i need to reuse given background. I tried to use this: [CODE] I think android:tileMode proprty isn't working for my case. Is my only option is to creat...
android|layout|background|scrollview
0
2022-07-14T18:00:37.393Z
2,022
7
18
3
17
0
339
31
4
1
true
true
false
false
false
false
zero
72,984,852
OkHttpClient java.net.SocketTimeoutException: timeout
<p>I have a class where I prepare my OkHttpClient and add an Interceptor to it for my Retrofit requests in Android Studio. There it assigns default parameters in all requests.</p> <p>It works fine, except when I need to make requests with a high timeOut (a few minutes). When that happens, it returns the exception to me...
I have a class where I prepare my OkHttpClient and add an Interceptor to it for my Retrofit requests in Android Studio. There it assigns default parameters in all requests. It works fine, except when I need to make requests with a high timeOut (a few minutes). When that happens, it returns the exception to me after a f...
java|android-studio|retrofit
1
2022-07-14T18:00:41.887Z
2,022
7
18
3
109
0
581
53
3
2
true
true
false
false
false
false
low
72,984,865
Suspending all thread took :363ms in android
<p>My Android phone lags and freezes a lot. I read the logcat and found out what is causing the threads to suspend . I search the PID in adb , but But it did not show anything .I know GC does it .I tried hard to find out what service is causing this, but I couldn't.<br /> How should I solve this problem?</p> <p>/</p> <...
My Android phone lags and freezes a lot. I read the logcat and found out what is causing the threads to suspend . I search the PID in adb , but But it did not show anything .I know GC does it .I tried hard to find out what service is causing this, but I couldn't. How should I solve this problem? / `/CursorWindow(12450)...
android|multithreading|garbage-collection|logcat
0
2022-07-14T18:01:40.553Z
2,022
7
18
3
24
0
1,451
44
4
0
false
true
false
false
false
false
zero
72,984,891
com.segment.analytics.android:analytics, 4.9.4 error when uploading flutter app
<p>I have seen others post about this issue but in regards to expo/react. I am getting this error when trying to upload an appbundle built with flutter. I have tried upgrading all of my dependencies with no luck</p> <blockquote> <p>Your app &lt;&gt; version code 27 includes SDK com.segment.analytics.android:analytics, ...
I have seen others post about this issue but in regards to expo/react. I am getting this error when trying to upload an appbundle built with flutter. I have tried upgrading all of my dependencies with no luck Your app <> version code 27 includes SDK com.segment.analytics.android:analytics, 4.9.4 or an SDK that one of y...
android|flutter|firebase
0
2022-07-14T18:03:33.067Z
2,022
7
18
3
337
1
628
79
3
0
false
false
false
false
false
false
zero
72,984,963
Flutter build failure: MainActivity cannot be converted to FlutterEngine
<p>I am facing an error please help me to solve it out, I am completely new here.</p> <pre><code>error: incompatible types: MainActivity cannot be converted to FlutterEngine GeneratedPluginRegistrant.registerWith(this); * What went wrong: MainActivity.java uses or overrides a deprecated API. Execution failed for ...
I am facing an error please help me to solve it out, I am completely new here. [CODE]
java|flutter|android-studio
0
2022-07-14T18:10:04.380Z
2,022
7
18
3
22
0
85
72
3
1
true
true
false
false
false
false
zero
72,985,000
React Native CameraRoll: Possible Unhandled Promise Rejection (id: 0): Error: Operation not permitted
<p>I want to save the images in the cameraRoll and I am using @react-native-community/cameraroll. To install the package I ran:</p> <pre><code>yarn add @react-native-community/cameraroll </code></pre> <p>in <code>settings.gradle</code> file I added:</p> <pre><code>include ':@react-native-community_cameraroll' project('...
I want to save the images in the cameraRoll and I am using @react-native-community/cameraroll. To install the package I ran: [CODE] in settings.gradle file I added: [CODE] I ran [CODE] because I had the error in this link: https://github.com/react-native-cameraroll/react-native-cameraroll/issues/352 I added these permi...
android|react-native|permissions|camera-roll
0
2022-07-14T18:13:37.573Z
2,022
7
18
3
256
1
743
101
4
6
true
false
false
false
false
false
zero
72,985,057
How to wrap a native library class that has both a view and methods in Flutter plugin
<p>In my Flutter plugin project, I need to expose a class in custom native libraries to plugin users. This class is different from the others I worked on in that it contains both a view and some methods. In Android apps, the class' view is usually created in layout xml file, and then in Activity/Fragment file, it is re...
In my Flutter plugin project, I need to expose a class in custom native libraries to plugin users. This class is different from the others I worked on in that it contains both a view and some methods. In Android apps, the class' view is usually created in layout xml file, and then in Activity/Fragment file, it is refer...
android|ios|flutter|view|flutter-plugin
0
2022-07-14T18:19:45.457Z
2,022
7
18
3
63
0
906
85
5
0
false
true
false
false
false
false
zero
72,985,108
Moshi-JsonDataException: Required value '%s' missing at $
<p>I was working with Moshi to pull JSON data from an API and map it to my DTO Data classes when I encountered this error:</p> <blockquote> <p>FATAL EXCEPTION: main Process: com.plcoding.weatherapp, PID: 9706 com.squareup.moshi.JsonDataException: Required value 'weatherData' missing at $ at com.squareup.moshi.internal....
I was working with Moshi to pull JSON data from an API and map it to my DTO Data classes when I encountered this error: FATAL EXCEPTION: main Process: com.plcoding.weatherapp, PID: 9706 com.squareup.moshi.JsonDataException: Required value 'weatherData' missing at $ at com.squareup.moshi.internal.Util.missingProperty(Ut...
android|json|moshi
0
2022-07-14T18:24:29.557Z
2,022
7
18
3
188
1
807
57
3
4
true
false
false
false
false
false
zero
72,985,222
CopytoClipboard not working in Adapter to show in recyclerview
<p>I have a recyclerview with adapter (to show external strings)and I'm trying to click a button &quot;copy&quot; so that it copies the strings in view to the clipboard.</p> <p><code>CardLayout.xml</code> Button to use as copy button is <code>android:id=&quot;@+id/copyactivity&quot;</code></p> <pre><code>&lt;?xml versi...
I have a recyclerview with adapter (to show external strings)and I'm trying to click a button &quot;copy&quot; so that it copies the strings in view to the clipboard. CardLayout.xml Button to use as copy button is android:id=&quot;@+id/copyactivity&quot; [CODE] And this is my TaskAdapter.kt [CODE] There are two lines i...
android|kotlin|android-recyclerview|android-adapter
0
2022-07-14T18:34:48.183Z
2,022
7
18
3
34
2
513
62
4
4
true
false
false
false
false
false
zero
72,985,346
ActivityResultLauncher<Intent> returns result code before returning to activity
<p>I'm trying to open a third party camera in my activity. It has no problem opening the camera, however, it returns the result code immediately after opening the camera and I don't know why.</p> <p>Printing the result code gives '0'.</p> <p>I'm wondering if there's something I did wrong here, like since my camera just...
I'm trying to open a third party camera in my activity. It has no problem opening the camera, however, it returns the result code immediately after opening the camera and I don't know why. Printing the result code gives '0'. I'm wondering if there's something I did wrong here, like since my camera just takes the pictur...
java|android|android-studio|android-activity
0
2022-07-14T18:47:29.867Z
2,022
7
18
3
81
0
387
79
4
1
true
true
false
false
false
false
zero
72,985,362
Google Data Securuty Questions?
<p>im about to submit my first app and I don't really know how to fill the google security form. My app doesn't collect any data I know of. its just a simple app with information listed in it. You can also click some buttons that will take you directly to your phone dial screen, text message screen and email provider p...
im about to submit my first app and I don't really know how to fill the google security form. My app doesn't collect any data I know of. its just a simple app with information listed in it. You can also click some buttons that will take you directly to your phone dial screen, text message screen and email provider page...
android|google-play|admob|google-play-console|google-developers-console
0
2022-07-14T18:49:48.410Z
2,022
7
18
3
128
1
1,146
31
5
0
false
false
false
false
false
false
zero
72,985,438
Retrieve data from sub subcollection
<p><a href="https://i.stack.imgur.com/HlVLH.png" rel="nofollow noreferrer">employee collection</a></p> <p><a href="https://i.stack.imgur.com/23Uxh.png" rel="nofollow noreferrer">presence collection </a></p> <p><a href="https://i.stack.imgur.com/RtpTr.png" rel="nofollow noreferrer">get all user from employee collection<...
employee collection presence collection get all user from employee collection get all user code I want to take attendance data from every employee. I've managed to get all the user data, but I'm confused how to get the presence data in it. Can any of you be able to help me?
android|flutter|google-cloud-firestore
0
2022-07-14T18:57:24.697Z
2,022
7
18
3
14
0
274
36
3
0
false
true
false
false
false
false
zero
72,985,612
When receiving a push message on Android12 (API Level 31, 32) "Could not send notification" log is output
<p>I would like some advice. I'm implementing push messages with Firebase messaging. On Android 11 or earlier (API Level 30 or lower), it is notified without any problem, Not notified on Android12 (API Level 31, 32).</p> <p>Looking at the console log, the following log was output.</p> <p>I've looked at other articles a...
I would like some advice. I'm implementing push messages with Firebase messaging. On Android 11 or earlier (API Level 30 or lower), it is notified without any problem, Not notified on Android12 (API Level 31, 32). Looking at the console log, the following log was output. I've looked at other articles and tried and erro...
android|firebase|react-native|react-native-firebase|android-12
0
2022-07-14T19:17:08.883Z
2,022
7
19
3
171
0
6,065
105
5
1
true
true
false
false
false
false
zero
72,985,685
If statement not working yet used correctly
<pre><code> class SignUp : AppCompatActivity() { private lateinit var auth: FirebaseAuth private var etEmail: String? = null private var etPass: String? = null private var etPass2: String? = null private lateinit var btn: Button override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceSt...
[CODE] I am trying to check if the user has entered his email and password. But when I test the app it brings up this toast ' Fill in the blanks ' in the private is valid function yet I have entered an email and password.
android|kotlin
0
2022-07-14T19:24:54.937Z
2,022
7
19
3
94
3
221
43
2
1
true
false
false
false
false
false
zero
72,986,009
Using Paging 3 with two different requests so it works bidirectionally
<p>I have this task to do and it seems a bit like it might not be possible, at least with Paging 3 (and I don't know what else can be used for paging besides this library).</p> <p>The thing is, I have this recycler view with some events that are paginated when you scroll down. That works well but I also have the option...
I have this task to do and it seems a bit like it might not be possible, at least with Paging 3 (and I don't know what else can be used for paging besides this library). The thing is, I have this recycler view with some events that are paginated when you scroll down. That works well but I also have the option to move t...
android|android-paging|android-paging-3
0
2022-07-14T19:56:31.370Z
2,022
7
19
3
42
0
2,278
70
3
2
true
true
false
false
false
false
zero
72,986,071
Undo / Redo Bitmap is not properly working
<p>I have been stuck on this for a few days now and it's really beyond me why I can't get something so simple to work. I have a small drawing applicaiton, quite similiar to the Android FingerPaint demo, but I am saving each Bitmap after a drawing happens. This is because I plan to add a fill tool to my application late...
I have been stuck on this for a few days now and it's really beyond me why I can't get something so simple to work. I have a small drawing applicaiton, quite similiar to the Android FingerPaint demo, but I am saving each Bitmap after a drawing happens. This is because I plan to add a fill tool to my application later, ...
java|android|canvas|bitmap
0
2022-07-14T20:01:55.563Z
2,022
7
20
3
64
1
1,633
42
4
1
true
false
false
false
false
false
zero
72,986,183
NSData methods equivalent in Java
<p>I am trying to match iOS code to Java code, and I run into the problem. I read all the answers and as far as I understood I need to use <strong>ByteBuffer</strong> as an equivalent to <strong>NSData</strong> in Swift. But I couldn't find the methods that will help me to achieve this logic.</p> <ol> <li><p>In Java I ...
I am trying to match iOS code to Java code, and I run into the problem. I read all the answers and as far as I understood I need to use ByteBuffer as an equivalent to NSData in Swift. But I couldn't find the methods that will help me to achieve this logic. In Java I need to initializes an object filled with a given num...
java|android|swift|nsdata|bytebuffer
0
2022-07-14T20:14:40.877Z
2,022
7
20
3
45
0
612
33
5
0
false
true
false
false
false
false
zero
72,986,219
Beginner needing needs pointing in the right direction with the ActivityResultLauncher
<p>I am currently learning Android and the book I am currently using, uses startActivityForResult has been removed. I don't understand the replacement code. I would be grateful for any help. Even if it's just a little bit of help. When i click to go on the second activity (CheatActivity) the app crashes,</p> <p>This i...
I am currently learning Android and the book I am currently using, uses startActivityForResult has been removed. I don't understand the replacement code. I would be grateful for any help. Even if it's just a little bit of help. When i click to go on the second activity (CheatActivity) the app crashes, This is the MainA...
android|android-intent
0
2022-07-14T20:18:21.853Z
2,022
7
20
3
31
0
399
86
2
3
true
true
false
false
false
false
zero
72,986,256
Adding backend to android app (Azure SQL)
<p>I need to connect my android app to an azure sql server to add to the sql server and population data from it in the app for school.</p> <p>I’m not a great programmer, and don’t have much experience with Android and backend work.</p> <p>Can anyone point me in the right direction on where to get started? I feel like a...
I need to connect my android app to an azure sql server to add to the sql server and population data from it in the app for school. I’m not a great programmer, and don’t have much experience with Android and backend work. Can anyone point me in the right direction on where to get started? I feel like anytime I see some...
java|android|sql|azure|mobile
-1
2022-07-14T20:21:21.683Z
2,022
7
20
3
51
1
553
41
5
0
false
false
false
false
false
true
negative
72,986,355
the file was loaded into a wrong encoding problem
<p>So basically, I downloaded a mathparser file and put it in my libs, but when i open the file up it says this: <a href="https://i.stack.imgur.com/WIEqW.png" rel="nofollow noreferrer">the file was loaded into a wrong encoding: 'UTF-8'</a></p> <p>any help?</p>
So basically, I downloaded a mathparser file and put it in my libs, but when i open the file up it says this: the file was loaded into a wrong encoding: 'UTF-8' any help?
android-studio
0
2022-07-14T20:32:45.820Z
2,022
7
20
3
21
1
170
49
1
0
false
false
false
false
false
false
zero
72,986,423
Composable nested within ScrollView in a XML layout is not scrolling, intercepted by ScrollView
<p>I have tried a few answers which had worked with XML only layouts, they do not seem to be working for XML with ComposeViews inside.</p> <p>I need my ComposeView to get/handle the motion event.</p> <p>I have tried to override dispatchTouchEvent of parent layouts, and dispatch to ComposeView. I have tried requestdisal...
I have tried a few answers which had worked with XML only layouts, they do not seem to be working for XML with ComposeViews inside. I need my ComposeView to get/handle the motion event. I have tried to override dispatchTouchEvent of parent layouts, and dispatch to ComposeView. I have tried requestdisallowintercepttouch...
android|scroll|android-jetpack-compose|intercept
1
2022-07-14T20:39:50.553Z
2,022
7
20
3
32
0
445
95
4
1
true
true
false
false
false
false
low
72,986,460
After creating a NativeScript Typescript application, I tried running it using the command "ns run android" it doesnt run and i get the output
<p>After creating a NativeScript Typescript application, I tried running it using the command <code>ns run android</code> I get this output and does not run.</p> <ul> <li><p>The <code>ANDROID_HOME</code> environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-...
After creating a NativeScript Typescript application, I tried running it using the command ns run android I get this output and does not run. The ANDROID_HOME environment variable is not set or it points to a non-existent directory. You will not be able to perform any build-related operations for Android. To be able to...
android-studio|nativescript
0
2022-07-14T20:44:29.480Z
2,022
7
20
3
39
1
1,700
142
2
0
false
false
false
false
false
false
zero
72,986,564
Android SDK javadoc linking: too many redirects
<p>In my Android gradle project I'm trying to link to the Android developer docs, so the user can click off into standard classes like <code>Context</code>, etc. My gradle task looks like:</p> <pre><code>task javadocs(type: Javadoc) { source = android.sourceSets.main.java.srcDirs classpath += project.files(project....
In my Android gradle project I'm trying to link to the Android developer docs, so the user can click off into standard classes like Context , etc. My gradle task looks like: [CODE] In Chrome, when the javadoc is viewed in the frames layout and I click into an Android SDK classes, the frame changes too: The same thing i...
android|gradle|javadoc
0
2022-07-14T20:54:48.713Z
2,022
7
20
3
21
0
764
47
3
1
true
true
false
false
false
false
zero
72,986,580
Android safe args navigate to destination in adapter onClick not working
<p>In my Android (Java) app I'm using safe args with my nav controller to navigate to a detailed screen of the item clicked in my RecyclerView adapter. However, I'm having trouble getting my inner action class to be recognized:</p> <pre><code> holder.binding.firstItemLayout.setOnClickListener(new View.OnClickListene...
In my Android (Java) app I'm using safe args with my nav controller to navigate to a detailed screen of the item clicked in my RecyclerView adapter. However, I'm having trouble getting my inner action class to be recognized: [CODE] I get a &quot;Cannot resolve symbol 'ActionFirstFragmentToSecondFragment'&quot; warning....
java|android-studio|android-navigation|android-navigation-graph|android-safe-args
0
2022-07-14T20:56:43.080Z
2,022
7
20
3
46
0
556
72
5
2
true
true
false
false
false
false
zero
72,986,600
What are the use cases for AtomicFile?
<p>I'm having trouble understanding the use cases for <a href="https://developer.android.com/reference/android/util/AtomicFile" rel="nofollow noreferrer">AtomicFile</a>. Since it does not confer any thread safety, is it just for ensuring no partial/invalid files are written if the app crashes or device loses power duri...
I'm having trouble understanding the use cases for AtomicFile . Since it does not confer any thread safety, is it just for ensuring no partial/invalid files are written if the app crashes or device loses power during a file write? What would be the purpose of reading a file with AtomicFile?
android|kotlin|atomic|android-file
0
2022-07-14T21:00:01.630Z
2,022
7
21
3
40
1
291
38
4
0
false
false
false
false
false
false
zero
72,986,614
Espresso: How to test the style of a WebView element's contents
<p>I am wondering if there is a way to assert on the style of a WebView element's contents in Espresso. I am aware of the ability to get the text of an element, however, I would like to do more testing. I haven't been able to find clear documentation on how to do things like getting the background-color or text-color o...
I am wondering if there is a way to assert on the style of a WebView element's contents in Espresso. I am aware of the ability to get the text of an element, however, I would like to do more testing. I haven't been able to find clear documentation on how to do things like getting the background-color or text-color of a...
android|android-espresso
0
2022-07-14T21:01:27.100Z
2,022
7
21
3
44
0
578
63
2
1
true
true
false
false
false
false
zero
72,986,725
How to connect and send data between android devices java
<p>First off - YES I KNOW that there are an incredible amount of &quot;tutorials&quot; on the internet as well as SO questions on the topic that this question is on as well. PLEASE understand.</p> <p>I have an app, and am trying to add functionality to transfer data between two Android devices. The data is small, merel...
First off - YES I KNOW that there are an incredible amount of &quot;tutorials&quot; on the internet as well as SO questions on the topic that this question is on as well. PLEASE understand. I have an app, and am trying to add functionality to transfer data between two Android devices. The data is small, merely xy coord...
android|bluetooth
0
2022-07-14T21:13:17.730Z
2,022
7
21
3
26
0
1,993
57
2
0
false
true
false
false
false
false
zero
72,986,758
Jetpack Compose - DataStore interaction with Switch (preference)
<p>I'm learning Jetpack compose and I'm having a hard time.</p> <p>I have a DataStoreUtil class which sets and gets a Boolean value. Default value is true (if not found).</p> <pre><code>class DataStoreUtil(private val context: Context) { // to make sure there's only one instance companion object { priv...
I'm learning Jetpack compose and I'm having a hard time. I have a DataStoreUtil class which sets and gets a Boolean value. Default value is true (if not found). [CODE] I have tested it and it works. On the other side I have a Switch which should manage this Boolean value. [CODE] Saving this value via Switch works but n...
android|android-jetpack-compose
0
2022-07-14T21:17:34.220Z
2,022
7
21
3
92
1
546
64
2
2
true
false
false
false
false
false
zero
72,986,901
How to get notifications to appear right after page loads? (Xamarin, LocalNotifications Plugin)
<p>I have a project that needs notifications about upcoming events to show when the user opens the main page, and I'm having problems with async and await (I think). I am using the LocalNotifications Nuget plugin, because that's the only one I was allowed to use for this project. I have some methods that are intended t...
I have a project that needs notifications about upcoming events to show when the user opens the main page, and I'm having problems with async and await (I think). I am using the LocalNotifications Nuget plugin, because that's the only one I was allowed to use for this project. I have some methods that are intended to c...
c#|android|asynchronous|xamarin.forms
0
2022-07-14T21:38:18.917Z
2,022
7
21
3
34
0
2,008
95
4
3
true
true
false
false
false
false
zero
72,986,970
How do I change the background of the screen example in Android Studio split view so I can see the light color/contrast of the element I'm designing?
<p>I CAN NOT find a single resource on how I am supposed to change the background of the example view in Android Studio such that I can see a light color layout easily. It's white on basically white and it's hard to see period. Or better yet, how can I set the split view to only show the layout I'm working on and not a...
I CAN NOT find a single resource on how I am supposed to change the background of the example view in Android Studio such that I can see a light color layout easily. It's white on basically white and it's hard to see period. Or better yet, how can I set the split view to only show the layout I'm working on and not an &...
android-studio|accessibility|darkmode|high-contrast
0
2022-07-14T21:45:45.747Z
2,022
7
21
3
31
0
506
149
4
0
false
true
false
false
false
false
zero
72,986,977
Most efficient way to show a loading spinner - Android
<p>I am building an app that contains a lot of views that need to be loaded from a remote server. Therefore, a loading spinner like <a href="https://powerusers.microsoft.com/t5/image/serverpage/image-id/118082i204C32E01666789C?v=v2" rel="nofollow noreferrer">this one</a> will be used as a placeholder for it until it's ...
I am building an app that contains a lot of views that need to be loaded from a remote server. Therefore, a loading spinner like this one will be used as a placeholder for it until it's fully loaded. This is how I am doing it : 1- First, I use a spinner.gif file which I placed in the res/raw folder. I am really not res...
android|android-view
0
2022-07-14T21:46:57.053Z
2,022
7
21
3
90
1
892
54
2
1
true
false
false
false
false
false
zero
72,987,043
ionic 6 capacitor cannot change the app version on android
<p>I am using Ionic 6 and capacitor in a project.</p> <p>In the config.xml file I have:</p> <pre class="lang-xml prettyprint-override"><code> &lt;widget xmlns=&quot;w3.org/ns/widgets&quot;; xmlns:cdv=&quot;cordova.apache.org/ns/1.0&quot;&gt; </code></pre> <p>When I try to change it to:</p> <pre class="lang-xml prett...
I am using Ionic 6 and capacitor in a project. In the config.xml file I have: [CODE] When I try to change it to: [CODE] and then do ionic build android the version disappears and nothing is changed in the AndroidManifest.xml file. When I import the apk or other into google play to test it tells me that the version alre...
android-studio|ionic-framework|capacitor|ionic6
1
2022-07-14T21:57:34.887Z
2,022
7
21
3
295
1
367
58
4
2
true
false
false
false
false
false
low
72,987,045
I need it redirect to new page after clicking in listview
<p>I am designing a guide application. When I click on the person I selected from the list, it should go to the profile page I prepared. I will be very happy if you can help :)</p> <p><a href="https://i.stack.imgur.com/AANpq.png" rel="nofollow noreferrer">https://i.stack.imgur.com/AANpq.png</a></p>
I am designing a guide application. When I click on the person I selected from the list, it should go to the profile page I prepared. I will be very happy if you can help :) https://i.stack.imgur.com/AANpq.png
android-studio|kotlin|adapter
-1
2022-07-14T21:58:07.297Z
2,022
7
21
3
45
1
209
57
3
0
false
false
false
false
false
true
negative
72,987,051
App's Google Play URL not showing in Google Search
<p>I have an App published in Google Play but the market's link is not ranked in Google Search. The Play Store link is</p> <p><em><a href="https://play.google.com/store/apps/details?id=ekasa.com.retabet.full" rel="nofollow noreferrer">https://play.google.com/store/apps/details?id=ekasa.com.retabet.full</a></em></p> <p>...
I have an App published in Google Play but the market's link is not ranked in Google Search. The Play Store link is https://play.google.com/store/apps/details?id=ekasa.com.retabet.full Whenever I try to search in Google the Play Store link is not showing. The App was published last year. I have tried linking the App wi...
android|google-play|google-play-console|google-search|android-app-links
0
2022-07-14T21:59:07.963Z
2,022
7
21
3
30
0
464
50
5
0
false
true
false
false
false
false
zero
72,987,116
How to get app icon from app name in android and iOS?
<p>Is there any API available to get the app icon from app name?</p> <p>I know android has capability to read the installed apps but I want app icon which may not be installed on the users phone(Android).</p> <pre><code>try { val img = view.findViewById&lt;ImageView&gt;(R.id.img) val icon = context.packageManager.g...
Is there any API available to get the app icon from app name? I know android has capability to read the installed apps but I want app icon which may not be installed on the users phone(Android). [CODE] Also from below link iOS provides list but it has lot of apps other than exact name. E.g - &quot;Youtube&quot; as app ...
android|ios|google-play|icons|playback
0
2022-07-14T22:07:49.230Z
2,022
7
22
3
53
0
514
53
5
1
true
true
false
false
false
false
zero
72,987,134
How to make item appear in the center of the screen Jetpack Compose when using LazyRow or Column?
<p>I have been trying to make it so that the first item on a LazyRow is centered in the middle of the screen as soon as the app is opened. The snapping behavior works once it is scrolled, but when the app is initially opened, the first item is not centered on the page.</p> <p><strong>LazyRow with snapper and infinite s...
I have been trying to make it so that the first item on a LazyRow is centered in the middle of the screen as soon as the app is opened. The snapping behavior works once it is scrolled, but when the app is initially opened, the first item is not centered on the page. LazyRow with snapper and infinite scrolling [CODE] } ...
android|kotlin|android-jetpack-compose|android-jetpack
0
2022-07-14T22:11:07.403Z
2,022
7
22
3
223
1
382
97
4
1
true
false
false
false
false
false
zero
72,987,544
Android Studio: No error message appears during WIFI debugging
<p>When debugging over wifi (Using the otherwise nice Android Studio Wifi Debugging Feature), I often get no error message popping up in console when the app crashes. The app just stops, and no message appears in console. I always get an error message when debugging over USB.</p> <p>Why not just use USB debugging? B...
When debugging over wifi (Using the otherwise nice Android Studio Wifi Debugging Feature), I often get no error message popping up in console when the app crashes. The app just stops, and no message appears in console. I always get an error message when debugging over USB. Why not just use USB debugging? Because I'm de...
android|android-studio|adb|dji-sdk
0
2022-07-14T23:14:07.913Z
2,022
7
23
3
22
0
487
62
4
0
false
true
false
false
false
false
zero
72,987,545
How to navigate to another screen after call a viemodelscope method in viewmodel - Jetpack Compose
<p>Hello developers i have a problem i calling an api from viewmodel but is a coroutine and i do not how to wait to api response to make login .... i have this method in viewmodel:</p> <pre><code>fun createUser(context: Context){ viewModelScope.launch { val jsonObject= JSONObject() js...
Hello developers i have a problem i calling an api from viewmodel but is a coroutine and i do not how to wait to api response to make login .... i have this method in viewmodel: [CODE] and this is onClick event from button in a @Composable function: [CODE] The big problem is that when the navigation is triggered, the c...
android-jetpack-compose
0
2022-07-14T23:14:38.730Z
2,022
7
23
3
134
1
445
98
1
2
true
false
false
false
false
false
zero
72,987,701
Asynchronous suspension error in flutter app for google sign in
<p>I am trying to implement google sign in feature for a Flutter application using Firebase. Every time I try to implement it I get this error.</p> <p><strong>Error</strong></p> <pre><code>W/GoogleApiManager( 4417): The service for com.google.android.gms.auth.api.signin.internal.zbe is not available: ConnectionResult{s...
I am trying to implement google sign in feature for a Flutter application using Firebase. Every time I try to implement it I get this error. Error [CODE] I have checked the SHA-1 debug key and it is correct. I don't know what else it could be. Any help would be greatly appreciated. auth.dart [CODE]
android|flutter|firebase|google-signin
0
2022-07-14T23:44:55.357Z
2,022
7
23
3
391
0
299
63
4
2
true
true
false
false
false
false
zero
72,987,745
Button android studio, how to create a button that stops setonclicklistener function?
<p>I have a button such as</p> <pre><code> &lt;com.google.android.material.button.MaterialButton android:id=&quot;@+id/button&quot; style=&quot;@style/Widget.MaterialComponents.Button.OutlinedButton.Icon&quot; android:layout_width=&quot;150dp&qu...
I have a button such as [CODE] I have created a setOnClickListener method and inside their is a loop. [CODE] This method works fine, however, I have created a .apk file. When I click the button the function runs. I want to know how I can exit the loop by clicking the same button. Regardless of whether or not the loop h...
android|android-studio|kotlin|android-button
0
2022-07-14T23:52:24.883Z
2,022
7
23
3
59
2
332
85
4
2
true
false
false
false
false
false
zero
72,987,753
Is using a Service onStartCommand for multiple intents bad practice?
<p>I have a long-running foreground service which generates high priority notifications that require a yes/no button press in order to be dismissed.</p> <p>The button presses are handled by addAction calls, where I must send in an Intent that will transmit the resulting button press.</p> <p>Right now, I'm sending every...
I have a long-running foreground service which generates high priority notifications that require a yes/no button press in order to be dismissed. The button presses are handled by addAction calls, where I must send in an Intent that will transmit the resulting button press. Right now, I'm sending everything back to the...
android|android-intent|android-service
0
2022-07-14T23:53:35.553Z
2,022
7
23
3
30
1
752
68
3
1
true
false
false
false
false
false
zero
72,987,771
Streaming H.264 video in MPEG2-TS over RTP
<p>I am trying to build an Android application that is able to stream the screen over the network using an H.264 video feed in an MPEG2-TS container, sent over RTP (in case it matters, this is supposed to stream to a Miracast display). I have the screen recording and H.264 encoding working but can't figure out the MPEG...
I am trying to build an Android application that is able to stream the screen over the network using an H.264 video feed in an MPEG2-TS container, sent over RTP (in case it matters, this is supposed to stream to a Miracast display). I have the screen recording and H.264 encoding working but can't figure out the MPEG2-T...
java|android|video-streaming|mpeg2-ts|miracast
0
2022-07-14T23:58:26.017Z
2,022
7
23
3
369
1
870
42
5
0
false
false
false
false
false
false
zero
72,987,826
Using cookies in Exoplayer streams
<p>I'm trying to stream content from a URL that returns a 404 if you're not logged in or a 302 redirect if you are. To log in, I need to pass a cookie in the headers for Exoplayer's requests, but I'm struggling to work out how.</p> <p>Previous answers suggest using a default Cookie Manager instance with your cookies al...
I'm trying to stream content from a URL that returns a 404 if you're not logged in or a 302 redirect if you are. To log in, I need to pass a cookie in the headers for Exoplayer's requests, but I'm struggling to work out how. Previous answers suggest using a default Cookie Manager instance with your cookies already set....
android|kotlin|cookies|exoplayer
0
2022-07-15T00:08:57.357Z
2,022
7
0
4
78
0
614
34
4
1
true
true
false
false
false
false
zero
72,987,865
Hide Action and/or Status Bar Android Studio APK via Vue+Capacitor
<p>I am web developer trying to transition into app developer. For the current project I am working, I have a pipeline based on;</p> <ol> <li>Vue SPA development &gt; npm run build</li> <li>install capacitor on that project based on <a href="https://capacitorjs.com/docs/getting-started" rel="nofollow noreferrer">https:...
I am web developer trying to transition into app developer. For the current project I am working, I have a pipeline based on; Vue SPA development > npm run build install capacitor on that project based on https://capacitorjs.com/docs/getting-started where capacitor www folder looks at dist folder emerging from Vue npm ...
vue.js|android-studio|capacitor
1
2022-07-15T00:19:05.880Z
2,022
7
0
4
40
0
2,641
66
3
4
true
true
false
false
false
false
low
72,988,221
i need to create a global variable to fill data from a cursor and use it in the oncreate activity
<p>I have an activity, in the same activity I have a cursor that returns an array of data, I need to create a global variable(ArrayList) that is filled with the cursor data to be used elsewhere. global varible un activity:</p> <pre><code>private final ArrayList&lt;HourlyBenefitDetails&gt; dummyBenefitDetail = new Array...
I have an activity, in the same activity I have a cursor that returns an array of data, I need to create a global variable(ArrayList) that is filled with the cursor data to be used elsewhere. global varible un activity: [CODE] the data in the cursor is correctly filled in: [CODE] in the onCreate I want to use the globa...
android
0
2022-07-15T01:35:27.810Z
2,022
7
1
4
14
0
440
97
1
3
true
true
false
false
false
false
zero
72,988,306
Apk development code - <application android:name= "com.example.nameofapp.BaseApplication"> how is it included in the project or the libraries?
<p>Good afternoon, I'm new to app development and I would like to see if there is someone who can give me like a tip or advice on this particular problem.</p> <p>Basically this apk is going to use features from another apk and I think I understand how it's integrated inside the code, for example:</p> <pre><code>&lt;app...
Good afternoon, I'm new to app development and I would like to see if there is someone who can give me like a tip or advice on this particular problem. Basically this apk is going to use features from another apk and I think I understand how it's integrated inside the code, for example: [CODE] but my question is how do...
android|xml|kotlin|apk
0
2022-07-15T01:51:29.017Z
2,022
7
1
4
27
0
631
142
4
1
true
true
false
false
false
false
zero
72,988,343
How to make the average time admin replies to client messages by comparing datetime in firestore firebase
<p><a href="https://i.stack.imgur.com/XYKUW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XYKUW.png" alt="" /></a></p> <p>for ex: that's DateTime when client sent a message to the admin, and when the admin replies the message will add a new field like that, and how to compare both of them becomes t...
for ex: that's DateTime when client sent a message to the admin, and when the admin replies the message will add a new field like that, and how to compare both of them becomes time average
java|android|firebase|datetime|google-cloud-firestore
0
2022-07-15T01:57:10.420Z
2,022
7
1
4
19
0
188
105
5
0
false
true
false
false
false
false
zero
72,988,518
Why I can't define FindViewById() on Fragment with Volley Library
<p>I am trying to define <code>FindViewById()</code> on Fragment with Volley Library. Also, I put <code>FindViewById()</code> on method <code>OnResponse()</code>, but I am getting an error. Do you have any solution? Here is my code.</p> <pre><code>package com.smktelkommlg.prakerinlistview; import android.content.Inten...
I am trying to define FindViewById() on Fragment with Volley Library. Also, I put FindViewById() on method OnResponse() , but I am getting an error. Do you have any solution? Here is my code. [CODE] I can't define this ProgressBar progressBar = findViewById(R.id.rolling); Do I have to put ProgressBar progressBar = find...
java|android-studio|android-fragments|android-volley|findviewbyid
0
2022-07-15T02:39:33.960Z
2,022
7
2
4
29
1
531
65
5
2
true
false
false
false
false
false
zero
72,988,591
Prevent Android keyboard in Chrome from showing password management on HTML input
<p>I have an HTML <code>&lt;input&gt;</code> element which, when focused in Chrome android, shows this annoying password management feature above the keyboard which takes up screen real estate. It's not a password type field so I'm not sure why this is happening. Any idea how to get rid of it?</p> <pre><code>&lt;form i...
I have an HTML <input> element which, when focused in Chrome android, shows this annoying password management feature above the keyboard which takes up screen real estate. It's not a password type field so I'm not sure why this is happening. Any idea how to get rid of it? [CODE] Update : This is a Chrome bug so remembe...
android|html|google-chrome
7
2022-07-15T02:54:00.883Z
2,022
7
2
4
257
1
380
81
3
1
true
false
false
false
false
false
medium
72,988,679
How can i add delay between items in listview.builder?
<p>I have a ListView containing string items. I want to make it so that ListView's items show one by one with delay. And after each item appears, I want to wait about 2 seconds with a typing indicator and then the next item will appear. How will I do? Please give me the solution. Thanks!</p>
I have a ListView containing string items. I want to make it so that ListView's items show one by one with delay. And after each item appears, I want to wait about 2 seconds with a typing indicator and then the next item will appear. How will I do? Please give me the solution. Thanks!
android|ios|flutter|dart
1
2022-07-15T03:12:49.953Z
2,022
7
3
4
85
2
285
54
4
0
false
false
false
false
false
false
low
72,988,759
Is it possible to install a modified version of a system app?
<p>Installing a modified version of my Androids' settings app gives error INSTALL_FAILED_UPDATE_INCOMPATIBLE. Is there any way to bypass the signature check?</p>
Installing a modified version of my Androids' settings app gives error INSTALL_FAILED_UPDATE_INCOMPATIBLE. Is there any way to bypass the signature check?
android
0
2022-07-15T03:27:48.843Z
2,022
7
3
4
21
0
154
61
1
0
false
true
false
false
false
false
zero
72,988,773
Android Splash Screen with user defined theme
<pre><code>I have migrated my splash screen to Android splash screen to support android 12. App uses user theme based on color. The theme was set onCreate() method of activity with setTheme() method. </code></pre> <p>After migration, I can set only one theme through XML attribute &quot;postSplashScreenTheme&quot;. How ...
[CODE] After migration, I can set only one theme through XML attribute &quot;postSplashScreenTheme&quot;. How to set &quot;postSplashScreenTheme&quot; programmatically.
android|splash-screen
0
2022-07-15T03:30:54.207Z
2,022
7
3
4
88
0
168
45
2
1
true
true
false
false
false
false
zero
72,988,854
Paging3 with RemoteMediator stuck in page 3 and constantly calling APPEND even when idle
<p>I am trying to use Paging 3 for my list. At first i use the PagingSource with only network data source and it is working properly. Then i tried to implement offline caching with RemoteMediator, but i couldnt get it work. There is 2 problem i experience with this:</p> <ol> <li>It constantly calling <code>LoadType.APP...
I am trying to use Paging 3 for my list. At first i use the PagingSource with only network data source and it is working properly. Then i tried to implement offline caching with RemoteMediator, but i couldnt get it work. There is 2 problem i experience with this: It constantly calling LoadType.APPEND even when the list...
android|android-paging|android-paging-3
0
2022-07-15T03:48:19.070Z
2,022
7
3
4
128
0
630
88
3
2
true
true
false
false
false
false
zero
72,988,923
Intent.createChooser not working for sharing image in REDMI xiomi devices
<p><strong>Intent.createChooser not working for sharing image in REDMI devices</strong></p> <p>I am saving image locally in my external storage of device and then passing the URI of that image in Intent.putExtra(Intent.EXTRA_STREAM, uri) and MIME type as image/jpg and then using Intent.createChooser . It works perfectl...
Intent.createChooser not working for sharing image in REDMI devices I am saving image locally in my external storage of device and then passing the URI of that image in Intent.putExtra(Intent.EXTRA_STREAM, uri) and MIME type as image/jpg and then using Intent.createChooser . It works perfectly in all android devices bu...
android|kotlin|android-intent|uri|redmi-device
1
2022-07-15T04:03:18.600Z
2,022
7
4
4
97
1
719
73
5
1
true
false
false
false
false
false
low
72,988,993
Why android binder need mmap?
<p>Binder client and server use binder driver to send and receive data. By reading binder related source code, I find that APP process send and receive data by ioctl(BINDER_READ_WRITE), and binder driver read data by copy_from_user and write data by copy_to_user.</p> <p>Since binder driver implements a character device...
Binder client and server use binder driver to send and receive data. By reading binder related source code, I find that APP process send and receive data by ioctl(BINDER_READ_WRITE), and binder driver read data by copy_from_user and write data by copy_to_user. Since binder driver implements a character device and send/...
android|android-binder
0
2022-07-15T04:18:09.273Z
2,022
7
4
4
69
0
782
29
2
0
false
true
false
false
false
false
zero