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,109,464
QT bluetooth .so integration into Android Java project. Issue with QAndroidJniObject and QBluetoothDeviceDiscoveryAgent
<p><strong>Hello everyone!</strong></p> <p>I am writing the code to make able to get android Bluetooth connection via QT library using JNI. The main idea is to have a black box that connects to devices to get data, analyze and so on, that is why I need to use QT Bluetooth and do not pass device data from java code to ...
Hello everyone! I am writing the code to make able to get android Bluetooth connection via QT library using JNI. The main idea is to have a black box that connects to devices to get data, analyze and so on, that is why I need to use QT Bluetooth and do not pass device data from java code to lib. So. At first, I used JN...
java|android|qt|bluetooth|java-native-interface
1
2020-02-07T08:15:16.713Z
2,020
2
8
4
176
0
1,276
119
5
3
true
true
false
false
false
false
low
60,109,487
Diffuse lighting for a moving object
<p>When calculating diffuse lighting for a moving object, I have to move the luminous source along with the object itself:</p> <pre><code>@Override public void draw() { // draw frame ... // Move object GLES20.glVertexAttribPointer(aPositionLink, 3, GLES30.GL_FLOAT, false, 0, object3D.getVertic...
When calculating diffuse lighting for a moving object, I have to move the luminous source along with the object itself: [CODE] Snippet of vertex shader: [CODE] Is this the right approach? Or is there another rational option with stationary luminous source so as not to expend resources on calculating the position of the...
java|android|opengl|glsl|shader
3
2020-02-07T08:16:50.113Z
2,020
2
8
4
337
1
496
36
5
2
true
false
false
false
false
false
low
60,109,492
Is it possible to see comments from Gerrit plugin in Android Studio?
<p>I have installed the Gerrit plugin to Android Studio IDE. It is useful for the code review. </p> <p>But when I have my commit and someone reviews it in Gerrit, I see in the plugin, that the comment is there.<br> But there is no way how to see what the comment actually says. </p> <p><strong>Is there a way, how to s...
I have installed the Gerrit plugin to Android Studio IDE. It is useful for the code review. But when I have my commit and someone reviews it in Gerrit, I see in the plugin, that the comment is there. But there is no way how to see what the comment actually says. Is there a way, how to see the content of these comments ...
android-studio|intellij-idea|plugins|ide|gerrit
2
2020-02-07T08:17:17.250Z
2,020
2
8
4
587
2
469
68
5
0
false
false
false
false
false
false
low
60,109,679
Setting onClickListener to the whole item in onBindViewHolder
<p>I have an <code>RecyclerView Adapter</code> and I want to set the <code>onClick</code> to the whole item but this code and when I also tried it with <code>myViewHolder.view.setOnClickListener(..)</code> both still only listened to the click of the checkbox.</p> <p>How can I set the <code>onClickListener</code> to t...
I have an RecyclerView Adapter and I want to set the onClick to the whole item but this code and when I also tried it with myViewHolder.view.setOnClickListener(..) both still only listened to the click of the checkbox. How can I set the onClickListener to the whole item ? [CODE] Item View Layout: [CODE]
android|onclicklistener|android-recyclerview|android-viewholder
2
2020-02-07T08:29:40.303Z
2,020
2
8
4
804
3
304
61
4
2
true
false
false
false
false
false
low
60,109,853
DrawerLayout is not showing on my preview window.How to fix this?
<p>I have added a drawerlayout to my app. But it is not being displayed. And when I run the app on emulator it opens and then closes by itself. <a href="https://i.stack.imgur.com/yLY7p.jpg" rel="nofollow noreferrer">here is the screenshot of the preview window</a></p> <p>and here is the layout file:-</p> <pre><code>?...
I have added a drawerlayout to my app. But it is not being displayed. And when I run the app on emulator it opens and then closes by itself. here is the screenshot of the preview window and here is the layout file:- [CODE] and here is the buil.gradle file [CODE]
android|drawerlayout
1
2020-02-07T08:42:15.447Z
2,020
2
8
4
119
1
262
65
2
2
true
false
false
false
false
false
low
60,109,864
Test failed to run to completion. Reason: 'Test run failed to complete. Expected 1 tests, received 0'. Check device logcat for details
<p>The code is compiled, then starts running the tests from the project and then falls.</p> <p>I use here gradle, junit, espresso</p> <pre><code>public class ExampleInstrumentedTest { public ExampleInstrumentedTest() { } @ClassRule public static DeviceAnimationTestRule deviceAnimationTe...
The code is compiled, then starts running the tests from the project and then falls. I use here gradle, junit, espresso [CODE]
java|android|android-instrumentation
2
2020-02-07T08:43:20.877Z
2,020
2
8
4
209
0
126
134
3
1
true
true
false
false
false
false
low
60,110,086
How to retrieve list of Points/coordinates from Mapbox rendered feature
<p>I have a <code>map</code> which renders objects from <code>GeoJson</code> file. I am trying to retrieve all the <code>points</code> and names from all the objects and save them to an array list so I can use them with a <code>searchBar.</code></p> <p>So far, I can retrieve all the names but have no idea how to retri...
I have a map which renders objects from GeoJson file. I am trying to retrieve all the points and names from all the objects and save them to an array list so I can use them with a searchBar. So far, I can retrieve all the names but have no idea how to retrieve the coordinates. I understand mapBox has a feature.geometry...
android|mapbox
0
2020-02-07T08:57:07.607Z
2,020
2
8
4
686
1
416
71
2
1
true
false
false
false
false
false
zero
60,110,095
How to convert java from clipboard (outside Android Studio) to kotlin?
<p>If I copy code from a java class (open in android studio) and paste it in a kotlin class. The code is automatically converted.</p> <p>BUT, if I copy this code outside of Android studio (SOF, slack etc). The code is not converted.</p> <p>My config:</p> <p><a href="https://i.stack.imgur.com/O19YP.png" rel="nofollow...
If I copy code from a java class (open in android studio) and paste it in a kotlin class. The code is automatically converted. BUT, if I copy this code outside of Android studio (SOF, slack etc). The code is not converted. My config: Android studio 3.6 RC2 (I had the same problem in the lower versions) I searched a sim...
android|android-studio|kotlin
1
2020-02-07T08:57:44.627Z
2,020
2
8
4
124
1
467
70
3
0
false
false
false
false
false
false
low
60,110,115
How to use longpress in appium?
<p>I had tried lots of different <code>longpress</code> method but it do not work currently with appium.</p> <pre><code>TouchAction action = new TouchAction(); action.longPress(webElement).release().perform(); </code></pre> <p>above method do not provide duration to hold and press element.</p>
I had tried lots of different longpress method but it do not work currently with appium. [CODE] above method do not provide duration to hold and press element.
appium|appium-android
1
2020-02-07T08:58:23.220Z
2,020
2
8
4
197
1
159
31
2
1
true
false
false
false
false
false
low
60,110,130
"Cannot recover key" error when generating APK
<p>I'm getting the below error when generating my signed APK:</p> <pre><code> Caused by: java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key key0 from store "/Users/zorgan/Desktop/keystore": Cannot recover key Caused by: java.security.UnrecoverableKeyException: Cannot reco...
I'm getting the below error when generating my signed APK: [CODE] I have checked my executionHistory.bin file and confirmed both the Keystore password and Key password are correct and are both the same password: [CODE] What could be the problem?
android|android-studio|terminal|apk
0
2020-02-07T08:59:01.163Z
2,020
2
8
4
48
1
245
46
4
2
true
false
false
false
false
false
zero
60,110,213
Android (Java) App update http to HttpURLConnection
<p>I am currently using my Android (Java) app on API 27. At the moment I am still using the HTTP method in legacy mode, but I want to switch to HTTPURLConnection in order to be able to update to API 28. </p> <p>To start with HTTPURLConnection I have to add these two things:</p> <p>import java.net.HttpURLConnection; i...
I am currently using my Android (Java) app on API 27. At the moment I am still using the HTTP method in legacy mode, but I want to switch to HTTPURLConnection in order to be able to update to API 28. To start with HTTPURLConnection I have to add these two things: import java.net.HttpURLConnection; import java.net.URL; ...
java|android|rss|httpurlconnection
0
2020-02-07T09:04:15.230Z
2,020
2
9
4
96
0
350
51
4
1
true
true
false
false
false
false
zero
60,110,300
Problem while Sending Binary Content to other Apps
<p><a href="https://i.stack.imgur.com/MYMVv.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MYMVv.jpg" alt="manifest"></a>I Just want to send the image which is there in my mobile to any android app, I have used this code which is not working. Showing Toast 'file is not supported' while trying to sha...
I Just want to send the image which is there in my mobile to any android app, I have used this code which is not working. Showing Toast 'file is not supported' while trying to share to whatsapp. [CODE]
android|android-fileprovider|android-intent-chooser
0
2020-02-07T09:09:32.293Z
2,020
2
9
4
182
0
201
50
3
1
true
true
false
false
false
false
zero
60,110,323
When a call arrives, the onCallAdded(Call call) method of InCallService is not called while main thread is still running
<h3>What solution I am looking for</h3> <p>How to make onCallAdded(Call call) method of InCallService called every time when I make call in the main thread ( using #repeat for cycling).</p> <h3>Background</h3> <p>I'm writing a small Android auto test APP to automatically make calls then do web browsing...etc for 10 ...
What solution I am looking for How to make onCallAdded(Call call) method of InCallService called every time when I make call in the main thread ( using #repeat for cycling). Background I'm writing a small Android auto test APP to automatically make calls then do web browsing...etc for 10 cycles. My code is based on thi...
android|kotlin|telecommunication
1
2020-02-07T09:10:57.140Z
2,020
2
9
4
1,104
1
1,473
120
3
7
true
false
false
false
false
false
low
60,110,363
Parse unknown JSON key with Moshi
<p>I'm trying to parse a JSON I know almost nothing about.</p> <p>Example of a JSON response</p> <pre><code>{ "response": { "content":{ "xxxxxx": "xxxxx", "xxxxx": "xxxxxx", ...... indeterminate times } } } </code></pre> <p>I tried to create an adapter, but ...
I'm trying to parse a JSON I know almost nothing about. Example of a JSON response [CODE] I tried to create an adapter, but nothing works : [CODE] Is it possible to achieve this with Moshi? If so, what should I do?
android|json|kotlin|moshi
3
2020-02-07T09:13:46.833Z
2,020
2
9
4
151
0
214
33
4
2
true
true
false
false
false
false
low
60,110,490
EditText/TextView to ListView
<p>I have two activities. FirstActivity contains an onClick button which takes to SecondActivity. SecondActivity contains multiple EditText and a Save Button. After clicking save button I want to show all the data in the FirstActivity in ListView. I did it using TextView in FirstActivity but I am not able to use to Lis...
I have two activities. FirstActivity contains an onClick button which takes to SecondActivity. SecondActivity contains multiple EditText and a Save Button. After clicking save button I want to show all the data in the FirstActivity in ListView. I did it using TextView in FirstActivity but I am not able to use to ListAd...
android
0
2020-02-07T09:22:42.703Z
2,020
2
9
4
67
2
372
29
1
2
true
false
false
false
false
false
zero
60,110,705
How Could I use array to show match Imageview?
<p>I get some data like this : {201,501,301,404,211}</p> <p>I use ',' to split </p> <pre><code> String[] messages = split(","); </code></pre> <p>so I get 201 501 301 404 211 , now I just only need three values : 201 501 301</p> <pre><code> messages[0]; //201 messages[1]; //501 messages[2]; ...
I get some data like this : {201,501,301,404,211} I use ',' to split [CODE] so I get 201 501 301 404 211 , now I just only need three values : 201 501 301 [CODE] but , I have nine icon , and only three icon will show base on messages[0] ~ messages[2] here is my xml : [CODE] according to my xml , there are only three Im...
android|arrays|imageview
0
2020-02-07T09:36:24.277Z
2,020
2
9
4
49
1
426
46
3
4
true
false
false
false
false
false
zero
60,110,753
How to retain the scrolled position of a Recyclerview on back press from another activity and i fetch data from firebase realtime database?
<p>I use fragments inside this i fetch data from firebase database. i use card view to dispaly data, by clicking each cardview i reach to the new activity but when i press the back button, the recycler view load again and the recyclerview page starts from the top. i want to retain the recyclerview position.please help ...
I use fragments inside this i fetch data from firebase database. i use card view to dispaly data, by clicking each cardview i reach to the new activity but when i press the back button, the recycler view load again and the recyclerview page starts from the top. i want to retain the recyclerview position.please help how...
android|firebase|firebase-realtime-database|android-recyclerview
1
2020-02-07T09:39:52.580Z
2,020
2
9
4
63
1
365
139
4
1
true
false
false
false
false
false
low
60,110,775
Watching a folder for changes on external SD card
<p>I'm trying to listen for folder changes on an external SD card on Android Api 26+ , The problem is I don't get the real path, I only get the content URI. I have almost tried everything:</p> <p>1- third-party libraries.</p> <p>2- Environment.getExternalStorageDirectory();</p> <p>3- System.getenv("SECONDARY_STORAGE...
I'm trying to listen for folder changes on an external SD card on Android Api 26+ , The problem is I don't get the real path, I only get the content URI. I have almost tried everything: 1- third-party libraries. 2- Environment.getExternalStorageDirectory(); 3- System.getenv("SECONDARY_STORAGE") 4- System.getenv("EXTERN...
android|android-sdcard
0
2020-02-07T09:40:44.880Z
2,020
2
9
4
248
1
559
49
2
0
false
false
false
false
false
false
zero
60,110,804
Placing Firebase value event callbacks in a single place
<p>I often find myself writing this piece of code again and again in multiple activities when using firebase realtime db: </p> <pre class="lang-java prettyprint-override"><code> ValueEventListener v =new ValueEventListener() { @Override public void onDataChange (@NonNull DataSnapshot db...
I often find myself writing this piece of code again and again in multiple activities when using firebase realtime db: [CODE] although this is suppose to be how firebase works, it makes my code a lot more unreadable and difficult to debug. what could be a good approach to use these callbacks in a way, that i write this...
android|firebase|firebase-realtime-database
0
2020-02-07T09:42:18.510Z
2,020
2
9
4
193
3
385
56
3
1
true
false
false
false
false
false
zero
60,110,833
Android NDK Firebase crashlytics SDK CrashlyticsOrgIdException :Could not fetch Crashlytics Org Id
<p>I am working on project where the requirement is to get detailed stack trace where the crash has occurred in the native code. Earlier I was using Fabrics Crashlytics to report crashes where NDK crash report support was not added. Now since Fabrics Crashlytics has migrated to Firebase Crashlytics I have also migrated...
I am working on project where the requirement is to get detailed stack trace where the crash has occurred in the native code. Earlier I was using Fabrics Crashlytics to report crashes where NDK crash report support was not added. Now since Fabrics Crashlytics has migrated to Firebase Crashlytics I have also migrated my...
firebase|android-ndk|crashlytics|crashlytics-android
1
2020-02-07T09:43:32.880Z
2,020
2
9
4
507
0
1,298
98
4
3
true
true
false
false
false
false
low
60,110,848
How to disable SSL verification?
<p>I tried disable SSL verification in my app, but app crashes in Android 10 in some devices. I used in my app Retrofit and Okhttp. Here how I tried to disable SSL verification in my app. I didn't find any solution from the internet.</p> <pre><code> class MainActivity : AppCompatActivity() { override fun onCre...
I tried disable SSL verification in my app, but app crashes in Android 10 in some devices. I used in my app Retrofit and Okhttp. Here how I tried to disable SSL verification in my app. I didn't find any solution from the internet. [CODE] In Android 10 I catch this exception [CODE] This exception from crashlytics. It al...
android|okhttp
3
2020-02-07T09:44:19.800Z
2,020
2
9
4
7,415
2
356
32
2
3
true
false
true
false
false
false
low
60,110,932
How to integrate the chrome[-like] browser as part of the Android app?
<p>Our app is built on Qt-C++ which acts as a backend. For front end, we invoke browser command in a given platform (Windows, Mac, Linux). Now the Javascript of browser and the C++ of backend communicate via WebSockets. All the rendering happens fine and app works well.<br> [Note: It turns out that, Qt's Web-engine is ...
Our app is built on Qt-C++ which acts as a backend. For front end, we invoke browser command in a given platform (Windows, Mac, Linux). Now the Javascript of browser and the C++ of backend communicate via WebSockets. All the rendering happens fine and app works well. [Note: It turns out that, Qt's Web-engine is not a g...
android|qt|google-chrome|webview|webrtc
2
2020-02-07T09:49:13.467Z
2,020
2
9
4
160
0
963
70
5
0
false
true
false
false
false
false
low
60,111,037
Reach my application on google play by name
<p>I deployed new application to google play, this is the first time for me, I can reach the application through it's link in google play, but when I try to search the app by name it will not display on the search result in google play, the application short and long description contain the application name as well but...
I deployed new application to google play, this is the first time for me, I can reach the application through it's link in google play, but when I try to search the app by name it will not display on the search result in google play, the application short and long description contain the application name as well but I ...
android|google-play
0
2020-02-07T09:56:17.133Z
2,020
2
9
4
90
2
444
43
2
0
false
false
false
false
false
false
zero
60,111,064
Getting google map API issues in Direction API
<p>I am getting this issues in google map direction API even this credential is working for places API</p> <pre><code> { "error_message" : "This IP, site or mobile application is not authorized to use this API key. Request received from IP address 103.87.59.60, with empty referer", "routes" : [], "status" : "REQUES...
I am getting this issues in google map direction API even this credential is working for places API [CODE]
android|api|google-maps|google-places-api|direction
-2
2020-02-07T09:57:34.800Z
2,020
2
9
4
58
1
106
46
5
1
true
false
false
false
false
true
negative
60,111,092
MVVMCross Native Android Progressbar move element with the current progress
<p>I have a progressbar as shown in the following image. My problem is that I want to move the TextView that shows the current step of the progress, along with the progress.</p> <p><a href="https://i.stack.imgur.com/H0Mkv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H0Mkv.png" alt="Required effec...
I have a progressbar as shown in the following image. My problem is that I want to move the TextView that shows the current step of the progress, along with the progress. So in the step 3/7 it should move with the progress. The inside drawable is a styled xml shape drawable. rounded_corners_progress_bar [CODE] Overall ...
android|get|progress-bar|drawable
3
2020-02-07T09:58:50.767Z
2,020
2
9
4
187
2
409
75
4
2
true
false
false
false
false
false
low
60,111,115
Change the state of the item in recyclerview with pagination
<p>I've implemented the recycler view with pagination. In my list item, there is information and the favorite icon for a set like and unlike the item. When setting the like, Icon will be enabled otherwise disabled. It's working correctly but when I scroll it's again showing the disabled icon. I've researched and found ...
I've implemented the recycler view with pagination. In my list item, there is information and the favorite icon for a set like and unlike the item. When setting the like, Icon will be enabled otherwise disabled. It's working correctly but when I scroll it's again showing the disabled icon. I've researched and found the...
android|kotlin|android-recyclerview|pagination|state
0
2020-02-07T10:00:34.683Z
2,020
2
10
4
219
1
561
60
5
2
true
false
false
false
false
false
zero
60,111,127
Android MVVM RecyclerView ClickListener Kotlin to Java Conversion
<p>I'm trying to implement a clickListener in an Android RecyclerView, with fragments, data binding, ViewModel/LiveData, and my code has been constructed based on practices in the Udacity 'Developing Android Apps with Kotlin' course. However, my project is in Java as all the backend is already written. I don't know eno...
I'm trying to implement a clickListener in an Android RecyclerView, with fragments, data binding, ViewModel/LiveData, and my code has been constructed based on practices in the Udacity 'Developing Android Apps with Kotlin' course. However, my project is in Java as all the backend is already written. I don't know enough...
java|android|kotlin|mvvm|android-recyclerview
1
2020-02-07T10:01:21.530Z
2,020
2
10
4
208
1
611
65
5
1
true
false
false
false
false
false
low
60,111,292
Nested recyclerview Scrollbar height varies during scroll
<p>I'm Using recyclerview In which its some items(child) are horizontal recyclerview others are layouts. I've enabled Scrollbar for the root recyclerview. The Problem i'm facing is whenever i'm scrolling the height of the scrollbar changing according to the itemview.</p> <p>I want to maintain Fixed scrollbar height. <...
I'm Using recyclerview In which its some items(child) are horizontal recyclerview others are layouts. I've enabled Scrollbar for the root recyclerview. The Problem i'm facing is whenever i'm scrolling the height of the scrollbar changing according to the itemview. I want to maintain Fixed scrollbar height. P.S: Recycle...
android|android-recyclerview|nestedrecyclerview
1
2020-02-07T10:12:14.897Z
2,020
2
10
4
73
0
438
57
3
0
false
true
false
false
false
false
low
60,111,310
Android Studio don’t see all device
<p>a few days ago there was no problem when I used my device to run the application. but suddenly when I plug the usb into my device android studio displays no device and I try to replace another device but still not detected in android studio even though in the file explorer device is detected. I tried using the same ...
a few days ago there was no problem when I used my device to run the application. but suddenly when I plug the usb into my device android studio displays no device and I try to replace another device but still not detected in android studio even though in the file explorer device is detected. I tried using the same dev...
android|windows|android-studio
-2
2020-02-07T10:13:41.313Z
2,020
2
10
4
83
3
444
35
3
0
false
false
false
false
false
true
negative
60,111,375
Unable to fetch data from a common intent
<p>I am calling the activity RegistrationCredentialsActivity from two different activities: RegistrationActivity and ForgotPasswordActivity. I am passing activity name as StringExtra from these activities along with other details. But inside the RegistrationCredentialsActivity, I'm unable to fetch the data sent from Fo...
I am calling the activity RegistrationCredentialsActivity from two different activities: RegistrationActivity and ForgotPasswordActivity. I am passing activity name as StringExtra from these activities along with other details. But inside the RegistrationCredentialsActivity, I'm unable to fetch the data sent from Forgo...
android|android-studio|kotlin
0
2020-02-07T10:17:58.723Z
2,020
2
10
4
49
1
868
41
3
3
true
false
false
false
false
false
zero
60,111,427
Data binding not working with Capital Letter package name
<p>I have a Android project who's package name is kind of like this <code>com.example.MyPackag</code>e where as <code>MyPackage</code> has two capital letters <code>M</code> and <code>P</code>, Due to them i am not able to use data binding.</p> <p>When i add data binding and build my project it says not able to guess ...
I have a Android project who's package name is kind of like this com.example.MyPackag e where as MyPackage has two capital letters M and P , Due to them i am not able to use data binding. When i add data binding and build my project it says not able to guess the name. I found out on stackover flow there are people disc...
java|android|kotlin|2-way-object-databinding|package-name
3
2020-02-07T10:20:19.037Z
2,020
2
10
4
730
1
396
57
5
0
false
false
false
false
false
false
low
60,111,482
Passing data as intent result
<p>I create intent to <code>AddDeviceActivity</code> from <code>MainActivity</code>:</p> <pre><code> Intent intent = new Intent(this, AddDeviceActivity.class); startActivityForResult(intent, REQUEST_CODE_CHECK); </code></pre> <p>And expecting to get result:</p> <pre><code>@Override public void onActivityResul...
I create intent to AddDeviceActivity from MainActivity : [CODE] And expecting to get result: [CODE] AddDeviceActivity puts some data: [CODE] When AddDeviceActivity finishes I receive call to onActivityResult , but data.getData() returns null . How to retrieve data from Intent?
android
0
2020-02-07T10:24:00.087Z
2,020
2
10
4
47
1
277
29
1
3
true
false
false
false
false
false
zero
60,111,534
How to Cache json data from firebase to be available offline?
<p>i hava json data that successfully display in recycler view and now i want to make it offline.my recycler view show the list and onclick list open a new subactivity to show the details and having a imageslider so i want to make it available both offline.my code is below</p> <p>this is my mainactivity page:</p> <pr...
i hava json data that successfully display in recycler view and now i want to make it offline.my recycler view show the list and onclick list open a new subactivity to show the details and having a imageslider so i want to make it available both offline.my code is below this is my mainactivity page: [CODE] this is clas...
java|android|firebase|firebase-realtime-database|android-recyclerview
-1
2020-02-07T10:26:14.693Z
2,020
2
10
4
284
1
425
61
5
4
true
false
false
false
false
true
negative
60,111,599
Touch Listener interferes with RecyclerView Scrolling
<p>My app looks like this:</p> <p><a href="https://i.stack.imgur.com/tDgBq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tDgBq.png" alt=""></a></p> <p>Basically a FrameLayout for hosting Fragments and Bottom Nav View. Now I would like to implement right swipe gesture in HomeFragment (when Home ta...
My app looks like this: Basically a FrameLayout for hosting Fragments and Bottom Nav View. Now I would like to implement right swipe gesture in HomeFragment (when Home tab is selected). But that fragment hosts a RecyclerView. To add right swipe, I am using: [CODE] When I add this touch listener to RecyclerView, scrolli...
android|android-recyclerview
0
2020-02-07T10:30:42.387Z
2,020
2
10
4
1,008
3
749
53
2
1
true
false
false
false
false
false
zero
60,111,812
Is it possible to run H2O models in Android?
<p>I've trained a model in <a href="https://github.com/h2oai/h2o-3" rel="nofollow noreferrer">H2O</a> and save it as MOJO following <a href="http://docs.h2o.ai/h2o/latest-stable/h2o-docs/mojo-quickstart.html" rel="nofollow noreferrer">this tutorial</a>.</p> <p>Then, I've created a new Android app including the saved m...
I've trained a model in H2O and save it as MOJO following this tutorial . Then, I've created a new Android app including the saved model and h2o-genmodel.jar . Gradle build runs successfully, but when I try to run it on the Android phone I get the following error: [CODE] My guess is that the jar file has been generated...
java|android|h2o
1
2020-02-07T10:42:11.633Z
2,020
2
10
4
143
1
419
44
3
1
true
false
false
false
false
false
low
60,111,878
How can I forward scrolling the RecyclerView to its parent which is a BottomSheet in order to collapse it?
<p>Basically I have a fragment with a specific layout, which has CoordinatorLayout as its parent and a static fragment with BottomSheetBehaviour(also some other views that are not related to the question) `</p> <pre><code>&lt;androidx.coordinatorlayout.widget.CoordinatorLayout android:layout_width="match_parent" ...
Basically I have a fragment with a specific layout, which has CoordinatorLayout as its parent and a static fragment with BottomSheetBehaviour(also some other views that are not related to the question) ` [CODE] ` Inside the static fragment, I have the following layout: [CODE] With the following setup, you can only have...
android|android-fragments|android-recyclerview|android-viewpager|bottom-sheet
2
2020-02-07T10:46:13.700Z
2,020
2
10
4
1,083
1
1,386
106
5
2
true
false
false
false
false
false
low
60,111,972
Visibility won't toggle in flutter?
<p>I've got a gridView where each grid has a FlatButton inside it. The button is supposed to trigger the visibility for another button I have outside the GridView. I've set the state in onPressed to change the bool showCard for everytime the GridView button is pressed. In my print statement, it's saying that it's worki...
I've got a gridView where each grid has a FlatButton inside it. The button is supposed to trigger the visibility for another button I have outside the GridView. I've set the state in onPressed to change the bool showCard for everytime the GridView button is pressed. In my print statement, it's saying that it's working,...
android-studio|flutter|dart|flutter-test
0
2020-02-07T10:51:21.897Z
2,020
2
10
4
1,910
2
487
35
4
1
true
false
false
false
false
false
zero
60,112,094
Xamarin and httpclient requests returns ok within emulator but nothing on device
<p>Trying to get my Xamarin-app to go to an url and fetch the response (which is just a string). When I try it in the Visual Studio Emulator it works ok, and the Content contains the expected string, but when debugging or deploying to my testphone (Samsung S8 - Android v9.0) the response code is still ok, but the Conte...
Trying to get my Xamarin-app to go to an url and fetch the response (which is just a string). When I try it in the Visual Studio Emulator it works ok, and the Content contains the expected string, but when debugging or deploying to my testphone (Samsung S8 - Android v9.0) the response code is still ok, but the Content ...
android|xamarin|visual-studio-2019|dotnet-httpclient
0
2020-02-07T10:58:48.797Z
2,020
2
10
4
20
0
620
80
4
0
false
true
false
false
false
false
zero
60,112,262
Continuously play the gif on image using FFmpeg
<p>I am trying to place multiple gif on image and save as gif using FFmpeg. I had achieved placing of multiple gif but all gif doesnot play continuously i.e Second gif repeat only once first gif finish and started again ..the second gif stop and start again only when first gif finishes.</p> <pre><code>command_try[0]="...
I am trying to place multiple gif on image and save as gif using FFmpeg. I had achieved placing of multiple gif but all gif doesnot play continuously i.e Second gif repeat only once first gif finish and started again ..the second gif stop and start again only when first gif finishes. [CODE] As I am recently started wor...
android|ffmpeg|android-ffmpeg
0
2020-02-07T11:09:29.860Z
2,020
2
11
4
847
1
384
47
3
1
true
false
false
false
false
false
zero
60,112,529
How to send reciver from another BroadcastReceiver?
<p>I want to keep the notification time that I set even after BOOT_COMPLEDTED. I'm just making <code>DeviceBootReceiver</code> that notice BOOT_COMPLETED, and <code>ReminderReceiver</code> that notify for the user with notification. My code is like this.</p> <blockquote> <p>DeviceBottomReceiver</p> </blockquote> <p...
I want to keep the notification time that I set even after BOOT_COMPLEDTED. I'm just making DeviceBootReceiver that notice BOOT_COMPLETED, and ReminderReceiver that notify for the user with notification. My code is like this. DeviceBottomReceiver [CODE] ReminderReceiver [CODE] In DeviceBottReceiver , when I boot my mob...
android|broadcastreceiver|bootcompleted
0
2020-02-07T11:26:22.733Z
2,020
2
11
4
121
1
542
51
3
2
true
false
false
false
false
false
zero
60,112,634
Android Studio - XML Preview has wrong Colors
<p>me and a Classmate now Shared our project on Github. His XML previewer looks fine and works as intended. But my XML previewer has some Errors to What do I miss why does my previewer looks so differnt to the end result?</p> <p>My View (left the inbuild from Android Studio, right from the Emulator):</p> <p><a href=...
me and a Classmate now Shared our project on Github. His XML previewer looks fine and works as intended. But my XML previewer has some Errors to What do I miss why does my previewer looks so differnt to the end result? My View (left the inbuild from Android Studio, right from the Emulator): His View (works fine - left ...
android|android-studio|android-emulator
0
2020-02-07T11:32:57.683Z
2,020
2
11
4
771
1
375
45
3
1
true
false
false
false
false
false
zero
60,112,648
Google Ads interrupt the app. Slow down fps
<p>I use <code>AdView mAdView</code> and the last updated libraries.</p> <p>I placed the AdView into my layout (as shown in the examples):</p> <pre><code>&lt;com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto" android:id="@+id/adView" android:layout_width="wrap_content" ...
I use AdView mAdView and the last updated libraries. I placed the AdView into my layout (as shown in the examples): [CODE] Then I identify it and try to load a new ad in the onCreate() method: [CODE] But my layout has some animated objects. This animation is freezing (skipping some frames) while new ad is become visibl...
java|android|admob|ads
5
2020-02-07T11:33:38.573Z
2,020
2
11
4
1,533
4
612
43
4
2
true
false
false
false
false
false
low
60,112,791
Step Viewer with two text view
<p><img src="https://i.stack.imgur.com/0dsEP.png" alt="Step viewer with two text view"></p> <p>I want to step up my xml with step view and textview . I don't think adding a proper step view is recommended as it will just for show no updation will be done, can anyone help me with this ?</p>
I want to step up my xml with step view and textview . I don't think adding a proper step view is recommended as it will just for show no updation will be done, can anyone help me with this ?
android|android-layout
0
2020-02-07T11:41:44.033Z
2,020
2
11
4
76
0
191
30
2
0
false
true
false
false
false
false
zero
60,112,839
Migration path from in house authentication to Firebase
<p>I am looking to integrate FirebaseAuthUI to handle authenticating users to my app. </p> <p>Currently, the app has an in house authentication method, which allows users to signup and signin with their email address and a password. </p> <p>We have over 100,000 users who are signed up with our app using our in house...
I am looking to integrate FirebaseAuthUI to handle authenticating users to my app. Currently, the app has an in house authentication method, which allows users to signup and signin with their email address and a password. We have over 100,000 users who are signed up with our app using our in house auth mechanism, there...
android|firebase|firebase-authentication
0
2020-02-07T11:45:16.320Z
2,020
2
11
4
80
1
971
55
3
0
false
false
false
false
false
false
zero
60,112,934
Test failed to run to completion. Reason:Instrumentation run failed due to 'Process crashed.'
<p>I wanted to run the following test:</p> <pre><code>RunWith(AndroidJUnit4.class) @LargeTest public class ExampleInstrumentedTest { public ExampleInstrumentedTest() { } @ClassRule public static DeviceAnimationTestRule deviceAnimationTestRule = new DeviceAnimationTestRule(); @Rule public ActivityTestRule&...
I wanted to run the following test: [CODE] But I get the error in the console: $ adb shell am instrument -w -r -e debug false -e class 'com.xxx.yyy.ExampleInstrumentedTest' com.xxx.yyy.test/android.support.test.runner.AndroidJUnitRunner Client not ready yet.. Started running tests Test running failed: Instrumentation r...
android|android-espresso|android-instrumentation
3
2020-02-07T11:50:37.187Z
2,020
2
11
4
343
0
438
93
3
3
true
true
false
false
false
false
low
60,112,957
Show popup menu for row in recyclerview using databinding
<p>I am trying to show a popup menu for the items in my RecyclerView: <a href="https://i.stack.imgur.com/Z3AwC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z3AwC.png" alt="enter image description here"></a></p> <p>All the code samples on how to do this that I found online either use Java or when ...
I am trying to show a popup menu for the items in my RecyclerView: All the code samples on how to do this that I found online either use Java or when they in rare cases do use Kotlin, it's done without data binding. Anyway what I'm trying to achieve is this: [CODE] And in my RowHolder I have the following code: [CODE] ...
android|kotlin|android-recyclerview
0
2020-02-07T11:52:13.710Z
2,020
2
11
4
691
0
1,381
57
3
3
true
true
false
false
false
false
zero
60,112,972
Track point or rect and replace with another mat
<p>I try to make app like ink hunter, make it to detect object but on live camera overlaped image blink cause every time i detect object again n again in every frame.I read lot about track object but not found any useful algorithm, cause once algorithm i confuse with other algorithm, i very confuse which method or algo...
I try to make app like ink hunter, make it to detect object but on live camera overlaped image blink cause every time i detect object again n again in every frame.I read lot about track object but not found any useful algorithm, cause once algorithm i confuse with other algorithm, i very confuse which method or algorit...
android|c++|opencv
0
2020-02-07T11:52:55.967Z
2,020
2
11
4
40
0
916
48
3
1
true
true
false
false
false
false
zero
60,113,037
Put two views in the center of the screen
<p>I have two views (com.github.mikephil.charting.charts.BarChart and LinearLayout), the content inside one view is approx 600 dp high, the other once has 500 dp. Width of both views is fill_parent.</p> <p>I would like to position them both into the center of the screen (so they overlaps).</p> <p>Unfortunately, Andro...
I have two views (com.github.mikephil.charting.charts.BarChart and LinearLayout), the content inside one view is approx 600 dp high, the other once has 500 dp. Width of both views is fill_parent. I would like to position them both into the center of the screen (so they overlaps). Unfortunately, Android's layout alignme...
android|android-layout|android-view
0
2020-02-07T11:56:17.847Z
2,020
2
11
4
75
3
525
41
3
1
true
false
false
false
false
false
zero
60,113,044
How to create multilevel recyclerview in Android kotlin?
<p>I want to create 3 level <code>RecyclerView</code> like tree view in kotlin. Is there any tutorial and suggestions please let me know.</p> <p>I already tried so many times with <code>ExpandableListView</code> and 3 RecyclerView, but didn't find any proper solution.</p>
I want to create 3 level RecyclerView like tree view in kotlin. Is there any tutorial and suggestions please let me know. I already tried so many times with ExpandableListView and 3 RecyclerView, but didn't find any proper solution.
android|android-studio|kotlin|android-recyclerview|expandablelistview
0
2020-02-07T11:57:00.827Z
2,020
2
11
4
1,762
2
232
56
5
0
false
false
false
false
false
false
zero
60,113,104
Authenticate user by custom pin to access keystore
<p>I am generating key pair via KeyPairGenerator initialized with KeyGenParameterSpec that requires user authentication to access private key by setting <code>setUserAuthenticationRequired(true)</code>.</p> <p>When using fingerprint or biometric authentication, it is possible to delegate the authentication to system d...
I am generating key pair via KeyPairGenerator initialized with KeyGenParameterSpec that requires user authentication to access private key by setting setUserAuthenticationRequired(true) . When using fingerprint or biometric authentication, it is possible to delegate the authentication to system dialogs through Biometri...
android|security|authentication|keystore
2
2020-02-07T12:00:40.997Z
2,020
2
12
4
142
0
665
50
4
0
false
true
false
false
false
false
low
60,113,145
offline web page caching with persistent data
<p>Hi i'm trying to make my HTML webpage offline for android and IOS devices. My problem is that I need to store a lot of data. This data (css,js,images,html) needs to be persistent. (even after shutdown of the device)</p> <p>USE: Someone types the URL and gets the whole page offline available.</p> <p>What is the bes...
Hi i'm trying to make my HTML webpage offline for android and IOS devices. My problem is that I need to store a lot of data. This data (css,js,images,html) needs to be persistent. (even after shutdown of the device) USE: Someone types the URL and gets the whole page offline available. What is the best way to persist yo...
android|html|caching|progressive-web-apps|browser-cache
1
2020-02-07T12:03:12.557Z
2,020
2
12
4
171
1
604
45
5
0
false
false
false
false
false
false
low
60,113,189
Braintree Drop-in UI: ERROR: Failed to resolve: org.jfrog.cardinalcommerce.gradle:cardinalmobilesdk:2.2.1-2?
<p><a href="https://i.stack.imgur.com/vDehm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vDehm.png" alt="enter image description here"></a>I am integrating <code>Braintree</code> Drop-in UI but my project is not getting compiled.. I have used below dependency:-</p> <pre><code>implementation 'com.braintree...
I am integrating Braintree Drop-in UI but my project is not getting compiled.. I have used below dependency:- [CODE]
android|braintree|braintree-vault
9
2020-02-07T12:06:19.493Z
2,020
2
12
4
8,818
3
116
108
3
1
true
false
true
false
false
false
medium
60,113,224
Selected Value Remain Save in Dialogfragment with radio Button Android
<p>I'm trying to save value in Dialogfragment with other options. Once it saved but If I Reopen Dialogfragment screen value changed to "No Answer" .. It doesn't remain saved or call my last saved value. My First Image when I select Value and save </p> <p><a href="https://i.stack.imgur.com/QYYse.jpg" rel="nofollow nore...
I'm trying to save value in Dialogfragment with other options. Once it saved but If I Reopen Dialogfragment screen value changed to "No Answer" .. It doesn't remain saved or call my last saved value. My First Image when I select Value and save When I reopen my dialog box Dialog [CODE] Activity [CODE]
java|android|kotlin
1
2020-02-07T12:08:56.780Z
2,020
2
12
4
446
2
301
70
3
2
true
false
false
false
false
false
low
60,113,226
Using AsyncTask to run htttp requests on interval in Android
<p>I am trying to run a method every an interval which performs a POST request to the server but it fails right in execution with this error message: <code>android.os.NetworkOnMainThreadException</code>, which as I understood is about running a network function in the main thread, however, i have no idea to implement A...
I am trying to run a method every an interval which performs a POST request to the server but it fails right in execution with this error message: android.os.NetworkOnMainThreadException , which as I understood is about running a network function in the main thread, however, i have no idea to implement AsyncTask in my ...
java|android|post|android-asynctask|httprequest
0
2020-02-07T12:09:11.200Z
2,020
2
12
4
32
0
372
60
5
1
true
true
false
false
false
false
zero
60,113,339
Apply changes to all items of recyclerview
<p>I have a recyclerview in my app in which list of videos are playing. Each item of recyclerview have a "Mute" button. I want when i click on Mute button of any item all the other Mute buttons on other items also change to "UnMute". Something like "apply one change to all item on one click". Please help</p>
I have a recyclerview in my app in which list of videos are playing. Each item of recyclerview have a "Mute" button. I want when i click on Mute button of any item all the other Mute buttons on other items also change to "UnMute". Something like "apply one change to all item on one click". Please help
android-recyclerview|android-viewholder
0
2020-02-07T12:16:22.623Z
2,020
2
12
4
102
0
302
42
2
0
false
true
false
false
false
false
zero
60,113,407
Are there any real benefits in adopting reactive programming for UI elements on Android?
<p>I'm trying to adopt reactive observer pattern in my project and came across <a href="https://github.com/JakeWharton/RxBinding" rel="nofollow noreferrer">RxBinding</a> library. Some claim the benefits of reactive UI implementation pattern as the following:</p> <ul> <li>Less boilerplate code</li> <li>Consistent patte...
I'm trying to adopt reactive observer pattern in my project and came across RxBinding library. Some claim the benefits of reactive UI implementation pattern as the following: Less boilerplate code Consistent pattern And a more readable code But I was wondering if there are any other benefits like a more fluid UI, bette...
java|android|reactive-programming|reactiveui
3
2020-02-07T12:20:27.437Z
2,020
2
12
4
528
1
849
88
4
0
false
false
false
false
false
false
low
60,113,463
How to scroll page with recyclerview and other items on page
<p>In xml layout i have one recycler view. cardview on top of recyclerview. so how to scroll both items at same time.</p>
In xml layout i have one recycler view. cardview on top of recyclerview. so how to scroll both items at same time.
android|android-recyclerview
0
2020-02-07T12:23:43.480Z
2,020
2
12
4
67
3
114
60
2
0
false
false
false
false
false
false
zero
60,113,588
best ways to download files on Android programmatically?
<p>I'm creating an app in which file downloading is going to happen. I know about asyncTask, Volley and download Manager. Download Manager is not working on redirection, so I'm thinking to use something else. What are the best ways to download the files pragmatically.</p>
I'm creating an app in which file downloading is going to happen. I know about asyncTask, Volley and download Manager. Download Manager is not working on redirection, so I'm thinking to use something else. What are the best ways to download the files pragmatically.
android|download|android-download-manager
0
2020-02-07T12:31:36.923Z
2,020
2
12
4
975
1
265
56
3
0
false
false
false
false
false
false
zero
60,113,607
How to extract an ISO file and then repack it back into a working ISO file?
<p><strong>What do I want to do?</strong></p> <p>I want to extract ISO file and edit the files in it then repack it back into an ISO file. (As you have already read)</p> <p><strong>Why do I want to do that?</strong></p> <p>I wanna start modding PSP ISOs and for this I have to play with the games resources, assets an...
What do I want to do? I want to extract ISO file and edit the files in it then repack it back into an ISO file. (As you have already read) Why do I want to do that? I wanna start modding PSP ISOs and for this I have to play with the games resources, assets and everything. But for doing so I have to extract the ISO of t...
android|windows|ubuntu|iso|mod
1
2020-02-07T12:33:09Z
-1
-1
-1
-1
1,406
1
655
75
5
0
false
false
false
false
false
false
low
60,113,692
Navigation drawer just following one instruction
<p>I am using a navigation drawer and want it to do different activities for different cases. I am using the switch method to implement the activities. I have implemented 3 switch cases but however, it keeps doing the case 3 instead of case 2. Here is my code that i am using:</p> <pre><code> PrimaryDrawerItem item1...
I am using a navigation drawer and want it to do different activities for different cases. I am using the switch method to implement the activities. I have implemented 3 switch cases but however, it keeps doing the case 3 instead of case 2. Here is my code that i am using: [CODE]
android
1
2020-02-07T12:38:28.100Z
2,020
2
12
4
27
1
280
48
1
1
true
false
false
false
false
false
low
60,114,129
Web3j-Cli does not generate correct java methods for view solc methods
<p>I would really appreciate some help with this...</p> <p>I have generated java smart contract wrappers for two smart contracts (SheepHelper and SheepFactory). When I try to use these methods in android I can only return TransactionReciept objects (Even for view functions)</p> <p>Because of this I cannot read any da...
I would really appreciate some help with this... I have generated java smart contract wrappers for two smart contracts (SheepHelper and SheepFactory). When I try to use these methods in android I can only return TransactionReciept objects (Even for view functions) Because of this I cannot read any data contained in the...
android|ethereum|solidity|smartcontracts|web3-java
2
2020-02-07T13:05:28.930Z
2,020
2
13
4
956
1
826
70
5
4
true
false
false
false
false
false
low
60,114,165
barcodescanner scans on empty table etc Android
<p>Hello I am using bar code scanner library <a href="https://github.com/dm77/barcodescanner" rel="nofollow noreferrer">https://github.com/dm77/barcodescanner</a>, but I am facing problem when ever I scan on my table for 10- 15 seconds it scans and also give me result randomly with bar code type "UPC_E,EAN_13 and so on...
Hello I am using bar code scanner library https://github.com/dm77/barcodescanner , but I am facing problem when ever I scan on my table for 10- 15 seconds it scans and also give me result randomly with bar code type "UPC_E,EAN_13 and so on", please guide me how to scan on barcode only not on empty things This is how I ...
android|barcode-scanner
-1
2020-02-07T13:08:30.397Z
2,020
2
13
4
135
1
1,013
47
2
2
true
false
false
false
false
true
negative
60,114,167
LinearLayout changing spinner's height unevenly
<p>I am using a spinner in my project and I upload your information from the database. So far so good, however, in execution the spinner always has its height greater than that of the other components. I looked for several situations here on the stack about how to distribute components equally, but my spinner is stubbo...
I am using a spinner in my project and I upload your information from the database. So far so good, however, in execution the spinner always has its height greater than that of the other components. I looked for several situations here on the stack about how to distribute components equally, but my spinner is stubborn ...
android|spinner|android-linearlayout
0
2020-02-07T13:08:35.073Z
2,020
2
13
4
72
2
683
47
3
3
true
false
false
false
false
false
zero
60,114,170
Disabling screenshots and screen recording programmatically
<p>I want to block the screen recording and screen shot capturing for the videos that are being played in my app. I have used <a href="https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#FLAG_SECURE" rel="nofollow noreferrer">FLAG_SECURE</a>, which doesn't allow to take screen shot but ...
I want to block the screen recording and screen shot capturing for the videos that are being played in my app. I have used FLAG_SECURE , which doesn't allow to take screen shot but we could record the video though it shows a blank screen but audio is recorded. Is there a way that I can also prevent the audio from being...
java|android|kotlin
2
2020-02-07T13:08:51.897Z
2,020
2
13
4
326
0
330
59
3
0
false
true
false
false
false
false
low
60,114,352
Broadcast receiver is not working on Ice cream sandwitch 4.0.3
<p>I want to start service on reboot of the device.</p> <p>First I used broadcast receiver.It worked on my android phone having version 7. But I want to implement it on Xixun controller which is android based having version 4.0.3</p> <p>Broadcast receiver did not work. I have gone through reading that, for API levels...
I want to start service on reboot of the device. First I used broadcast receiver.It worked on my android phone having version 7. But I want to implement it on Xixun controller which is android based having version 4.0.3 Broadcast receiver did not work. I have gone through reading that, for API levels below 26, one shou...
android|service|broadcastreceiver|android-reboot
0
2020-02-07T13:19:35.627Z
2,020
2
13
4
34
0
787
62
4
1
true
true
false
false
false
false
zero
60,114,454
Android dependency 'com.google.firebase:firebase-iid' has different version for the compile (19.0.0) and runtime (20.0.1) classpath
<p>An error occurs when trying to build an Android application with Flutter.</p> <p>I've tried this solution but it doesn't work.</p> <p>I want a hint to solve it.</p> <pre><code>FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:preDebugBuild'. &gt; Android dependency 'com....
An error occurs when trying to build an Android application with Flutter. I've tried this solution but it doesn't work. I want a hint to solve it. [CODE]
android|firebase|flutter|dart
1
2020-02-07T13:26:06.870Z
2,020
2
13
4
391
2
153
131
4
1
true
false
false
false
false
false
low
60,114,621
The activity option is not appearing under New<File. hence not able to add a new activity to my project
<p><a href="https://i.stack.imgur.com/g1ZQS.png" rel="nofollow noreferrer">the problem here starts from the File>New and then we have options like new module and project but no activity hence not able to create activities </a></p>
the problem here starts from the File>New and then we have options like new module and project but no activity hence not able to create activities
android-studio|android-activity|configuration
-1
2020-02-07T13:37:05.857Z
2,020
2
13
4
17
1
146
103
3
0
false
false
false
false
false
true
negative
60,114,642
NotifyService.Java class is not getting invoked at all
<p>Starting from MedicineInfoActivity.java :- onCreate function, I have called the <code>scheduleClient.doBindService();</code>.</p> <p>MedicineInfoActivity.java onPostExecute function I have called the <code>scheduleClient.setAlarmForNotification(c);</code>.</p> <p>When I run my code, all the java files are getting ...
Starting from MedicineInfoActivity.java :- onCreate function, I have called the scheduleClient.doBindService(); . MedicineInfoActivity.java onPostExecute function I have called the scheduleClient.setAlarmForNotification(c); . When I run my code, all the java files are getting executed (verified with break points). Howe...
java|android
1
2020-02-07T13:39:06.713Z
2,020
2
13
4
37
0
458
54
2
1
true
true
false
false
false
false
low
60,114,688
Fading on custom scrollview
<p>I created a custom scroll view that I use for various reasons. I'm trying to apply a fading edge to it but I can't get it to work; it's working fine on standard scroll views. This is how I use my custom scroll view:</p> <pre><code>&lt;com.myapp.app.MyCustomScrollView android:id="@+id/myscustomscrollview" andr...
I created a custom scroll view that I use for various reasons. I'm trying to apply a fading edge to it but I can't get it to work; it's working fine on standard scroll views. This is how I use my custom scroll view: [CODE] I tried to add fading through the XML like this: [CODE] and it didn't work, so I tried by code: [...
java|android|scrollview
0
2020-02-07T13:42:40.497Z
2,020
2
13
4
54
1
434
27
3
4
true
false
false
false
false
false
zero
60,114,740
Multiline editing in Android Studio
<p>Is it possible to enable multiline editing like in <a href="https://youtu.be/2P4x53CUeiE?t=43" rel="noreferrer">Notepad++</a> or <a href="https://stackoverflow.com/a/30039968/4313030">Visual Studio Code</a>?</p> <p>In these software you can create multiple cursor carets by holding <kbd>Alt</kbd> + <kbd>Shift</kbd> a...
Is it possible to enable multiline editing like in Notepad++ or Visual Studio Code ? In these software you can create multiple cursor carets by holding Alt + Shift and selecting multiple lines with the mouse or the cursor keys.
android-studio
6
2020-02-07T13:46:27.833Z
2,020
2
13
4
5,648
2
227
35
1
0
false
false
true
false
false
false
medium
60,114,857
Trying to play an RTMP stream using ExoPlayer
<p>I have this code:</p> <pre><code>SimpleExoPlayer player = ExoPlayerFactory.newSimpleInstance(this); PlayerView playerView = findViewById(R.id.simple_player); playerView.setPlayer(player); RtmpDataSourceFactory rtmpDataSourceFactory = new RtmpDataSourceFactory(); MediaSource videoSource = new Progressi...
I have this code: [CODE] This is my graddle file: [CODE] I get a crash with this stacktrace: [CODE] I have followed tutorials, and searched the net to see if someone has the same problem that I do, with no result. Any guide? Thank you. EDIT: After adding the code Martin told me, I am receiving this now: [CODE]
android|video-streaming|rtmp|exoplayer
2
2020-02-07T13:53:48.480Z
2,020
2
13
4
3,006
1
311
45
4
4
true
false
true
false
false
false
low
60,114,890
Phone camera still active after startActivityForResult with Camera intent
<p>I took picture by opening the phone camera using camera intent</p> <pre><code>Intent intent = new Intent("android.media.action.IMAGE_CAPTURE"); intent.putExtra(MediaStore.EXTRA_OUTPUT, fileProvider); intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_WRITE_URI_PERMISSION); startActivityForRes...
I took picture by opening the phone camera using camera intent [CODE] It worked fine, I got the photo so taken. The problem is that after a while, even when the application is not in focus, I get a notification that the Camera is idle. What could be the cause? The Camera doesn't close
java|android
0
2020-02-07T13:55:45.833Z
2,020
2
13
4
27
0
285
73
2
1
true
true
false
false
false
false
zero
60,114,904
How can I build two Kivy apps in the same directory / environment / venv?
<p>I'm playing with Kivy, and it's set up so that <code>make</code> will run the program on my linux box, and <code>make app</code> will build the android version and put it on my phone.</p> <p>I'd like to have a 'test' version and a 'stable' version side by side in the same venv, which I could run with e.g. <code>mak...
I'm playing with Kivy, and it's set up so that make will run the program on my linux box, and make app will build the android version and put it on my phone. I'd like to have a 'test' version and a 'stable' version side by side in the same venv, which I could run with e.g. make stable and make stableapp . But it seems ...
python|android|makefile|kivy
1
2020-02-07T13:57:20.487Z
2,020
2
13
4
26
0
615
73
4
0
false
true
false
false
false
false
low
60,115,146
Shadow at the bottom of recycler view when there are more items to be displayed
<p>I want to show a shadow at the bottom of my recycler view when there are more items to be displayed. I don't want the shadow to be out of the view. I want it inside. This is what i have<a href="https://i.stack.imgur.com/b5yqV.png" rel="nofollow noreferrer">recyclerview</a> The user will not know that he can scroll f...
I want to show a shadow at the bottom of my recycler view when there are more items to be displayed. I don't want the shadow to be out of the view. I want it inside. This is what i have recyclerview The user will not know that he can scroll for more options, and that is why I want to add shadow at the bottom. Something...
android|android-recyclerview
0
2020-02-07T14:13:47.550Z
2,020
2
14
4
157
0
411
79
2
0
false
true
false
false
false
false
zero
60,115,160
Change Splash Screen Color Programmatically in Flutter
<p>launch_background.xml</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;!-- Modify this file to customize your launch splash screen --&gt; &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;item android:drawable="@color/orange" /&gt; &lt;!-- You can insert your o...
launch_background.xml [CODE] styles.xml [CODE] I change the primary color value in the app dynamically and set theme colors for app. How can I send the primary color value here --> <color name="orange">#FF9800</color> Also what should I do for IOS?
android|ios|flutter|splash-screen
2
2020-02-07T14:14:47.840Z
2,020
2
14
4
2,744
2
248
54
4
2
true
false
true
false
false
false
low
60,115,251
How do I switch from one Fragment to another?
<p>I want to display a fragment to the user instead of the current fragment that is shown. </p> <p>I have been messing around with Fragment Managers and Fragment Transactions for days, I don't understand it. Please, somebody, help me in simple English, how to do it. I've been sent code examples and everything, and it...
I want to display a fragment to the user instead of the current fragment that is shown. I have been messing around with Fragment Managers and Fragment Transactions for days, I don't understand it. Please, somebody, help me in simple English, how to do it. I've been sent code examples and everything, and it's extremely ...
android|android-fragments|fragment
-2
2020-02-07T14:20:05.100Z
2,020
2
14
4
1,781
3
564
45
3
2
true
false
false
false
false
true
negative
60,115,273
Flutter app can't run on real device or emulator
<p>I am new at Flutter. I am getting trouble with running flutter project. <br></p> <p><strong>Problem:</strong><br></p> <blockquote> <p>Not applicable for the "main.dart" configuration shown in device selection<a href="https://i.stack.imgur.com/36zxA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.c...
I am new at Flutter. I am getting trouble with running flutter project. Problem: Not applicable for the "main.dart" configuration shown in device selection After Running the project shown bellow exception in the console. [CODE] Plugin For Flutter and Dart installed latest version. By running flutter doctor in cmd show ...
android|flutter|dart|android-emulator
1
2020-02-07T14:21:20.087Z
2,020
2
14
4
2,936
2
431
48
4
2
true
false
true
false
false
false
low
60,115,371
send file attachment stored in internal storage
<p>I have a csv file stored in internal storage, under Download folder in Android device. I would like to attach this file and send it via email using intent. However, the app keeps closing itself. Below is the code:</p> <pre><code> File myDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTOR...
I have a csv file stored in internal storage, under Download folder in Android device. I would like to attach this file and send it via email using intent. However, the app keeps closing itself. Below is the code: [CODE] I have the following uses permissions in Manifest: [CODE] Below are errors printed at logcat: [CODE...
android|email|android-intent|email-attachments
1
2020-02-07T14:26:55.673Z
2,020
2
14
4
82
0
346
47
4
3
true
true
false
false
false
false
low
60,115,439
Class not found android.permission.INTERNET Ionic / Android
<p>When I try to launch my application on my smartphone (Samsung Galaxy J5) after the build, my application instantly crash with the following error:</p> <pre><code>java.lang.RuntimeException: Unable to instantiate application android.permission.INTERNET: java.lang.ClassNotFoundException: Didn't find class "android.pe...
When I try to launch my application on my smartphone (Samsung Galaxy J5) after the build, my application instantly crash with the following error: [CODE] I am using Ionic 5.2 with Angular. I however tried to add this to my my config.xml: [CODE] Thank you for you help!
android|cordova|ionic-framework|gradle|android-permissions
0
2020-02-07T14:31:49.920Z
2,020
2
14
4
477
1
268
59
5
2
true
false
false
false
false
false
zero
60,115,444
Android view binding between modules
<p>Does view binding work between modules?</p> <blockquote> <p>How to reproduce: Create 2 modules >>> create layout1 in module1 and create layout2 in module2 >>> Create Fragment1 in module1 with view which will be including layout1, layout2 >>> try to get binding >>> layout1 will work becouse it is in the same modul...
Does view binding work between modules? How to reproduce: Create 2 modules >>> create layout1 in module1 and create layout2 in module2 >>> Create Fragment1 in module1 with view which will be including layout1, layout2 >>> try to get binding >>> layout1 will work becouse it is in the same module as Fragment1, but layout...
android|kotlin|data-binding|module|dependencies
18
2020-02-07T14:32:11.187Z
2,020
2
14
4
2,307
3
730
36
5
1
true
false
false
false
true
false
medium
60,115,484
How to display rating value(Integer) from an API (Google api) using ratings bar in Android (preferably using Kotlin)?
<pre><code> val rating = jsonObject.getInt("rating") </code></pre> <p>for instance, a rating of 4, to be displayed as 4 stars in my view.</p> <p>I am looking for ways to display it programatically as image views or to use Ratingsbar</p>
[CODE] for instance, a rating of 4, to be displayed as 4 stars in my view. I am looking for ways to display it programatically as image views or to use Ratingsbar
java|android|kotlin
2
2020-02-07T14:34:48.080Z
2,020
2
14
4
363
1
162
117
3
1
true
false
false
false
false
false
low
60,115,497
How to remove duplicated contacts from ArrayList
<p>i have a huge problem with duplicated contacts. After sorting array with:</p> <pre><code>Collections.sort(mAllContacts); </code></pre> <p>I'm reading contacts with :</p> <pre><code>ContentResolver cr = mContext.getContentResolver(); Cursor cur = cr.query(ContactsContract.Contacts.CONTENT_URI, ...
i have a huge problem with duplicated contacts. After sorting array with: [CODE] I'm reading contacts with : [CODE] With this way, all contact are retrieved to a list (Local storage, Sim, Gmail etc). I have no problem to remove duplicated contact by name like this: [CODE] but it's not a good practice because some times...
java|android
1
2020-02-07T14:35:36.903Z
2,020
2
14
4
177
2
730
48
2
5
true
false
false
false
false
false
low
60,115,573
What does InputType flag of 180385 represent?
<p>Background: I'm creating a custom system keyboard and I'm using EditorInfo info.inputType in onStartInputView to know if I'm on a password field or not. This generally works, but on the Gmail Android app, the compose block gives me a flag of 180385, which indicates that it's a password field, but it's definitely not...
Background: I'm creating a custom system keyboard and I'm using EditorInfo info.inputType in onStartInputView to know if I'm on a password field or not. This generally works, but on the Gmail Android app, the compose block gives me a flag of 180385, which indicates that it's a password field, but it's definitely not a ...
android
2
2020-02-07T14:40:15.420Z
2,020
2
14
4
53
1
704
45
1
0
false
false
false
false
false
false
low
60,115,608
The method 'forEach' was called on null in my flutter
<p>i have problem with my forEach, dataList is null this my code :</p> <pre><code>Future&lt;List&lt;Widget&gt;&gt; createList()async{ List&lt;Widget&gt; items = new List&lt;Widget&gt;(); String dataString = await DefaultAssetBundle.of(context).loadString("assets/data.json"); List&lt;dynamic&gt; dataJSON = jsonDecode(d...
i have problem with my forEach, dataList is null this my code : [CODE] this my json data : [CODE]
android|json|flutter|dart|hybrid
0
2020-02-07T14:41:56.977Z
2,020
2
14
4
1,473
1
97
53
5
2
true
false
false
false
false
false
zero
60,115,689
Unity3D static splash image scalling options not working
<p>Unity3D Version: 2018.4.8c3 (2018.4.16f1 same problem)</p> <p>I am trying to make a static, full screen splash image for Unity3D Android app. however, I found that the splash image could not scal/resize properly on different resolution android phones. Unity Doc says three different kinds of scalling <a href="https:...
Unity3D Version: 2018.4.8c3 (2018.4.16f1 same problem) I am trying to make a static, full screen splash image for Unity3D Android app. however, I found that the splash image could not scal/resize properly on different resolution android phones. Unity Doc says three different kinds of scalling unity doc : Center (only s...
android|unity3d
1
2020-02-07T14:45:49.367Z
2,020
2
14
4
666
1
1,307
56
2
0
false
false
false
false
false
false
low
60,115,727
How to Navigate back on a navigation Drawer
<p>I have create a navigation drawer with three fragment. I need the home fragment to have a transparent toolbar and the other 2 fragments to have a visible toolbar with title. This work fine as indicated in my code <a href="https://pastebin.com/GVwbhFKk" rel="nofollow noreferrer">here</a> but when the user tries to cl...
I have create a navigation drawer with three fragment. I need the home fragment to have a transparent toolbar and the other 2 fragments to have a visible toolbar with title. This work fine as indicated in my code here but when the user tries to click on the back button of the phone two errors happen. 1)When the user is...
android|android-fragments
2
2020-02-07T14:48:02.093Z
2,020
2
14
4
82
1
574
43
2
1
true
false
false
false
false
false
low
60,115,904
onLocationChanged being called even when map is just moved
<pre><code>locationListener = new LocationListener() { @Override public void onLocationChanged(Location location) { centerOnMapLocation(location,"Your location"); } </code></pre> <p>This method <code>onLocationChanged</code> should be called only when...
[CODE] This method onLocationChanged should be called only when i set location from extented controls in emulator i.e. when the user's location is changed. [CODE] centerOnMapLocation moves the camera to the location of the user. When i click set location from extented controls in emulator, the camera and marker is move...
android|android-maps-v2|android-maps
0
2020-02-07T14:58:40.867Z
2,020
2
14
4
384
1
853
58
3
2
true
false
false
false
false
false
zero
60,115,979
Java.Lang.RuntimeException: Internal error in Firestore (0.6.6-dev), can't connect between my app and firestore project
<p>I am making a project for school and I am trying to connect my app with a cloud firestore project I made. while running my app on debugging I found out it crushes only after it runs through my code. Here's my code:</p> <p>I am getting the instance of my database throgh this line:</p> <pre><code>database = Singleto...
I am making a project for school and I am trying to connect my app with a cloud firestore project I made. while running my app on debugging I found out it crushes only after it runs through my code. Here's my code: I am getting the instance of my database throgh this line: [CODE] this is the Singlton class: [CODE] then...
android|xamarin|google-cloud-firestore
0
2020-02-07T15:02:47.613Z
2,020
2
15
4
138
1
839
119
3
3
true
false
false
false
false
false
zero
60,116,112
Custom progressbar how to
<p>I would like to create a custom rectangular progress bar with white background colour. There is a text centered in the progress bar which defines the height of the progressbar. There is another view with black background colour which grows in width from the left side depending on the progress. I have this but it doe...
I would like to create a custom rectangular progress bar with white background colour. There is a text centered in the progress bar which defines the height of the progressbar. There is another view with black background colour which grows in width from the left side depending on the progress. I have this but it doesn'...
android|android-layout|android-view
2
2020-02-07T15:10:05.760Z
2,020
2
15
4
310
1
449
25
3
2
true
false
false
false
false
false
low
60,116,341
Gradle getting stuck at assembleDebug
<p>I've been working on a Flutter project for the past month. I've been able to run this code successfully up to this point but now it no longer works. I believe this happened after my package manager updated Flutter (running Arch Linux). </p> <p>The output of <code>flutter run --verbose</code>:</p> <pre><code>➜ imp...
I've been working on a Flutter project for the past month. I've been able to run this code successfully up to this point but now it no longer works. I believe this happened after my package manager updated Flutter (running Arch Linux). The output of flutter run --verbose : [CODE] It gets stuck at the last line. I've tr...
android-studio|flutter|android-gradle-plugin
5
2020-02-07T15:22:41.840Z
2,020
2
15
4
1,431
1
928
37
3
3
true
false
false
false
false
false
low
60,116,432
How to work with two or more seek bars on Android
<p>When I implement SeekBar.OnSeekBarChangeListener I have method onProgressChanged (for example), which works with one SeekBar.</p> <p>How can I get this to work with two or more SeekBars?</p> <p>Specifically, this method:</p> <pre><code>@Override public void onProgressChanged(SeekBar seekbar, int progress, boolean...
When I implement SeekBar.OnSeekBarChangeListener I have method onProgressChanged (for example), which works with one SeekBar. How can I get this to work with two or more SeekBars? Specifically, this method: [CODE]
java|android|progress-bar|seekbar
1
2020-02-07T15:27:28.273Z
2,020
2
15
4
239
1
213
49
4
1
true
false
false
false
false
false
low
60,116,435
How to add title on GeoFence circle in google maps?
<p>I am working on Geofence in the android google map. I am able to add GeoFence in Map. I need to add a title of Geofence within the circle or bottom of the circle. I don't want to add a title on Marker.</p> <pre><code>map.addCircle(CircleOptions() .center(reminder.latLng) .radius(radius) .strokeCo...
I am working on Geofence in the android google map. I am able to add GeoFence in Map. I need to add a title of Geofence within the circle or bottom of the circle. I don't want to add a title on Marker. [CODE] for Marker I can use this [CODE] The requirement is to add title inside or bottom of the circle not on marker
android|google-maps|android-geofence
-1
2020-02-07T15:27:31.240Z
2,020
2
15
4
326
1
318
51
3
2
true
false
false
false
false
true
negative
60,116,576
Why it takes so long to download PDF file from google drive in android?
<p>I'm trying to download PDF file from google drive using the code below:</p> <pre><code>try { URL url = new URL(fileUrl); HttpURLConnection urlConnection = (HttpURLConnection)url.openConnection(); urlConnection.connect(); if (urlConnection.getResponseCode() != HttpURL...
I'm trying to download PDF file from google drive using the code below: [CODE] as shown in the code, each iteration in the while loop downloads one mega, but it takes 2650 iteration to download only 2 mega file !!!!!! Any idea how to solve this problem?
android|performance|google-drive-api|google-drive-android-api
0
2020-02-07T15:36:17.807Z
2,020
2
15
4
98
1
253
71
4
1
true
false
false
false
false
false
zero
60,116,647
Android GoogleMaps GroundOverlay Padding
<p>This post is very similar to <a href="https://stackoverflow.com/questions/41606414/limit-camera-only-on-a-ground-overlay-google-map-android-api-v2?rq=1">This</a>, which does not currently have a solution (3 years old)</p> <p>The main issue is that GoogleMaps seems to be adding an unnecessary amount of padding aroun...
This post is very similar to This , which does not currently have a solution (3 years old) The main issue is that GoogleMaps seems to be adding an unnecessary amount of padding around my ground overlay image this doesn't make sense to me since the boundaries are set to the same lat,lngs as the ground overlay. [CODE] I ...
java|android|google-maps|google-maps-api-2|gmsgroundoverlay
2
2020-02-07T15:40:23.963Z
2,020
2
15
4
191
0
647
40
5
1
true
true
false
false
false
false
low
60,116,731
Android Java Build errors
<p>I tried to build my project today, because everything worked fine in Android Studio Intellij on my phone. But now there are two things. the first thing is that the build say:</p> <pre><code>Could not open init remapped class cache for 9bbaqp2sgtpoz1dwcumqbqtxg (C:\Users\Max\.gradle\caches\5.4.1\scripts-remapped\ijr...
I tried to build my project today, because everything worked fine in Android Studio Intellij on my phone. But now there are two things. the first thing is that the build say: [CODE] And the other thing is that in the src/androidTest/java/application/ExampleInstumentedTest is an error with the import: [CODE] After I sea...
java|android|debugging|error-handling|build
0
2020-02-07T15:44:49.667Z
2,020
2
15
4
150
2
378
25
5
2
true
false
false
false
false
false
zero
60,116,871
Android sms broadcast receiver - emoji
<p>I'm writing a small android app which has a broadcast receiver for incoming sms messages. Normal text works just fine, but emoji show up as weird characters ().</p> <p>The relevant code:</p> <pre><code>class SmsReceiver : BroadcastReceiver() { override fun onReceive(context: Context, intent: Intent) { va...
I'm writing a small android app which has a broadcast receiver for incoming sms messages. Normal text works just fine, but emoji show up as weird characters (). The relevant code: [CODE] The message I'm sending to the emulator: What I get in my log file: I/Receiver: Got message  Does anyone know how to get the prop...
android|sms
0
2020-02-07T15:53:44.917Z
2,020
2
15
4
38
1
679
38
2
1
true
false
false
false
false
false
zero
60,116,909
Showing an interstitial ad after a sound has finished
<p>I'm fairly new to android development and learning as I go, please go easy on me... I'm working on a soundboard where I want to wait until after a sound is finished playing before an interstitial ad is displayed, my current code below doesn't initialise the ad:</p> <pre><code>button1 = (findViewById(R.id.button)); ...
I'm fairly new to android development and learning as I go, please go easy on me... I'm working on a soundboard where I want to wait until after a sound is finished playing before an interstitial ad is displayed, my current code below doesn't initialise the ad: [CODE] This is the code that does show the interstitial bu...
java|android
0
2020-02-07T15:55:08.673Z
2,020
2
15
4
41
1
386
53
2
2
true
false
false
false
false
false
zero
60,116,951
How to include nested navigation graph using Kotlin with Android Navigation Component
<p>How can I create a navigation graph which includes another nested graph using Kotlin instead of XML?</p> <p>This is the graph in XML:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;navigation xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/r...
How can I create a navigation graph which includes another nested graph using Kotlin instead of XML? This is the graph in XML: [CODE] What I'm trying to achieve is creating the same graph using Kotlin. I've started with [CODE] however inside the builder lambda there is no method such as include available.
android-architecture-navigation|android-jetpack-navigation
0
2020-02-07T15:58:10.530Z
2,020
2
15
4
1,015
1
306
85
2
2
true
false
false
false
false
false
zero
60,116,952
Sending Data to a CompactLogix PLC from an Android App
<p>Just making a rather simple Time Station app for my company, writing in java, and I'm pretty new to android studio. I have employee names in a string array, but i need those to reference a unique number for each employee, then when pressing a "send" button, that unique number is received by the ethernet module on a...
Just making a rather simple Time Station app for my company, writing in java, and I'm pretty new to android studio. I have employee names in a string array, but i need those to reference a unique number for each employee, then when pressing a "send" button, that unique number is received by the ethernet module on a Com...
android|communication|plc
0
2020-02-07T15:58:10.580Z
2,020
2
15
4
359
1
690
54
3
1
true
false
false
false
false
false
zero
60,117,450
How to write/read a text file from uninstallation-persistent memory in Android 10
<p>I want my app to write a text file to the Documents folder (or any other part of the memory that persists after the app is uninstalled).</p> <p>Up to Android 9 (SDK 28) the Documents folder could be accessed as follows </p> <p><code>Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS);</c...
I want my app to write a text file to the Documents folder (or any other part of the memory that persists after the app is uninstalled). Up to Android 9 (SDK 28) the Documents folder could be accessed as follows Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS); which is now deprecated due ...
android-external-storage|android-10.0|data-persistence|scoped-storage
1
2020-02-07T16:28:18.627Z
2,020
2
16
4
437
1
1,303
81
4
0
false
false
false
false
false
false
low