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
71,987,923
How to change unprogressed tick marker image on discrete seekBar in Android
<p>I've made seekbar, but dots which wasn't progress must be gray color. How to make it?</p> <p>My xml code</p> <pre><code>&lt;SeekBar android:id=&quot;@+id/massageProgress&quot; style=&quot;@style/Widget.AppCompat.SeekBar.Discrete&quot; android:layout_width=&quot;match_parent&quot; android:layout_heigh...
I've made seekbar, but dots which wasn't progress must be gray color. How to make it? My xml code [CODE] thumb [CODE] tintMark [CODE] ic_seekbar_thick [CODE] Must be
android|android-layout
0
2022-04-24T11:24:03.540Z
2,022
4
11
6
23
0
165
75
2
4
true
true
false
false
false
false
zero
72,003,071
Failed to find '@attr/shapeAppearanceSmallComponent' in current theme in android studio
<p>I am very new to app development and I am facing this error in issue panel in android studio</p> <blockquote> <p>Failed to find '@attr/shapeAppearanceSmallComponent' in current theme i am also facing a warning Missing styles. Is the correct theme chosen for this layout?</p> </blockquote> <p>After searching on web i ...
I am very new to app development and I am facing this error in issue panel in android studio Failed to find '@attr/shapeAppearanceSmallComponent' in current theme i am also facing a warning Missing styles. Is the correct theme chosen for this layout? After searching on web i found that this is caused by the wrong theme...
android|android-studio
0
2022-04-25T16:55:24.610Z
2,022
4
16
0
23
0
2,005
87
2
0
false
true
false
false
false
false
zero
72,006,844
Array in Android Room Relation
<p>I have a class for Room relations:</p> <pre><code>data class PersonWithRelations( @Embedded val person: Person, @Relation( parentColumn = &quot;country_id&quot;, entityColumn = &quot;country_id&quot;, ) val country: Country?, @Relation( entity = EmergencyContact::class, ...
I have a class for Room relations: [CODE] EmergencyContactPerson is another class helper for relation: [CODE] But I've the following error: [CODE] Everything works except when I add the Array<T> type. How to have an array of these Room relation helper classes inside another relation helper class? This one of the classe...
android-room|android-room-relation
0
2022-04-25T23:49:58.150Z
2,022
4
23
0
23
0
914
30
2
8
true
true
false
false
false
false
zero
72,022,334
Large complex 2d shapes in Libgdx
<p>Im making a game and I want to have very wide stroked lines following objects around on and off the screen over a large area I can pan over and zoom in and out. The thing is, as the lines start to gain more segments, it starts to lag. So I've been switching over to libgdx, also I've working on getting only the path ...
Im making a game and I want to have very wide stroked lines following objects around on and off the screen over a large area I can pan over and zoom in and out. The thing is, as the lines start to gain more segments, it starts to lag. So I've been switching over to libgdx, also I've working on getting only the path seg...
java|android|libgdx
0
2022-04-27T01:33:06.087Z
2,022
4
1
2
23
0
1,493
33
3
0
false
true
false
false
false
false
zero
72,038,560
Unable to initiate call programmatically when my app is running in background
<p>Basically, my app initiates phone call automatically and show toast message about sms when specific sms is received, I used Broadcast Receiver for it, now it completely working but only when app is opened, when I shift my app in background only toast message is shown but call doesn't get initiate.</p> <p>Here's my c...
Basically, my app initiates phone call automatically and show toast message about sms when specific sms is received, I used Broadcast Receiver for it, now it completely working but only when app is opened, when I shift my app in background only toast message is shown but call doesn't get initiate. Here's my code in Mai...
java|android
0
2022-04-28T05:46:05.227Z
2,022
4
5
3
23
0
470
77
2
2
true
true
false
false
false
false
zero
72,049,167
Why am I not able to save my Spotify api app setting?
<p>I can save my Spotify api app settings, but everytime I refresh the page they are gone even though I pressed the &quot;add&quot; Button and &quot;save&quot; Button. Has anyone already encountered this problem? Thanks in advance.</p> <p><a href="https://i.stack.imgur.com/hDwEy.png" rel="nofollow noreferrer"><img src=...
I can save my Spotify api app settings, but everytime I refresh the page they are gone even though I pressed the &quot;add&quot; Button and &quot;save&quot; Button. Has anyone already encountered this problem? Thanks in advance.
java|android-studio|kotlin|spotify|spotify-app
0
2022-04-28T19:23:01.163Z
2,022
4
19
3
23
0
228
53
5
0
false
true
false
false
false
false
zero
72,075,152
Prevent Flutter TextField that has a fixed character count from counting words that start with # or @
<p>I'm trying to make a TextField that has has the same behavior as Twitter's Tweet textfield. When I type a hashtag or mention somebody, those characters are ignored for the overall character count of the tweet. How can I do the same with Flutter's textfield?</p>
I'm trying to make a TextField that has has the same behavior as Twitter's Tweet textfield. When I type a hashtag or mention somebody, those characters are ignored for the overall character count of the tweet. How can I do the same with Flutter's textfield?
android|ios|flutter
0
2022-05-01T08:30:04.057Z
2,022
5
8
6
23
0
257
101
3
0
false
true
false
false
false
false
zero
72,078,581
Positive button not showing up with MultiChoice AlertDialog
<p>I have a multichoice alertdialog that's displaying a checklist of ~ 20 items, and 2 EditTexts, and positive button. It perfectly works when I display only ~ 8 out of the 20 items, but when I try to display the whole checklist, the 2 EditTexts and the positive button don't show up. Here's the method that creates the ...
I have a multichoice alertdialog that's displaying a checklist of ~ 20 items, and 2 EditTexts, and positive button. It perfectly works when I display only ~ 8 out of the 20 items, but when I try to display the whole checklist, the 2 EditTexts and the positive button don't show up. Here's the method that creates the dia...
android|kotlin|android-alertdialog
0
2022-05-01T16:34:22.643Z
2,022
5
16
6
23
0
446
59
3
2
true
true
false
false
false
false
zero
72,083,780
AndroidTV cast receiver does't launch
<p>I have a problem with launch my Android TV cast receiver. I have android sender app (i used this documentation <a href="https://developers.google.com/cast/docs/android_sender" rel="nofollow noreferrer">https://developers.google.com/cast/docs/android_sender</a>) It's working with the default cast receiver. Then i in...
I have a problem with launch my Android TV cast receiver. I have android sender app (i used this documentation https://developers.google.com/cast/docs/android_sender ) It's working with the default cast receiver. Then i integrated cast receiver in my TV app used this documentation https://developers.google.com/cast/doc...
android|casting|android-tv
1
2022-05-02T07:53:48.153Z
2,022
5
7
0
23
0
582
37
3
0
false
true
false
false
false
false
low
72,099,219
Why is the App Actions Test tool crashing in Android Studio
<p>I am investigating Google actions by following <a href="https://codelabs.developers.google.com/codelabs/appactions/#0" rel="nofollow noreferrer">this</a> code lab</p> <p>the version of Android Studio I am employing is this:-</p> <pre><code>Android Studio Dolphin | 2021.3.1 Canary 9 Build #AI-213.7172.25.2113.8473230...
I am investigating Google actions by following this code lab the version of Android Studio I am employing is this:- [CODE] I have installed the App Actions Test Tool plugin (3.5.1) however when I attempt to open the App test tool I receive the following stacktrace [CODE] where have I gone wrong? is it not possible to u...
android|android-studio|actions-on-google
0
2022-05-03T12:13:18.760Z
2,022
5
12
1
23
0
394
59
3
2
true
true
false
false
false
false
zero
72,101,334
Filterable search not working inside recyclerview inside fragment
<p>Question -</p> <p>The main problem is when I run the app I don't see a filterable search working it always shows an invalid search even if I search the exact related text results. The app doesn't crash as I have already handled the null pointer exception.</p> <blockquote> <p>I got a filterable search which is used o...
Question - The main problem is when I run the app I don't see a filterable search working it always shows an invalid search even if I search the exact related text results. The app doesn't crash as I have already handled the null pointer exception. I got a filterable search which is used on appBar. I have used the recy...
java|android|android-recyclerview|fragment|android-filterable
1
2022-05-03T14:53:58.543Z
2,022
5
14
1
23
0
411
65
5
2
true
true
false
false
false
false
low
72,131,279
I want to display text using Android and OpenGL
<p>I want to display a text within a OpenGL Android Application. I have tried the code below, but, nothing is displayed. Some other attempts have been tried but none was displayed either. Could anyone help me with some advice?</p> <pre><code> String aText = &quot;Prueba&quot;; float aFontSize = 100; int[] textureI...
I want to display a text within a OpenGL Android Application. I have tried the code below, but, nothing is displayed. Some other attempts have been tried but none was displayed either. Could anyone help me with some advice? [CODE]
java|android|mobile|opengl-es|render
0
2022-05-05T17:23:11.057Z
2,022
5
17
3
23
0
230
47
5
1
true
true
false
false
false
false
zero
72,133,666
onOptionsItem is not localized in Android Studio
<p>When I change the language of the app, everything translated to the selected language at the time, but after restarting the app, Option Items are translated back to the system language of the device: <a href="https://i.stack.imgur.com/AHgrh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/AHgrh.png...
When I change the language of the app, everything translated to the selected language at the time, but after restarting the app, Option Items are translated back to the system language of the device: I translated the app to Persian language(like Arabic), also this back button, goes back to the left side of the app bar,...
java|android-studio|localization
1
2022-05-05T21:07:09.843Z
2,022
5
21
3
23
0
451
48
3
2
true
true
false
false
false
false
low
71,793,547
Can't access android SDK in android studio settings
<p>I downloaded the latest android studio version, and trying to load some code from github, but when it was trying to open it, it asked me for the sdk location. I gave it but nothing changed. Then I went to settings to checks what's up there and noticed that the android sdk tab doesn't load. <a href="https://i.stack.i...
I downloaded the latest android studio version, and trying to load some code from github, but when it was trying to open it, it asked me for the sdk location. I gave it but nothing changed. Then I went to settings to checks what's up there and noticed that the android sdk tab doesn't load. Picture from settings What co...
android-studio|android-sdk-tools
0
2022-04-08T07:55:51.983Z
2,022
4
7
4
24
0
340
51
2
0
false
true
false
false
false
false
zero
71,827,545
Which section of gradle dependencies report should I check to know my dependencies?
<p>I create a simple sample Android project where the dependencies as below</p> <pre><code>dependencies { implementation 'androidx.core:core-ktx:1.7.0' implementation 'androidx.appcompat:appcompat:1.4.1' implementation 'com.google.android.material:material:1.5.0' implementation 'androidx.constraintlayo...
I create a simple sample Android project where the dependencies as below [CODE] Here you can see I have implementation , but there's no runtimeOnly or compileOnly . When I run ./gradlew app:dependences , the generated report with many sections. Which section should I look to know my dependencies (assuming I'm intereste...
android|gradle
0
2022-04-11T12:05:22.930Z
2,022
4
12
0
24
0
511
83
2
1
true
true
false
false
false
false
zero
71,831,675
withTagKey vs withTagValue inEspresso?
<p>What is the difference between withTagKey and withTagValue Viewmatchers in Espresso?</p> <p>if we have a custom object stored in our view, can we get the view using withTagValue view matcher.</p>
What is the difference between withTagKey and withTagValue Viewmatchers in Espresso? if we have a custom object stored in our view, can we get the view using withTagValue view matcher.
android|android-espresso|android-testing
0
2022-04-11T17:02:46.487Z
2,022
4
17
0
24
0
184
38
3
0
false
true
false
false
false
false
zero
71,842,161
Get the number of failed tests after running connectedDebugAndroidTest
<p>I have a bash script that runs my android tests like so <code>./gradlew $module:connectedDebugAndroidTest</code></p> <p>Is it possible to get the number of failed tests into a variable or do I have to gerb that value from the test report that is the result of this command</p>
I have a bash script that runs my android tests like so ./gradlew $module:connectedDebugAndroidTest Is it possible to get the number of failed tests into a variable or do I have to gerb that value from the test report that is the result of this command
android|bash|android-testing|gradlew
0
2022-04-12T11:50:23.670Z
2,022
4
11
1
24
0
252
70
4
0
false
true
false
false
false
false
zero
71,854,650
Is it possible to access JS folder bundled in react native app
<p>I would like to ask is whether it is possible to access those javascript folders and files such as components from an app created using react native in let's say, an android phone? Please correct me if I have the wrong idea about how react native app works under the hood.</p> <p><a href="https://i.stack.imgur.com/dv...
I would like to ask is whether it is possible to access those javascript folders and files such as components from an app created using react native in let's say, an android phone? Please correct me if I have the wrong idea about how react native app works under the hood. When I access to Android > data > com.package ,...
android|reactjs|react-native
0
2022-04-13T08:56:05.680Z
2,022
4
8
2
24
0
576
62
3
0
false
true
false
false
false
false
zero
71,859,620
Android - ImageView looks black until I move my finger on horizontal
<p>I am trying to show a bitmap that is converted from an HTML string. Html string contains images and texts, I am updating the image URLs to byte-array. After that when I receive a bitmap image I am using the <code>setImageBitmap</code> method.</p> <p>It is so weird for me. Why it is not shown at first why it is shown...
I am trying to show a bitmap that is converted from an HTML string. Html string contains images and texts, I am updating the image URLs to byte-array. After that when I receive a bitmap image I am using the setImageBitmap method. It is so weird for me. Why it is not shown at first why it is shown when I moved my finger...
android|bitmap|imageview
0
2022-04-13T14:55:10.743Z
2,022
4
14
2
24
0
412
68
3
0
false
true
false
false
false
false
zero
71,885,762
Is it possible to set a lockscreen on iOS or Android that changes every few seconds according to what an API sends it?
<p>I have a server that will be producing images, and I would like the phone to sort of subscribe to the API and update its background / lockscreen image as often as the API serves a new image, in a live, ongoing basis, e.g. every five seconds.</p> <p>No interactivity. Just showing each static image live as they are pr...
I have a server that will be producing images, and I would like the phone to sort of subscribe to the API and update its background / lockscreen image as often as the API serves a new image, in a live, ongoing basis, e.g. every five seconds. No interactivity. Just showing each static image live as they are produced. I ...
android|ios|api|live-wallpaper
0
2022-04-15T15:13:43.017Z
2,022
4
15
4
24
0
643
118
4
0
false
true
false
false
false
false
zero
71,889,062
How to scan for Bluetooth LE devices using Android API version 21? (BLUETOOTH_SCAN PERMISSION_DENIED)
<p>I am struggling with getting scanning for Bluetooth LE devices working.</p> <p>My aim is to be compatible with Android 5.0 (Lollipop) =&gt; API level 21.</p> <p>Thus my <code>build.gradle</code> contains</p> <pre><code>minSdk 21 targetSdk 32 </code></pre> <p>The <code>AndroidManifest.xml</code> contains</p> <pre><co...
I am struggling with getting scanning for Bluetooth LE devices working. My aim is to be compatible with Android 5.0 (Lollipop) => API level 21. Thus my build.gradle contains [CODE] The AndroidManifest.xml contains [CODE] The code of the complete Activity is: [CODE] When running, i am getting following logging: [CODE] W...
java|android|bluetooth
0
2022-04-15T21:21:29.210Z
2,022
4
21
4
24
0
444
101
3
4
true
true
false
false
false
false
zero
71,910,018
How to differentiate between serving and neighboring cell info using getAllCellInfo in telephonymanager?
<p>I'm trying to get serving and neighboring cell info and I'm using getAllCellInfo() method from telephony manager library. it returns a list of cell info and I want to know how to separate serving and neighboring cell info.</p>
I'm trying to get serving and neighboring cell info and I'm using getAllCellInfo() method from telephony manager library. it returns a list of cell info and I want to know how to separate serving and neighboring cell info.
java|android|mobile|telephonymanager
0
2022-04-18T09:31:51.200Z
2,022
4
9
0
24
0
222
104
4
0
false
true
false
false
false
false
zero
71,958,470
react app slides down when keyboard is activated, hiding part of the input area
<p>My react app slides down when activating the keyboard, hiding part of the text input field. How can I disable this feature?</p> <p><a href="https://i.stack.imgur.com/BK4Iz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BK4Iz.jpg" alt="enter image description here" /></a></p>
My react app slides down when activating the keyboard, hiding part of the text input field. How can I disable this feature?
javascript|android|reactjs|responsive-design
0
2022-04-21T17:19:49.863Z
2,022
4
17
3
24
0
123
79
4
0
false
true
false
false
false
false
zero
71,985,947
How to use MXNet prediction on Android?
<p>I am working on sample android application using MXNet pretrained model.</p> <p>I read this guide: <a href="https://mxnet.apache.org/versions/1.8.0/api/faq/smart_device" rel="nofollow noreferrer">https://mxnet.apache.org/versions/1.8.0/api/faq/smart_device</a></p> <p>However, the &quot;amalgamation&quot; script is n...
I am working on sample android application using MXNet pretrained model. I read this guide: https://mxnet.apache.org/versions/1.8.0/api/faq/smart_device However, the &quot;amalgamation&quot; script is not found on the latest version of MXNet repo. Is there some other ways to use MXNet on android?
android|android-ndk|aar|mxnet
0
2022-04-24T06:11:19.673Z
2,022
4
6
6
24
0
297
39
4
0
false
true
false
false
false
false
zero
71,986,390
Is there an android virtual device equivalence for host.docker.internal?
<p>I am new to android development. I am trying to develop an application using flutter and emulating it using android virtual device. The backend of my application saves images in a docker container using minio. When I try to access images (contained in the minio) via backend, the backend returns a presigned url like ...
I am new to android development. I am trying to develop an application using flutter and emulating it using android virtual device. The backend of my application saves images in a docker container using minio. When I try to access images (contained in the minio) via backend, the backend returns a presigned url like the...
android|docker|minio
0
2022-04-24T07:35:38.457Z
2,022
4
7
6
24
0
777
72
3
2
true
true
false
false
false
false
zero
71,989,344
android studio - cutting top corners in MaterialDatePicker not working
<p><a href="https://i.stack.imgur.com/kY94a.png" rel="nofollow noreferrer">MaterialDatePicker doesn't have it's top corners cut</a></p> <p>A piece of code from styles.xml:</p> <pre><code>&lt;style name=&quot;ShapeAppearance.App.MediumComponent&quot; parent=&quot;ShapeAppearance.MaterialComponents.MediumComponent&quot;&...
MaterialDatePicker doesn't have it's top corners cut A piece of code from styles.xml: [CODE] A piece of code from themes.xml: [CODE] I use &quot;cornerFamily&quot; and &quot;cornerSize&quot; for styling edges of date picker dialog, but it DOESN'T work for cutting TOP edges. There is no problem with rounding all edges i...
android|android-studio|material-design|android-dialogfragment|materialdatepicker
0
2022-04-24T14:23:21.833Z
2,022
4
14
6
24
0
474
70
5
2
true
true
false
false
false
false
zero
71,999,377
how to get more stable locations rather than more accurate ones
<p>my app uses the fusedlocationprovider api to retrieve the user current location and showing a marker on the map every second using the following code</p> <pre><code>locationRequest = LocationRequest.create().apply { interval = 1000 fastestInterval = 1000 priority = LocationRequest...
my app uses the fusedlocationprovider api to retrieve the user current location and showing a marker on the map every second using the following code [CODE] the problem is that the location I am getting , just not that accurate so the marker keeps moving even the phone is not. so after looking on the internet I find ou...
java|android|kotlin|google-maps|fusedlocationproviderapi
1
2022-04-25T12:13:43.920Z
2,022
4
12
0
24
0
573
63
5
1
true
true
false
false
false
false
low
72,014,061
android gradle task dependency
<p>I wasnt to execute some custom tassk whenever prodrelease is build. I added something like this in build.gradle</p> <pre><code>android { . . assembleProdRelease.dependsOn(&lt;some..custom..task&gt;) } </code></pre> <p>but it throws error</p> <blockquote> <p>org.gradle.api.GradleS...
I wasnt to execute some custom tassk whenever prodrelease is build. I added something like this in build.gradle [CODE] but it throws error org.gradle.api.GradleScriptException: A problem occurred evaluating project ':app' Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'assembleProdRelea...
android|gradle
0
2022-04-26T12:33:50.623Z
2,022
4
12
1
24
0
416
30
2
1
true
true
false
false
false
false
zero
72,034,701
Generating a signed apk
<p>i have a problem with generating a signed apk. I'm rehearsing with Cordova and i have followed the tutorial on Construct3 site but i have a problem with jarsigner and i cannot install &quot;org.apache.cordova.console in the project.</p> <p>Then since the project weighs 1 Gb i can't use the C3 tool to generate the ap...
i have a problem with generating a signed apk. I'm rehearsing with Cordova and i have followed the tutorial on Construct3 site but i have a problem with jarsigner and i cannot install &quot;org.apache.cordova.console in the project. Then since the project weighs 1 Gb i can't use the C3 tool to generate the apk or to ge...
android|cordova|jarsigner
0
2022-04-27T20:07:36.620Z
2,022
4
20
2
24
0
1,395
23
3
1
true
true
false
false
false
false
zero
72,039,165
How to make the secret key stored in AndroidKeyStore still exist after the user clears the data in the settings?
<p>I use the following code to store the key to keystore</p> <pre><code>Certificate cer2 = CertificateFactory.getInstance(&quot;X.509&quot;) .generateCertificate(context.getAssets().open(&quot;rsa_test.cer&quot;)); Certificate cer1 = CertificateFactory.getInstance(&quot;X.509&quot;) ...
I use the following code to store the key to keystore [CODE] Use this method to get the key alias [CODE] How to make the secret key stored in AndroidKeyStore still exist after the user clears the data in the settings? I use the following code to store the key to keystore. Use this method to get the key alias. But I wen...
android
0
2022-04-28T06:45:08.060Z
2,022
4
6
3
24
0
461
112
1
2
true
true
false
false
false
false
zero
72,054,175
How to programatically determine Android device setup timestamp
<p>I am trying to figure out if there is a way to programmatically determine the timestamp of when an Android device was setup, just like how it can be found in <a href="https://www.google.com/android/find" rel="nofollow noreferrer">Find my device</a> under &quot;First registered&quot;.</p> <p><a href="https://i.stack....
I am trying to figure out if there is a way to programmatically determine the timestamp of when an Android device was setup, just like how it can be found in Find my device under &quot;First registered&quot;. I've tried looking at the creation dates of the files in the device but most of them seem to update daily and a...
java|android|kotlin
1
2022-04-29T07:19:58.667Z
2,022
4
7
4
24
0
365
63
3
0
false
true
false
false
false
false
low
72,055,285
Does mvvmicro/AutoFindviews supports AndoridX libraries?
<p>Currently I am trying to update Android support libraries to AndoridX in our project which is built on Xamarin.Android. But when I use androidx widgets in layout files. Its throwing an error in autogenerated layout files.</p> <p>[ex: I used &lt;androidx.recyclerview.widget.RecyclerView&gt; in FirstActivity.xml , I a...
Currently I am trying to update Android support libraries to AndoridX in our project which is built on Xamarin.Android. But when I use androidx widgets in layout files. Its throwing an error in autogenerated layout files. [ex: I used <androidx.recyclerview.widget.RecyclerView> in FirstActivity.xml , I am getting error ...
xamarin|mvvm|xamarin.android|androidx
0
2022-04-29T08:51:02.410Z
2,022
4
8
4
24
0
770
56
4
1
true
true
false
false
false
false
zero
72,058,705
Canhub image is not shown
<p>I use canhub to crop image. Even I load the image, it is not shown. When I log the uri or canhub imageviewer, it is not null. I added the permissions and checked manually, there is no problem about permissions.</p> <p>My main_activity.xml</p> <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt...
I use canhub to crop image. Even I load the image, it is not shown. When I log the uri or canhub imageviewer, it is not null. I added the permissions and checked manually, there is no problem about permissions. My main_activity.xml [CODE] and MainActivity.java [CODE]
java|android|image-cropper
0
2022-04-29T13:25:43.293Z
2,022
4
13
4
24
0
267
25
3
2
true
true
false
false
false
false
zero
72,078,013
Scroll through two gridviews at a time
<p>I want to scroll through two grid views at once. Currently, if i set the outside layout with the grid layout, it will go out of the screen, so I inevitably set it as a linear layout. Please give me a solution ..</p> <pre><code>&lt;LinearLayout android:layout_width=&quot;match_parent&quot; android:layout_heig...
I want to scroll through two grid views at once. Currently, if i set the outside layout with the grid layout, it will go out of the screen, so I inevitably set it as a linear layout. Please give me a solution .. [CODE] here is the Image
android|gridview|scroll
1
2022-05-01T15:21:27.243Z
2,022
5
15
6
24
0
236
38
3
1
true
true
false
false
false
false
low
72,114,499
Can I change date cells color within Material Design Date Picker for Android?
<p>I'm using Material Design Date picker: <a href="https://material.io/components/date-pickers" rel="nofollow noreferrer">https://material.io/components/date-pickers</a> in my Android Application, can I make every date in calendar to have different color?</p>
I'm using Material Design Date picker: https://material.io/components/date-pickers in my Android Application, can I make every date in calendar to have different color?
java|android|kotlin|mobile|material-design
0
2022-05-04T14:13:57.143Z
2,022
5
14
2
24
0
168
77
5
0
false
true
false
false
false
false
zero
72,030,129
Lottie Animation - Switch Button goes back to starting state - Android Studio
<p>I'm trying to recreate a switch button using Lottie Animations and it does work good on click (when clicked), but goes back to the original state instantly. I have disabled AutoPlay and Loop as well in XML.</p> <p>Here is the code :</p> <pre><code>LottieAnimationView dayandnight = (LottieAnimationView) findViewById(...
I'm trying to recreate a switch button using Lottie Animations and it does work good on click (when clicked), but goes back to the original state instantly. I have disabled AutoPlay and Loop as well in XML. Here is the code : [CODE] Here is the XML code for the above Lottie Animation: [CODE] Every suggestion will be a ...
android|android-studio|lottie|android-motionlayout
0
2022-04-27T14:00:16.847Z
2,022
4
14
2
280
0
357
77
4
2
true
true
false
false
false
false
zero
71,804,047
speak failed: it not bound to TTS engine
<p><strong>i got no error and the application open and i can write put the problem that when i run it and write and press the say button i don't hear anything<br /> this is my activityMain.java file .</strong></p> <pre><code> package com.example.text_to_speech; import android.os.Bundle; import android.speech.tts.Tex...
i got no error and the application open and i can write put the problem that when i run it and write and press the say button i don't hear anything this is my activityMain.java file . [CODE] this is my activity_main.xml [CODE] ** this is my build.gradle:app, i tried to change the target sdk to 28 and still did not work...
java|android|xml|android-studio|build.gradle
0
2022-04-08T23:26:57.800Z
2,022
4
23
4
25
0
330
40
5
3
true
true
false
false
false
false
zero
71,829,980
Android change X, Y coordinates based on Z distance
<p>Like in title. I am writting an Android app. In camera.onTouch method I am getting two points (<code>x1, y1</code> in MotionEvent.ACTION_DOWN and <code>x2, y2</code> in MotionEvent.ACTION_UP) and drawing it on camera preview. How to change those coordinates based on distance <code>double z</code> (this is distance f...
Like in title. I am writting an Android app. In camera.onTouch method I am getting two points ( x1, y1 in MotionEvent.ACTION_DOWN and x2, y2 in MotionEvent.ACTION_UP) and drawing it on camera preview. How to change those coordinates based on distance double z (this is distance from camera to object not from point to po...
java|android|kotlin|3d
0
2022-04-11T14:54:34.663Z
2,022
4
14
0
25
0
637
51
4
0
false
true
false
false
false
false
zero
71,855,756
Open/Listen to COM-Port client sided on mobile device, is it possible?
<p>So I am using navigator.serial in my reactjs PWA to access the COM-Ports and receive information from a external bluetooth GNSS receiver.</p> <p>This works perfect on any Windows device but fails on any mobile device that are using android/ios.</p> <p>I found out that the serial API is not implemented on mobile, is ...
So I am using navigator.serial in my reactjs PWA to access the COM-Ports and receive information from a external bluetooth GNSS receiver. This works perfect on any Windows device but fails on any mobile device that are using android/ios. I found out that the serial API is not implemented on mobile, is there a workaroun...
javascript|android|reactjs|serial-port
0
2022-04-13T10:14:33.880Z
2,022
4
10
2
25
0
412
70
4
0
false
true
false
false
false
false
zero
71,887,434
Self update on android without play services
<p>How do I make my sideload only android app check for updates on every launch For example make it go to example.com/latest.txt and compare the versions and then download it Or another solution that doesnt involve play services. I've tried looking this question up but didn't find anything of use</p>
How do I make my sideload only android app check for updates on every launch For example make it go to example.com/latest.txt and compare the versions and then download it Or another solution that doesnt involve play services. I've tried looking this question up but didn't find anything of use
android|apk|updating|sideloading|self-updating
0
2022-04-15T18:06:48.557Z
2,022
4
18
4
25
0
294
44
5
0
false
true
false
false
false
false
zero
71,889,918
How do i host a local html that can be seen by anyone using the same hotspot?
<p>Iam abit new to android studio and im trying to make a local web server on android that can be accessed by anyone in the same hotspot, is there any sort documentation anyone could lead me to so i can understand, i couldn't find what i needed from searching</p>
Iam abit new to android studio and im trying to make a local web server on android that can be accessed by anyone in the same hotspot, is there any sort documentation anyone could lead me to so i can understand, i couldn't find what i needed from searching
android|android-studio|localhost|webserver|local-web-server
0
2022-04-15T23:47:54.883Z
2,022
4
23
4
25
0
256
77
5
0
false
true
false
false
false
false
zero
71,903,749
How can I listen to SwitchItem events on Android's Menu?
<p>I am Using <strong>SwitchCompat</strong> on my <strong>Toolbar</strong>, I have a few Menu Items, one of which is this <strong>Switch</strong>.</p> <pre><code>&lt;menu xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; xmlns:tools=&quot;...
I am Using SwitchCompat on my Toolbar , I have a few Menu Items, one of which is this Switch . [CODE] I can Handle the click events of the regular MenuItems but I can't seem to trigger the SwitchCompat's event listener. Any suggestions? Here is What I've tried so far. No luck [CODE]
android|kotlin|onclick|menuitem
0
2022-04-17T16:51:43.623Z
2,022
4
16
6
25
0
283
56
4
2
true
true
false
false
false
false
zero
71,913,456
Calendar and dropdopwn connections
<p>I am making a calendar and have a dropdown with all the months in so you can pick a month from the dropdown and the lazyrow should go to that index. Now my question is how would you go about doing it the other way around so that the dropdown changes when you swipe in the calendar would you update it every time you t...
I am making a calendar and have a dropdown with all the months in so you can pick a month from the dropdown and the lazyrow should go to that index. Now my question is how would you go about doing it the other way around so that the dropdown changes when you swipe in the calendar would you update it every time you touc...
list|android-jetpack-compose
0
2022-04-18T14:58:01.093Z
2,022
4
14
0
25
0
509
34
2
1
true
true
false
false
false
false
zero
71,917,978
Any way to close ADB Logcat through Java?
<p>I am currently working on a project that allows users to enter an IP Address and a file name, then run Logcat to save the file to the user entered file name.</p> <p><a href="https://i.stack.imgur.com/r9nQ9.png" rel="nofollow noreferrer">The UI</a></p> <p>The Application will allows users to start writing logs, and s...
I am currently working on a project that allows users to enter an IP Address and a file name, then run Logcat to save the file to the user entered file name. The UI The Application will allows users to start writing logs, and stop writing logs with a start and stop button. On the bottom there will be a status textfield...
java|android|kotlin|adb|logcat
0
2022-04-18T23:15:03.213Z
2,022
4
23
0
25
0
1,734
41
5
3
true
true
false
false
false
false
zero
71,924,507
how do i remove an auto generated fold region in android stuido?
<p>Ive tried to uncheck everything in &quot;File -&gt; Settings -&gt; Editor -&gt; General -&gt; Code Folding&quot;. Ive tried &quot;selection/remove region&quot; och &quot;Ctrl+m&quot; och &quot;Crtl+.&quot; &quot;Ctrl+alt+-&quot;. The automatic folding makes my code incredibly hard to read I just want it gone without...
Ive tried to uncheck everything in &quot;File -> Settings -> Editor -> General -> Code Folding&quot;. Ive tried &quot;selection/remove region&quot; och &quot;Ctrl+m&quot; och &quot;Crtl+.&quot; &quot;Ctrl+alt+-&quot;. The automatic folding makes my code incredibly hard to read I just want it gone without removing the f...
android-studio|folding
0
2022-04-19T11:52:00.090Z
2,022
4
11
1
25
0
358
64
2
0
false
true
false
false
false
false
zero
71,947,038
AndroidStudio does mark graphql file with error at the navigation sidebar
<p>When I open the file, the error is there, but I can't see it from outside of the file. All the files that have an error are underlined with a red line, only .graphql files not.</p> <p><a href="https://i.stack.imgur.com/OBUaj.png" rel="nofollow noreferrer">Check the image to you better understand</a></p>
When I open the file, the error is there, but I can't see it from outside of the file. All the files that have an error are underlined with a red line, only .graphql files not. Check the image to you better understand
android|android-studio|graphql
0
2022-04-20T23:02:22.987Z
2,022
4
23
2
25
0
217
73
3
0
false
true
false
false
false
false
zero
71,953,609
Can't set a value in Bottom Sheet switch widget from Main Activity
<p>This is my first try with Bottom Sheets. I have a menu button in Toolbar that shows Bottom Sheets with 3 item, one of them is Switch widget that can change theme to Dark Mode. When app starts it checkes is the Dark Mode on or off. <a href="https://i.stack.imgur.com/mSaMI.png" rel="nofollow noreferrer">Bottom Sheet l...
This is my first try with Bottom Sheets. I have a menu button in Toolbar that shows Bottom Sheets with 3 item, one of them is Switch widget that can change theme to Dark Mode. When app starts it checkes is the Dark Mode on or off. Bottom Sheet layout When I try to set value onCreate Method in Switch I'm getting an erro...
java|android|bottom-sheet|android-bottomsheetdialog
0
2022-04-21T11:23:48.887Z
2,022
4
11
3
25
0
685
66
4
2
true
true
false
false
false
false
zero
71,958,066
Cannot makeSceneTransitionAnimation in RecyclerView Adapter, Android
<p>I'm trying to make a transition between my RecyclewView and a activity when onClick, but the Adapter doesn't let it. Any suggestion in how could I solve this problem?</p> <p><strong>My onBindViewHolder that contains the target onClick method which I want to implement the transition animation:</strong></p> <pre><code...
I'm trying to make a transition between my RecyclewView and a activity when onClick, but the Adapter doesn't let it. Any suggestion in how could I solve this problem? My onBindViewHolder that contains the target onClick method which I want to implement the transition animation: [CODE] And here's my ViewHolder: [CODE] T...
java|android|android-recyclerview|android-adapter|android-transitions
1
2022-04-21T16:46:24.707Z
2,022
4
16
3
25
0
394
68
5
2
true
true
false
false
false
false
low
71,968,365
Is there a way to allow closing the bottomSheetDialog only when one item is left in its recyclerView?
<p>I have a bottomSheetDialog with a recyclerView in its layout. What I am trying to achieve is I want the bottomSheet to close(while dragging it) only when there is one item left in its recycler. Until one item left, I just want the bottomsheet to collapse without closing if I scroll it down.</p>
I have a bottomSheetDialog with a recyclerView in its layout. What I am trying to achieve is I want the bottomSheet to close(while dragging it) only when there is one item left in its recycler. Until one item left, I just want the bottomsheet to collapse without closing if I scroll it down.
android|xml|kotlin
0
2022-04-22T11:57:13.293Z
2,022
4
11
4
25
0
291
101
3
0
false
true
false
false
false
false
zero
71,982,208
Cannot debug android application
<p>I'm trying to debug an Android application I built from QTCreator, but without success. Everything was going well until I update my QT version to 6.2. The application runs well without debugger.</p> <p>Here is my configuration:</p> <ul> <li>QT6.2</li> <li>QT Creator 7.0.0</li> <li>android-ndk-r19c (I tried newer NDK...
I'm trying to debug an Android application I built from QTCreator, but without success. Everything was going well until I update my QT version to 6.2. The application runs well without debugger. Here is my configuration: QT6.2 QT Creator 7.0.0 android-ndk-r19c (I tried newer NDK, but I got compilation errors) Compilati...
android|c++|qt|debugging|gdb
0
2022-04-23T17:44:19.380Z
2,022
4
17
5
25
0
508
32
5
1
true
true
false
false
false
false
zero
71,989,509
Getting my android app to come in front using kotlin
<p>Please how do I get my app to come back to front I already achieved hiding. Want it to pop back</p> <p><strong>MainActivity.kt</strong></p> <pre><code>if(result[0].toString() == &quot;hide&quot;){ moveTaskToBack(true) //moveTaskToBack is an inbuilt function } </code></pre>
Please how do I get my app to come back to front I already achieved hiding. Want it to pop back MainActivity.kt [CODE]
android|kotlin
0
2022-04-24T14:43:28.257Z
2,022
4
14
6
25
0
118
52
2
1
true
true
false
false
false
false
zero
71,997,480
Android: Spinner does not save selection after configuration changes
<p>I have Spinner with ArrayAdapter. ArrayAdapter code show like:</p> <pre><code>class HouseholdsArrayAdapter( context: Context, resource: Int, ) : ArrayAdapter&lt;Household&gt;(context, resource, arrayListOf()) { fun submitList(list: List&lt;Household&gt;) { this.clear() this.addAll(list) } override fun getV...
I have Spinner with ArrayAdapter. ArrayAdapter code show like: [CODE] Also i have households list. It is LiveData in my ViewModel. I observe it in onViewCreated() method: [CODE] My issue : Spinner DOES NOT save selected position after rotating screen. What is more: Spinner save position after rotating if i submit house...
android|view|spinner|savestate
0
2022-04-25T09:40:56.200Z
2,022
4
9
0
25
0
525
68
4
2
true
true
false
false
false
false
zero
72,025,206
How do I implement some sort of crypto material provider for the KeyChain in Android?
<p>In Spain, every citizen has a national identity card (DNI), which is a NFC enabled smartcard that contains two client certificates and a public/private RSA key pair, stored securely on the card. All crypto operations are done securely on the smartcard.</p> <p>I've successfully implemented in my Android app all it ca...
In Spain, every citizen has a national identity card (DNI), which is a NFC enabled smartcard that contains two client certificates and a public/private RSA key pair, stored securely on the card. All crypto operations are done securely on the smartcard. I've successfully implemented in my Android app all it can offers, ...
android|cryptography|keychain|smartcard
0
2022-04-27T07:56:34.340Z
2,022
4
7
2
25
0
686
85
4
0
false
true
false
false
false
false
zero
72,026,885
How to modify and export android library cloned from Github repo
<p>I am currently working with AWS Amplify API to build an Android app. Using its Cognito's auth API, it only gives a 15 second socket timeout while attempting to sign in. Unfortunately, this won't be enough most of the time, and I need to extend this timeout period, but AWS doesn't have any options to configure this. ...
I am currently working with AWS Amplify API to build an Android app. Using its Cognito's auth API, it only gives a 15 second socket timeout while attempting to sign in. Unfortunately, this won't be enough most of the time, and I need to extend this timeout period, but AWS doesn't have any options to configure this. So,...
android|amazon-web-services|android-studio|github|gradle
0
2022-04-27T10:04:53.157Z
2,022
4
10
2
25
0
1,593
64
5
1
true
true
false
false
false
false
zero
72,055,928
Is there a way to make a button to loop user inputs for a number of times before terminating?
<p>I have been turning the popular guessing game into an app using Java in Android Studio. I want it so that a user can make up to five trials before the answer is revealed. If the user gets the correct guess before the fifth trial, a congratulations page is opened, and if the trials are over before they get the answer...
I have been turning the popular guessing game into an app using Java in Android Studio. I want it so that a user can make up to five trials before the answer is revealed. If the user gets the correct guess before the fifth trial, a congratulations page is opened, and if the trials are over before they get the answer, a...
java|android-studio
0
2022-04-29T09:41:02.797Z
2,022
4
9
4
25
0
648
93
2
1
true
true
false
false
false
false
zero
72,081,210
How to pass XMPPAbstractConnection from Smack XMPP library to viewpager fragment in Android?
<p>I'm building a chat app using the Smack XMPP library. The structure of my app is the following:</p> <ul> <li>MainActivity which holds a login screen and sends me to my main fragment using Intent. This can be ignored as I don't do anything else with it once it calls MainScreen.</li> <li>class MainScreen : AppCompatAc...
I'm building a chat app using the Smack XMPP library. The structure of my app is the following: MainActivity which holds a login screen and sends me to my main fragment using Intent. This can be ignored as I don't do anything else with it once it calls MainScreen. class MainScreen : AppCompatActivity() which has a nav_...
android|kotlin|android-fragments|xmpp|smack
0
2022-05-01T23:50:43.133Z
2,022
5
23
6
25
0
1,586
92
5
1
true
true
false
false
false
false
zero
72,088,864
Android- Why 'adjustPan' on windowSoftInputMode doesn't work ? Anyone knows why?
<h3>Problems</h3> <p>Hey guys, I'm currently working on creating some IOS and Android app using React Native. And I'm struggling to fix the keyboard + screen issue on Android devices.</p> <p>As you can see in the left picture, the keyboard hides another inputs so the users can't see below parts.(and the screen is not s...
Problems Hey guys, I'm currently working on creating some IOS and Android app using React Native. And I'm struggling to fix the keyboard + screen issue on Android devices. As you can see in the left picture, the keyboard hides another inputs so the users can't see below parts.(and the screen is not scrollable.. either)...
java|android|xml
0
2022-05-02T15:23:12.577Z
2,022
5
15
0
25
0
833
80
3
2
true
true
false
false
false
false
zero
72,092,970
Firebase - AndroidStudio - Email authentication code
<p>I'm currently trying to add an email authentication to my register page. Right now it's just to check if the putten email already exists in the firebase storage. There is my code:</p> <pre><code>public void checkEmailExistsOrNot() { FirebaseAuth auth = FirebaseAuth.getInstance(); auth.fetchSignInMethodsForEm...
I'm currently trying to add an email authentication to my register page. Right now it's just to check if the putten email already exists in the firebase storage. There is my code: [CODE] When I compile the code, I get the following error on line boolean check = !task.getResult().getSignInMethods().isEmpty(); com.google...
java|android|firebase|email
0
2022-05-02T22:18:29.340Z
2,022
5
22
0
25
0
501
52
4
1
true
true
false
false
false
false
zero
72,107,217
How can I change status bar color and application icon in status bar for incoming call/in call/missed call/rejected call?
<p>I am making a VOIP feature.</p> <p>I created it with FCM + full screen intent. However, the status bar doesn't show notification's icon and it doesn't automatically change to green color.</p> <p>As far as I know, I can change the status bar color with this <a href="https://stackoverflow.com/questions/22192291/how-to...
I am making a VOIP feature. I created it with FCM + full screen intent. However, the status bar doesn't show notification's icon and it doesn't automatically change to green color. As far as I know, I can change the status bar color with this answer . But I was wondering whether there's a different way for calling and ...
android|android-intent|android-notifications|android-statusbar|voip-android
0
2022-05-04T02:02:36.917Z
2,022
5
2
2
25
0
574
121
5
0
false
true
false
false
false
false
zero
72,123,174
Fetching whether location is enabled on initialising app Flutter
<p>I am working on an app with flutter, it needs a location for entering into the home screen. So fetching location function is implemented on the splash screen and it uses the GeoLocator package. If the location is not enabled, it opens the location set by</p> <blockquote> <p>Geolocator.openLocationSettings(); method....
I am working on an app with flutter, it needs a location for entering into the home screen. So fetching location function is implemented on the splash screen and it uses the GeoLocator package. If the location is not enabled, it opens the location set by Geolocator.openLocationSettings(); method. When coming back to th...
android|ios|flutter|dart|flutter-getx
0
2022-05-05T07:05:30.540Z
2,022
5
7
3
25
0
669
64
5
2
true
true
false
false
false
false
zero
71,913,265
Flutter build apk failing with BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 62
<p>My app used to run perfectly fine a few days ago, I did NOT do any updates and today it is not building.</p> <p>My system -</p> <p>HP 15s eq2144au AMD Ryzen 3 5300U</p> <p>Flutter doctor -</p> <pre><code>Doctor summary (to see all details, run flutter doctor -v): [√] Flutter (Channel master, 2.13.0-0.0.pre.604, on M...
My app used to run perfectly fine a few days ago, I did NOT do any updates and today it is not building. My system - HP 15s eq2144au AMD Ryzen 3 5300U Flutter doctor - [CODE] The error - [CODE] What I have tried - I have tried setting the compileSdkVersion in the build.gradle file located in project_folder\android\app ...
android|flutter|gradle
1
2022-04-18T14:41:18.630Z
2,022
4
14
0
281
0
576
145
3
4
true
true
false
false
false
false
low
71,819,290
how to connect santoku adb to Android AVD on windows HOST?
<p>I use <strong>Santoku</strong> in virtual box and I run Android AVD on a windows10 as host When I type on <strong>Santoku</strong> terminal <code>adb devices</code> there is no device appear even I run the AVD on windows .</p> <p>I put the Adapter network for VM as <strong>NAT and Bridge</strong> but nothing happene...
I use Santoku in virtual box and I run Android AVD on a windows10 as host When I type on Santoku terminal adb devices there is no device appear even I run the AVD on windows . I put the Adapter network for VM as NAT and Bridge but nothing happened and still tell me that there is no devices are connected . How can I do ...
android
0
2022-04-10T18:09:51.197Z
2,022
4
18
6
26
0
326
58
1
0
false
true
false
false
false
false
zero
71,828,919
RXAndroidBLE: Compile error (@ReplayingShare)
<p>I tried to implement the <a href="https://github.com/dariuszseweryn/RxAndroidBle/wiki/Tutorial:-Connection-Observable-sharing#2-multiple-subscribes-with-rxreplayingshare" rel="nofollow noreferrer">method 2 of sharing a BLE connection</a>. Whatever I tried, it's not compiling. I'm new to Java, Android, BLE, RX etc., ...
I tried to implement the method 2 of sharing a BLE connection . Whatever I tried, it's not compiling. I'm new to Java, Android, BLE, RX etc., so I'm lost without help. Here is an excerpt of my code: [CODE] ReplayingShare is providing an object while an Observable<RxBleConnection> is needed. I found suggestions in many ...
rxandroidble
0
2022-04-11T13:43:47.387Z
2,022
4
13
0
26
0
424
45
1
1
true
true
false
false
false
false
zero
71,835,924
Android Indy wallet backup and restore issue
<p>I am trying to restore and backup Indy wallet but I am getting IO exception. Read and write permission already given but still same. Is anyone faced this issue ? I am trying this sample</p> <p><a href="https://github.com/ap050492/Hyperledger-Indy-Wallet---Android" rel="nofollow noreferrer">https://github.com/ap05049...
I am trying to restore and backup Indy wallet but I am getting IO exception. Read and write permission already given but still same. Is anyone faced this issue ? I am trying this sample https://github.com/ap050492/Hyperledger-Indy-Wallet---Android E/ExportWalletTask: java.util.concurrent.CompletableFuture@8db6758[Not c...
android|hyperledger|wallet|hyperledger-indy
0
2022-04-12T01:15:47.600Z
2,022
4
1
1
26
0
329
44
4
0
false
true
false
false
false
false
zero
71,843,952
Select Single Item For Swipe To Delete
<p>I'm using RecyclerView in my project and I added this library is com.daimajia.swipelayout:library:1.2.0@aar to show some options for every item in my list when swiped.</p> <p>What I want to achieve is the following thing: when I swipe one item, if another one is already swiped, the other one is closed automatically....
I'm using RecyclerView in my project and I added this library is com.daimajia.swipelayout:library:1.2.0@aar to show some options for every item in my list when swiped. What I want to achieve is the following thing: when I swipe one item, if another one is already swiped, the other one is closed automatically. So I don'...
android
0
2022-04-12T13:52:46.003Z
2,022
4
13
1
26
0
439
38
1
0
false
true
false
false
false
false
zero
71,877,756
Prevent user swipe in Horizontal Pager-Jetpack Compose
<p>I am trying to restrict user from swiping in a Horizontal pager and make it scroll only by a button click. I tried many ways and failed. I tried to disable the gesture by using this modifier extension function code.But this blocks clicks also which is not intended. So How to detect the swipe and block the swipe gest...
I am trying to restrict user from swiping in a Horizontal pager and make it scroll only by a button click. I tried many ways and failed. I tried to disable the gesture by using this modifier extension function code.But this blocks clicks also which is not intended. So How to detect the swipe and block the swipe gesture...
android|android-jetpack-compose
1
2022-04-14T21:22:16.887Z
2,022
4
21
3
26
0
409
54
2
3
true
true
false
false
false
false
low
71,881,931
How to use both "ModalDrawer" and "ModalBottomSheetLayout" at the same time
<p>My app needs <code>ModalDrawer</code> &amp; <code>ModalBottomSheetLayout</code> at the same time.</p> <p>I searched but couldn't find the officially recommended way to accomplish it.</p> <p>So I just put <code>ModalDrawer</code> inside <code>ModalBottomSheetLayout</code>. Please check the below code.</p> <pre><code>...
My app needs ModalDrawer & ModalBottomSheetLayout at the same time. I searched but couldn't find the officially recommended way to accomplish it. So I just put ModalDrawer inside ModalBottomSheetLayout . Please check the below code. [CODE] ModalDrawerSample() working fine without any issue. However, the UIs in the &quo...
android|android-jetpack-compose
0
2022-04-15T08:48:51.320Z
2,022
4
8
4
26
0
614
75
2
1
true
true
false
false
false
false
zero
71,905,360
Getting a URI for content in an android app
<p>I want to implement a function so that the user can share content from my application to other applications, to make it clearer, this is similar to sending tiktok to instagram or other social networks. To do this, I need to get a link to the content that I want to forward. Here is an example from Instagram.</p> <p><...
I want to implement a function so that the user can share content from my application to other applications, to make it clearer, this is similar to sending tiktok to instagram or other social networks. To do this, I need to get a link to the content that I want to forward. Here is an example from Instagram. here is a p...
java|android|uri
0
2022-04-17T20:49:47.700Z
2,022
4
20
6
26
0
416
43
3
0
false
true
false
false
false
false
zero
71,939,570
open failed: ENOENT (No such file or directory) Attempt to call getDuration in wrong state: mPlayer=0x0, mCurrentState=0
<p>I download audio from server then I want to play it with MediaPlayer</p> <pre><code>*mediaPlayer = MediaPlayer() try { mediaPlayer.setDataSource(songPath) mediaPlayer.prepare() mediaPlayer.start() initSeekBarAndDuration() } catch (e: Exception) { ...
I download audio from server then I want to play it with MediaPlayer [CODE] but this errors error (-38, 0) Attempt to call getDuration in wrong state: mPlayer=0x0, mCurrentState=0 show in log cat. However, In storage that file have, it work perfectly with other musicplayer. How to solve it, Please share me solutions.
android-mediaplayer
0
2022-04-20T12:22:46.857Z
2,022
4
12
2
26
0
318
120
1
1
true
true
false
false
false
false
zero
71,947,998
how to stop unity ads sdk creating ads in background
<p>Unity Android ads SDK has a severe problem: it will create an interstitial ad in the background while the user switches the app between foreground and background very quickly.</p> <p>When the app's &quot;onResume&quot; is called, I will call Unity to show an interstitial ad. But if the app goes to the background bef...
Unity Android ads SDK has a severe problem: it will create an interstitial ad in the background while the user switches the app between foreground and background very quickly. When the app's &quot;onResume&quot; is called, I will call Unity to show an interstitial ad. But if the app goes to the background before the ad...
android
0
2022-04-21T01:41:58.513Z
2,022
4
1
3
26
0
402
52
1
0
false
true
false
false
false
false
zero
71,951,071
android tv setting focus transition speed
<p>I have an tv app. I have a lot of views in main screen. I want to set speed of focus when I keep pressed the down button. It's so fast normally. I want to slow down of focus transition inter views.</p> <p>How can I do that? Thanks in Advance</p>
I have an tv app. I have a lot of views in main screen. I want to set speed of focus when I keep pressed the down button. It's so fast normally. I want to slow down of focus transition inter views. How can I do that? Thanks in Advance
android|android-studio|android-layout|android-tv
0
2022-04-21T08:18:00.367Z
2,022
4
8
3
26
0
234
41
4
0
false
true
false
false
false
false
zero
71,957,828
How to paint using an Image
<p>I'm creating a game where two users have to colour in the screen and the user with the most colour on screen wins. I'm currently stuck on how to make an image leave behind the paint. The code below allows the user to paint. I attempted to turn the image into a bitmap and have it follow the touch but I wasn't able to...
I'm creating a game where two users have to colour in the screen and the user with the most colour on screen wins. I'm currently stuck on how to make an image leave behind the paint. The code below allows the user to paint. I attempted to turn the image into a bitmap and have it follow the touch but I wasn't able to im...
java|android
1
2022-04-21T16:27:47.007Z
2,022
4
16
3
26
0
359
27
2
1
true
true
false
false
false
false
low
71,960,716
SpannableStringBuilder - BOLD or NORMAL text formatting function
<p>I know this is a simple question but your answer would mean a lot to me, so thank you in advance. What would a function look like that could click the <code>formating</code> button when the text is marked and the function performs bolding or returns the text as normal? Please help me.</p> <pre><code> ...
I know this is a simple question but your answer would mean a lot to me, so thank you in advance. What would a function look like that could click the formating button when the text is marked and the function performs bolding or returns the text as normal? Please help me. [CODE]
android|function|formatting|spannablestring|spannablestringbuilder
0
2022-04-21T20:48:44.990Z
2,022
4
20
3
26
0
279
64
5
1
true
true
false
false
false
false
zero
71,966,797
Missing cursor pointer
<p>I have the weird or strangest problem, I was making a note apps, just a simple apps. The problem is I have two input texts, 1) <strong>Title Note</strong> and 2) <strong>Content</strong>. Now if I run the apps, and touch/clicked on my virtual device in Android Studio in the <strong>title</strong> box the cursor show...
I have the weird or strangest problem, I was making a note apps, just a simple apps. The problem is I have two input texts, 1) Title Note and 2) Content . Now if I run the apps, and touch/clicked on my virtual device in Android Studio in the title box the cursor showed up, but if I clicked/touched the content box, ther...
java|android
0
2022-04-22T09:51:28.517Z
2,022
4
9
4
26
0
616
22
2
1
true
true
false
false
false
false
zero
71,968,802
How to ignore warnings - finding the actual warning / error
<p>How can I ignore a Warning / Error in Android Studio?</p> <p>Like the following, I can see the warning saying:</p> <pre><code>&quot;warning: The left operand can't be null, so the right operand is never executed.&quot; </code></pre> <p><a href="https://i.stack.imgur.com/l6Om0.png" rel="nofollow noreferrer"><img src=...
How can I ignore a Warning / Error in Android Studio? Like the following, I can see the warning saying: [CODE] Now I can see from this and this , that I can do: [CODE] But how do I know the error / warning type from the warning.
android-studio|dart
0
2022-04-22T12:32:35.843Z
2,022
4
12
4
26
0
228
59
2
2
true
true
false
false
false
false
zero
71,969,084
Google Play Inapp Billing v4 induces weird display bug
<p>I have an app that uses until now Google Play billing v3.</p> <p>I upgraded to v4 by simply changing :</p> <pre><code>def billing_version = &quot;3.0.0&quot; </code></pre> <p>to:</p> <pre><code>def billing_version = &quot;4.1.0&quot; </code></pre> <p>Works directly.</p> <p>Nevertheless, somewhere in my app, I add a ...
I have an app that uses until now Google Play billing v3. I upgraded to v4 by simply changing : [CODE] to: [CODE] Works directly. Nevertheless, somewhere in my app, I add a layout this way: [CODE] Very strangely, myView is not added when billing_version = &quot;4.1.0&quot;. When I change to billing_version = &quot;3.0....
java|android|kotlin|in-app-billing|google-play-billing
0
2022-04-22T12:54:35.880Z
2,022
4
12
4
26
0
508
54
5
3
true
true
false
false
false
false
zero
72,000,840
how do you deploy ibm watson conversation in android studio for 2022?
<p>Hello i am trying to <strong>deploy ibm watson conversation</strong> into <strong>android studio</strong>. I feel my endpoint url is not working. i am using <a href="https://api.eu-gb.assistant.watson.cloud.ibm.com" rel="nofollow noreferrer">https://api.eu-gb.assistant.watson.cloud.ibm.com</a> but i am getting error...
Hello i am trying to deploy ibm watson conversation into android studio . I feel my endpoint url is not working. i am using https://api.eu-gb.assistant.watson.cloud.ibm.com but i am getting error 404 when i put it on google. When i try my preview link on google, my chatbot works but on the ibm website. How can i make i...
java|android|android-studio|websphere|ibm-watson
0
2022-04-25T14:04:32.713Z
2,022
4
14
0
26
0
638
69
5
0
false
true
false
false
false
false
zero
72,033,142
Automatic Cardview slide animation when fragment is loaded
<p>im experimenting if using curved cardview is a good custom titlebar shown as the lightblue thing in the pic. i was wondering if there's a way to animate it so that it would slide down whenever the fragment is loaded(also please suggest what is the best layout/container should i use as a parent for the cardview)</p>
im experimenting if using curved cardview is a good custom titlebar shown as the lightblue thing in the pic. i was wondering if there's a way to animate it so that it would slide down whenever the fragment is loaded(also please suggest what is the best layout/container should i use as a parent for the cardview)
android-animation|android-cardview
0
2022-04-27T17:41:04.923Z
2,022
4
17
2
26
0
312
58
2
0
false
true
false
false
false
false
zero
72,079,682
Recycler view with other layout after scrolling recycler view scroll but other not?
<p><strong>This Black section is like <code>another layout</code></strong></p> <p>After Scrolling Horizontally <code>RecyclerView</code> scroll is perfect but the <code>black section</code> (another layout) is fixed on top</p> <p>So, I want RecyclerView with a <code>black section</code> (another layout) scroll top side...
This Black section is like another layout After Scrolling Horizontally RecyclerView scroll is perfect but the black section (another layout) is fixed on top So, I want RecyclerView with a black section (another layout) scroll top side hide and Recycler Data showing
java|android|android-studio|android-recyclerview|layout
1
2022-05-01T19:11:29.453Z
2,022
5
19
6
26
0
265
83
5
0
false
true
false
false
false
false
low
72,096,026
Particular activity is not opening when app is in background or killed?
<p>I want to open the <code>NotificationActivity</code> of my application when <code>AppReceiver</code> calls and triggered the <code>onReceive</code> method.</p> <p>I have 2 Activities named <code>MainActivity</code> and <code>NotificationActivity</code> in my <code>MainActivity</code> there is a click event of a butt...
I want to open the NotificationActivity of my application when AppReceiver calls and triggered the onReceive method. I have 2 Activities named MainActivity and NotificationActivity in my MainActivity there is a click event of a button when I click on it I have sent a call to my AppReceiver class and I get the call also...
android|android-intent|broadcastreceiver|start-activity
0
2022-05-03T07:24:14.913Z
2,022
5
7
1
26
0
637
71
4
4
true
true
false
false
false
false
zero
72,097,649
Issue with getting USB device permission from BroadcastReceiver?
<p>I am using below code to get usb access permission from user when its detected, but it never get detected in android 11. Any help would be highly appreciated</p> <pre><code>public final String ACTION_USB_PERMISSION = &quot;com.domain.ftd.USB_PERMISSION&quot;; private final BroadcastReceiver broadcastReceiver = new ...
I am using below code to get usb access permission from user when its detected, but it never get detected in android 11. Any help would be highly appreciated [CODE]
java|broadcastreceiver|android-usb
0
2022-05-03T09:53:09.340Z
2,022
5
9
1
26
0
164
64
3
1
true
true
false
false
false
false
zero
72,117,525
Android aplication actions with slice
<p>I'm trying to implement app actions with slice</p> <p>my action in actions.xml :</p> <pre><code> &lt;fulfillment urlTemplate=&quot;content://ro.test.example/hello/{?featureParam}&quot; fulfillmentMode=&quot;actions.fulfillment.SLICE&quot;&gt; &lt;parameter-mapping urlParameter=&quot;featur...
I'm trying to implement app actions with slice my action in actions.xml : [CODE] my slice provider [CODE] My slice shows ok with slice viewer My slice shows ok with Android App actions test tool From terminal i try &quot;adb shell am start -a android.intent.action.VIEW -d &quot;content://ro.test.example/hello/test&quot...
android|action|android-slices
0
2022-05-04T18:00:25.047Z
2,022
5
18
2
26
0
638
37
3
2
true
true
false
false
false
false
zero
71,799,573
prevent google play to optimize download size during upate
<p>I had a weird problem updating with Google. My app has been published on Google Play. This app had a NullPointerException bug that I fixed it just by adding a single line code and published the update (I updated my app with apk extension).</p> <p>When my update approved and I updated my app through Google Play, That...
I had a weird problem updating with Google. My app has been published on Google Play. This app had a NullPointerException bug that I fixed it just by adding a single line code and published the update (I updated my app with apk extension). When my update approved and I updated my app through Google Play, That problem s...
android|google-play
0
2022-04-08T15:25:08.873Z
2,022
4
15
4
27
0
761
58
2
0
false
true
false
false
false
false
zero
71,828,817
Error: The given key 'Height' was not present in the dictionary for struct System.Drawing.Size (Samsung Galaxy S21)
<p>I am trying to get window size using System.Drawing.Size to click in the middle of the screen in my automated tests. Everything is working fine for Samsung Galaxy S8, but with Galaxy S21 I get the following error:</p> <p>The given key 'Height' was not present in the dictionary.</p> <p>My code:</p> <pre><code>Size si...
I am trying to get window size using System.Drawing.Size to click in the middle of the screen in my automated tests. Everything is working fine for Samsung Galaxy S8, but with Galaxy S21 I get the following error: The given key 'Height' was not present in the dictionary. My code: [CODE]
android|selenium|automated-tests|size
0
2022-04-11T13:35:48.413Z
2,022
4
13
0
27
0
287
115
4
1
true
true
false
false
false
false
zero
71,852,851
Where is relationship stored between buttons in calculator for iOS using UIKit?
<p>In android, all relationship between buttons are stored in activity_main.xml. After arranging buttons of numeric and operators by arranging button positions, I cannot find their relationship in &quot;document outline&quot; in viewcontroller of UIKit in xcode. Rough relationships between android and iOS UIKit are: ...
In android, all relationship between buttons are stored in activity_main.xml. After arranging buttons of numeric and operators by arranging button positions, I cannot find their relationship in &quot;document outline&quot; in viewcontroller of UIKit in xcode. Rough relationships between android and iOS UIKit are: (Main...
android|swift|xcode|uikit
0
2022-04-13T06:31:08.427Z
2,022
4
6
2
27
0
719
79
4
0
false
true
false
false
false
false
zero
71,873,621
Check for work items from w/in a class for usage in a "batch" process and viewable in a settings screen - challenged w/LiveData or ListenableFuture
<p>I'm probably making this harder than it is, but I want to encapsulate logic within a class so I can call it from two places and it is consistent. I want to check to see if:</p> <ul> <li>All enqueued work is completed</li> <li>If there are any un-synced records</li> </ul> <p>If both of these things are true I want to...
I'm probably making this harder than it is, but I want to encapsulate logic within a class so I can call it from two places and it is consistent. I want to check to see if: All enqueued work is completed If there are any un-synced records If both of these things are true I want to: Pull the next 10 records and enqueue ...
android-workmanager
0
2022-04-14T14:55:18.743Z
2,022
4
14
3
27
0
1,421
147
1
4
true
true
false
false
false
false
zero
71,886,159
Is there any way to hide the blue dots of the Barrier during the design of the layout?
<pre><code> &lt;androidx.constraintlayout.widget.Barrier android:id=&quot;@+id/barrier&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; app:barrierDirection=&quot;start&quot; app:constraint_referenced_ids=&quot;button1,b...
[CODE] Is there any way to hide the blue dots of the Barrier during the design of the layout?
android|xml|android-studio|android-layout
0
2022-04-15T15:51:51.570Z
2,022
4
15
4
27
0
93
86
4
1
true
true
false
false
false
false
zero
71,903,805
The emulator process for AVD has terminated flutter
<p>I have searched all of the ways of reinstalling, switching off Vulkan, and also using different API versions. But I still couldn't solve it.</p>
I have searched all of the ways of reinstalling, switching off Vulkan, and also using different API versions. But I still couldn't solve it.
android|flutter|android-studio
0
2022-04-17T17:00:15.447Z
2,022
4
17
6
27
0
140
51
3
0
false
true
false
false
false
false
zero
71,903,910
Android permisiion denial error when launching another app from command line
<p>My java application runs a shell script which executes the command:</p> <pre><code>am start-activity --user 0 -n x.org.server/.MainActivity </code></pre> <p>On the android emulator, everything works well, but on a real Xiaomi RedMi8 phone, an error occurs:</p> <pre><code>Permision Denial: getCurrentUserId() from pid...
My java application runs a shell script which executes the command: [CODE] On the android emulator, everything works well, but on a real Xiaomi RedMi8 phone, an error occurs: [CODE] How can I give my application this permission, or do without it, please advise. The challenge is simply to run another application as an u...
android|cmdline-args
0
2022-04-17T17:18:23.317Z
2,022
4
17
6
27
0
377
76
2
2
true
true
false
false
false
false
zero
71,913,210
How to move a ViewStub inside LinearLayout from RelativeLayout
<pre><code>&lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot; android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; android:background=&quot;@color/white&quot;&gt...
[CODE] I have to move this ViewStub above the TextView which is present inside the LinearLayout in runtime when a button is clicked.This ViewStub has some actions buttons for eg. Like, Dislike, comment and share the news article.
android|android-layout|android-linearlayout
0
2022-04-18T14:36:14.013Z
2,022
4
14
0
27
0
229
62
3
1
true
true
false
false
false
false
zero
71,931,112
Flutter Stream Provider - couldn't find correct provider - didn't use the correct context
<p>In an android app using flutter, I need to use stream provider keep querying data from firestore database.</p> <p>This part of the code is causing the error:</p> <pre><code> @override Widget build(BuildContext context) { final categoriesdata = Provider.of&lt;QuerySnapshot&gt;(context); return StreamProvider&l...
In an android app using flutter, I need to use stream provider keep querying data from firestore database. This part of the code is causing the error: [CODE] The error is: Error: Could not find the correct Provider<QuerySnapshot<Object?>> above this HomePage Widget. This happens because you used a BuildContext that doe...
android|flutter|google-cloud-firestore
0
2022-04-19T20:44:32.533Z
2,022
4
20
1
27
0
538
89
3
2
true
true
false
false
false
false
zero
71,947,983
Error launching Studio Failed to create JVM
<p>This my error launching studio <a href="https://i.stack.imgur.com/rIAbT.png" rel="nofollow noreferrer">Error launching Studio</a></p> <p>I already set <code>JAVA_HOME</code> <a href="https://i.stack.imgur.com/NBfKW.png" rel="nofollow noreferrer">JAVA_HOME</a></p> <p>Thank you</p>
This my error launching studio Error launching Studio I already set JAVA_HOME JAVA_HOME Thank you
android-studio|jvm
0
2022-04-21T01:38:57.793Z
2,022
4
1
3
27
0
97
43
2
0
false
true
false
false
false
false
zero
71,957,282
What's the point of PublishSubject.onNext(Unit)?
<p>Following PublishSubject is created:</p> <pre><code>val disposeUsage = remember { PublishSubject.create&lt;Unit&gt;() } </code></pre> <p>and immediately used as (a):</p> <pre><code>DisposableEffect(Unit) { onDispose { disposeUsage.onNext(Unit) } } </code></pre> <p>and in another place, whenever a but...
Following PublishSubject is created: [CODE] and immediately used as (a): [CODE] and in another place, whenever a button is pressed (b): [CODE] I don't get the point here? Maybe I did not understand disposeUsage.onNext(Unit) . A new default (empty) is published to all its subscribers.
kotlin|android-jetpack-compose|android-jetpack|rx-java3
0
2022-04-21T15:46:09.553Z
2,022
4
15
3
27
0
284
48
4
3
true
true
false
false
false
false
zero
71,981,720
Fragment keeps crashing when Bundle is in use
<p>The webFragment.xml keeps crashing when i tried to use a url that provided from MenuFragment.xml. i tried the below methods but no luck. here is the MenuFragment code</p> <p>MenuFragment.xml</p> <pre><code> Bundle bundle = new Bundle(); String url = &quot;http://www.google.com&quot; bundle.putString(&quo...
The webFragment.xml keeps crashing when i tried to use a url that provided from MenuFragment.xml. i tried the below methods but no luck. here is the MenuFragment code MenuFragment.xml [CODE] WebFragment.xml [CODE] //activity_main.xml [CODE] //activity_web.xml [CODE]
android-studio|android-fragments|android-bundle|android-tabactivity
0
2022-04-23T16:45:39.653Z
2,022
4
16
5
27
0
266
45
4
4
true
true
false
false
false
false
zero
71,985,253
Is it intended behavior for a bound-only service to become a foreground service?
<p>This question is a result of my previous <a href="https://stackoverflow.com/questions/71983363/can-a-bound-service-start-itself">question</a>.</p> <p>Can a bound service call <code>startForeground</code>? The example code is below, but in brief, I was able to sucessfully call <code>startForeground</code> (i.e. the f...
This question is a result of my previous question . Can a bound service call startForeground ? The example code is below, but in brief, I was able to sucessfully call startForeground (i.e. the foreground notification appeared) inside of the onBind method even when the service was never started (i.e. no calls were made ...
android|android-service
1
2022-04-24T03:21:38.753Z
2,022
4
3
6
27
0
494
80
2
1
true
true
false
false
false
false
low
71,989,355
Rare exception "Unable to find explicit activity class"
<p>I know there are a few questions about &quot;Unable to find explicit activity class&quot; that happens consistently. My case is different. The code usually works flawlessly. The exception is thrown only occasionally:</p> <pre><code>Intent intent = new Intent(this, UpgradeActivity.class); intent.putExtra(UpgradeActiv...
I know there are a few questions about &quot;Unable to find explicit activity class&quot; that happens consistently. My case is different. The code usually works flawlessly. The exception is thrown only occasionally: [CODE] Yes, the activity is declared in AndroidManifest.xml. It is in a library in the same project as ...
android-activity
0
2022-04-24T14:25:16.677Z
2,022
4
14
6
27
0
421
55
1
2
true
true
false
false
false
false
zero
72,029,415
GIT separating 1 project into the 2
<p>I am working in some project for mobile devices. Soon it will be separated into the two projects with the same code but another one will be for AndroidTV.</p> <p>So how we should build git logic, when I am working with mobile project and the other programmer working with my code, but adapting it for AndroidTV?</p> <...
I am working in some project for mobile devices. Soon it will be separated into the two projects with the same code but another one will be for AndroidTV. So how we should build git logic, when I am working with mobile project and the other programmer working with my code, but adapting it for AndroidTV? My ideas: We ne...
android|git
0
2022-04-27T13:13:11.180Z
2,022
4
13
2
27
0
635
35
2
0
false
true
false
false
false
false
zero
72,033,132
TECH_DISCOVERED not triggering when app is in background
<p>I am trying to open the app when a tag is discovered. TECH_DISCOVERED is added to the intent filter in the MainActivity in the Android Manifest.</p> <pre><code> &lt;activity android:name=&quot;com.example.test.MainActivity&quot; android:configChanges=&quot;orientation|keyboardHidden|keyboard|screen...
I am trying to open the app when a tag is discovered. TECH_DISCOVERED is added to the intent filter in the MainActivity in the Android Manifest. [CODE] nfc_tech_filter looks like this [CODE] I am trying to communicate between two android devices. TAG is getting discovered when both devices are having the app running in...
android|nfc
0
2022-04-27T17:39:34.380Z
2,022
4
17
2
27
0
618
56
2
2
true
true
false
false
false
false
zero
72,040,316
setFullScreenIntent not working in certain project
<p>I have been implementing fullscreen notification using setFullScreenIntent.</p> <p><a href="https://proandroiddev.com/how-to-show-an-activity-on-lock-screen-instead-of-a-notification-ff288d35bfe5" rel="nofollow noreferrer">https://proandroiddev.com/how-to-show-an-activity-on-lock-screen-instead-of-a-notification-ff2...
I have been implementing fullscreen notification using setFullScreenIntent. https://proandroiddev.com/how-to-show-an-activity-on-lock-screen-instead-of-a-notification-ff288d35bfe5 After I read this article and implemented it to my project fullscreen Activity does not appear on lock screen(normal notification on lock sc...
android|notifications|onesignal
0
2022-04-28T08:23:18.447Z
2,022
4
8
3
27
0
666
50
3
0
false
true
false
false
false
false
zero
72,049,322
RxJava which operator to use
<p>Is there any operator in RxJava to jump to the <code>fetchAllParams(it)</code> function if the <code>filter</code> operator returns <code>false</code></p> <p>That is, if <code>UserAvailable.NOT_DETERMINED</code>, I make a delay of 5 seconds and resend the same request, but if <code>UserAvailable.DETERMINED</code>, t...
Is there any operator in RxJava to jump to the fetchAllParams(it) function if the filter operator returns false That is, if UserAvailable.NOT_DETERMINED , I make a delay of 5 seconds and resend the same request, but if UserAvailable.DETERMINED , then the filter statement returns false and nothing happens. [CODE] I also...
android|kotlin|rx-java|rx-java2|rx-kotlin
0
2022-04-28T19:38:17.740Z
2,022
4
19
3
27
0
438
28
5
2
true
true
false
false
false
false
zero