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,824,734
Android 12 Media Player Volume small hiccup
<p>Good day, So I have an issue on Android 12 media player volume.</p> <p>I created a simple alarm clock using media player to setup my ringtone media.</p> <p>I didn't touch the setVolume.</p> <p>what happen is, when the alarm is triggered, the first &quot;ring&quot; on my media player volume is</p> <p>faint then the s...
Good day, So I have an issue on Android 12 media player volume. I created a simple alarm clock using media player to setup my ringtone media. I didn't touch the setVolume. what happen is, when the alarm is triggered, the first &quot;ring&quot; on my media player volume is faint then the succeeding &quot;ring&quot; is a...
android|android-mediaplayer|android-12
0
2022-09-23T08:07:10.523Z
2,022
9
8
4
12
0
437
43
3
0
false
true
false
false
false
false
zero
73,824,759
How to load video fast like tiktok or Facebook in react native
<p>I am trying to developed <code>VideoFeed</code> screen where user can view the number of video one by one.</p> <p>I have used flatlist to render the video and used <code>react-native-video</code> library to play vide.</p> <p>In android I have used <code>ExoPlayer</code> to play the video.</p> <p>I am using HLS(.m3u8...
I am trying to developed VideoFeed screen where user can view the number of video one by one. I have used flatlist to render the video and used react-native-video library to play vide. In android I have used ExoPlayer to play the video. I am using HLS(.m3u8) url to play video, but it takes time to loading not too much ...
android|react-native|exoplayer|react-native-video
1
2022-09-23T08:08:34.903Z
2,022
9
8
4
29
0
607
62
4
1
true
true
false
false
false
false
low
73,824,814
Value Event Listener returning data of only child of Root Node
<p>I am trying to get data from firebase database. the realtime database has following json data</p> <pre><code>{&quot;Users&quot;: { &quot;m7jnhJgBg3etM7Tmq1YUyV8C4F83&quot;: { &quot;-NCcfP3bwRGtQnMWdKbN&quot;: { &quot;avery&quot;: &quot;aa&quot;, &quot;birdage&quot;: &quot;aa&quot;, &quot;birdname&quot;...
I am trying to get data from firebase database. the realtime database has following json data [CODE] The m7jnhJgBg3etM7Tmq1YUyV8C4F83 further can have multiple entries. Below is the Function for Retriving data from User's child node m7jnhJgBg3etM7Tmq1YUyV8C4F83 . [CODE] The above function is working fine but when I try...
android|firebase|kotlin|firebase-realtime-database|android-recyclerview
0
2022-09-23T08:13:22.827Z
2,022
9
8
4
36
1
438
62
5
3
true
false
false
false
false
false
zero
73,824,946
how to initialization webrtc Native Android client peerconnection (C++)
<p>I am trying to create an application that uses webrtc data channels, to create a peer connection to an existing server. The client must run a native application on android (no Java of any kind, JNI might be acceptable though if it is the only way, that is not my choice it is a hard requirement on the project) while ...
I am trying to create an application that uses webrtc data channels, to create a peer connection to an existing server. The client must run a native application on android (no Java of any kind, JNI might be acceptable though if it is the only way, that is not my choice it is a hard requirement on the project) while the...
android|c++|webrtc|rtcpeerconnection|peer-connection
0
2022-09-23T08:24:26.807Z
2,022
9
8
4
19
0
1,415
71
5
0
false
true
false
false
false
false
zero
73,825,179
Develop Android app for connecting to smart devices/Home automation app
<p>So, for the start I have a smart light device. I want to develop a app which searches this smart light and then connect to it. After connection I want to access the traits offered by that smart light and control it from my application.</p> <p>What I have tried is, I have used Android NSD service to discover devices ...
So, for the start I have a smart light device. I want to develop a app which searches this smart light and then connect to it. After connection I want to access the traits offered by that smart light and control it from my application. What I have tried is, I have used Android NSD service to discover devices but I didn...
android|home-automation|smart-device
0
2022-09-23T08:45:35.853Z
2,022
9
8
4
12
0
511
71
3
0
false
true
false
false
false
false
zero
73,825,249
WebdriverIO / Appium Multiremote with same PageObjectModel class access
<p>How can I use multiremote instances to login one user on one phone and other on other phone in order for them to comunicate by using POM also.</p> <p>Current flow for login is here</p> <p><a href="https://i.stack.imgur.com/UzZsd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UzZsd.png" alt="curre...
How can I use multiremote instances to login one user on one phone and other on other phone in order for them to comunicate by using POM also. Current flow for login is here Login.page.js content: [ 2 Page.js content: And i need something like this login one user on one device and other on second device: I created page...
webdriver-io|appium-android|webdriver-io-v4
0
2022-09-23T08:51:17.827Z
2,022
9
8
4
10
0
556
71
3
0
false
true
false
false
false
false
zero
73,825,309
Getting socket disconnect exception on low internet in android: connect failed: ECONNABORTED (Software caused connection abort)
<p>Trying to disconnect the socket on low internet, This is the code below to disconnect the socket.</p> <pre><code>socket?.shutdownOutput() socket?.close() </code></pre>
Trying to disconnect the socket on low internet, This is the code below to disconnect the socket. [CODE]
android|kotlin
0
2022-09-23T08:56:10.620Z
2,022
9
8
4
7
0
104
127
2
1
true
true
false
false
false
false
zero
73,825,346
Apple Sign in getting error "Invalid_client" firebase android
<p>Everything we are done for Apple - SignIn</p> <ul> <li>In Firebase - we setup service-id, keyID, private key, Team ID</li> <li>In Android code - we did as same as document Still, we face problem of apple - sign in as Invalid client</li> </ul>
Everything we are done for Apple - SignIn In Firebase - we setup service-id, keyID, private key, Team ID In Android code - we did as same as document Still, we face problem of apple - sign in as Invalid client
android|firebase|authentication|firebase-authentication|apple-sign-in
0
2022-09-23T08:58:45.560Z
2,022
9
8
4
4
1
209
61
5
0
false
false
false
false
false
false
zero
73,825,408
Display activity as a popup window
<p>I have a service that starts an activity as a dialog/popup window from my app. It works generally ok.</p> <p>When my app is closed (not in recents), the popup will overlay any underlying app with a transparent surrounding background.</p> <p>But the issue comes when my app was minimized in the background and I'm usin...
I have a service that starts an activity as a dialog/popup window from my app. It works generally ok. When my app is closed (not in recents), the popup will overlay any underlying app with a transparent surrounding background. But the issue comes when my app was minimized in the background and I'm using another app, th...
java|android|android-activity|android-theme
0
2022-09-23T09:04:05.553Z
2,022
9
9
4
13
1
610
34
4
1
true
false
false
false
false
false
zero
73,825,488
Use string resources with testFixtures in Android Studio
<p><a href="https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/dsl/TestFixtures" rel="nofollow noreferrer">testFixtures</a> have been introduced since AGP 7.0.</p> <p>I have enabled the following in my <code>build.gradle</code>:</p> <pre><code> testFixtures { enable = true ...
testFixtures have been introduced since AGP 7.0. I have enabled the following in my build.gradle : [CODE] In my local unit tests I can reference strings resources (strings in strings.xml ) placed in the main source set, but I can't access those placed my testFixtures source set. Placing string resources under the src/t...
android|unit-testing|gradle|junit|android-gradle-plugin
0
2022-09-23T09:11:24.330Z
2,022
9
9
4
11
0
573
56
5
1
true
true
false
false
false
false
zero
73,825,489
Linphone SDK gives io error in Android Devices when connecting to local network
<p>I have successfully integrated <strong>Linphone SDK</strong> in my project with their dependency.</p> <pre><code> implementation 'org.linphone:linphone-sdk-android:5.1.59' // Adding this dependency allows the linphone-sdk to automatically handle audio focus implementation 'androidx.media:media:1.6.0' </co...
I have successfully integrated Linphone SDK in my project with their dependency. [CODE] And It is working completely ok when using credentials of linphone.But When I am trying to use our sip credentials of PBX It throws io error I have tested our credentials of our local network in Linphone Android App It works fine. B...
android|sip|linphone|sip-server|linphone-sdk
0
2022-09-23T09:11:34.017Z
2,022
9
9
4
18
1
415
79
5
2
true
false
false
false
false
false
zero
73,825,499
How to align a Text and Icon Composable so that they stay together even after text overflow?
<p>I have a Text and an Icon composable. I want the icon to stick to the right of composable. This is the code I have:</p> <pre class="lang-kotlin prettyprint-override"><code>Row( verticalAlignment = Alignment.CenterVertically, horizontalArrangement = Arrangement.Center, modifier = Modifier .fillMax...
I have a Text and an Icon composable. I want the icon to stick to the right of composable. This is the code I have: [CODE] The corresponding UI is: This looks fine but when the text is too long and there is an overflow, the icon gets out of the screen like this: Instead I want to make it look like this: I tried giving ...
android|kotlin|android-jetpack-compose
2
2022-09-23T09:12:06.957Z
2,022
9
9
4
40
1
603
92
3
1
true
false
false
false
false
false
low
73,825,512
Android 12 does not showing notification icon
<p>Notification icon is not displaying the app icon, this issue is only in android 12.</p> <p>My code:- Notification method:-</p> <pre><code> Intent intent = new Intent(this, FragmentController.class); intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); PendingIntent pendingIntent = PendingIntent.getActiv...
Notification icon is not displaying the app icon, this issue is only in android 12. My code:- Notification method:- [CODE] Android manifest file:- (Under application tag) [CODE] These answers are not helping: Android Push Notifications: Icon not displaying in notification, white square shown instead and How to set the ...
android|android-notifications|android-12
0
2022-09-23T09:13:49.037Z
2,022
9
9
4
17
0
380
45
3
2
true
true
false
false
false
false
zero
73,825,549
Cannot resolve symbol '@style/Theme.AppCompat'
<p>since android studio upgrade to Android Studio Dolphin | 2021.3.1, the layout xml shows &quot;Cannot resolve symbol '@style/Theme.AppCompat' &quot; <a href="https://i.stack.imgur.com/NTq3p.png" rel="nofollow noreferrer">Here is a screenshot of the code</a></p> <p>the build.gradle is:</p> <pre><code>dependencies { im...
since android studio upgrade to Android Studio Dolphin | 2021.3.1, the layout xml shows &quot;Cannot resolve symbol '@style/Theme.AppCompat' &quot; Here is a screenshot of the code the build.gradle is: [CODE] When I comment out this line of code, everything becomes normal: [CODE] When I press the key combination ctrl+l...
android-studio|android-theme
0
2022-09-23T09:17:59.810Z
2,022
9
9
4
10
0
548
46
2
2
true
true
false
false
false
false
zero
73,825,610
On my OnePlus, an icon appeared. It is a shortcut to the settings menu
<p>I have a OnePlus Nord 2 5G. An icon appeared which gives a shortcut to the settings. The icon can be dragged up and down, and from the left to the right side of the screen. I find it annoying. Can I make it go away? <a href="https://i.stack.imgur.com/gDxX8.jpg" rel="nofollow noreferrer"><img src="https://i.stack.img...
I have a OnePlus Nord 2 5G. An icon appeared which gives a shortcut to the settings. The icon can be dragged up and down, and from the left to the right side of the screen. I find it annoying. Can I make it go away?
android|settings|shortcut
0
2022-09-23T09:23:05.357Z
2,022
9
9
4
14
0
215
70
3
0
false
true
false
false
false
false
zero
73,825,657
Instrumentation tests fail only in release mode: Unable to resolve activity for: Intent
<p>I have some instrumentation tests and a CI that has a firebase test lab job.<br /> I was running all tests in <strong>debug</strong> (default and standard behavior) and <strong>they are all passing successfully</strong> (both locally and remotely in the test lab) then I wanted to try to run the tests in release mode...
I have some instrumentation tests and a CI that has a firebase test lab job. I was running all tests in debug (default and standard behavior) and they are all passing successfully (both locally and remotely in the test lab) then I wanted to try to run the tests in release mode. What I've added to my project level build...
android|android-jetpack-compose|android-instrumentation|firebase-test-lab|gui-testing
0
2022-09-23T09:26:45.307Z
2,022
9
9
4
11
0
672
87
5
5
true
true
false
false
false
false
zero
73,825,712
Room query with math functions only works when original value is 0
<p>Building up a database full of data on Android Studio, with Java and Room (not kotlin). Some are columns are text, some are numbers with decimals. However, all columns are identified as text but the first one (id, primary key).</p> <p>The user writes a value (sphecornea) and submits... the app should return all line...
Building up a database full of data on Android Studio, with Java and Room (not kotlin). Some are columns are text, some are numbers with decimals. However, all columns are identified as text but the first one (id, primary key). The user writes a value (sphecornea) and submits... the app should return all lines that mat...
android|database|math|numbers|android-room
0
2022-09-23T09:31:31.827Z
2,022
9
9
4
31
1
918
66
5
3
true
false
false
false
false
false
zero
73,825,835
Text editor options with Kotlin
<p>I was wondering how to make a text editor toolbar for an android app using Kotlin.</p> <p>I've already implemented the view <a href="https://i.stack.imgur.com/2dOCb.jpg" rel="nofollow noreferrer">as you can see here</a>. But I can't find a way to make it work propperly. I've tried to use Spannable String and Typefac...
I was wondering how to make a text editor toolbar for an android app using Kotlin. I've already implemented the view as you can see here . But I can't find a way to make it work propperly. I've tried to use Spannable String and Typeface but I think that they are not what I am looking for. When using spannable, I need t...
android|kotlin|text-editor
0
2022-09-23T09:42:38.177Z
2,022
9
9
4
18
0
1,038
31
3
0
false
true
false
false
false
false
zero
73,825,841
Bugged WebView in Android Emulator
<p>in one work related android app the following result apperars in the emulator, when a website is loaded via <em>android.webkit.WebView.loadUrl()</em>: <a href="https://i.stack.imgur.com/YO9sB.png" rel="nofollow noreferrer">screenshot</a> <br> While hovering over the site, some rendering happens but its still unreada...
in one work related android app the following result apperars in the emulator, when a website is loaded via android.webkit.WebView.loadUrl() : screenshot While hovering over the site, some rendering happens but its still unreadable like above. Environment: AMD CPU & Graphic Card, Windows 11 Android Studio Dolphin 2021....
android|android-studio|android-emulator
0
2022-09-23T09:43:26.050Z
2,022
9
9
4
6
0
506
34
3
0
false
true
false
false
false
false
zero
73,825,864
Could not resolve project : realm
<p>I am working in a old project can't build this project. Upgraded older version to new version gradle. I can't run this project. First time I am building android older project. Previously project used react native previous version. I converted older version dependencies in to new version.</p> <p>This is my build.grad...
I am working in a old project can't build this project. Upgraded older version to new version gradle. I can't run this project. First time I am building android older project. Previously project used react native previous version. I converted older version dependencies in to new version. This is my build.gradle(app) [C...
android|react-native|gradle|npm|node-modules
0
2022-09-23T09:45:15.577Z
2,022
9
9
4
18
1
385
33
5
3
true
false
false
false
false
false
zero
73,825,871
Problem related to adding ndk to build.gradle
<p>I have created android build of my Flutter application.</p> <p>Then I created an internal testing release. It is showing a warning</p> <pre><code>This App Bundle contains native code, and you haven't imported any debugging symbols. We recommend importing a symbol file to help analyze and debug crashes and ANR errors...
I have created android build of my Flutter application. Then I created an internal testing release. It is showing a warning [CODE] I installed Cmake and Ndk and add this to build.gradle [CODE] But I get this error while generating the APK: [CODE]
android|flutter|dart
0
2022-09-23T09:46:26.477Z
2,022
9
9
4
21
0
246
45
3
3
true
true
false
false
false
false
zero
73,825,893
Sending a message to Xamarin Forms via Broker
<p>I am using MQTT.fx and</p> <blockquote> <p>&quot;test.mosquitto.org&quot;</p> </blockquote> <p>locally as a broker. Now i want to send a message from the broker to Visual Studio (where I am connected with the client/broker). How does that work? What I have since now is:</p> <p><strong>Edit:</strong> Obviously</p> <b...
I am using MQTT.fx and &quot;test.mosquitto.org&quot; locally as a broker. Now i want to send a message from the broker to Visual Studio (where I am connected with the client/broker). How does that work? What I have since now is: Edit: Obviously //await client.PublishAsync(new MqttApplicationMessage(topic, Encoding.UTF...
c#|xamarin|xamarin.forms|xamarin.android|mqtt
1
2022-09-23T09:48:08.837Z
2,022
9
9
4
21
0
438
45
5
1
true
true
false
false
false
false
low
73,825,932
Failed to build sample SDK add-on on Android 13 AOSP
<p>I'm trying to build my own SDK add-on from scratch, and attempt to comply with the sample in device/sample. According to the instructions in README.txt, but I got following failure while building:</p> <pre><code>[100% 1/1] analyzing Android.bp files and generating ninja file at out/soong/build.ninja FAILED: out/soon...
I'm trying to build my own SDK add-on from scratch, and attempt to comply with the sample in device/sample. According to the instructions in README.txt, but I got following failure while building: [CODE] Does anyone encounter the same issue? It would be appriciated if there's any workaround on this. Thanks.
android|android-soong|android-13
0
2022-09-23T09:52:15.007Z
2,022
9
9
4
12
0
308
52
3
1
true
true
false
false
false
false
zero
73,825,954
How can I resolve the error "The minCompileSdk (31) specified in a dependency's AAR metadata" in Kotlin?
<p>One or more issues found when checking AAR metadata values:</p> <p>The minCompileSdk (33) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-32). Dependency: androidx.core:core:1.9.0.</p> <p>my gradle module is...
One or more issues found when checking AAR metadata values: The minCompileSdk (33) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-32). Dependency: androidx.core:core:1.9.0. my gradle module is: [CODE]
android|kotlin
0
2022-09-23T09:54:10.400Z
2,022
9
9
4
17
1
311
104
2
1
true
false
false
false
false
false
zero
73,825,992
Android 12 - messages are received in sleep mode
<p>I have 2 phones with Android 12. Sometimes I have a phone error when the sleep mode is on - the phone notifies me of messages and calls. This problem appears on two phones (Realme and Motorola). Has anyone experienced this problem, or is it possible to update the operating system?</p>
I have 2 phones with Android 12. Sometimes I have a phone error when the sleep mode is on - the phone notifies me of messages and calls. This problem appears on two phones (Realme and Motorola). Has anyone experienced this problem, or is it possible to update the operating system?
android-12
0
2022-09-23T09:57:13.203Z
2,022
9
9
4
7
0
281
48
1
0
false
true
false
false
false
false
zero
73,826,001
I am building a News Application in Android. I have to create a filter for category. I want to create a category component as given in the below image
<p><a href="https://i.stack.imgur.com/vISoK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vISoK.png" alt="enter image description here" /></a></p> <p>I don't know what i am supposed to use to build a filter like this.</p>
I don't know what i am supposed to use to build a filter like this.
android|kotlin|material-ui|material-design|material-components-android
0
2022-09-23T09:57:35.167Z
2,022
9
9
4
24
2
67
150
5
0
false
false
false
false
false
false
zero
73,826,159
Android studio hide white screen flash on every page load
<p>I am developing an app that uses local files. In index.html file i have multiple links to different local files like: settings.html, add.html, edit.html and ... Problem is when i run app in android studio and smart phone, when i click on any link, before loading content a fast screen flash with white background show...
I am developing an app that uses local files. In index.html file i have multiple links to different local files like: settings.html, add.html, edit.html and ... Problem is when i run app in android studio and smart phone, when i click on any link, before loading content a fast screen flash with white background shows u...
android|android-studio|webview|android-webview
0
2022-09-23T10:09:15.507Z
2,022
9
10
4
18
0
428
57
4
2
true
true
false
false
false
false
zero
73,826,229
CoroutineScope(SupervisorJob()) vs Global Scope
<p>What is the difference between these two?</p> <p>I was following a tutorial, and the teacher said we need a scope that lives as long as the app lives, created the scope manually with SupervisorJob. Doesn't GlobalScope do the same thing?</p> <p>I researched about this, but couldn't find a proper explanation. Thanks.<...
What is the difference between these two? I was following a tutorial, and the teacher said we need a scope that lives as long as the app lives, created the scope manually with SupervisorJob. Doesn't GlobalScope do the same thing? I researched about this, but couldn't find a proper explanation. Thanks.
android|kotlin|scope|coroutine
0
2022-09-23T10:15:41.637Z
2,022
9
10
4
29
1
302
47
4
0
false
false
false
false
false
false
zero
73,826,236
How can Large Database to be store in external file directory in android
<p>I have created an application which is already published on playstore but I am facing the large database issue. I am using the backup feature where I am storing the data in <code>File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS) + File.separator + &quot;backup&quot;);</code></p> <p>...
I have created an application which is already published on playstore but I am facing the large database issue. I am using the backup feature where I am storing the data in File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS) + File.separator + &quot;backup&quot;); Here user's database is...
android|android-room|database-backups|android-external-storage
0
2022-09-23T10:16:19.013Z
2,022
9
10
4
13
1
409
72
4
0
false
false
false
false
false
false
zero
73,826,306
React Native Project | not install for Android mobile
<p>PS E:\My Project\sample&gt; npx react-native run-android info Starting JS server... '&quot;adb&quot;' is not recognized as an internal or external command, operable program or batch file. info Launching emulator... error Failed to launch emulator. Reason: No emulators found as an output of <code>emulator -list-avds<...
PS E:\My Project\sample> npx react-native run-android info Starting JS server... '&quot;adb&quot;' is not recognized as an internal or external command, operable program or batch file. info Launching emulator... error Failed to launch emulator. Reason: No emulators found as an output of emulator -list-avds . warn Pleas...
android|reactjs|react-native
0
2022-09-23T10:22:33.763Z
2,022
9
10
4
9
1
4,950
53
3
0
false
false
false
false
false
false
zero
73,826,323
Android API 33 permissions are not granted
<p>So as i read in the developer.android site the Android 13 brings new changes in the Permission field.</p> <p>I have a Chat application where i need to make calls, open the camera, record audio, read and write in the external storage. So in the SplashScreen i request those permissions to the user. However some of the...
So as i read in the developer.android site the Android 13 brings new changes in the Permission field. I have a Chat application where i need to make calls, open the camera, record audio, read and write in the external storage. So in the SplashScreen i request those permissions to the user. However some of them are not ...
android|runtime-permissions|android-tiramisu
0
2022-09-23T10:24:30.953Z
2,022
9
10
4
42
2
838
42
3
2
true
false
false
false
false
false
zero
73,826,487
Generated Splash Screens from react-native-bootsplash are too small
<h2>Problem</h2> <p>We use <a href="https://www.npmjs.com/package/react-native-bootsplash" rel="nofollow noreferrer">react-native-bootsplash</a> to auto-generate our Splash Screens. The Problem is that even when using the <code>--logo-width=288</code> option (which is the max size), the generated images are still too s...
Problem We use react-native-bootsplash to auto-generate our Splash Screens. The Problem is that even when using the --logo-width=288 option (which is the max size), the generated images are still too small. Is there a way to adjust them afterwards? I tried using the Cordova resource generator to adjust the files in And...
javascript|reactjs|react-native|splash-screen|android-splashscreen
1
2022-09-23T10:38:50.393Z
2,022
9
10
4
20
0
451
67
5
0
false
true
false
false
false
false
low
73,826,546
How to show the checkbox in the react native app? When it is visible in android emulator
<p>I'm using checkbox feature in react native from one of the community packages and it is visible in emulator but it does't show it in mobile. WHY?</p>
I'm using checkbox feature in react native from one of the community packages and it is visible in emulator but it does't show it in mobile. WHY?
android|react-native
2
2022-09-23T10:43:31.873Z
2,022
9
10
4
11
1
145
88
2
0
false
false
false
false
false
false
low
73,826,601
Why background color stay white? (Xamarin.Forms Android)
<p>I have an xamarin.forms application and try to publish it in android. In my simulator, the color of the background is gray. On android mobile the background stays white like default. What do i wrong?</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt; &lt;ContentPage xmlns=http://xamarin...
I have an xamarin.forms application and try to publish it in android. In my simulator, the color of the background is gray. On android mobile the background stays white like default. What do i wrong? [CODE]
c#|android|xamarin|xamarin.forms|xamarin.android
0
2022-09-23T10:48:17.213Z
2,022
9
10
4
27
2
206
56
5
1
true
false
false
false
false
false
zero
73,826,709
I want to wait loop until I press a button(addBTN) to put values in array in every iteration of loop in android java
<p>My code:</p> <pre><code>for (int row = 0; row &lt; noOfRowsFirst; row++) { for (int col = 0; col &lt; noOfColsFirst; col++) { binding.valuesET.setHint(&quot;Enter Value at C&quot; + row + col + &quot;.&quot;); int finalRow = row; int finalCol = col; binding.addBTN.setOnClickListen...
My code: [CODE] Please help me to solve this problem. I am trying to make matrix solver app, in above code I am trying to put value in matrix array.
java|android|android-studio
-2
2022-09-23T10:58:26.923Z
2,022
9
10
4
22
0
148
116
3
1
true
true
false
false
false
true
negative
73,826,712
How to build a customizable Android Application?
<p>I am building an angular application that has 2 userbases.</p> <ol> <li>regular users enjoying the application as is.</li> <li>developers that would like to take the .APK and customize or override some screens or functionality. Like a plugin application but with options to override some of the existing original code...
I am building an angular application that has 2 userbases. regular users enjoying the application as is. developers that would like to take the .APK and customize or override some screens or functionality. Like a plugin application but with options to override some of the existing original code. I don't want to publish...
android|kotlin|customization
0
2022-09-23T10:58:30.063Z
2,022
9
10
4
21
0
721
48
3
0
false
true
false
false
false
false
zero
73,826,823
I need to read a Map of 6000 pairs in Kotlin
<p>I was creating a Kotlin program for Android that reads some data from a Map. By giving the Key I get the Value. In the attached code there is the class that contains the data list. Everything works perfectly with this test data. The problem is that the real Map contains 6000 pairs of data and the compiler crashes. I...
I was creating a Kotlin program for Android that reads some data from a Map. By giving the Key I get the Value. In the attached code there is the class that contains the data list. Everything works perfectly with this test data. The problem is that the real Map contains 6000 pairs of data and the compiler crashes. Is t...
android|xml|kotlin|dictionary
-1
2022-09-23T11:11:09.410Z
2,022
9
11
4
34
0
443
44
4
1
true
true
false
false
false
true
negative
73,826,860
Compile gradle task only when executed
<p>We've written some custom gradle tasks in Kotlin, and as they've grown, they've moved from build.gradle to buildSrc. These tasks are for processes that run in CI and developers don't really need them on their local machines.</p> <p>The issue is that any time we modify these scripts, when developers pull latest their...
We've written some custom gradle tasks in Kotlin, and as they've grown, they've moved from build.gradle to buildSrc. These tasks are for processes that run in CI and developers don't really need them on their local machines. The issue is that any time we modify these scripts, when developers pull latest their next grad...
android|kotlin|gradle
0
2022-09-23T11:14:21.453Z
2,022
9
11
4
16
0
631
38
3
0
false
true
false
false
false
false
zero
73,826,914
GoogleSignInAccount get Api exception it's show Null / 10 Android Studio (Java)
<p><strong>I added SHA key's from android studio and Play console to Firebase but i got Api exception null, 10.</strong></p> <p>here is my signin key config code</p> <pre><code>signingConfigs { release { storeFile file('E:\\Projects Resources\\Work\\mykey.jks') storePassword 'password' ...
I added SHA key's from android studio and Play console to Firebase but i got Api exception null, 10. here is my signin key config code [CODE]
java|android|firebase
0
2022-09-23T11:18:46.183Z
2,022
9
11
4
14
0
141
79
3
1
true
true
false
false
false
false
zero
73,826,977
Integrate my app with in-app subscription data analysis tool
<p>I want to integrate appflow.ai with my my app to track in-app subscription data. Is there anyone who have done that? I want your help.</p>
I want to integrate appflow.ai with my my app to track in-app subscription data. Is there anyone who have done that? I want your help.
android|ios|sdk|integration
-1
2022-09-23T11:24:59.677Z
2,022
9
11
4
12
0
134
60
4
0
false
true
false
false
false
true
negative
73,827,026
My App is Crashing while using google maps
<p>Here is the error while crashing:-</p> <pre><code>Process: com.example.basic_setup, PID: 13613 java.lang.NullPointerException: Attempt to get length of null array at java.nio.ByteBufferAsIntBuffer.put(ByteBufferAsIntBuffer.java:122) at com.google.maps.api.android.lib6.gmm6.vector.gl.buffer.n.i(:com.google.android.gm...
Here is the error while crashing:- [CODE] I am getting error while navigating fastly from another screen to map screen in bottom navigation bar.
android|flutter|google-maps|google-maps-api-3|google-maps-markers
0
2022-09-23T11:29:48.627Z
2,022
9
11
4
25
1
144
42
5
1
true
false
false
false
false
false
zero
73,827,033
How do I use VPN only in one android application?
<p>I need to use the built-in <strong>VPN</strong> in my Android application. When I open my application, I need to start <strong>VPN</strong> from app, and disconnect when I quit the app.</p> <p>The condition is that <strong>VPN</strong> only works on my application and has no effect on any other app. I need some sour...
I need to use the built-in VPN in my Android application. When I open my application, I need to start VPN from app, and disconnect when I quit the app. The condition is that VPN only works on my application and has no effect on any other app. I need some source code or solution. Language: JAVA {Android} Example Apps: O...
java|android|vpn
2
2022-09-23T11:30:26.907Z
2,022
9
11
4
22
1
417
49
3
0
false
false
false
false
false
false
low
73,827,096
Share authentication information between two android apps
<p>I know this question has been asked before but I still looking for better answers as not convinced with other solutions.</p> <p>My use case is - I want to share the authentication information between two different mobile apps. Basically, if a user is successfully logged in into one app, and then if the user open ano...
I know this question has been asked before but I still looking for better answers as not convinced with other solutions. My use case is - I want to share the authentication information between two different mobile apps. Basically, if a user is successfully logged in into one app, and then if the user open another app, ...
android|android-contentprovider|android-keystore|data-sharing
0
2022-09-23T11:36:31.507Z
2,022
9
11
4
19
0
1,500
57
4
0
false
true
false
false
false
false
zero
73,827,156
Mastering LiveData StateHandling Chaos
<p>I'm using a MapView to show some markers based on current user location or a selected map position. The problem is when I navigate to another fragment using navigation component and back. Some steps below fires the livedata value twice.</p> <p>The loading flow is like below:</p> <p><strong>Step 1: MapView State</str...
I'm using a MapView to show some markers based on current user location or a selected map position. The problem is when I navigate to another fragment using navigation component and back. Some steps below fires the livedata value twice. The loading flow is like below: Step 1: MapView State - when map is ready(getMapAsy...
android|android-permissions|android-livedata|mapview|location-updates
0
2022-09-23T11:42:08.193Z
2,022
9
11
4
17
0
1,668
38
5
0
false
true
false
false
false
false
zero
73,827,171
Start Android Activity from notification and pass extra to it
<p>I need to start an Activity from a Notification that I am creating in a FirebaseMessagingService. My problem is that I cannot pass custom action and extra to my ResultActivity in that case if ResultActivity is not in the stack and it is firstly created. In this case the ResultActivity get the intent with the <code>a...
I need to start an Activity from a Notification that I am creating in a FirebaseMessagingService. My problem is that I cannot pass custom action and extra to my ResultActivity in that case if ResultActivity is not in the stack and it is firstly created. In this case the ResultActivity get the intent with the android.in...
android|android-notifications
0
2022-09-23T11:43:00.360Z
2,022
9
11
4
34
0
467
61
2
1
true
true
false
false
false
false
zero
73,827,271
In Android Kotlin, How to select a particular view from an image?
<p>I want to select a particular view from an image like rectangle, square, circle etc.. Please check the attached image for better understanding. In that image, I selected some of the position of an image in rectangle shape.</p> <p>I need to display all the shape at the bottom or top of the view. If I selected circle ...
I want to select a particular view from an image like rectangle, square, circle etc.. Please check the attached image for better understanding. In that image, I selected some of the position of an image in rectangle shape. I need to display all the shape at the bottom or top of the view. If I selected circle means, If ...
android|kotlin|canvas|paint
-2
2022-09-23T11:50:57.363Z
2,022
9
11
4
27
0
555
65
4
0
false
true
false
false
false
true
negative
73,827,294
webView to UPI PayTM app using android studio
<p>In a WebView there's this EditText and when clicking on it, the WebView should open the paytm app but instead it's showing:</p> <pre><code>V/AutofillManager: requestHideFillUi(null): anchor = null </code></pre>
In a WebView there's this EditText and when clicking on it, the WebView should open the paytm app but instead it's showing: [CODE]
android|kotlin|upi
0
2022-09-23T11:52:41.560Z
2,022
9
11
4
10
0
130
45
3
1
true
true
false
false
false
false
zero
73,827,340
android.view.InflateException: Binary XML file line #10 in error in kotlin
<p>I'm trying to make a todo app using the mvvm build. I have 2 fragments. In AddNoteFragment, the user will enter a note and it will be displayed in this recyclerview in HomeFragment.I specified HomeFragment as start destination in navigation. However, after I wrote the adapter, I encountered this error.</p> <pre><cod...
I'm trying to make a todo app using the mvvm build. I have 2 fragments. In AddNoteFragment, the user will enter a note and it will be displayed in this recyclerview in HomeFragment.I specified HomeFragment as start destination in navigation. However, after I wrote the adapter, I encountered this error. [CODE] When I se...
android|kotlin
0
2022-09-23T11:57:08.817Z
2,022
9
11
4
19
1
607
74
2
6
true
false
false
false
false
false
zero
73,827,349
How to force locale for String format for the whole app in Android?
<p>I know that String has a format method which takes Locale as a parameter. I would like to ask if there is a way to force or apply a certain locale to all String formats in the whole app? <br/> <br/> I tried <code>resConfigs</code> in Gradle but it seems to only work for language, not region. For example, I tried <co...
I know that String has a format method which takes Locale as a parameter. I would like to ask if there is a way to force or apply a certain locale to all String formats in the whole app? I tried resConfigs in Gradle but it seems to only work for language, not region. For example, I tried en_AU locale on a device with G...
android
0
2022-09-23T11:57:52.450Z
2,022
9
11
4
18
0
393
67
1
0
false
true
false
false
false
false
zero
73,827,390
Parse google top result and show in webview
<p>I just want to ask that how can I show the google result div (google top card as in below images) in webview using Java in android. And remove everything else from page. The cards may look like below images.</p> <p><a href="https://i.stack.imgur.com/KVhXC.png" rel="nofollow noreferrer">https://i.stack.imgur.com/KVhX...
I just want to ask that how can I show the google result div (google top card as in below images) in webview using Java in android. And remove everything else from page. The cards may look like below images. https://i.stack.imgur.com/KVhXC.png https://i.stack.imgur.com/rUWGJ.png
java|parsing|android-webview|google-search|card
-2
2022-09-23T12:01:25.847Z
2,022
9
12
4
11
0
279
43
5
0
false
true
false
false
false
true
negative
73,827,542
I making Quiz App using Firebase Realtime databse when I fetch data and show in cardView nothing happend
<pre><code>Here is DatabaseClass package com.example.quizapp; public class DatabaseClass { String Question; String QA; String QB; String QC; String QD; String ans; public DatabaseClass()...
[CODE] } here is the main error Here I call the database class and // Error is java.lang.nullpointerexception: attempt to invoke virtual method 'java.lang.object java.util.arraylist.get(int)' on a null object reference [CODE] } // here is Geoactivity is the main activity // and QuizQuestionActivity is for the logic par...
java|android|firebase|firebase-realtime-database|nullpointerexception
-3
2022-09-23T12:12:18.067Z
2,022
9
12
4
29
0
885
104
5
3
true
true
false
false
false
true
negative
73,827,798
Android - Suggest a proper way to alert a user for an important notification
<p>So, I'm building a Ride Hailing app and I'm still not sure of what route should I go with for alerting a user for a New Ride Reuest.</p> <ul> <li>Should I go with Draw Over Other Apps to open the activity when the notification is received.</li> <li>Should I use fullScreenNotificationIntent with showOnLockScreen</li>...
So, I'm building a Ride Hailing app and I'm still not sure of what route should I go with for alerting a user for a New Ride Reuest. Should I go with Draw Over Other Apps to open the activity when the notification is received. Should I use fullScreenNotificationIntent with showOnLockScreen And if I use fullScreenNotifi...
android|android-intent|android-pendingintent
0
2022-09-23T12:33:03.813Z
2,022
9
12
4
18
0
518
76
3
0
false
true
false
false
false
false
zero
73,827,844
App stops working. Emulator problems. GL error: GL_INVALID_OPERATION. Android Studio
<p>I am following a youtube tutorial for creating a simple project. I have an <strong>Android 10</strong> phone, so I created an <strong>Android 10 Q API 29 Emulator</strong>. At a specific place my app stops working.</p> <p><em>In AndroidManifest.xml</em></p> <p>Before the crashes:</p> <pre><code>&lt;activity ...
I am following a youtube tutorial for creating a simple project. I have an Android 10 phone, so I created an Android 10 Q API 29 Emulator . At a specific place my app stops working. In AndroidManifest.xml Before the crashes: [CODE] Changes that led to the crashes: [CODE] the Error message in the Run tab states: E/OpenG...
android|android-studio|android-emulator
1
2022-09-23T12:37:27.410Z
2,022
9
12
4
14
0
1,303
84
3
2
true
true
false
false
false
false
low
73,827,855
UI to visit Android/iOS from Mobile Browser React.js
<p>We just developed our website and app and deployed it, I wanted to ask if there is a way to integrate a piece of UI (only in mobile browsers) with a button to link to the Android/iOS app, in the Play Store/App Store..</p> <p>Any help would be appreciated Thanks</p>
We just developed our website and app and deployed it, I wanted to ask if there is a way to integrate a piece of UI (only in mobile browsers) with a button to link to the Android/iOS app, in the Play Store/App Store.. Any help would be appreciated Thanks
android|ios|reactjs
-2
2022-09-23T12:38:29.847Z
2,022
9
12
4
15
0
254
52
3
0
false
true
false
false
false
true
negative
73,828,009
Android skipping the splash screen when re-opening the app after having pressed back
<p>So my scenario is as such. Let's say there is a <code>MainActivity</code>, which only job is to start, call <code>installSplashScreen().setKeepOnScreenCondition { true }</code> to show the Splash screen using the new backward compatible APIs, and then after checking some state it does <code>startActivity(SomeActivit...
So my scenario is as such. Let's say there is a MainActivity , which only job is to start, call installSplashScreen().setKeepOnScreenCondition { true } to show the Splash screen using the new backward compatible APIs, and then after checking some state it does startActivity(SomeActivity); finish() Now we're on the Some...
android|android-activity|splash-screen|android-splashscreen
0
2022-09-23T12:51:16.663Z
2,022
9
12
4
16
1
1,057
84
4
0
false
false
false
false
false
false
zero
73,828,032
A Simple Android Kivy App Closed By Itself
<p><a href="https://i.stack.imgur.com/EWIPj.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EWIPj.jpg" alt="enter image description here" /></a> I have created a simple kivy app to check for the APK creation. The Android was successfully packaged, however when I installed it on my device, the Kivy...
I have created a simple kivy app to check for the APK creation. The Android was successfully packaged, however when I installed it on my device, the Kivy App was forced to close by itself, and I have no way to check for the error. As my app does not have any image, icon or other library installed, here is my code: [COD...
python|android|python-3.x|kivy
0
2022-09-23T12:52:53.167Z
2,022
9
12
4
22
0
560
42
4
2
true
true
false
false
false
false
zero
73,828,034
listview.builder inside listview.builder
<p>I created Cart page on my Marketplace application, but I'm getting struggle to make a list of products on cart that grouped - based on the market that sells it. I can make a list of the shops with ListView.Builder. What should I do to add the product on every market list?<br> I tried to use ListTile and it is workin...
I created Cart page on my Marketplace application, but I'm getting struggle to make a list of products on cart that grouped - based on the market that sells it. I can make a list of the shops with ListView.Builder. What should I do to add the product on every market list? I tried to use ListTile and it is working, but ...
android|flutter
0
2022-09-23T12:52:57.220Z
2,022
9
12
4
35
0
460
40
2
1
true
true
false
false
false
false
zero
73,828,164
Build failed due to url_launcher_android flutter?
<p>In my <code>pubspec.yml</code> I didn't add any library named <code>url_launcher</code>. But, In somewhere some library might be used this, that I don't know.</p> <p>And, after</p> <pre><code>clean gradle build gradle(its takes too much time approx. 3 hr.) </code></pre> <p>I got following exception in build.</p> <pr...
In my pubspec.yml I didn't add any library named url_launcher . But, In somewhere some library might be used this, that I don't know. And, after [CODE] I got following exception in build. [CODE] app level gradle [CODE]
android|flutter|gradle|build.gradle|flutter-test
0
2022-09-23T13:05:08.830Z
2,022
9
13
4
16
1
218
49
5
3
true
false
false
false
false
false
zero
73,828,281
How to use with to multiple params Kotlin?
<p>i have 4 views and i want to change their height and width to the same value, how can i reduce the amount of code here?</p> <pre><code>private fun changeSize() { with(binding) { with(leftBotIv) { layoutParams.height = height layoutParams.width = width }...
i have 4 views and i want to change their height and width to the same value, how can i reduce the amount of code here? [CODE]
android|kotlin|scope
0
2022-09-23T13:15:01.223Z
2,022
9
13
4
20
1
126
42
3
1
true
false
false
false
false
false
zero
73,828,349
Android seekbar remove shadow from thumb
<p>I'm trying to create a seekbar for a calculator app I'm making. I'm relatively new to android studio and can't figure out how to remove the little shadow from the thumb of the seekbar when you click it. I want the seekbar to be completely invisible, yet the little shadow always appears when I click on it.</p> <p><a ...
I'm trying to create a seekbar for a calculator app I'm making. I'm relatively new to android studio and can't figure out how to remove the little shadow from the thumb of the seekbar when you click it. I want the seekbar to be completely invisible, yet the little shadow always appears when I click on it. Little shadow...
android
0
2022-09-23T13:19:57.573Z
2,022
9
13
4
8
0
349
40
1
0
false
true
false
false
false
false
zero
73,828,355
How open searchview of an specific telegram channel by intent - Android
<p>I want to send text from android app (java) to telegram and put this text in searchview (telegram )</p> <p>like this: <a href="https://i.stack.imgur.com/ORyOz.png" rel="nofollow noreferrer">Screenshot</a></p>
I want to send text from android app (java) to telegram and put this text in searchview (telegram ) like this: Screenshot
java|android|telegram
0
2022-09-23T13:20:11.157Z
2,022
9
13
4
9
0
121
71
3
0
false
true
false
false
false
false
zero
73,828,496
Disable progress bar advance in Exoplayer progress bar in Android
<p>I'm using the Exoplayer library to load videos in my application, but in certain videos I want to avoid that the user can't go forward in the video progress bar, only backward, until now I had achieved something by adding a listener to the DefaultTimeBar in this way:</p> <pre class="lang-kotlin prettyprint-override"...
I'm using the Exoplayer library to load videos in my application, but in certain videos I want to avoid that the user can't go forward in the video progress bar, only backward, until now I had achieved something by adding a listener to the DefaultTimeBar in this way: [CODE] But it doesn't work well at all, I think the ...
android|kotlin|exoplayer|progress
0
2022-09-23T13:30:47.243Z
2,022
9
13
4
11
1
582
65
4
1
true
false
false
false
false
false
zero
73,828,510
Why does Tasks whenAllSuccess not working?
<p>I have a recyclerview for a list of members. When I long click 1 item in the recyclerview, ActionMode is enabled and I can select multiple members who wants to pay their annual dues. After selecting members, I will touch on pay button to submit payments. But it just say Added but not inserted inside the database.</p...
I have a recyclerview for a list of members. When I long click 1 item in the recyclerview, ActionMode is enabled and I can select multiple members who wants to pay their annual dues. After selecting members, I will touch on pay button to submit payments. But it just say Added but not inserted inside the database. Pleas...
android|google-cloud-firestore
0
2022-09-23T13:31:32.803Z
2,022
9
13
4
12
0
344
42
2
1
true
true
false
false
false
false
zero
73,828,528
Can I use a premade database in a Kotlin project?
<p>For my Android app in Kotlin can I place my SQLite database file somewhere in the project structure, maybe in Assets? Guides I found don't mention where the database is created or how to load one I already have.</p>
For my Android app in Kotlin can I place my SQLite database file somewhere in the project structure, maybe in Assets? Guides I found don't mention where the database is created or how to load one I already have.
database|sqlite|android-studio|kotlin
-1
2022-09-23T13:32:50.060Z
2,022
9
13
4
23
0
211
49
4
0
false
true
false
false
false
true
negative
73,828,548
Global context in Flutter while using MaterialApp.router()
<p>I want to know if there is a way to use a <strong>Global Context</strong> in a Flutter App while using auto route as <em><strong>MaterialApp.router() don't have a navigatorKey</strong></em>.</p>
I want to know if there is a way to use a Global Context in a Flutter App while using auto route as MaterialApp.router() don't have a navigatorKey .
android|ios|flutter|dart|navigation
-2
2022-09-23T13:33:59.460Z
2,022
9
13
4
21
1
148
58
5
0
false
false
false
false
false
true
negative
73,828,996
how can i use a backgroundresource with variable color
<p>hello i have the following drawable:</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt; &lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:shape=&quot;rectangle&quot;&gt; &lt;solid android:color=&quot;#66333333&quot; /&gt; &lt;padding ...
hello i have the following drawable: [CODE] i would like to use it as a background for a view, but set the color of the stroke programatically. is that possible?
android
0
2022-09-23T14:06:22.163Z
2,022
9
14
4
18
1
161
54
1
1
true
false
false
false
false
false
zero
73,829,018
What is the correct usage of Flow in Room?
<p>I am using <code>Room</code> and I have written the <code>Dao</code> class as follows.</p> <h3>Dao</h3> <pre><code>@Dao interface ProjectDao { @Query(&quot;SELECT * FROM project&quot;) fun getAllProjects(): Flow&lt;List&lt;Project&gt;&gt; ...etc } </code></pre> <p>and this <code>Flow</code> is converted...
I am using Room and I have written the Dao class as follows. Dao [CODE] and this Flow is converted to LiveData through asLiveData() in ViewModel and used as follows. ViewModel [CODE] Activity [CODE] When data change occurs, RecyclerView is automatically updated by the Observer . This is a normal example I know. However...
android|android-room|android-livedata|android-architecture-components|android-viewmodel
0
2022-09-23T14:08:42.363Z
2,022
9
14
4
13
1
622
42
5
4
true
false
false
false
false
false
zero
73,829,024
How to define default Gradle user home folder for all projects for Android Studio?
<p>So at the Settings of Android Studio I can set <strong>Gradle user home</strong> (e.g. <code>G:\Android\.gradle</code> instead of default C disk), but he problem that it sets it only for the current project.</p> <p><a href="https://i.stack.imgur.com/zhr1h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgu...
So at the Settings of Android Studio I can set Gradle user home (e.g. G:\Android\.gradle instead of default C disk), but he problem that it sets it only for the current project. When I open some other project from my existing projects that the gradle folder is still set to C disk and I have to change it for this projec...
android|android-studio|gradle|android-gradle-plugin
0
2022-09-23T14:09:18.977Z
2,022
9
14
4
12
0
436
82
4
0
false
true
false
false
false
false
zero
73,829,032
Chromecast - Unable to control casted video on tv using tv remote
<p>I am using google cast SDK for casting video from our android app to chromecast enable android tv. Using default media receiver on chromecast side, I can able to play, pause, seek video from our app using RemoteMediaClient. but when I try to play, pause, seek casted video using android tv's remote, I am unable to se...
I am using google cast SDK for casting video from our android app to chromecast enable android tv. Using default media receiver on chromecast side, I can able to play, pause, seek video from our app using RemoteMediaClient. but when I try to play, pause, seek casted video using android tv's remote, I am unable to seek.
android|chromecast|google-cast-sdk
0
2022-09-23T14:09:43.287Z
2,022
9
14
4
9
0
320
65
3
0
false
true
false
false
false
false
zero
73,829,177
scrollView.fullScroll(ScrollView.FOCUS_UP) not working in fragment in android studio
<p>I have a scroll view parent in my fragment and one child view which is a constraint layout in the first child constraint layout I have many views so my question is how to scroll parent scroll view to last I have used all approaches no one works in my case I don't know why? These articles I have <a href="https://stac...
I have a scroll view parent in my fragment and one child view which is a constraint layout in the first child constraint layout I have many views so my question is how to scroll parent scroll view to last I have used all approaches no one works in my case I don't know why? These articles I have tried [CODE] <ScrollView...
android|android-layout|scroll|fullscreen|android-scrollview
0
2022-09-23T14:20:22.287Z
2,022
9
14
4
7
1
505
84
5
2
true
false
false
false
false
false
zero
73,829,198
How to play .ts live tv link in exoPlayer
<p>I am trying to develop a TV app I have a problem I can't run the link of satellite channels in ExoPlayer</p> <blockquote> <p>#EXTINF: <a href="http://raoseditor.com:80/live/GLGhcHsrLV/LD5bWcpAaM/151092.ts" rel="nofollow noreferrer">http://raoseditor.com:80/live/GLGhcHsrLV/LD5bWcpAaM/151092.ts</a></p> </blockquote>
I am trying to develop a TV app I have a problem I can't run the link of satellite channels in ExoPlayer #EXTINF: http://raoseditor.com:80/live/GLGhcHsrLV/LD5bWcpAaM/151092.ts
java|android|kotlin|video-streaming|exoplayer
0
2022-09-23T14:21:59.743Z
2,022
9
14
4
13
2
175
41
5
0
false
false
false
false
false
false
zero
73,829,292
If Retrofit can make api calls asynchronously using .enque() , then what advantages will I get on using Coroutine for api calls?
<p>Retrofit has the enqueue() method that returns the result in a callback. With coroutine the callback is no longer needed, is that the only advantage ?</p>
Retrofit has the enqueue() method that returns the result in a callback. With coroutine the callback is no longer needed, is that the only advantage ?
android|kotlin|kotlin-coroutines|coroutine
-1
2022-09-23T14:29:51.737Z
2,022
9
14
4
18
0
150
128
4
0
false
true
false
false
false
true
negative
73,829,380
Unit test Xamarin Android project business logic
<p>I have a problem with Unit testing a Xamarin Android project.</p> <p>My setup:</p> <ul> <li>Shared Xamarin project</li> <li>ClientX.Android</li> <li>ClientX.iOS</li> <li>Native.Android</li> <li>Native.iOS</li> </ul> <p>Native.Android contains no resources, no MainActivity and no Androidmanifest. It's just shared Mon...
I have a problem with Unit testing a Xamarin Android project. My setup: Shared Xamarin project ClientX.Android ClientX.iOS Native.Android Native.iOS Native.Android contains no resources, no MainActivity and no Androidmanifest. It's just shared Mono.Android code and normal business logic for it. I have an Xunit testing ...
unit-testing|xamarin|xamarin.forms|xamarin.android
1
2022-09-23T14:37:12.887Z
2,022
9
14
4
33
0
895
48
4
0
false
true
false
false
false
false
low
73,829,393
Asking fine location permission
<p>I want to access fine location from within my app and, for this, I declare an <code>ActivityResultLauncher</code>with :</p> <pre><code> protected final ActivityResultLauncher&lt;String[]&gt; l = registerForActivityResult(new ActivityResultContracts.RequestMultiplePermissions(), isGranted -&gt; { if (isGranted...
I want to access fine location from within my app and, for this, I declare an ActivityResultLauncher with : [CODE] When I want to ask for this permission, I use : [CODE] Unfortunately, the panel asking the user to grant permission doesn't show up. This doesn't prevent the callback from being executed, but with permissi...
android|permissions|location
0
2022-09-23T14:37:57.990Z
2,022
9
14
4
16
1
488
31
3
2
true
false
false
false
false
false
zero
73,829,432
Unknown attribute android:scaleType
<p><a href="https://i.stack.imgur.com/pj1Xf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pj1Xf.png" alt="enter image description here" /></a></p> <p>This is the error. As shown in the image. This is not letting the app run. This happens when I set the compile sdk version to 33. What to do?</p> <p>...
This is the error. As shown in the image. This is not letting the app run. This happens when I set the compile sdk version to 33. What to do? Thanks in advance.
android-studio|android-layout
0
2022-09-23T14:41:35.503Z
2,022
9
14
4
17
1
160
35
2
0
false
false
false
false
false
false
zero
73,829,457
How to build grid images that change position and size and display number when image count is above threshold?
<p>This is a <a href="https://stackoverflow.blog/2011/07/01/its-ok-to-ask-and-answer-your-own-questions/?_ga=2.251592847.844619705.1650377511-1157342344.1629223679">share your knowledge, Q&amp;A-style</a> question about using <code>Layout</code>, different <code>Constraints</code> and placing based on size and other Co...
This is a share your knowledge, Q&A-style question about using Layout , different Constraints and placing based on size and other Composables' positions to achieve a grid that changes Composable size, position and adds a number if number of Composables are greater than 4.
android|android-jetpack-compose
1
2022-09-23T14:42:40.813Z
2,022
9
14
4
86
1
272
110
2
0
false
false
false
false
false
false
low
73,829,463
MediaBrowserService Restore browser path programmatically
<p>I am providing a MediaBrowserService to be used by MediaBrowsers.</p> <p>How do I programmatically restore the browser path as a MediaBrowserService?</p> <ol> <li>Use-case: User starts at root and clicks through some browse-able items. I remember the path he took by storing each mediaId.</li> <li>The user closes the...
I am providing a MediaBrowserService to be used by MediaBrowsers. How do I programmatically restore the browser path as a MediaBrowserService? Use-case: User starts at root and clicks through some browse-able items. I remember the path he took by storing each mediaId. The user closes the MediaBrowser. The next time the...
android|media
0
2022-09-23T14:43:04.713Z
2,022
9
14
4
12
0
1,215
57
2
0
false
true
false
false
false
false
zero
73,829,606
Shift Keyboard from Alpha to Numeric
<p>I have a Zebra TC8300 scanner that has an enterprise keyboard. On initial show of the keyboard it shows Alpha keys. User has to slide the keyboard to get to the numeric keypad. I have an Autocomplete text box on a dialog. It has a threshold of 2. The cycle is, Once the threshold is reached, I dismiss the keyboard, c...
I have a Zebra TC8300 scanner that has an enterprise keyboard. On initial show of the keyboard it shows Alpha keys. User has to slide the keyboard to get to the numeric keypad. I have an Autocomplete text box on a dialog. It has a threshold of 2. The cycle is, Once the threshold is reached, I dismiss the keyboard, call...
android|autocomplete|keypad
0
2022-09-23T14:54:37.320Z
2,022
9
14
4
7
0
960
36
3
0
false
true
false
false
false
false
zero
73,829,622
Is it possible to assign key/value to a picker?
<p>Im trying to use a picker similar to html's</p> <pre><code>&lt;select&gt; &lt;option value=&quot;KEY&quot;&gt;Value&lt;/option&gt; &lt;/select&gt; </code></pre> <p>However I can't find anything relating to this. I have something along the lines of</p> <pre><code>List&lt;KeyValuePair&lt;int, string&gt;&gt; KVP = {1: ...
Im trying to use a picker similar to html's [CODE] However I can't find anything relating to this. I have something along the lines of [CODE] Current xaml: [CODE] Current code behind: [CODE] And would like to just display to the user the Value but return to the program the Key [CODE]
c#|android|xamarin
1
2022-09-23T14:56:04.523Z
2,022
9
14
4
33
1
284
47
3
5
true
false
false
false
false
false
low
73,829,690
I need same crypto encrypt and decrypt function for IOS Swift 5
<p>I have implemented below class for encryption and decryption of string using a secret key (which is user password in my case)</p> <p>I need to implement same in ios swift 5 , please guide</p> <p>public class AES256 {</p> <pre><code>private final String SECRET_KEY ; private static final String SALT = &quot;ssshhhhhh...
I have implemented below class for encryption and decryption of string using a secret key (which is user password in my case) I need to implement same in ios swift 5 , please guide public class AES256 { [CODE] }
android|ios
0
2022-09-23T15:02:33.280Z
2,022
9
15
4
16
1
211
63
2
1
true
false
false
false
false
false
zero
73,829,710
Is displaylink detected as (second) screen in Android
<p>Displaylink has an app that can be installed in Android to attach a second screen to an android system. This mirrors the screen true the displaylink docking station to a screen attached to the docking station.</p> <p>I curious if this is seen as second screen in the multi-display SDK from android. <a href="https://s...
Displaylink has an app that can be installed in Android to attach a second screen to an android system. This mirrors the screen true the displaylink docking station to a screen attached to the docking station. I curious if this is seen as second screen in the multi-display SDK from android. https://source.android.com/d...
android|android-multi-display
1
2022-09-23T15:04:04.417Z
2,022
9
15
4
15
0
502
53
2
0
false
true
false
false
false
false
low
73,829,714
How can i filter Adapter Arraylist using Coroutines?
<p>In my Fragment I'm using a Recycler View with multiple item types where i want to filter my parent array list based on some conditions and transfer its child list to child recycler view. I am able to filter parent recycler view on main thread but i am worried if the parent array list has thousands of data and perfor...
In my Fragment I'm using a Recycler View with multiple item types where i want to filter my parent array list based on some conditions and transfer its child list to child recycler view. I am able to filter parent recycler view on main thread but i am worried if the parent array list has thousands of data and performin...
android|firebase|kotlin|android-recyclerview|kotlin-coroutines
0
2022-09-23T15:04:25.273Z
2,022
9
15
4
49
0
674
52
5
3
true
true
false
false
false
false
zero
73,829,735
TestComplete: Appium connection error: Failed to connect to 0.0.0.0://. The parameter is incorrect
<p>I am new to TestComplete, and working on Android app mobile testing. I have setup my system with prerequisites and configured the environment. Note: First I installed appium 1.22.2, however upon issues re-red the tutorials from the source at: <a href="https://support.smartbear.com/testcomplete/docs/app-testing/mobil...
I am new to TestComplete, and working on Android app mobile testing. I have setup my system with prerequisites and configured the environment. Note: First I installed appium 1.22.2, however upon issues re-red the tutorials from the source at: https://support.smartbear.com/testcomplete/docs/app-testing/mobile/device-clo...
android|parameters|appium|connect|testcomplete
0
2022-09-23T15:06:19.217Z
2,022
9
15
4
11
0
1,551
98
5
2
true
true
false
false
false
false
zero
73,829,758
How to create an Android foreground service in MAUI
<p>I'm trying to create a foreground service in MAUI (using .NET 6) for an Android app, but currently, there are no tutorials (that I could find) on achieving this.</p> <p>What would be the best starting point to add a foreground service or how would you create it?</p>
I'm trying to create a foreground service in MAUI (using .NET 6) for an Android app, but currently, there are no tutorials (that I could find) on achieving this. What would be the best starting point to add a foreground service or how would you create it?
android|maui|foreground-service|.net-maui
0
2022-09-23T15:08:07.283Z
2,022
9
15
4
19
1
255
51
4
0
false
false
false
false
false
false
zero
73,829,779
What are the steps to build a theme for android devices, override the other app's icons, create a special clock, create a side bar apps, java | kotlin
<p><a href="https://i.stack.imgur.com/F9ffo.jpg" rel="nofollow noreferrer">android theme example</a> check the example, I'm looking for something like that, I just need the steps, libraries, links, courses or anything could help. thank you for advance.</p>
android theme example check the example, I'm looking for something like that, I just need the steps, libraries, links, courses or anything could help. thank you for advance.
java|android|android-studio|kotlin
0
2022-09-23T15:10:18.917Z
2,022
9
15
4
16
1
173
150
4
0
false
false
false
false
false
false
zero
73,829,785
What should I do? The RecyclerView I used on a fragment in a TabLayout fragment won't show
<p>I am trying to show a RecyclerView on a fragment in a TabLayout that is also a fragment. However, the RecyclerView still refuses to show up even if there is no errors. Based on information I have gathered, it should be possible for a fragment of a TabLayout to have a RecyclerView. However, I don't know if the proble...
I am trying to show a RecyclerView on a fragment in a TabLayout that is also a fragment. However, the RecyclerView still refuses to show up even if there is no errors. Based on information I have gathered, it should be possible for a fragment of a TabLayout to have a RecyclerView. However, I don't know if the problem l...
kotlin|android-fragments|android-recyclerview|android-tablayout
0
2022-09-23T15:10:36.443Z
2,022
9
15
4
16
1
551
90
4
2
true
false
false
false
false
false
zero
73,829,867
Signin using facebook sdk in android when facebook app not installed issue
<p>I have implemented login via facebook in android app and it is working fine when facebook app is installed on my device. after uninstalling the app, when hit login via facebook, it shows the facebook login screen, after granting permission for the app, it redirects me to the my login screen, but onActivityResult is ...
I have implemented login via facebook in android app and it is working fine when facebook app is installed on my device. after uninstalling the app, when hit login via facebook, it shows the facebook login screen, after granting permission for the app, it redirects me to the my login screen, but onActivityResult is not...
android-studio|facebook|facebook-login
0
2022-09-23T15:17:03.860Z
2,022
9
15
4
15
0
789
74
3
3
true
true
false
false
false
false
zero
73,829,983
Automatically show result of a calculator
<p>I'm new to android and java. I've built a calculator and I need it to show the result automatically when I put 3 inputs but I don't know how to.</p> <pre><code>package com.example.animate_hf; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatDelegate; import android.os.Bundle;...
I'm new to android and java. I've built a calculator and I need it to show the result automatically when I put 3 inputs but I don't know how to. [CODE] I added multiply to a textview (through the attribute onclick) and it worked but I want it to show automatically in a TextView.
java|android
-1
2022-09-23T15:28:14.320Z
2,022
9
15
4
33
2
279
41
2
1
true
false
false
false
false
true
negative
73,830,080
Flutter throws an error on application run
<p>I was trying to run my flutter app that worked just fine. But, after an update, it throws the following error.</p> <p>I've updated the Build.gradle file(app level), added a compile sdk version(31). I've also updated the dependencies there are. But, none seem to help.</p> <h2>Error</h2> <pre class="lang-bash prettypr...
I was trying to run my flutter app that worked just fine. But, after an update, it throws the following error. I've updated the Build.gradle file(app level), added a compile sdk version(31). I've also updated the dependencies there are. But, none seem to help. Error [CODE] Pubspec.yaml [CODE] Flutter doctor Doctor summ...
android|ios|flutter|dart|flutter-dependencies
-1
2022-09-23T15:35:36.777Z
2,022
9
15
4
28
0
781
42
5
2
true
true
false
false
false
true
negative
73,830,099
Android Studio Chipmunk duplicate class error
<p>I am getting the following error when Gradle is set 7.2.2. Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1) Duplicate...
I am getting the following error when Gradle is set 7.2.2. Duplicate class androidx.lifecycle.ViewModelLazy found in modules jetified-lifecycle-viewmodel-ktx-2.3.1-runtime (androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1) and lifecycle-viewmodel-2.5.1-runtime (androidx.lifecycle:lifecycle-viewmodel:2.5.1) Duplicate cl...
android|gradle
0
2022-09-23T15:37:42.517Z
2,022
9
15
4
21
1
654
45
2
0
false
false
false
false
false
false
zero
73,830,101
Android Studio count Clicks of every item in recyclerview separately
<p>I want to count the clicks for each item in my recycler View. In this recycler view there are some sort of contacts. I want that there is a counter (for every item for its own) so that I click for example contact 1 (then contact 1 has one click), then I click on contact 2 and after that I click again on contact 2 (t...
I want to count the clicks for each item in my recycler View. In this recycler view there are some sort of contacts. I want that there is a counter (for every item for its own) so that I click for example contact 1 (then contact 1 has one click), then I click on contact 2 and after that I click again on contact 2 (then...
android|android-recyclerview|counter
0
2022-09-23T15:38:00.190Z
2,022
9
15
4
22
0
735
68
3
3
true
true
false
false
false
false
zero
73,830,273
Handle and search large json file (android)
<ul> <li>I have a json file that have a large (~200K) data set (non-complex objects with 4 fields). I should do prefix search for some of its field.</li> <li>There wont be any retrofit/api call, pagination stuff, or backend and all type of db's are forbidden to use.</li> </ul> <p>So, I am not sure how to handle this ki...
I have a json file that have a large (~200K) data set (non-complex objects with 4 fields). I should do prefix search for some of its field. There wont be any retrofit/api call, pagination stuff, or backend and all type of db's are forbidden to use. So, I am not sure how to handle this kind of situation, I know that in ...
android|json|search|large-data|trie
0
2022-09-23T15:53:51.950Z
2,022
9
15
4
24
0
794
43
5
0
false
true
false
false
false
false
zero
73,830,352
Accessing downloads files on Android 11 returns no files
<p>So, I am trying to read the files from the shared Download folder on my Android 11 device, using the file class(in Kotlin):</p> <pre><code>val downloads = File(&quot;/storage/emulated/0/Download&quot;) </code></pre> <p>But when I call the .list() function to see all the subdirectories and files, only the subdirs app...
So, I am trying to read the files from the shared Download folder on my Android 11 device, using the file class(in Kotlin): [CODE] But when I call the .list() function to see all the subdirectories and files, only the subdirs appear: &quot;downloaded_rom&quot;, &quot;Filemail&quot;, &quot;downloaded_apex&quot;... I kno...
android|android-studio|kotlin|file
0
2022-09-23T16:01:59.787Z
2,022
9
16
4
23
1
511
56
4
1
true
false
false
false
false
false
zero
73,830,513
How to achieve nested scrolling of WebViews in a RecyclerView?
<p>I am rendering a vertical feed of WebViews using a RecyclerView. The WebViews may have different content heights, and but we need to cap the height of a WebView to be at most the height of the feed container (RecyclerView) so that any popup wouldn't go beyond the screen. This results in these WebViews being scrollab...
I am rendering a vertical feed of WebViews using a RecyclerView. The WebViews may have different content heights, and but we need to cap the height of a WebView to be at most the height of the feed container (RecyclerView) so that any popup wouldn't go beyond the screen. This results in these WebViews being scrollable ...
android-recyclerview|android-webview|android-scrollview|android-nestedscrollview|android-scroll
1
2022-09-23T16:17:56.890Z
2,022
9
16
4
20
0
1,056
62
5
0
false
true
false
false
false
false
low
73,830,516
Setting minimum width in .widthIn() modifier does nothing
<p>Having tried setting the min width of a column composable in a dialog, it does nothing. It always takes up the width specified as the max width, regardless of where I place the <code>widthIn()</code> modifier in the dialog composable and even if the content's width is smaller than the max width. How can I fix this?<...
Having tried setting the min width of a column composable in a dialog, it does nothing. It always takes up the width specified as the max width, regardless of where I place the widthIn() modifier in the dialog composable and even if the content's width is smaller than the max width. How can I fix this? [CODE]
android|android-jetpack-compose|android-dialog
0
2022-09-23T16:18:06.217Z
2,022
9
16
4
37
1
310
57
3
1
true
false
false
false
false
false
zero
73,830,562
Android: Sleep and wake device with Alarm Manager
<p>I have installed my application as a system app on an android TV box. My goal is to be able to put the device to sleep and wake, or reboot, at specific times</p> <p>I am currently using two alarms - one that puts the device to sleep, while the other should be waking or rebooting the device.</p> <p>I am having no pr...
I have installed my application as a system app on an android TV box. My goal is to be able to put the device to sleep and wake, or reboot, at specific times I am currently using two alarms - one that puts the device to sleep, while the other should be waking or rebooting the device. I am having no problem individually...
android|root|sleep|reboot
1
2022-09-23T16:22:36.497Z
2,022
9
16
4
16
1
834
49
4
5
true
false
false
false
false
false
low
73,830,606
Adding button to a Gridview that is flexible to the grids childrens in flutter
<p><strong>I have tried to achieve a grid view like this:</strong></p> <p><a href="https://i.stack.imgur.com/HBXwu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HBXwu.png" alt="1st image" /></a> <a href="https://i.stack.imgur.com/a9wsL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur....
I have tried to achieve a grid view like this: I tried to generate a widget list and then append a button widget to the end and create gridview with the widget lists. and code is bellow : [CODE] } My question is what is the better way to achieve what I want to achieve. Above code works but I want to know if there's a b...
android|flutter|flutter-layout
0
2022-09-23T16:27:39.243Z
2,022
9
16
4
22
0
342
78
3
1
true
true
false
false
false
false
zero
73,830,759
Reset fragment by using Navigation Component
<p>I'd like to have a <code>fun</code>, where the user can restart/reload the fragment on a gesture. For now, I've just added it to some button, for testing purposes. I'm using Navigation Components, and <code>ViewPager 2</code>. I've tried to make an <code>action</code> in navigation graph, to my fragment so it can mo...
I'd like to have a fun , where the user can restart/reload the fragment on a gesture. For now, I've just added it to some button, for testing purposes. I'm using Navigation Components, and ViewPager 2 . I've tried to make an action in navigation graph, to my fragment so it can move to itself, but it doesn't work. [CODE...
android|kotlin|android-fragments|mvvm|android-architecture-components
2
2022-09-23T16:44:20.143Z
2,022
9
16
4
40
1
462
44
5
3
true
false
false
false
false
false
low
73,830,903
How to merge 2 room databases into 1 in compose?
<p>I have created 2 seperate room databases following best practices in kotlin. 1 database for age and 1 for gender, how can I merge these 2 databases and represent them into &quot;1&quot; database? The order from top to bottom does not matter. How can this be achieved this?</p> <p>Age database: <a href="https://gyazo....
I have created 2 seperate room databases following best practices in kotlin. 1 database for age and 1 for gender, how can I merge these 2 databases and represent them into &quot;1&quot; database? The order from top to bottom does not matter. How can this be achieved this? Age database: https://gyazo.com/0074f2e4f002de9...
android|database|kotlin
0
2022-09-23T17:00:31.527Z
2,022
9
17
4
26
0
456
48
3
1
true
true
false
false
false
false
zero
73,830,905
Exception: Gradle task assembleDebug failed with exist code 1
<pre><code>Launching lib/main.dart on GM1917 in debug mode... Running Gradle task 'assembleDebug'... Exception in thread &quot;main&quot; javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested targe...
[CODE] I am trying to setup a new Flutter project in Android Studio. The demo app works perfectly in Chrome (web), and macOS (Desktop), but fails when trying to run on Android (either on an emulated device or a physical device).
android|flutter|android-studio|visual-studio-code|android-gradle-plugin
0
2022-09-23T17:00:42.247Z
2,022
9
17
4
27
0
228
61
5
1
true
true
false
false
false
false
zero