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
60,142,682
android studio org.json.JSON.typeMismatch
<p>How can I get JSONObject which has Array in it in volley?</p> <h1>Logic</h1> <p><a href="https://i.stack.imgur.com/zEheD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zEheD.png" alt="one"></a></p> <h1>Code</h1> <blockquote> <p>Note: I'm aware that my api function below works if my result i...
How can I get JSONObject which has Array in it in volley? Logic Code Note: I'm aware that my api function below works if my result is JSON Array, but I'm not sure how to modify it in order to get JSON Object (as my result is) [CODE] Any idea? Update As requested here is how my returned code looks like: [CODE]
android|android-studio|kotlin|android-volley
2
2020-02-10T00:30:22.967Z
2,020
2
0
0
192
1
310
41
4
2
true
false
false
false
false
false
low
60,142,763
Android Crashlytics - Unable to upload symbols
<p>Crashlytics has been set up for my Android app for a while and working fine for normal Java/Kotlin code. I'm now trying to get Crashlytics to log NDK crashes using this guide: <a href="https://firebase.google.com/docs/crashlytics/ndk-reports" rel="nofollow noreferrer">https://firebase.google.com/docs/crashlytics/ndk...
Crashlytics has been set up for my Android app for a while and working fine for normal Java/Kotlin code. I'm now trying to get Crashlytics to log NDK crashes using this guide: https://firebase.google.com/docs/crashlytics/ndk-reports . I made the C++ crash and it does show up in Crashlytics as you can see in the screens...
android|c++|android-ndk|crashlytics
1
2020-02-10T00:43:53.757Z
2,020
2
0
0
1,301
1
1,165
46
4
2
true
false
false
false
false
false
low
60,142,821
Ignore accessibility settings for Cordova app
<p>The answer that is posted everywhere is to use this with the <a href="https://github.com/phonegap/phonegap-mobile-accessibility" rel="nofollow noreferrer">associated plugin</a>:</p> <pre><code>if (window.MobileAccessibility) { window.MobileAccessibility.usePreferredTextZoom(false); } </code></pre> <p>But that ...
The answer that is posted everywhere is to use this with the associated plugin : [CODE] But that doesn't work. The plugin isn't maintained and it has zero effect on the app display in Android 10. I really need to figure out how to ignore the screen zoom setting of the device and display the app normally. Any help would...
javascript|android|html|cordova|cordova-plugins
1
2020-02-10T00:52:58.720Z
2,020
2
0
0
170
0
523
45
5
1
true
true
false
false
false
false
low
60,143,018
Exception during code generation Jetpack Compose
<p>I just tried to load an image from my resources with <code>val context = ambient(ContextAmbient)</code> but when I try to run the project I get an error during the generation of the code. </p> <blockquote> <p>java.lang.IllegalStateException: Backend Internal error: Exception during code generation</p> </blockquot...
I just tried to load an image from my resources with val context = ambient(ContextAmbient) but when I try to run the project I get an error during the generation of the code. java.lang.IllegalStateException: Backend Internal error: Exception during code generation [CODE]
android|android-jetpack|android-jetpack-compose
5
2020-02-10T01:29:43.417Z
2,020
2
1
0
1,680
1
271
48
3
1
true
false
false
false
false
false
low
60,143,098
Keras Neural Network output different than Java TensorFlowInferenceInterface output
<p>I have created a neural network in Keras using the <code>InceptionV3</code> pretrained model:</p> <pre><code>base_model = applications.inception_v3.InceptionV3(weights='imagenet', include_top=False) # add a global spatial average pooling layer x = base_model.output x = GlobalAveragePooling2D()(x) # let's add a fu...
I have created a neural network in Keras using the InceptionV3 pretrained model: [CODE] I trained the model successfully and want to following image: https://imgur.com/a/hoNjDfR . Therefore, the image is cropped to 299x299 and normalized (just devided by 255): [CODE] Then I predict it with the trained model in Keras: [...
java|android|tensorflow|keras
1
2020-02-10T01:45:54.750Z
2,020
2
1
0
57
0
1,024
83
4
7
true
true
false
false
false
false
low
60,143,167
flutter command not found on Jenkins
<p>I successfully installed Flutter on my local pc. But when add to Jenkins, said <code>flutter command not found</code></p> <p><strong>Pipeline script</strong></p> <pre><code>stage('Build Release APK') { // sh 'export PATH="$PATH:/Users/bhanukaisuru/Documents/flutter/bin"'//after said, flutter command n...
I successfully installed Flutter on my local pc. But when add to Jenkins, said flutter command not found Pipeline script [CODE] Before Adding Flutter command, I added this line. [CODE] also said, gradlew not found
android|jenkins|flutter|jenkins-pipeline|jenkins-groovy
-2
2020-02-10T01:55:03.747Z
2,020
2
1
0
825
1
213
36
5
2
true
false
false
false
false
true
negative
60,143,236
image change to wrong image in nested recyclerview after scroll
<p>i make simple movie catalogue with api from <a href="https://www.themoviedb.org" rel="nofollow noreferrer">https://www.themoviedb.org</a>.</p> <p>first i get the genre movie and loop each genre to get movie</p> <pre><code>fun getGenre(){ index = 0 dataMovie.clear() val Client = Client() val apiRout...
i make simple movie catalogue with api from https://www.themoviedb.org . first i get the genre movie and loop each genre to get movie [CODE] result is good my problem is when i scroll the recyclerview some image will be reloaded and show wrong image with movie title. i search and some sugest to use picaso or glide so i...
android|kotlin|android-recyclerview|android-glide
0
2020-02-10T02:06:39.820Z
2,020
2
2
0
243
1
808
63
4
3
true
false
false
false
false
false
zero
60,143,290
Is there a way to avoid repetition with similiar TextInputEditText validation?
<p>In the fragment there are 5 TextInputEditText fields. The first one is a string and the other 4 are Doubles the user has to enter. To make sure that the values are valid, each field is checked for emptiness and the last four (with the doubles) are checked if the value is a double.</p> <p>In the following code snipp...
In the fragment there are 5 TextInputEditText fields. The first one is a string and the other 4 are Doubles the user has to enter. To make sure that the values are valid, each field is checked for emptiness and the last four (with the doubles) are checked if the value is a double. In the following code snipped i cut of...
android|kotlin|android-textinputlayout|android-textinputedittext
0
2020-02-10T02:16:38.310Z
2,020
2
2
0
74
1
540
78
4
1
true
false
false
false
false
false
zero
60,143,297
Scroll to the bottom of the Recycler View problem
<p>I used <a href="https://stackoverflow.com/questions/26580723/how-to-scroll-to-the-bottom-of-a-recyclerview-scrolltoposition-doesnt-work">this solution</a> to move to the bottom of the recycler view when user hit send button to send text in EditText. It works well if I input a single line of EditText, however if the ...
I used this solution to move to the bottom of the recycler view when user hit send button to send text in EditText. It works well if I input a single line of EditText, however if the EditText has multiple lines in it, the smoothScrollToPosition(message_container.getAdapter().getItemCount() - 1) wont work properly. Assu...
android|android-recyclerview
0
2020-02-10T02:17:43.850Z
2,020
2
2
0
66
2
470
49
2
0
false
false
false
false
false
false
zero
60,143,338
Does android app bundle and proguard rules do the same optimization?
<p>Is there any difference between proguard rules optimization and app bundle optimization or is it same thing? Can any one explain how they are different?</p>
Is there any difference between proguard rules optimization and app bundle optimization or is it same thing? Can any one explain how they are different?
android|proguard|android-app-bundle
3
2020-02-10T02:24:22.820Z
2,020
2
2
0
1,008
2
152
68
3
0
false
false
false
false
false
false
low
60,143,405
Android Notifications in the background
<p>I am attempting to create an app that sends notifications to user while it is not the current app or open in the recent apps. I can create an application that sends notifications when the app is open, but cannot keep it going when the app is not the current app. I have attempted to use services but to no success. An...
I am attempting to create an app that sends notifications to user while it is not the current app or open in the recent apps. I can create an application that sends notifications when the app is open, but cannot keep it going when the app is not the current app. I have attempted to use services but to no success. Any h...
android|mobile
0
2020-02-10T02:34:16.907Z
2,020
2
2
0
71
1
603
39
2
0
false
false
false
false
false
false
zero
60,143,717
how to handle null or empty json key value response in retrofit 2 response body?
<p>I am using retrofit 2 in android. My app crashes when one of the value return null <strong>key like &quot;TOTAL_EXPENSE_AMOUNT&quot;: null</strong>. My json is like below:</p> <pre><code>[{ &quot;YEAR&quot;: &quot;2019&quot;, &quot;TOTAL_AMOUNT&quot;: &quot;1580292&quot;, &quot;TOTAL_EXPENSE_AMOUNT&quo...
I am using retrofit 2 in android. My app crashes when one of the value return null key like &quot;TOTAL_EXPENSE_AMOUNT&quot;: null . My json is like below: [CODE] 1. .My retrofit Interface is below: [CODE] 2. My api service is bellow like : [CODE] **3.**My projo file is below : [CODE] **4.**I have used below code from ...
android|retrofit2
0
2020-02-10T03:27:43.163Z
2,020
2
3
0
951
4
416
80
2
5
true
false
false
false
false
false
zero
60,143,729
Facebook like and comment not working on Android webview
<p>I have tried webview with Android studio and FB share and other social media share buttons are working fine. But FB direct like and comment button on my website is not working. When I press like button I can see white screen with left top screen number "1". Please kindly help me.</p> <h1>MainActivity.Java</h1> <pr...
I have tried webview with Android studio and FB share and other social media share buttons are working fine. But FB direct like and comment button on my website is not working. When I press like button I can see white screen with left top screen number "1". Please kindly help me. MainActivity.Java [CODE] Activity_main....
android-studio|android-webview
1
2020-02-10T03:29:38.357Z
2,020
2
3
0
121
1
330
56
2
2
true
false
false
false
false
false
low
60,143,827
Android Room @Query Insert Into getting Cannot access database on the main thread since it may potentially lock the UI for a long period of time
<p>I am doing a INSERT INTO query which takes to long parameters, but I am getting a 'Cannot access database on the main thread since it may potentially lock the UI for a long period of time.' error and believe I need to run this as an Async task, but am having trouble finding a pattern to follow. I was looking to the ...
I am doing a INSERT INTO query which takes to long parameters, but I am getting a 'Cannot access database on the main thread since it may potentially lock the UI for a long period of time.' error and believe I need to run this as an Async task, but am having trouble finding a pattern to follow. I was looking to the Ins...
android|android-room
0
2020-02-10T03:47:24.720Z
2,020
2
3
0
133
2
606
144
2
2
true
false
false
false
false
false
zero
60,143,869
Downloading images from url and save to cache
<p>I want to download multiple images from URL and then save them into internal cache. Every time when i come back to my app then if the image is already downloaded then it will be fetched from cache otherwise download it. Please provide a working solution for this.</p>
I want to download multiple images from URL and then save them into internal cache. Every time when i come back to my app then if the image is already downloaded then it will be fetched from cache otherwise download it. Please provide a working solution for this.
android|caching|imagedownload
-3
2020-02-10T03:54:23.617Z
2,020
2
3
0
713
1
263
45
3
0
false
false
false
false
false
true
negative
60,144,090
Cannot resolve symbol com.googlecode.javacv.cpp.opencv_contrib.FaceRecognizer in android studio
<p>So I have a project to create an face recognition app. In this project I tried to import :</p> <pre><code>import com.googlecode.javacv.cpp.opencv_contrib.FaceRecognizer; import com.googlecode.javacv.cpp.opencv_core.IplImage; import com.googlecode.javacv.cpp.opencv_core.MatVector; import com.googlecode.javacv.cpp.op...
So I have a project to create an face recognition app. In this project I tried to import : [CODE] But gradle cannot find the symbol for it. I already import the java module from OpenCV library, but still cannot resolve it. Please help me.Thx Here is the code for gradle [CODE]
java|android
0
2020-02-10T04:29:27.027Z
2,020
2
4
0
612
1
276
95
2
2
true
false
false
false
false
false
zero
60,144,122
error java.lang.IllegalStateException: Position invalid
<p>I am trying to develop 2 applications in 1 provider (Content Provider) but there is a problem in the code I wrote, such as the script and logcat below, I put the NoteAdaper in the first app to display data entered via sqlite with recycler view, but the first or second app failed to display the data that was entered,...
I am trying to develop 2 applications in 1 provider (Content Provider) but there is a problem in the code I wrote, such as the script and logcat below, I put the NoteAdaper in the first app to display data entered via sqlite with recycler view, but the first or second app failed to display the data that was entered, is...
java|android|sqlite|android-recyclerview
0
2020-02-10T04:33:18.843Z
2,020
2
4
0
226
1
1,085
55
4
1
true
false
false
false
false
false
zero
60,144,124
Recycler in Fragment is no showing
<p><strong>I have been making an app that uses a recycler view in a fragment. how the contents of the recycler view have not been showing up. I am not sure what I have done wrong as the app does not crash when it is run. Please tell me what i need to do.</strong></p> <p><strong>fragment_home.xml</strong></p> <pre><co...
I have been making an app that uses a recycler view in a fragment. how the contents of the recycler view have not been showing up. I am not sure what I have done wrong as the app does not crash when it is run. Please tell me what i need to do. fragment_home.xml [CODE] Home_Fragment.java [CODE] CategoryModel.java [CODE]...
android-recyclerview|fragment
0
2020-02-10T04:33:27.850Z
2,020
2
4
0
21
1
348
34
2
4
true
false
false
false
false
false
zero
60,144,154
Disable download in React native WebView
<p>I am using a React Native WebViw in my app. I want to disable download of files. Mostly just documents. I cant disable storage permissions as certain features in the app need this feature.</p>
I am using a React Native WebViw in my app. I want to disable download of files. Mostly just documents. I cant disable storage permissions as certain features in the app need this feature.
android|react-native|webview|hybrid-mobile-app
3
2020-02-10T04:38:44.973Z
2,020
2
4
0
3,812
3
188
40
4
0
false
false
true
false
false
false
low
60,144,352
How to load a file from a specific package in flutter?
<p>Here's my folder structure for the package <code>core</code> : </p> <pre><code>/pubspec.yaml /assets |-images |-lang |- en.json |- hi.json </code></pre> <p>I have a similar structure for another module called <code>moduleA</code></p> <p>Now when I load the json file I load it like so : </p> <...
Here's my folder structure for the package core : [CODE] I have a similar structure for another module called moduleA Now when I load the json file I load it like so : [CODE] But issue is that when I use the screens of 'core' module in 'moduleA' , 'core' module looks inside the 'moduleA' to search for the filepath. Wha...
android|flutter|flutter-dependencies
1
2020-02-10T05:04:55.393Z
2,020
2
5
0
865
2
1,004
54
3
5
true
false
false
false
false
false
low
60,144,374
how to show an error from callable cloud function?
<p>from the documentation in <a href="https://firebase.google.com/docs/functions/callable" rel="nofollow noreferrer">here</a></p> <p>I can throw error using syntax like this</p> <pre><code>throw new functions.https.HttpsError('failed-precondition', 'The function must be called ' + 'while authenticated.'); </cod...
from the documentation in here I can throw error using syntax like this [CODE] and in Android device [CODE] how do I get error message that thrown from cloud function ? I want to show the error message from cloud function using toast The function must be called ' + 'while authenticated. the syntax in Android is weird. ...
android|firebase|google-cloud-functions
0
2020-02-10T05:09:12.593Z
2,020
2
5
0
116
1
357
50
3
2
true
false
false
false
false
false
zero
60,144,377
AlertDialog.dismiss() is not synchronous
<p>When I call <code>myAlertDialog.dismiss()</code>, the effect posts, asynchronously, to the UI thread.</p> <p>My <code>dismiss()</code> has side-effects that my code (and tests) need to see, immediately.</p> <p>But when I search for "AlertDialog dismiss synchronous," I get dozens of citations by newbs who don't kno...
When I call myAlertDialog.dismiss() , the effect posts, asynchronously, to the UI thread. My dismiss() has side-effects that my code (and tests) need to see, immediately. But when I search for "AlertDialog dismiss synchronous," I get dozens of citations by newbs who don't know how to write event-driven code, and want t...
android
0
2020-02-10T05:09:23.047Z
2,020
2
5
0
124
0
445
40
1
0
false
true
false
false
false
false
zero
60,144,434
Flutter build error (No file or directory error "data/user/0")
<p>Im trying to build and run on my flutter to debug. But everytime I ran it, an error occurs. How do I fix this? note: the app dont require to login</p> <p><a href="https://i.stack.imgur.com/2vyck.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2vyck.png" alt="enter image description here"></a></p>
Im trying to build and run on my flutter to debug. But everytime I ran it, an error occurs. How do I fix this? note: the app dont require to login
android|flutter|flutter-layout|flutter-dependencies
0
2020-02-10T05:17:04.373Z
2,020
2
5
0
363
1
146
62
4
0
false
false
false
false
false
false
zero
60,144,489
I implemented method for check the users permission even thought i got error message "MissingPluginException" in flutter?
<p>I implemented method for <strong>checkPermissionStatus</strong> even though, I got an error message, <em>Unhandled Exception: MissingPluginException(No implementation found for method checkPermissionStatus on channel flutter.baseflow.com/permissions/methods)</em> </p> <pre><code> import 'dart:async'; import 'packa...
I implemented method for checkPermissionStatus even though, I got an error message, Unhandled Exception: MissingPluginException(No implementation found for method checkPermissionStatus on channel flutter.baseflow.com/permissions/methods) [CODE] Are there any way to implemented check permission and get current location
google-maps|flutter|dart|android-permissions|currentlocation
9
2020-02-10T05:23:38.853Z
2,020
2
5
0
15,230
2
319
121
5
1
true
false
true
true
false
false
medium
60,144,513
LiveData observation won't update
<p>I want to send some data to the server and show its response to the user. I'm using MVVM so I created a repository like this:</p> <pre><code>class Repository { fun getData(context: Context, word: String): LiveData&lt;String&gt; { val result = MutableLiveData&lt;String&gt;() val request = obj...
I want to send some data to the server and show its response to the user. I'm using MVVM so I created a repository like this: [CODE] which just sends 'word' to the server and get its response. my view model class contains just a mutableLiveData and a function. it is like this: [CODE] I set an observation for result in ...
kotlin|mvvm|android-livedata|android-viewmodel
0
2020-02-10T05:26:44.320Z
2,020
2
5
0
46
0
826
33
4
3
true
true
false
false
false
false
zero
60,144,558
Received an exception FAILED_PRECONDITION: The query requires an index
<p>I create the project in firebase using a cloud database and I want to compare <code>empUID</code> field which store in a document with current <code>UID</code>. </p> <p>I created one query which gets the data when current <code>UID</code> and <code>empUID</code> is match but failed to get data. </p> <p>Please guid...
I create the project in firebase using a cloud database and I want to compare empUID field which store in a document with current UID . I created one query which gets the data when current UID and empUID is match but failed to get data. Please guide is my Query right or am I need to changes in my code MY Subcollection ...
android|firebase|google-cloud-firestore
1
2020-02-10T05:32:01.507Z
2,020
2
5
0
2,332
2
479
70
3
3
true
false
false
false
false
false
low
60,144,644
Network Request dialog is dismissed (Android Q)
<p>I'm trying to use NetworkRequest api from Android Q. It is showing the requested network in dialog. But when home button is pressed on device it automatically dismisses the request dialog, as when app is pushed to background and foreground the dialog is no more there.</p> <p>But, if I lock and unlock the device the...
I'm trying to use NetworkRequest api from Android Q. It is showing the requested network in dialog. But when home button is pressed on device it automatically dismisses the request dialog, as when app is pushed to background and foreground the dialog is no more there. But, if I lock and unlock the device the device the...
android|android-10.0
0
2020-02-10T05:42:13.960Z
2,020
2
5
0
376
1
668
47
2
1
true
false
false
false
false
false
zero
60,144,700
How can I do swipe twice in Recyclerview Android studio
<p>I want swipe twice in recyclerview like IoS. First swipe, showing button which is delete button or edit, And then one more swipe, that item dismiss.</p> <p>I have done swipe and showing button But I don't know how second swipe.</p> <p>If you using mail in IoS, more easy understand of second swipe</p> <p>Here is m...
I want swipe twice in recyclerview like IoS. First swipe, showing button which is delete button or edit, And then one more swipe, that item dismiss. I have done swipe and showing button But I don't know how second swipe. If you using mail in IoS, more easy understand of second swipe Here is my Recyclerview swipe helper...
android|android-studio|android-recyclerview
2
2020-02-10T05:48:07.303Z
2,020
2
5
0
121
0
373
55
3
2
true
true
false
false
false
false
low
60,144,747
How to draw android view on Unity canvas?
<p>Hi as per question I want draw android view on Unity canvas(maybe rawImage)</p> <p>in my project I already make Android Plugin with Unity and it works.</p> <p>this is the android function.</p> <pre><code>public void PlayApplications(String pacName) { Log.d(this.getClass().getName(),"Youtuve on"); PackageM...
Hi as per question I want draw android view on Unity canvas(maybe rawImage) in my project I already make Android Plugin with Unity and it works. this is the android function. [CODE] Unity send android package name to android and that function launches applications as multi windows with rect size. then I want to draw re...
android|android-studio|unity3d
1
2020-02-10T05:53:11.213Z
2,020
2
5
0
260
0
370
41
3
1
true
true
false
false
false
false
low
60,144,763
"code":"BAD_REQUEST_ERROR","description":"The id provided does not exist" RazorPay error while integrating to android
<p><strong>I'm getting the above error while integrating RazorPay with android.</strong></p> <p><strong>Here's my code</strong></p> <p>I copied the following code from Razorpay official documentation. While the KeyId I provided is for the test environment. Even I've tried regenerating the KeyId but getting the same ...
I'm getting the above error while integrating RazorPay with android. Here's my code I copied the following code from Razorpay official documentation. While the KeyId I provided is for the test environment. Even I've tried regenerating the KeyId but getting the same error again and again. [CODE] I've added the following...
android|razorpay
1
2020-02-10T05:54:17.560Z
2,020
2
5
0
3,326
1
353
117
2
2
true
false
true
false
false
false
low
60,144,775
save recyclerview after change item position by drag
<p>I have a <code>recyclerview</code> that I can change its items position by drag everything. It's working fine.</p> <p>But after I turn off the app the items gets back to the way it was before how can I save the new position. I think <code>SharedPreferences</code> will be a good solution but i don't know how to use ...
I have a recyclerview that I can change its items position by drag everything. It's working fine. But after I turn off the app the items gets back to the way it was before how can I save the new position. I think SharedPreferences will be a good solution but i don't know how to use it. How can I do that. My Code is her...
android|android-recyclerview|drag-and-drop|sharedpreferences
2
2020-02-10T05:55:58.733Z
2,020
2
5
0
987
1
382
52
4
3
true
false
false
false
false
false
low
60,144,778
Getting error INSUFFICIENT_STORAGE = -10, while installing dynamic feature module for Specific device named Redmi K20 PRO
<p>I have implemented a <strong>dynamic feature module</strong>. Base module gets installed successfully but when I request for the dynamic module, it gets downloaded but throws error while installing saying <strong>INSUFFICIENT_STORAGE = -10 from PlayCore library</strong> even though there is a lot of space(more than...
I have implemented a dynamic feature module . Base module gets installed successfully but when I request for the dynamic module, it gets downloaded but throws error while installing saying INSUFFICIENT_STORAGE = -10 from PlayCore library even though there is a lot of space(more than 18GB). It runs as smooth as butter f...
android|dynamic-feature-module|google-play-core
2
2020-02-10T05:56:20.610Z
2,020
2
5
0
191
0
346
121
3
1
true
true
false
false
false
false
low
60,144,818
how to convert a very large string to QR code?
<p>I am going to write a program to convert a Json String to QR Code using Zxing library but my Json is too long sometimes , so what is the best approach to handle long Json string to make Qr Code?</p>
I am going to write a program to convert a Json String to QR Code using Zxing library but my Json is too long sometimes , so what is the best approach to handle long Json string to make Qr Code?
android|qr-code|zxing
0
2020-02-10T06:01:31.323Z
2,020
2
6
0
3,786
1
194
46
3
0
false
false
true
false
false
false
zero
60,144,831
How do I delete data from SQLITE database by ID
<p>I am having a lot of trouble finding out how to delete data from my sqlite database by using ID. How do I delete data from my sqlite databse by using ID?</p> <pre><code>final ItemTouchHelper.SimpleCallback itemTouchHelper = new ItemTouchHelper.SimpleCallback(0, ItemTouchHelper.LEFT) { @Override public bool...
I am having a lot of trouble finding out how to delete data from my sqlite database by using ID. How do I delete data from my sqlite databse by using ID? [CODE] Should that be done in the OnBindViewHolder? [CODE] This is my custom adapter: public class NotesCustomAdapter extends RecyclerView.Adapter{ private ArrayList ...
java|sqlite|android-studio|android-sqlite
0
2020-02-10T06:02:54.887Z
2,020
2
6
0
117
2
405
47
4
4
true
false
false
false
false
false
zero
60,144,850
telnet on hosted machine running on azure devops pipeline
<p>Here is my detail about my problem:</p> <p><strong>what I want to achieve:</strong></p> <p>create a pipeline on azure DevOps, containing tasks </p> <ol> <li>create android emulator with internet condition full</li> <li>run some tests</li> <li>connect telnet</li> <li>connect telnet to android console port- send...
Here is my detail about my problem: what I want to achieve: create a pipeline on azure DevOps, containing tasks create android emulator with internet condition full run some tests connect telnet connect telnet to android console port- send command to android device to change nework condition to low bandwidth as mention...
android|azure-devops|telnet|azure-devops-self-hosted-agent
1
2020-02-10T06:04:17.113Z
2,020
2
6
0
281
0
954
57
4
0
false
true
false
false
false
false
low
60,144,878
My app(game) is detected as Trojan in MI phone while installing, Mi Phones detect my app as Trojan
<p>I have developed a game using cocos2d and it is on my personal website. When I install it on my Mi phones, during installation it shows me Trojan error with ignore button. But on other phone it shows nothing. Why it detects my app as a Trojan on MI Phones only. Please suggest some solution to remove this warning. Pl...
I have developed a game using cocos2d and it is on my personal website. When I install it on my Mi phones, during installation it shows me Trojan error with ignore button. But on other phone it shows nothing. Why it detects my app as a Trojan on MI Phones only. Please suggest some solution to remove this warning. Pleas...
android|cocos2d-x|android-install-apk|cocoscreator|redmi-permission
0
2020-02-10T06:06:32.910Z
2,020
2
6
0
1,169
1
327
98
5
0
false
false
false
false
false
false
zero
60,145,052
Shared element transition is not working, if app open through deep link
<p>Im added shared element transition to launch Activity B from activity A. Normally shared element transition is working, but its not working, if app launch through deep link and showing Activity A view.</p> <p>Activity B launch mode : SingleTask </p>
Im added shared element transition to launch Activity B from activity A. Normally shared element transition is working, but its not working, if app launch through deep link and showing Activity A view. Activity B launch mode : SingleTask
android|shared-element-transition|launchmode
0
2020-02-10T06:23:29.840Z
2,020
2
6
0
127
1
237
71
3
0
false
false
false
false
false
false
zero
60,145,162
close prompt after three failure attempts in androidx biometric prompt?
<p>I am using androidX biometric prompt in my application. In that I am having three queries,</p> <ol> <li><p>Is there any option to close the prompt, after counting three failure attempts.</p></li> <li><p>Is there any option to display the password screen, without clicking use password button (if device credential en...
I am using androidX biometric prompt in my application. In that I am having three queries, Is there any option to close the prompt, after counting three failure attempts. Is there any option to display the password screen, without clicking use password button (if device credential enabled is true). Is there any option ...
android|androidx|android-biometric-prompt
0
2020-02-10T06:33:15.880Z
2,020
2
6
0
1,064
1
348
71
3
0
false
false
false
false
false
false
zero
60,145,423
Rest API not triggering JavaScript through android but working in browser
<pre><code> &lt;?php $conn = mysqli_connect('localhost','eyukti_home_roc','4nYntQuCjPYR','eyukti_home_roc'); $user_id = $_GET['user_id']; $sql = mysqli_query($conn,"SELECT * FROM `vehicle_type` WHERE status = '1' AND is_delete !='1'"); include("../firebase.php"); ?&gt; ...
[CODE] Issue is this firebase Geofire working when i hit this api from browser but not hitting when i call this api in android I tried to call API in postman to but it is giving response from php but not triggering geofire function and also giving javascript code in response . i am not able to find solution because i a...
javascript|php|android|firebase|geofire
0
2020-02-10T06:56:19.063Z
2,020
2
6
0
80
1
350
73
5
1
true
false
false
false
false
false
zero
60,145,501
Android Studio layout editor theme doesn't match device
<p>Hopefully this is a nice easy one but it's currently making UI design suck even more than usual.</p> <p>When I view my fragment's XML file in Android Studio's layout editor it shows up like so: <a href="https://i.stack.imgur.com/bVRUS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bVRUS.png" alt...
Hopefully this is a nice easy one but it's currently making UI design suck even more than usual. When I view my fragment's XML file in Android Studio's layout editor it shows up like so: However when I view it on a device/emulator it correctly shows like this: I have my custom theme selected up the top of the editor so...
android|android-studio|android-fragments
0
2020-02-10T07:01:41.723Z
2,020
2
7
0
740
1
631
55
3
3
true
false
false
false
false
false
zero
60,145,505
Detect Video on webview and play it on exoplayer
<p>In UC browser it detects the video play on the website and plays that video on it's native player. Is there any way to do that. Is there any intent that fires when a video on web starts playing ? And how can we get that video data from web ?</p> <p>UC Turbo : </p> <p><a href="https://i.stack.imgur.com/gkF4A.jpg" r...
In UC browser it detects the video play on the website and plays that video on it's native player. Is there any way to do that. Is there any intent that fires when a video on web starts playing ? And how can we get that video data from web ? UC Turbo :
android|webview|exoplayer
0
2020-02-10T07:01:51.577Z
2,020
2
7
0
978
0
252
48
3
0
false
true
false
false
false
false
zero
60,145,553
Android - Unable to play audio during boot animation
<p>I am trying to add audio during boot animation in android device. But I heard static noise instead added audio.</p> <p>I added audio.wav file in part folder, as mentioned in this page.</p> <pre><code>https://android.googlesource.com/platform/frameworks/base/+/master/cmds/bootanimation/FORMAT.md. frameworks/base/c...
I am trying to add audio during boot animation in android device. But I heard static noise instead added audio. I added audio.wav file in part folder, as mentioned in this page. [CODE] Initially, I had an issue in creating the audio player. I got the below error. [CODE] 01-31 17:51:54.155 6632 6644 W libOpenSLES: Leavi...
android|boot-animation
0
2020-02-10T07:06:42.250Z
2,020
2
7
0
244
0
689
52
2
3
true
true
false
false
false
false
zero
60,145,568
Display icon next to text field
<p>I need to display an icon next to an text field like e.g. the person and phone icon in this screenshot (<a href="https://material.io/components/text-fields/#usage" rel="nofollow noreferrer">source</a>) <a href="https://i.stack.imgur.com/dCG8L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dCG8L.p...
I need to display an icon next to an text field like e.g. the person and phone icon in this screenshot ( source ) Is there any component on Android for doing this or do I have to align both, icon and text field, manually in e.g. a constraint layout? Note that I need the icon next to the text field (like shown on the sr...
android|android-layout|mdc-components
-1
2020-02-10T07:08:27.570Z
2,020
2
7
0
791
8
347
31
3
0
false
false
false
false
false
true
negative
60,145,756
How to Execute an activity N times ,Where N is user input
<p>I wanted to execute a particular activity or a fragment which takes data and save it to database,and that activity executes N number of times. Here N(integer) is the given input from the user </p> <p>If A is an activity which executes activity B multiple time or N number of times, where N is the given input from th...
I wanted to execute a particular activity or a fragment which takes data and save it to database,and that activity executes N number of times. Here N(integer) is the given input from the user If A is an activity which executes activity B multiple time or N number of times, where N is the given input from the user.where...
java|android
0
2020-02-10T07:22:29.567Z
2,020
2
7
0
103
2
670
57
2
0
false
false
false
false
false
false
zero
60,145,765
How to stop PreferenceFragment setting Settings into default SharedPreferences
<p>I have an PreferenceFragment and when the user changes specified Preferences than I want to check if the permissions are granted. Otherwise I want to cancel the Preference Set.</p> <p>My PreferenceFragment:</p> <pre><code>public class SettingsFragment extends PreferenceFragmentCompat implements SharedPreferences.O...
I have an PreferenceFragment and when the user changes specified Preferences than I want to check if the permissions are granted. Otherwise I want to cancel the Preference Set. My PreferenceFragment: [CODE] but I don't know why Edit sharedPreferences.edit().putBoolean(key,false).apply(); this line works but doesn't cha...
android|sharedpreferences
0
2020-02-10T07:23:12.073Z
2,020
2
7
0
284
1
564
78
2
1
true
false
false
false
false
false
zero
60,145,773
Repeating task with handler take more time than interval
<p>I get my data from the server and have to update it every x seconds. I do this using the <code>Handler</code>'s <code>postDelayed</code> function.</p> <pre><code>private long mInterval = 10000; Runnable mStatusChecker = new Runnable() { @Override public void run() { try { takeServerR...
I get my data from the server and have to update it every x seconds. I do this using the Handler 's postDelayed function. [CODE] Sometimes it may take more than X seconds to get new data. What can I do in this situation? If we need increase interval,how to determine when to do so?
java|android|handler|runnable
1
2020-02-10T07:23:56.993Z
2,020
2
7
0
89
2
281
56
4
1
true
false
false
false
false
false
low
60,145,853
Which one is taking more time in execution StringBuffer or StringBuilder?
<p>I am trying to see the execution speed of StringBuffer and StringBuilder but every time I am getting different results.</p> <p><strong>CASE ONE</strong></p> <pre><code> long startTime=System.currentTimeMillis(); StringBuilder builder=new StringBuilder(); StringBuffer buffer=new StringBuffer(); ...
I am trying to see the execution speed of StringBuffer and StringBuilder but every time I am getting different results. CASE ONE [CODE] CASE TWO [CODE] I have tried two cases but getting different results from anyone please help me why it's happening.
java|android
-3
2020-02-10T07:30:27.310Z
2,020
2
7
0
103
2
251
73
2
2
true
false
false
false
false
true
negative
60,146,162
Android set view position inside a viewgroup
<p>I have a rank of players in a viewgroup displayed programmatically. A player has a class and a method to show it inside the viewgroup:</p> <pre class="lang-java prettyprint-override"><code>public void show(Activity a, ViewGroup container) { LayoutInflater inflater = (LayoutInflater) a.getSystemService(Activity....
I have a rank of players in a viewgroup displayed programmatically. A player has a class and a method to show it inside the viewgroup: [CODE] So I want to ask the server every 5 seconds to generate a new ranking to make it real-time, but I don't want to remove all ViewGroup's views because the list could be long. There...
java|android|view|android-viewgroup
0
2020-02-10T07:54:03.063Z
2,020
2
7
0
101
0
446
44
4
1
true
true
false
false
false
false
zero
60,146,178
Android project requesting the same import that my library has
<p>I Have a library that I've made, it imports the "androidx.biometric:biometric:1.0.0" the library is a wrapper for Android biometric. I've made an aar file and imported it to my project.</p> <p>When I try to access the method in my library, it says that it can't find supertype "androidx.biometric" altough my library...
I Have a library that I've made, it imports the "androidx.biometric:biometric:1.0.0" the library is a wrapper for Android biometric. I've made an aar file and imported it to my project. When I try to access the method in my library, it says that it can't find supertype "androidx.biometric" altough my library has it lik...
android|aar
0
2020-02-10T07:55:01.563Z
2,020
2
7
0
36
1
598
62
2
0
false
false
false
false
false
false
zero
60,146,193
Height spacer (HeightSpacer) in Jetpack Compose
<p>I'm trying <a href="https://developer.android.com/jetpack/compose/tutorial" rel="noreferrer">this tutorial</a> from <a href="https://developer.android.com" rel="noreferrer">https://developer.android.com</a>. <a href="https://i.stack.imgur.com/j4VXh.png" rel="noreferrer">image for code</a> But I can't import HeightSp...
I'm trying this tutorial from https://developer.android.com . image for code But I can't import HeightSpacer. Is HeightSpacer deprecated? I can't find any new alternatives for that? Thank you.
android|android-jetpack-compose
9
2020-02-10T07:56:25.213Z
2,020
2
7
0
5,980
2
192
47
2
0
false
false
true
false
false
false
medium
60,146,231
Get JSON from server if network is available
<p>How can I make a file load from the Internet with a negative value of a variable, and from a file on a phone with a positive value?</p> <p>It should work like this:</p> <p>My system checks if there is internet</p> <p>If not, load from memory</p> <p>If there is, load from the site url</p> <pre><code>public Strin...
How can I make a file load from the Internet with a negative value of a variable, and from a file on a phone with a positive value? It should work like this: My system checks if there is internet If not, load from memory If there is, load from the site url [CODE]
java|android|json
0
2020-02-10T07:59:50.373Z
2,020
2
7
0
97
3
263
44
3
1
true
false
false
false
false
false
zero
60,146,345
how to put network path for local maven repository \\user023\share\folder
<p>We have local network with bunch of users connected together. And we can access shared files like <code>\\user023\share\folder\test.txt</code>. How can i use this address to make local maven repository or how can i use <code>maven { url 'path to network address'}</code> ?</p>
We have local network with bunch of users connected together. And we can access shared files like \\user023\share\folder\test.txt . How can i use this address to make local maven repository or how can i use maven { url 'path to network address'} ?
android|maven|repository
0
2020-02-10T08:09:06.683Z
2,020
2
8
0
633
3
247
73
3
0
false
false
false
false
false
false
zero
60,146,349
Android Studio - Listview OnClick Activates Multiple Checkboxes
<p>Hello im a beginner in Androidstudio.</p> <p>I tried to create a Listview with a Checkbox and a TextView On first glance it looks like it worked but the Problem is I check the Checkbox of "My Note: 0" and the Checkbox of "My Note: 9" is checked,I have no Idea why and debugging does not help.</p> <p>Not only Note...
Hello im a beginner in Androidstudio. I tried to create a Listview with a Checkbox and a TextView On first glance it looks like it worked but the Problem is I check the Checkbox of "My Note: 0" and the Checkbox of "My Note: 9" is checked,I have no Idea why and debugging does not help. Not only Note 9 is cheked every : ...
android|android-studio|listview|checkbox
0
2020-02-10T08:09:24.230Z
2,020
2
8
0
213
2
507
63
4
3
true
false
false
false
false
false
zero
60,146,582
DiffUtil not updating ListAdapter after updating ArrayList contents
<p>I am trying to update ArrayList which is inside in MutableLiveData. whenever I change the content in ArrayList, ListAdapter is not updating.</p> <p><strong>ViewModel</strong></p> <pre><code>private var _tileNumberList:MutableLiveData&lt;ArrayList&lt;TileNumber&gt;&gt; = MutableLiveData() var tempTileNumberList: ...
I am trying to update ArrayList which is inside in MutableLiveData. whenever I change the content in ArrayList, ListAdapter is not updating. ViewModel [CODE] whenever I call onStart method list values changes but ListAdapter not updating with latest values MainActivity [CODE] when i set adapter.submitList(null) then my...
android|kotlin|android-mvvm
2
2020-02-10T08:29:10.743Z
2,020
2
8
0
619
4
633
67
3
3
true
false
false
false
false
false
low
60,146,701
How to parse Jsonelement to Array?
<p>Trying to parse this data "boxes" into Int Array in Kotlin.</p> <pre><code>{"result":{"boxes":[[[345,554],[417,554],[417,638],[345,638]]]}} </code></pre> <p>having problem to parse it with TypeToken using Data model class</p> <p>Data Model class looks like this</p> <pre><code> data class boxResult(var result: Js...
Trying to parse this data "boxes" into Int Array in Kotlin. [CODE] having problem to parse it with TypeToken using Data model class Data Model class looks like this [CODE] and TypeToken looks like this [CODE] keep failing to parse JsonElement as Int Array ... need help Thanks
java|android|json|kotlin|retrofit2
0
2020-02-10T08:37:31.050Z
2,020
2
8
0
359
1
276
34
5
3
true
false
false
false
false
false
zero
60,146,747
Why is data not loading into app from firebase after publishing app on google playstore?
<p>I have finished building my app and have successfully published it on Google Playstore. But when users download it from Playstore, the data isn't loading on their phones. It's just blank. It is able to read the size of the lists, but the data isn't loading.</p> <p>What could be the problem? Below is the display of ...
I have finished building my app and have successfully published it on Google Playstore. But when users download it from Playstore, the data isn't loading on their phones. It's just blank. It is able to read the size of the lists, but the data isn't loading. What could be the problem? Below is the display of the image E...
java|android|firebase|firebase-realtime-database
1
2020-02-10T08:41:00.990Z
2,020
2
8
0
1,512
4
1,249
88
4
0
false
false
false
false
false
false
low
60,146,816
Android Kotlin Firebase real time database: RecyclerView Shows Empty
<p>I have read all similar questions however could not find a solution. There is not any error.</p> <p>Could you please see these codes and help to find the problem why these codes do not show data from Firebase. Is there any problem with the query? or RecyclerView? or adapter? </p> <pre><code>class OurResults : AppC...
I have read all similar questions however could not find a solution. There is not any error. Could you please see these codes and help to find the problem why these codes do not show data from Firebase. Is there any problem with the query? or RecyclerView? or adapter? [CODE] The database structure is: --user - xGKiiLnf...
android|firebase|kotlin|android-recyclerview
1
2020-02-10T08:46:20.440Z
2,020
2
8
0
146
1
522
68
4
1
true
false
false
false
false
false
low
60,146,842
"Invalid key hash. The key hash C/*****************= does not match any stored key hashes" error on Facebook Android app
<p>I published my Android app (with Facebook Login integration) with a debug key hash.</p> <p>I have fixed this by performing:</p> <pre><code>keytool -exportcert -alias &lt;RELEASE_KEY_ALIAS&gt; -keystore &lt;RELEASE_KEY_PATH&gt; | openssl sha1 -binary | openssl base64 </code></pre> <p>which generated a new key hash...
I published my Android app (with Facebook Login integration) with a debug key hash. I have fixed this by performing: [CODE] which generated a new key hash. I added this key hash to my Facebook Developer app settings: and saved the changes. However I'm still getting the error message: [CODE] when I log in to my app via ...
android|facebook|hash|facebook-android-sdk
0
2020-02-10T08:48:06.047Z
2,020
2
8
0
52
0
511
120
4
2
true
true
false
false
false
false
zero
60,146,859
Unable to open PDF File in Android App Webview
<p>I have generated pdf file using mpdf library in Codeigniter. I'm able to open pdf file in all browsers using the link e.g(http:www.example.com/uploads/pdf/test.pdf) but the link doesn't work on android web view.</p>
I have generated pdf file using mpdf library in Codeigniter. I'm able to open pdf file in all browsers using the link e.g(http:www.example.com/uploads/pdf/test.pdf) but the link doesn't work on android web view.
codeigniter|android-webview
0
2020-02-10T08:49:32.407Z
2,020
2
8
0
92
0
211
46
2
0
false
true
false
false
false
false
zero
60,146,860
How to make ActionBar invisible in an activity?
<p>I want to make the actionBar of my activity invisible. <code>hide()</code> does not work for me because it removes the actionBar completely and the activity does not maintain the height of the view after hiding it.</p> <p>How can I do this? </p> <p><strong>EDIT</strong> (code update):</p> <p>layout.xml:</p> <pre...
I want to make the actionBar of my activity invisible. hide() does not work for me because it removes the actionBar completely and the activity does not maintain the height of the view after hiding it. How can I do this? EDIT (code update): layout.xml: [CODE] And in activity.java, I simply set the linear layout and div...
java|android-actionbar
0
2020-02-10T08:49:32.633Z
2,020
2
8
0
31
0
345
47
2
2
true
true
false
false
false
false
zero
60,146,967
How to extend widget with all their property
<p>here i have created the class which returns the IconButton widget.</p> <pre><code>class IconBtn extends StatelessWidget { const IconBtn({ Key key, this.onPressed, this.clr, @required this.icon, }) : super(key: key); final VoidCallback onPressed; final IconClass icon; @override Widget...
here i have created the class which returns the IconButton widget. [CODE] then while calling the class i could access only the properties which i have already defined in IconBtn class. i want to use all the properties of IconButton with the extend of another class. suggestions are welcome..! [CODE]
android|inheritance|flutter|dart|widget
0
2020-02-10T08:57:04.437Z
2,020
2
8
0
798
1
299
44
5
2
true
false
false
false
false
false
zero
60,146,993
unable to register the HAL to hardware service manager
<p>Hi i am checking some specific use case in that use case my HAL is running but it is not registered with hardware service manager.</p> <p>In my HAL service file i am adding my HAL into the hardware service manager in main function but it is not the added into the HwServiceManager.</p> <p>Use Case performed:</p> <...
Hi i am checking some specific use case in that use case my HAL is running but it is not registered with hardware service manager. In my HAL service file i am adding my HAL into the hardware service manager in main function but it is not the added into the HwServiceManager. Use Case performed: run stop command. wait fo...
android|c++|hal
1
2020-02-10T08:59:18.303Z
2,020
2
8
0
802
0
766
54
3
0
false
true
false
false
false
false
low
60,147,039
how to use AppBarConfiguration and setNavigationItemSelectedListener together
<p>I have 8 item in my navigation menu. I set fragment for 5 of them and i want set toast for the last 3 . when i don't set case 2, case 1 work well. but when i set case 2, case 1 don't work.</p> <p><strong>case 1 :</strong></p> <pre><code>DrawerLayout drawer = findViewById(R.id.drawer_layout); NavigationView navigat...
I have 8 item in my navigation menu. I set fragment for 5 of them and i want set toast for the last 3 . when i don't set case 2, case 1 work well. but when i set case 2, case 1 don't work. case 1 : [CODE] case 2: [CODE]
java|android|navigation-drawer
2
2020-02-10T09:02:48.170Z
2,020
2
9
0
2,125
1
219
77
3
2
true
false
false
false
false
false
low
60,147,056
Install an updated apk on Android 10 devices and put the same app in foreground
<p>In my app I implemented an update process, by which, if a new version is available, it automatically downloads from my server the new apk and then it tries to install it. I noticed for Android 10 devices I have to use PackageInstaller API (<a href="https://stackoverflow.com/questions/58085899/android-10-no-activity-...
In my app I implemented an update process, by which, if a new version is available, it automatically downloads from my server the new apk and then it tries to install it. I noticed for Android 10 devices I have to use PackageInstaller API ( Android 10 - No Activity found to handle Intent ): doing so my app correctly st...
android|apk
2
2020-02-10T09:03:52.050Z
2,020
2
9
0
864
0
858
79
2
2
true
true
false
false
false
false
low
60,147,168
Firebase Notification Icon Unity
<p>I've been trying to change the notification icon of the Firebase Cloud notifications in Unity. </p> <p>I tried copying the icon folder structure from the sample at <a href="https://github.com/firebase/quickstart-android/tree/master/messaging/app/src/main" rel="nofollow noreferrer">https://github.com/firebase/quicks...
I've been trying to change the notification icon of the Firebase Cloud notifications in Unity. I tried copying the icon folder structure from the sample at https://github.com/firebase/quickstart-android/tree/master/messaging/app/src/main to Assets/Plugins/Android/Res so I can test with icons that are known to work, and...
android|firebase|unity3d|push-notification|firebase-cloud-messaging
1
2020-02-10T09:10:54.287Z
2,020
2
9
0
829
1
638
32
5
0
false
false
false
false
false
false
low
60,147,203
How to get user name and email address from android device like Google Pay app
<p>Is there any way to <strong>Prefill</strong> the email address and username from an android device similar to Google Pay Application.</p> <p>As Google pay application is not taking any permissions or Google sign Options or Account pickers(that user will select one of his available accounts).</p> <p>Can someone hel...
Is there any way to Prefill the email address and username from an android device similar to Google Pay Application. As Google pay application is not taking any permissions or Google sign Options or Account pickers(that user will select one of his available accounts). Can someone help/suggest how to get this. Attaching...
java|android|google-signin|google-pay
1
2020-02-10T09:13:10.097Z
2,020
2
9
0
318
1
374
78
4
0
false
false
false
false
false
false
low
60,147,251
Notifydatasetchanged() is causing blinking within child recyclerview
<p>I am having an extremely hard time trying to disable animations for a nested recyclerview whenever the parent recyclerview calls ondatasetchanged(). So some context a recyclerview that holds tinder-like swap cards and a nested recyclerview within each card to scroll through user images. After every swipe ondatasetch...
I am having an extremely hard time trying to disable animations for a nested recyclerview whenever the parent recyclerview calls ondatasetchanged(). So some context a recyclerview that holds tinder-like swap cards and a nested recyclerview within each card to scroll through user images. After every swipe ondatasetchang...
android|android-recyclerview|nested|swipe
0
2020-02-10T09:16:44.110Z
2,020
2
9
0
466
1
616
68
4
2
true
false
false
false
false
false
zero
60,147,323
How to get a date from a JSON
<p>I pull the date from the mysql database. When shooting this date, the output is as follows:</p> <pre><code>"form_tarih2":{"date":"2019-11-27 14:42:23.000000","timezone_type":3,"timezone":"UTC"}} </code></pre> <p>I pull form_tarih2 in my application but I cannot show the date data. How can I just pull the date data...
I pull the date from the mysql database. When shooting this date, the output is as follows: [CODE] I pull form_tarih2 in my application but I cannot show the date data. How can I just pull the date data? [CODE]
android
1
2020-02-10T09:22:05.177Z
2,020
2
9
0
61
2
210
29
1
2
true
false
false
false
false
false
low
60,147,351
Cannot reach obb expansion file on android 10 device if apk and obb is downloaded from Google Play store
<p>I looked for solutions from many places (<a href="https://stackoverflow.com/questions/58274396/test-programmatically-if-in-android-10-the-legacy-external-storage-access-is-di">Test programmatically if in Android 10+ the legacy external storage access is disabled</a>, <a href="https://developer.android.com/google/pla...
I looked for solutions from many places ( Test programmatically if in Android 10+ the legacy external storage access is disabled , https://developer.android.com/google/play/expansion-files.html#Downloading , etc.), but don't know the exact cause of the error. If app is downloaded from Google Play only in case for andro...
android|google-play|android-10.0|apk-expansion-files
1
2020-02-10T09:24:02.177Z
2,020
2
9
0
4,469
1
1,885
104
4
6
true
false
true
false
false
false
low
60,147,358
Not able to return back to the app from ChromeCustomTabsBrowser
<p>I have implemented login using ChromeCustomTabsBrowser. After successful login, if app's Open Supported links setting is set to "Ask evety time" instead of "Open in this app", response is not getting back to the app and showing 404 screen as attached in screen.</p> <p><a href="https://i.stack.imgur.com/pcJIk.png" r...
I have implemented login using ChromeCustomTabsBrowser. After successful login, if app's Open Supported links setting is set to "Ask evety time" instead of "Open in this app", response is not getting back to the app and showing 404 screen as attached in screen.
android|xamarin.forms|openid-connect|chrome-custom-tabs
0
2020-02-10T09:24:47.973Z
2,020
2
9
0
220
1
261
63
4
0
false
false
false
false
false
false
zero
60,147,395
Loading images from phone to my app using Fresco library android / java
<p>Hello I am new to Fresco and I am trying to load all the images in my phone to the app</p> <p>when I use this URI: <code>/storage/emulated/0/DCIM/Camera/20200206_222309.jpg</code></p> <p>with this code:</p> <pre class="lang-java prettyprint-override"><code>ControllerListener listener = new BaseControllerListener...
Hello I am new to Fresco and I am trying to load all the images in my phone to the app when I use this URI: /storage/emulated/0/DCIM/Camera/20200206_222309.jpg with this code: [CODE] only the photo with the name 20200206_222309.jpg is loaded how can I load all the images? thanks in Advance
java|android|fresco
0
2020-02-10T09:28:09.507Z
2,020
2
9
0
171
1
290
71
3
1
true
false
false
false
false
false
zero
60,147,453
How to get real path from URI of a file in sdcard?
<p>I'm using <code>react-native-document-picker</code> in order to pick files and send them to the server. After picking the file, I use <code>RNFetchBlob.fs.stat(uri)</code> from <code>rn-fetch-blob</code> package to get the real path from the URI that the picker gives me. It works fine with internal storage files but...
I'm using react-native-document-picker in order to pick files and send them to the server. After picking the file, I use RNFetchBlob.fs.stat(uri) from rn-fetch-blob package to get the real path from the URI that the picker gives me. It works fine with internal storage files but when I choose an image from "SD card" sec...
android|react-native|react-native-fs|rn-fetch-blob
3
2020-02-10T09:30:49.907Z
2,020
2
9
0
2,270
0
1,164
50
4
1
true
true
false
false
false
false
low
60,147,534
HelloCordova uninstalled mistakenly on my android phone but need to reinstall it, cordova run in the CLI does not do it
<p>I mistakenly uninstalled HelloCordova on my android phone. It was installed as a result of having deployed a Cordova app to my phone using the Cordova CLI. I want to deploy another Cordova app to my phone but I think it is not working because I removed HelloCordova. When I use cordova run in the CLI to deploy anoth...
I mistakenly uninstalled HelloCordova on my android phone. It was installed as a result of having deployed a Cordova app to my phone using the Cordova CLI. I want to deploy another Cordova app to my phone but I think it is not working because I removed HelloCordova. When I use cordova run in the CLI to deploy another a...
android|cordova
0
2020-02-10T09:36:12.203Z
2,020
2
9
0
45
1
1,110
119
2
0
false
false
false
false
false
false
zero
60,147,609
different background color to bottom navigation tab selected item by using material design
<p>I want to implement background color of selected item like below in the image </p> <p><a href="https://i.stack.imgur.com/NMSTF.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NMSTF.jpg" alt="enter image description here"></a></p> <p>but unfortunately everyone are trying to answer this using some...
I want to implement background color of selected item like below in the image but unfortunately everyone are trying to answer this using some third party library. I want to achieve this with material design component itself this is my code [CODE] style.xml [CODE] Whether it can be achieved or not with material design c...
android|material-design|android-bottomnav
2
2020-02-10T09:41:30.420Z
2,020
2
9
0
1,268
2
376
90
3
2
true
false
false
false
false
false
low
60,147,668
Android DarkMode : Value night not working
<p>I am developing Day/Night feature in my app so I read those documents and start developing it. </p> <p>It's working fine with default value in Day or Night with deligate method <code>AppCompatDelegate.setDefaultNightMode(*)</code>.</p> <p>For customize <strong>night</strong> theme color I create <strong>values-nig...
I am developing Day/Night feature in my app so I read those documents and start developing it. It's working fine with default value in Day or Night with deligate method AppCompatDelegate.setDefaultNightMode(*) . For customize night theme color I create values-night folder and inside I create colors.xml file like below....
android|android-theme|android-darkmode
8
2020-02-10T09:46:08.113Z
2,020
2
9
0
9,841
2
653
42
3
1
true
false
true
false
false
false
medium
60,147,669
How to make Android CardView visible when using Dark Theme
<p>I am investigating CardView and Dark Theme in my current Android application</p> <p>The majority of my application works as expected when Dark Mode is enables except for the CardViews.</p> <p>my Gradle resembles this</p> <pre><code>android { compileSdkVersion 29 defaultConfig { applicationId "org....
I am investigating CardView and Dark Theme in my current Android application The majority of my application works as expected when Dark Mode is enables except for the CardViews. my Gradle resembles this [CODE] My Theme is as follows:- [CODE] My CardView layout resembles this:- [CODE] The CardViews are "perfect" in Ligh...
android|android-cardview|material-components-android|android-dark-theme
3
2020-02-10T09:46:10.217Z
2,020
2
9
0
3,745
2
485
58
4
3
true
false
true
false
false
false
low
60,147,711
Unable to load Document from filemanager of device and external storage
<p>I am new in Android Development, I am working on one functionality in android app which selects the document from Internal storage as well as external storage to load. But the code I am using to browse the files of the device is able to visible all the files in some devices but in Xiaomi devices, it is unable to vis...
I am new in Android Development, I am working on one functionality in android app which selects the document from Internal storage as well as external storage to load. But the code I am using to browse the files of the device is able to visible all the files in some devices but in Xiaomi devices, it is unable to visibl...
android
0
2020-02-10T09:48:32.480Z
2,020
2
9
0
64
0
558
71
1
1
true
true
false
false
false
false
zero
60,147,717
What are the factors that effects the kernel build(Image) to flash on the device?
<p>I have fully unlocked the Samsung device and I have downloaded the Kernel sources from the <a href="https://opensource.samsung.com/main" rel="nofollow noreferrer">Samsung open-source site</a>. I have built the kernel fine with instructions are given in the <a href="https://github.com/Vatish1/sprint-samsung-s10-5g-ke...
I have fully unlocked the Samsung device and I have downloaded the Kernel sources from the Samsung open-source site . I have built the kernel fine with instructions are given in the README_Kernel.txt file included in the source code. I get the build output at out/arch/arm64/boot/Image . I have also downloaded the firmw...
android|linux-kernel|android-source|selinux|android-kernel
0
2020-02-10T09:49:16.343Z
2,020
2
9
0
189
2
1,094
81
5
0
false
false
false
false
false
false
zero
60,147,771
How can I propagate throwable to the Completable's next chain?
<p>I am developing an Android app using RxJava.</p> <p>I have some API call chains.</p> <ol> <li>verify</li> <li>consume</li> </ol> <pre class="lang-java prettyprint-override"><code>val verify = Completable.error(Exception("TEST")) .doOnSubscribe { Log.d(TAG, "1. verify") } .doOnComplete{ Log...
I am developing an Android app using RxJava. I have some API call chains. verify consume [CODE] What I excepted is... "verify" should be called 3 times every 1 seconds. After 3 retries failed, it should be done with Error. But in my case, "consume" was run too. Why? I want to skip "consume" if "verify" is failed! How c...
android|rx-java|rx-java2
2
2020-02-10T09:52:56.430Z
2,020
2
9
0
105
1
331
62
3
1
true
false
false
false
false
false
low
60,147,808
Android Studio does not find usage of some methods and fields
<p>When I try to find usages (Alt F7 or Mouse-Click with CTRL-Button down on the method name at the declaration) of a Java method or field in Android Studio (Version 3.5.3) I am often receiving the message "No usages found in all places" although the method/field is definitely used - often even in the same class. Is th...
When I try to find usages (Alt F7 or Mouse-Click with CTRL-Button down on the method name at the declaration) of a Java method or field in Android Studio (Version 3.5.3) I am often receiving the message "No usages found in all places" although the method/field is definitely used - often even in the same class. Is there...
android-studio
2
2020-02-10T09:54:57.067Z
2,020
2
9
0
684
1
440
61
1
0
false
false
false
false
false
false
low
60,147,835
Android app crash on setting minifyEnabled true
<p>Application getting crashed on enabling minifyEnabled true. When I make it false application starts working fine. Do I need to add something to my pro-guard file? I am not able to figure out what is causing an application to crash.</p> <p>Here is the Gradle code:</p> <pre><code>debug { manifestPlacehol...
Application getting crashed on enabling minifyEnabled true. When I make it false application starts working fine. Do I need to add something to my pro-guard file? I am not able to figure out what is causing an application to crash. Here is the Gradle code: [CODE] Logcat Output : [CODE] Please let know what is wrong in ...
android|proguard
0
2020-02-10T09:55:50.593Z
2,020
2
9
0
1,180
1
336
47
2
2
true
false
false
false
false
false
zero
60,147,928
Play RTMP in WebView Android without using Flash
<p>I am trying to play a RTMP stream in Android. I asked <a href="https://stackoverflow.com/questions/60114857/trying-to-play-an-rtmp-stream-using-exoplayer">this question</a> to play it without usin WebView, but no one seems to be able to help me. So, I am trying to play it using WebView. But, since it requires Flash ...
I am trying to play a RTMP stream in Android. I asked this question to play it without usin WebView, but no one seems to be able to help me. So, I am trying to play it using WebView. But, since it requires Flash player, and Android devices no longer support Flash, I cannot reproduce it. I have this: videostream.html: [...
android|stream|rtmp
0
2020-02-10T10:01:47.310Z
2,020
2
10
0
224
1
539
48
3
3
true
false
false
false
false
false
zero
60,147,982
How to get icons from server and store them in android app
<p>I am trying to develop an app that shows different buttons, and icons for those buttons. The catch is that the buttons are added dynamically from an <code>ArrayList</code> that stores the options from the server. The way it works is as follows: </p> <p>When you login, the server sends also all the options, and the ...
I am trying to develop an app that shows different buttons, and icons for those buttons. The catch is that the buttons are added dynamically from an ArrayList that stores the options from the server. The way it works is as follows: When you login, the server sends also all the options, and the app adds them to an Array...
android
2
2020-02-10T10:04:31.410Z
2,020
2
10
0
278
1
892
58
1
0
false
false
false
false
false
false
low
60,148,014
Upload multiple files from Smartphones via file upload
<p>I ran into a problem with file upload on smartphones. My Website needs multiple pdfs from one file upload. On smartphones (just tested iPhone until now) i can select multiple images, but when i browse my files app I only can select one pdf. Does somebody ran into a similar problem and knows how to fix it? Or is the...
I ran into a problem with file upload on smartphones. My Website needs multiple pdfs from one file upload. On smartphones (just tested iPhone until now) i can select multiple images, but when i browse my files app I only can select one pdf. Does somebody ran into a similar problem and knows how to fix it? Or is the onl...
javascript|android|ios|reactjs|file-upload
0
2020-02-10T10:06:27Z
-1
-1
-1
-1
37
0
383
54
5
0
false
true
false
false
false
false
zero
60,148,015
How can I remove unresolved references in kotlin
<p>To use android Room ORM in my project I added the Room dependencies in my Kotlin/Java project and after <code>gradle build</code> I get a whole lot of <code>Unresolved References</code> errors <em>see errors below</em></p> <p><a href="https://i.stack.imgur.com/8NL4v.png" rel="nofollow noreferrer"><img src="https://...
To use android Room ORM in my project I added the Room dependencies in my Kotlin/Java project and after gradle build I get a whole lot of Unresolved References errors see errors below I've tried this Android Studio unresolved reference. Project compiles and this Unresolved reference: kotlinx but no solutions yet, How d...
android|kotlin
0
2020-02-10T10:06:27.173Z
2,020
2
10
0
546
1
362
48
2
0
false
false
false
false
false
false
zero
60,148,031
AndroidRuntime looking for ndk so files at wrong path
<p>I am using JNI c++ files to store strings in encrypted format. </p> <p><strong>Below is my CMakelists.txt :</strong> </p> <pre><code>cmake_minimum_required(VERSION 3.4.1) add_library ( native-lib SHARED native-lib.cpp boot-lib.cpp call-lib.cpp state-lib.cpp cap- lib.cpp manage-lib.cpp on-lib.cpp service-lib.cpp ...
I am using JNI c++ files to store strings in encrypted format. Below is my CMakelists.txt : [CODE] From my class named CallStateService.java : [CODE] I am loading state-lib library and it loads well. Project Cleans good. Project Rebuilds good. When i run it over emulator gets crash : [CODE] What my concerns are : As pe...
android|android-ndk
1
2020-02-10T10:07:38.797Z
2,020
2
10
0
75
0
1,221
53
2
3
true
true
false
false
false
false
low
60,148,200
How to animate a CardView expansion and retraction inside a RecyclerView well (in terms of performance and visual)?
<p>I have managed to create an automatic layout update. I have a list of <code>CardView</code> that is displayed inside a <code>RecyclerView</code>. Upon clicking a <code>CardView</code>, said <code>CardView</code> will expand and cause other potentially expanded <code>CardView</code> to retract. I have managed to do t...
I have managed to create an automatic layout update. I have a list of CardView that is displayed inside a RecyclerView . Upon clicking a CardView , said CardView will expand and cause other potentially expanded CardView to retract. I have managed to do that by: Maintaining a variable that holds the position of the Card...
android|android-layout|android-animation|android-recyclerview
1
2020-02-10T10:16:41.007Z
2,020
2
10
0
1,966
1
1,743
115
4
1
true
false
false
false
false
false
low
60,148,279
calculate 3 months after the date - Android
<p>I want to calculate 4 months after the date I pulled from the database. How can I do that. The output of history is as follows.</p> <p>Wed Nov 27 14:42:23 GMT+03:00 2019</p> <pre><code> JSONObject form_tarih2 = jObj.getJSONObject("form_tarih2"); String date = form_tarih2.getString("date"); SimpleD...
I want to calculate 4 months after the date I pulled from the database. How can I do that. The output of history is as follows. Wed Nov 27 14:42:23 GMT+03:00 2019 [CODE]
android|datetime|date-manipulation
1
2020-02-10T10:20:27.167Z
2,020
2
10
0
642
1
169
43
3
1
true
false
false
false
false
false
low
60,148,288
How to set margin to main ConstraintView in android?
<p>I want to set margin to my main layout with programmatically. I use layout params as following code.</p> <pre class="lang-java prettyprint-override"><code>val parMain = mainLayout?.layoutParams as ConstraintLayout.LayoutParams </code></pre> <p>But i have some error like </p> <blockquote> <p>android.view.ViewGro...
I want to set margin to my main layout with programmatically. I use layout params as following code. [CODE] But i have some error like android.view.ViewGroup$LayoutParams cannot be cast to androidx.constraintlayout.widget.ConstraintLayout$LayoutParams if I change the code as Android wants like this: [CODE] There is no ...
java|android|kotlin|layoutparams|layoutmargins
2
2020-02-10T10:21:17.223Z
2,020
2
10
0
828
1
418
52
5
3
true
false
false
false
false
false
low
60,148,317
Kotlin+Room+Paging+LiveData for messaging app problem
<p>I have 2 tables, first 'group' and second 'messages' and load messages from message table by group id and Paging library, My problem is every time new messages arrived from server and save in messages table Room notify LiveData data changed in table message and if for example I was open MessagesActivity for group 1,...
I have 2 tables, first 'group' and second 'messages' and load messages from message table by group id and Paging library, My problem is every time new messages arrived from server and save in messages table Room notify LiveData data changed in table message and if for example I was open MessagesActivity for group 1, if...
kotlin|android-room|android-livedata|android-paging
2
2020-02-10T10:22:38.713Z
2,020
2
10
0
168
0
564
53
4
1
true
true
false
false
false
false
low
60,148,339
Android Build Tools installed at '/Applications/ADT/sdk/platform-tools'
<p>I a m trying to run Android automation in Robot Framework using Appium but, the following error keeps showing up:</p> <blockquote> <p>WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in ["/Applications/ADT/sdk/platform-tools/plat...
I a m trying to run Android automation in Robot Framework using Appium but, the following error keeps showing up: WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Could not find 'adb' in ["/Applications/ADT/sdk/platform-tools/platform-tools/adb","/Applicat...
android|android-studio|adb|appium|robotframework
0
2020-02-10T10:23:36.243Z
2,020
2
10
0
752
1
667
71
5
0
false
false
false
false
false
false
zero
60,148,380
java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. while loading image in Glide
<p>Image not loading with Glide, after migrated the server from HTTP to HTTPS. But the images are loaded in Browser correctly.</p> <p>Dependency:</p> <pre><code>implementation 'com.github.bumptech.glide:glide:4.11.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0' </code></pre> <p>Simple image load:<...
Image not loading with Glide, after migrated the server from HTTP to HTTPS. But the images are loaded in Browser correctly. Dependency: [CODE] Simple image load: [CODE] How can I overcome this??
android|android-glide
1
2020-02-10T10:25:47.510Z
2,020
2
10
0
1,560
2
194
122
2
2
true
false
false
false
false
false
low
60,148,741
How to set dynamic height for each row with react-native-swipe-list-view?
<h2>Description</h2> <p>I am working on a <code>react-native</code> project using <a href="https://expo.io/" rel="nofollow noreferrer">expo SDK36</a>.</p> <p>I want to do a swipe left/right list view. I use <a href="https://github.com/jemise111/react-native-swipe-list-view" rel="nofollow noreferrer">react-native-swip...
Description I am working on a react-native project using expo SDK36 . I want to do a swipe left/right list view. I use react-native-swipe-list-view to achieve it. So far everything worked perfectly, the default example uses a fixed height: 50 per row, while I want to set the height of each row dynamically . Every attem...
javascript|android|reactjs|react-native|expo
1
2020-02-10T10:46:51.697Z
2,020
2
10
0
1,922
0
1,244
73
5
4
true
true
false
false
false
false
low
60,148,846
AutoCompleteTextView: provide values in XML?
<p>Is it possible to provide values to the <code>AutoCompleteTextView</code> in XML / via resources, therefore without setting an adapter in code?</p> <p>I want to use the <code>AutoCompleteTextView</code> as part of an <a href="https://material.io/components/menus/#exposed-dropdown-menu" rel="nofollow noreferrer">exp...
Is it possible to provide values to the AutoCompleteTextView in XML / via resources, therefore without setting an adapter in code? I want to use the AutoCompleteTextView as part of an exposed dropdown menu , so all values shall be shown at once and no filtering shall happen. Also all values to be shown are known at com...
android|material-design|autocompletetextview|mdc-components
0
2020-02-10T10:52:39.073Z
2,020
2
10
0
509
2
330
44
4
0
false
false
false
false
false
false
zero
60,148,857
Does the Android NDK encrypt compiled c++ files?
<p>I have a C++ file on my Android project (<code>native-lib.cpp</code>):</p> <pre><code>#include &lt;jni.h&gt; #include &lt;string&gt; extern "C" JNIEXPORT jstring JNICALL Java_com_example_keysnative_MainActivity_stringFromJNI( JNIEnv *env, jobject /* this */) { std::string api_key = "0123456789a...
I have a C++ file on my Android project ( native-lib.cpp ): [CODE] When I build the project and unpack the apk, this file will be compiled into a binary: lib/x86/libnative-lib.so . If I then try importing and use this file into another project I get an error: [CODE] java.lang.UnsatisfiedLinkError: /Users/u/Playground/K...
java|android|c++|android-ndk
0
2020-02-10T10:53:28.040Z
2,020
2
10
0
152
2
878
48
4
2
true
false
false
false
false
false
zero
60,148,892
GCMParameterSpec or similar for Android API 16 to 18
<p>I wanted to create a function to decrypt an encrypted aes-256-gcm message by nodejs</p> <pre><code>async decrypt_pw(password, key) { const key = 'secret'; const pwBuffer = Buffer.from(password, 'hex'); const authTag = pwBuffer.slice(-16); const iv = pwBuffer.slice(0, 12); const encryptedMessage ...
I wanted to create a function to decrypt an encrypted aes-256-gcm message by nodejs [CODE] Upon referring online solutions, it requires GCMParameterSpec which is API 19 and above. [CODE] How can I get access to GCMParameter on API 16 or any alternative for aes-256-gcm decryption?
android|node.js|encryption|node-crypto
1
2020-02-10T10:54:55.533Z
2,020
2
10
0
665
1
280
52
4
2
true
false
false
false
false
false
low
60,148,919
Large number of RemoteServiceExceptions in Google's cast MediaNotificationService
<p>In the last ~24 hours, we've seen a few thousand crashes within Google's <code>MediaNotificationService</code>:</p> <pre><code>Fatal Exception: android.app.RemoteServiceException Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{f9a4deb u0 &lt;our package name&gt;/com.g...
In the last ~24 hours, we've seen a few thousand crashes within Google's MediaNotificationService : [CODE] I've experienced similar issues when creating my own foreground service, but as this is within the cast library we have no control over it. The Chromecast receiver is handled by a third party. We are using: [CODE]...
android|google-play-services|chromecast|foreground-service
11
2020-02-10T10:56:59.347Z
2,020
2
10
0
1,488
3
1,157
81
4
2
true
false
false
false
true
false
medium
60,148,958
Is it possible to make the Tensorflow Lite model downloadable in Android?
<p>I have a use-case where the APK size of my Android app is a very important parameter. Adding a TFLite model obviously increases this APK size, which is undesirable for me.</p> <p>I have already quantized the model so that the APK size increase is minimal. However, I would like to make this model downloadable, rathe...
I have a use-case where the APK size of my Android app is a very important parameter. Adding a TFLite model obviously increases this APK size, which is undesirable for me. I have already quantized the model so that the APK size increase is minimal. However, I would like to make this model downloadable, rather than incl...
android|performance|tensorflow|optimization|tensorflow-lite
1
2020-02-10T10:58:57.213Z
2,020
2
10
0
136
0
438
73
5
0
false
true
false
false
false
false
low
60,148,964
flutter how to screen eye-care mode
<p>I want user can switch screen to eye-care mode for better reading like example .</p> <p>An example : </p> <p><a href="https://i.stack.imgur.com/c8jAP.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/c8jAP.gif" alt="enter image description here"></a></p> <p>for change to dark mode i used followin...
I want user can switch screen to eye-care mode for better reading like example . An example : for change to dark mode i used following method : [CODE] and use in MaterialApp Theme like that : [CODE]
android|ios|flutter|dart|native
2
2020-02-10T10:59:11.297Z
2,020
2
10
0
96
0
198
35
5
2
true
true
false
false
false
false
low
60,148,979
What is the corresponding androix library for com.android.support:support-compat?
<p>What is the corresponding <code>androidx</code> library for <code>com.android.support:support-compat</code> to implement <code>push notifications</code>?</p> <p>They say <a href="https://developer.android.com/training/notify-user/build-notification?hl=en" rel="nofollow noreferrer">here</a> that it is part of androi...
What is the corresponding androidx library for com.android.support:support-compat to implement push notifications ? They say here that it is part of androidx but as usual the documentation fails to provide the right directions.
android|androidx
4
2020-02-10T11:00:17.410Z
2,020
2
11
0
248
3
227
81
2
0
false
false
false
false
false
false
low