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,042,193
Room automatically sorts primary key in Android
<p>I have a data class like this</p> <pre><code>public class WeekModel { @PrimaryKey @SerializedName("Id") @Expose private int id; @SerializedName("Name") @Expose private String name; @SerializedName("StartDate") @Expose private String startDate; @SerializedName("EndDate") @Expose private String endDate;} </code></pre...
I have a data class like this [CODE] Then in DAO I have saving and getting methods like this [CODE] i am saving a list of Weeks and then later on retrieving them. So whenever I retrieve them I get the list sorted according to the id which is the primary key. But I don't need a sorted list like that, I need to get the d...
android|sql|android-room
1
2020-02-03T15:22:31.187Z
2,020
2
15
0
534
1
395
47
3
2
true
false
false
false
false
false
low
60,042,202
Android - How to Scroll to Begining or end of ScrollView after Scrolling Stopped?
<p>I'm rather new to java programming and is curently facing a problem with my ScrollView in Android Studio. I would like for the scrollView to either scroll to the beggining or the end of the view after the user has stopped scrolling, depending on where the scrolling is stopped. I've been trying out the setOnScrollCha...
I'm rather new to java programming and is curently facing a problem with my ScrollView in Android Studio. I would like for the scrollView to either scroll to the beggining or the end of the view after the user has stopped scrolling, depending on where the scrolling is stopped. I've been trying out the setOnScrollChange...
java|android|scrollview|onscrolllistener
0
2020-02-03T15:23:09.857Z
2,020
2
15
0
186
1
847
81
4
1
true
false
false
false
false
false
zero
60,042,222
Parse data with Jsoup
<p>I have string that contains this data:</p> <pre><code>&lt;div&gt; &lt;a href='https://www.some.html'&gt; &lt;img src='https://besttv232.jpg' alt='null' title='null' border='0' width='100' height='56'&gt; &lt;/a&gt; &lt;/div&gt; Some text is also over here </code></pre> <p>I need to parse it with Jsoup, I n...
I have string that contains this data: [CODE] I need to parse it with Jsoup, I need the a href url, img url and the data (Some text...) Ive tried with: [CODE]
android|jsoup
0
2020-02-03T15:24:41.803Z
2,020
2
15
0
62
1
158
21
2
2
true
false
false
false
false
false
zero
60,042,244
making algorithm for cut String android
<p>I have received a trame (String contents some information (Product and Price) Like "/tomatos*500/botot*1200/tor*1200") and I need to cut that string to make it items into ArrayList and Product contents ( String product, String Price).</p> <p>Here is a data sample </p> <blockquote> <p>"/<strong>banana*200</stron...
I have received a trame (String contents some information (Product and Price) Like "/tomatos*500/botot*1200/tor*1200") and I need to cut that string to make it items into ArrayList and Product contents ( String product, String Price). Here is a data sample "/ banana*200 / tomatos*7850 / falfoul*10 / Egg*1200 / kiwi*100...
android|string|algorithm
0
2020-02-03T15:25:52.680Z
2,020
2
15
0
35
1
525
39
3
1
true
false
false
false
false
false
zero
60,042,272
RecyclerView in BottomSheet is not visible
<p>I want to create a <code>bottomSheet</code>, where I have <code>recyclerView</code>. The problem is, that it doesn't show my <code>recyclerview</code>. Where the problem can be? This is my <code>bottomSheet</code> class.</p> <pre><code>public class MyBottomSheetDialogFragment extends BottomSheetDialogFragment { pu...
I want to create a bottomSheet , where I have recyclerView . The problem is, that it doesn't show my recyclerview . Where the problem can be? This is my bottomSheet class. [CODE] And here is the class, where I show the dialog. [CODE]
java|android|android-recyclerview|bottom-sheet
1
2020-02-03T15:27:18.540Z
2,020
2
15
0
712
2
233
42
4
2
true
false
false
false
false
false
low
60,042,343
java.lang.IndexOutOfBoundsException in Android Java
<p>I am creating a training app that will include games. One of the games is a true or False quiz, where the user clicks true or false when a statement appears on screen.</p> <p>Some of the statements work when I answer true or false but after a couple of statements, the app is terminated with an Index out of bounds e...
I am creating a training app that will include games. One of the games is a true or False quiz, where the user clicks true or false when a statement appears on screen. Some of the statements work when I answer true or false but after a couple of statements, the app is terminated with an Index out of bounds error. I hav...
java|android|indexoutofboundsexception
-2
2020-02-03T15:31:52.060Z
2,020
2
15
0
601
1
545
51
3
4
true
false
false
false
false
true
negative
60,042,437
Kotlin Android MVVM RecyclerView Don't show any data
<p>I'm trying to implement MVVM architecture using ROOM. I've got database that hold my data. But it won't show it in RecyclerView</p> <p>What I'm doing wrong? I see RecyclerView but without any data.</p> <p>I,ve been looking of issues but I don't see where is the problem.</p> <p>Activity with recycyclerview:</p> <...
I'm trying to implement MVVM architecture using ROOM. I've got database that hold my data. But it won't show it in RecyclerView What I'm doing wrong? I see RecyclerView but without any data. I,ve been looking of issues but I don't see where is the problem. Activity with recycyclerview: [CODE] RecyclerView adapter: [COD...
android|kotlin|mvvm|android-recyclerview|android-mvvm
1
2020-02-03T15:37:14.100Z
2,020
2
15
0
424
0
322
52
5
2
true
true
false
false
false
false
low
60,042,500
Suggest a Future builder method for the following json
<pre><code>{ "totalHits": 500, "hits": [ { "largeImageURL": "https://pixabay.com/get/52e3d6414352af14f6da8c7dda79367b153fdee254506c4870277bd3934ec45ebf_1280.jpg", "webformatHeight": 424, "webformatWidth": 640, "likes": 11, "imageWidth": 4456, "id": 4332903, "user_id": 1151065, "views": 697, "comments": 14, "pageURL": "...
[CODE] The API I'm fetching returns json value like this. I wrote the following code to extract the data, it works if I code it like this and the widget builds, but with this error before the widget loads [CODE] error image But when I use FutureBuilder method, it fails to create the widget. It would be helpful if someo...
android|json|api|flutter|dart
0
2020-02-03T15:40:54.130Z
2,020
2
15
0
45
0
391
54
5
2
true
true
false
false
false
false
zero
60,042,508
Flutter : Exception in thread "main" java.net.SocketException: Connection reset
<pre><code>Launching lib\main.dart on Android SDK built for x86 in debug mode... Running Gradle task 'assembleDebug'... Exception in thread "main" java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:210) at java.net.SocketInputStream.read(SocketInputStream.java:1...
[CODE] I am getting this error while debugging sample app of flutter. Flutter doctor is working well. I have tried reinstalling android studio and also changed my environment variables according to some Youtube videos. when i run flutter doctor from command prompt it works fine and shows no issues.
java|android|flutter
0
2020-02-03T15:41:27.537Z
2,020
2
15
0
1,685
1
299
79
3
1
true
false
false
false
false
false
zero
60,042,615
One List of Users for 2 TabItem
<p>I have a <code>List</code> of <code>Users</code> with 2 <code>TabItem</code>. The first <code>TabItem</code> is <code>MyUsers</code> and the second one is <code>Favorites</code>. I use a <code>foreach</code> loop to sort the <code>Users</code>. Now, that I want, is to display the <code>Users</code> <code>List</code>...
I have a List of Users with 2 TabItem . The first TabItem is MyUsers and the second one is Favorites . I use a foreach loop to sort the Users . Now, that I want, is to display the Users List into MyUsers and after my loop display the sorted Users into Favorites . UserFragment.java [CODE]
java|android|android-tablayout|tabitem
0
2020-02-03T15:47:25.047Z
2,020
2
15
0
71
1
288
31
4
1
true
false
false
false
false
false
zero
60,042,764
How can we add android nugets in Xamarin.forms and not only in Xamarin.Android
<p>I am trying to install the below NuGet in a Xamarin Forms Project(and not on Xamarin.Android project)</p> <ul> <li>Xamarin.Android.Support.core.Utiles </li> <li>Xamarin.Android.Support.Animated.Vector.Drawable</li> </ul> <p>I want to access the <code>MediaProjectionManager</code> in my Xamarin project class witho...
I am trying to install the below NuGet in a Xamarin Forms Project(and not on Xamarin.Android project) Xamarin.Android.Support.core.Utiles Xamarin.Android.Support.Animated.Vector.Drawable I want to access the MediaProjectionManager in my Xamarin project class without platform-specific conditions. Please help me with thi...
xamarin|xamarin.forms|xamarin.android
0
2020-02-03T15:55:24.990Z
2,020
2
15
0
120
1
783
78
3
2
true
false
false
false
false
false
zero
60,042,912
Android ListView with SearchView, Filtered search results do not direct ti the right intent
<p>First of all I am a beginner so please bear with me for a moment here.</p> <p>I am trying to create an app with a list of items. When you click on the item you go to a new corresponding activity. When I added a SearchView to filter the list items, the problem now with the filtered results when clicked they do not ...
First of all I am a beginner so please bear with me for a moment here. I am trying to create an app with a list of items. When you click on the item you go to a new corresponding activity. When I added a SearchView to filter the list items, the problem now with the filtered results when clicked they do not direct to th...
android|listview|position|searchview|onitemclicklistener
1
2020-02-03T16:03:54.430Z
2,020
2
16
0
35
2
546
91
5
1
true
false
false
false
false
false
low
60,042,974
Geolocation.getCurrentPosition return wrong coordinates (0;0)
<p>I try to get user location (with permission step no problem), but Google approach with his package <a href="https://github.com/Agontuk/react-native-geolocation-service" rel="nofollow noreferrer">react-native-geolocation-service</a> and method getCurrentPosition return this:</p> <p><code>{&quot;coords&quot;: {&quot;a...
I try to get user location (with permission step no problem), but Google approach with his package react-native-geolocation-service and method getCurrentPosition return this: {&quot;coords&quot;: {&quot;accuracy&quot;: 3, &quot;altitude&quot;: 0, &quot;heading&quot;: 0, &quot;latitude&quot;: 0, &quot;longitude&quot;: 0...
android|react-native
1
2020-02-03T16:07:31.240Z
2,020
2
16
0
1,016
2
597
61
2
1
true
false
false
false
false
false
low
60,043,093
Android Notification: How to show sticky/updating alarm
<p>I have an app where I'd like to show a notification at the top of the screen, with the time updating, and have it stay there until the user dismisses it or presses an action.</p> <p>My question is, how do I have the notification stay at the top of the screen in that manner and is it updatable as well?</p> <p><img ...
I have an app where I'd like to show a notification at the top of the screen, with the time updating, and have it stay there until the user dismisses it or presses an action. My question is, how do I have the notification stay at the top of the screen in that manner and is it updatable as well?
android|android-notifications|android-alarms
3
2020-02-03T16:14:16.920Z
2,020
2
16
0
1,623
2
295
55
3
0
false
false
false
false
false
false
low
60,043,196
Android Studio shortcut end line with semicolon
<p>What is the shortcut to end line with a semicolon in Android Studio? </p> <p><a href="https://i.stack.imgur.com/0SB3C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0SB3C.png" alt="enter image description here"></a></p> <p>One could click <code>End</code> and type the semicolon, but that would...
What is the shortcut to end line with a semicolon in Android Studio? One could click End and type the semicolon, but that would be a workaround. I'm sure that there must a direct shortcut to end a line whichever the claret's position in said line, since Android Studio displays the offending un-ended line with a placeho...
android|android-studio
1
2020-02-03T16:20:36.123Z
2,020
2
16
0
230
1
343
47
2
0
false
false
false
false
false
false
low
60,043,247
Using the repository functions in the viewModel with coruntineScope in android Room
<p>Working with Androind and Room for the first time, and i was able to follow a few codelabs and tutorials to achieve inserting and showing a list of my entities, but i cant seem to be able to use my other Repository methods in my ViewModel due to a type mismatch, here is my ViewModel file </p> <pre><code>class Cust...
Working with Androind and Room for the first time, and i was able to follow a few codelabs and tutorials to achieve inserting and showing a list of my entities, but i cant seem to be able to use my other Repository methods in my ViewModel due to a type mismatch, here is my ViewModel file [CODE] and im trying to add a m...
android|kotlin|android-room
0
2020-02-03T16:23:12.840Z
2,020
2
16
0
51
1
715
83
3
4
true
false
false
false
false
false
zero
60,043,333
AppiumDriverLocalService auto download chrome
<p>I have been trying to get started with appium by integrating it into a bdd framework so i can test a hybrid web app. However I run into problems when switching the context to "WEBVIEW_chrome" because the correct chromedriver is not installed. </p> <p><a href="http://appium.io/docs/en/writing-running-appium/web/chro...
I have been trying to get started with appium by integrating it into a bdd framework so i can test a hybrid web app. However I run into problems when switching the context to "WEBVIEW_chrome" because the correct chromedriver is not installed. http://appium.io/docs/en/writing-running-appium/web/chromedriver/ states that...
java|selenium-chromedriver|appium|appium-android
0
2020-02-03T16:27:54.193Z
2,020
2
16
0
502
3
782
45
4
1
true
false
false
false
false
false
zero
60,043,430
How to read a PDF file in external browser in Android
<p>I have an app which shows the client's website in a webview. Said website <em>may</em> show links to PDF documents, which I get to download with this code snippet</p> <pre><code>webView?.setDownloadListener { url, userAgent, contentDisposition, mimetype, contentLength -&gt; val i = Intent(Intent.ACTION_...
I have an app which shows the client's website in a webview. Said website may show links to PDF documents, which I get to download with this code snippet [CODE] However, this opens the external browser in the last visited website, and I'd like for it to open the PDF file itself or, at least, give an option to read it o...
android|kotlin|android-webview
1
2020-02-03T16:34:25.127Z
2,020
2
16
0
285
1
353
53
3
1
true
false
false
false
false
false
low
60,043,556
How to implement a navigation controller within a child fragment?
<p>I have a navigation controller fragment defined inside my activity_main that has a match height and width of parent. So when I navigate between fragments, it replaces the entire screen. Now say I navigate to a fragment that loads up a material card. I want that material card to have its own navigation controller tha...
I have a navigation controller fragment defined inside my activity_main that has a match height and width of parent. So when I navigate between fragments, it replaces the entire screen. Now say I navigate to a fragment that loads up a material card. I want that material card to have its own navigation controller that t...
android|kotlin|android-navigation|android-navigation-graph
1
2020-02-03T16:42:24.353Z
2,020
2
16
0
1,024
1
711
65
4
2
true
false
false
false
false
false
low
60,043,661
How to see which div the cursor is on in JavaScript for mobile devices?
<p>I am working on a game, and I want to see which <code>div</code> the cursor is over using JavaScript. This is the very early access version of the page: <a href="https://gerhardadler.no/make_it_rain.html" rel="nofollow noreferrer">https://gerhardadler.no/make_it_rain.html</a></p> <p>This is the thing i currently ha...
I am working on a game, and I want to see which div the cursor is over using JavaScript. This is the very early access version of the page: https://gerhardadler.no/make_it_rain.html This is the thing i currently have that works for pc's. HTML: [CODE] JavaScript: [CODE] Does anyone have any suggestions?
javascript|android|html|ios|mobile
0
2020-02-03T16:48:49.680Z
2,020
2
16
0
32
2
303
71
5
2
true
false
false
false
false
false
zero
60,043,673
How run doOnSubscribe on MainThread in this case
<p>I want to execute doOnSubscribe block on the main thread. I'm trying this: </p> <pre><code>fun test(){ Single .fromCallable { print(Thread.currentThread()) getCachedProfile() } .observeOn(AndroidSchedulers.mainThread()) .flatMap { print(Thread....
I want to execute doOnSubscribe block on the main thread. I'm trying this: [CODE] doOnSubscribe run on the main thread, but .getProfile() run on UI thread too and I get an error NetworkOnMainThreadException. How set the schedulers so doOnSubscribe is executed on the main thread and getProfile() run on the IO thread
android|networkonmainthread
0
2020-02-03T16:49:48.657Z
2,020
2
16
0
198
1
316
48
2
1
true
false
false
false
false
false
zero
60,043,707
Manifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller than version 14
<p>I've seen many topics similar to these, but I still didn't succeed solving it.</p> <p>My gradle is like this:</p> <pre><code> defaultConfig { applicationId "com.mobi.mobilitapp" minSdkVersion 19 targetSdkVersion 26 multiDexEnabled = true </code></pre> <p>I also tried modifying t...
I've seen many topics similar to these, but I still didn't succeed solving it. My gradle is like this: [CODE] I also tried modifying the AndroidManifest.xml as in other posts ppl say, but I still got other problems
android
0
2020-02-03T16:52:31.360Z
2,020
2
16
0
66
0
214
83
1
1
true
true
false
false
false
false
zero
60,043,722
Kotlin: Load dict (hashmap) that contains String and Tuple from file
<p>Hey fellow programmers,</p> <p>I recently jumped from my normal python programming to Kotlin programming in Android Studio.</p> <p>In python I have generated some dictionaries that contain strings as keys and tuples as values. These tuples theirselves then contain an int, two strings and again two ints. Imagine th...
Hey fellow programmers, I recently jumped from my normal python programming to Kotlin programming in Android Studio. In python I have generated some dictionaries that contain strings as keys and tuples as values. These tuples theirselves then contain an int, two strings and again two ints. Imagine this simplified dict:...
python|android-studio|dictionary|kotlin|hashmap
3
2020-02-03T16:53:03.530Z
2,020
2
16
0
5,991
2
1,161
68
5
1
true
false
true
false
false
false
low
60,043,933
Code to replace or remove existing fragment on backstack not working
<p>I'm using the <code>Actionbar</code> and I have an icon in the appbar which when clicked should go to <code>CategoryFragment</code>. But I want to make it so that if that fragment is already on the backstack, it should either remove it and then add a new instance of <code>CategoryFragment</code> to the backstack or ...
I'm using the Actionbar and I have an icon in the appbar which when clicked should go to CategoryFragment . But I want to make it so that if that fragment is already on the backstack, it should either remove it and then add a new instance of CategoryFragment to the backstack or replace it. I tried the code below, but i...
android|android-fragments|android-actionbar|android-jetpack-navigation
1
2020-02-03T17:05:59.433Z
2,020
2
17
0
851
1
730
68
4
3
true
false
false
false
false
false
low
60,043,944
Does iOS has In App updates like feature as of Android?
<p>I have developed a Mobile App for both Android and iOS. Now every week we have 2 updates to be released. Most of the times Android and iOS users stops auto updates for the apps. But if there are critical updates or bug fixes or new features then we must ask user to update the app for better usability. For this I hav...
I have developed a Mobile App for both Android and iOS. Now every week we have 2 updates to be released. Most of the times Android and iOS users stops auto updates for the apps. But if there are critical updates or bug fixes or new features then we must ask user to update the app for better usability. For this I have f...
android|ios|iphone|reactjs|firebase
9
2020-02-03T17:07:17.210Z
2,020
2
17
0
5,241
2
953
55
5
0
false
false
true
false
false
false
medium
60,044,036
How to get the I.P Address and Port Number of Zebra Printer?
<p>am trying to connect to Zebra Printer, Model GK420t, via Android Application in order sendFileContents to the Zebra printer, using the ZSDK, where i need to use the TCPConnection() constructor, in which requires the I.P Address and Port number of the printer as parameters, but i can't figure out how to get the I.P A...
am trying to connect to Zebra Printer, Model GK420t, via Android Application in order sendFileContents to the Zebra printer, using the ZSDK, where i need to use the TCPConnection() constructor, in which requires the I.P Address and Port number of the printer as parameters, but i can't figure out how to get the I.P Addr...
android|printing|ip|zebra-printers|zpl
2
2020-02-03T17:13:43.317Z
2,020
2
17
0
8,180
2
488
60
5
0
false
false
true
false
false
false
low
60,044,152
My application does not access/create my pre-populated database, instead it creates an empty database
<p>I am making a quiz application. I've made a pre-populated database including questionNumber, subject, question, correctAnswer, wrongAnswer1, wrongAnswer2, and wrongAnswer3 as its columns (view the picture at the bottom). I was testing if querying a database will work, so I made a class called TestActivity with its c...
I am making a quiz application. I've made a pre-populated database including questionNumber, subject, question, correctAnswer, wrongAnswer1, wrongAnswer2, and wrongAnswer3 as its columns (view the picture at the bottom). I was testing if querying a database will work, so I made a class called TestActivity with its corr...
java|android|database|create-table|sqliteopenhelper
0
2020-02-03T17:20:36.723Z
2,020
2
17
0
55
1
1,410
101
5
2
true
false
false
false
false
false
zero
60,044,231
dark mode implementation crashing on a real device, but not on a virtual device
<p>I am defined theme change inside a list preference as (inflated in SettingsActivity):</p> <pre><code> &lt;ListPreference app:defaultValue="default" app:entries="@array/themes_labels" app:entryValues="@array/themes_color" app:key="@string/Theme" app:useSimpleSumm"theme" ...
I am defined theme change inside a list preference as (inflated in SettingsActivity): [CODE] and the arraus are defined as: [CODE] Now, though I tried to follow dark theme developer guide , I did not understand variables like configuration.uiMode , and hence I have implemented as (in MainActivity): [CODE] While this is...
android|android-theme|android-dark-theme
0
2020-02-03T17:24:49.137Z
2,020
2
17
0
771
0
495
79
3
3
true
true
false
false
false
false
zero
60,044,336
Xamarin Android - System.DllNotFoundException: android-pocketsphinx.so in release mode
<p>I am working on a Xamarin Forms Android app and using native libraries provided by 'pocketsphinx'.</p> <p>Application works well in Debug mode but its throwing 'DllNotFoundException' when I run the application in Release mode.</p> <p>The .so files are under lib/ folders and the build action set to 'AndroidNativeLi...
I am working on a Xamarin Forms Android app and using native libraries provided by 'pocketsphinx'. Application works well in Debug mode but its throwing 'DllNotFoundException' when I run the application in Release mode. The .so files are under lib/ folders and the build action set to 'AndroidNativeLibrary'. Any inputs ...
android|xamarin|xamarin.forms|xamarin.android|pocketsphinx
0
2020-02-03T17:33:04.247Z
2,020
2
17
0
247
0
352
86
5
0
false
true
false
false
false
false
zero
60,044,458
Where to store data locally to be persistent and safe using React Native without using cloud services?
<p>This is not a question on what storing system use, but is a question on what are the possible strategies to store data locally on a mobile platform (iOS and Android).</p> <p>I wouldn't use AsyncStorage because data is not encrypted, I see that Realm could be a good candidate, however I am open to other alternatives...
This is not a question on what storing system use, but is a question on what are the possible strategies to store data locally on a mobile platform (iOS and Android). I wouldn't use AsyncStorage because data is not encrypted, I see that Realm could be a good candidate, however I am open to other alternatives. My cross-...
android|ios|react-native|local-storage
0
2020-02-03T17:41:35.500Z
2,020
2
17
0
2,150
1
1,723
102
4
0
false
false
false
false
false
false
zero
60,044,465
How to set imageViews to single clicks rather than double
<p>My android app includes a true/false game. The user should click either the true or false image one time and the next statement will appear. I need the user to click the image only once, but it is only allowing for double clicks. </p> <p>Is there anyway to set the clicks to be single rather than double? I have c...
My android app includes a true/false game. The user should click either the true or false image one time and the next statement will appear. I need the user to click the image only once, but it is only allowing for double clicks. Is there anyway to set the clicks to be single rather than double? I have checked that the...
java|android
0
2020-02-03T17:42:24.317Z
2,020
2
17
0
42
1
387
57
2
2
true
false
false
false
false
false
zero
60,044,572
How to periodically update the location to Firebase Realtime database?
<p>I am creating a realtime public transport tracking system using Android Studio and Firebase. I have created a toggle button which the user toggle on, the location will start tracking. The problem I have faced is the location data only send one time to the database. But for the apps, the location is tracking normall...
I am creating a realtime public transport tracking system using Android Studio and Firebase. I have created a toggle button which the user toggle on, the location will start tracking. The problem I have faced is the location data only send one time to the database. But for the apps, the location is tracking normally. W...
java|android|firebase-realtime-database
0
2020-02-03T17:49:22.370Z
2,020
2
17
0
849
1
581
70
3
3
true
false
false
false
false
false
zero
60,044,646
c# Xamarin AutoCompleteTextView shows nothing
<p>In Xamarin Android, I'm trying to bind an object to AutocompleteTextView to show name/surname, but nothing is displayed into the AutocompleteTextView.. (with a ListView instead of AutocompleteTextView everything works) Into AutocompleteTextView i would like to show the name a Player from a List.</p> <pre><code>[Act...
In Xamarin Android, I'm trying to bind an object to AutocompleteTextView to show name/surname, but nothing is displayed into the AutocompleteTextView.. (with a ListView instead of AutocompleteTextView everything works) Into AutocompleteTextView i would like to show the name a Player from a List. [CODE] CustomAdapter [C...
c#|android|xamarin|autocompletetextview
0
2020-02-03T17:55:29.263Z
2,020
2
17
0
37
1
424
45
4
7
true
false
false
false
false
false
zero
60,044,935
Xamarin.Forms Images not showing
<p>I am developing a <code>Cross-Platform</code> app in Xamarin Visual Studio 2019 and having issues with image display.</p> <p>I am trying to show an image with the following <code>XAML</code> code.</p> <pre><code>&lt;StackLayout Grid.Row="0" Grid.Column="0" Spacing="0" &gt; &lt;Image HorizontalOptions="...
I am developing a Cross-Platform app in Xamarin Visual Studio 2019 and having issues with image display. I am trying to show an image with the following XAML code. [CODE] Problem is image not displaying on either preview or deployed app . I took references from multiple forums including help from StackOverflow but coul...
xamarin|xamarin.forms|xamarin.android|xamarin.ios|visual-studio-2019
2
2020-02-03T18:15:36.320Z
2,020
2
18
0
4,821
2
957
32
5
1
true
false
true
false
false
false
low
60,044,951
Recycleview doesn't appear in a Fragment
<p>I'm trying to get some data from my firebase, so I created recycleview in activity to get the data, and it worked without problem.</p> <p>But now, I added my recycle to a Fragment to get data, and it managed to get the data but I can't see it, the firenase (<strong>on success</strong>) tell me that it work, b...
I'm trying to get some data from my firebase, so I created recycleview in activity to get the data, and it worked without problem. But now, I added my recycle to a Fragment to get data, and it managed to get the data but I can't see it, the firenase ( on success ) tell me that it work, but I can't see the recycleview. ...
java|android|android-fragments|firebase-realtime-database|android-recyclerview
0
2020-02-03T18:16:52.480Z
2,020
2
18
0
74
2
915
40
5
6
true
false
false
false
false
false
zero
60,044,997
Integer.valueOf Arabic number works fine but Float.valueOf the same number gives NumberFormatException
<p>Using Arabic number <code>Integer.valueOf("۱")</code> returns integer 1 but <code>Float.valueOf("۱")</code> or <code>Float.parseFloat("۱")</code> throws <code>NumberFormatException</code> while it won't throw any exceptions if you use English number <code>Float.valueOf("1")</code>, is it a bug in java or there's som...
Using Arabic number Integer.valueOf("۱") returns integer 1 but Float.valueOf("۱") or Float.parseFloat("۱") throws NumberFormatException while it won't throw any exceptions if you use English number Float.valueOf("1") , is it a bug in java or there's some explanation? How can I parse such a number? I'm working in androi...
java|android|numberformatexception|arabic-support
5
2020-02-03T18:20:29.113Z
2,020
2
18
0
518
3
334
102
4
0
false
false
false
false
false
false
low
60,045,103
detect if an app is closed from recent apps list or killed by OS
<p>I need to perform some <strong>APIs calls</strong> if the app is closed.</p> <p><code>onDestroy()</code> and <code>onStop()</code> wouldn't be fired if the app is closed from recent apps list or killed by the android system. But there may be a workaround for that?</p> <p>I've tried <a href="https://stackoverflow.com...
I need to perform some APIs calls if the app is closed. onDestroy() and onStop() wouldn't be fired if the app is closed from recent apps list or killed by the android system. But there may be a workaround for that? I've tried this & this when I tried (on Xiaomi note 7 Android 9) it fails and not call it too and from co...
android|android-activity|android-lifecycle
1
2020-02-03T18:30:12.380Z
2,020
2
18
0
546
1
484
64
3
0
false
false
false
false
false
false
low
60,045,122
Fragment resets when switch between Fragments on bottom Navigation
<p>I have 5 Fragments and controlled by Bottom Navigation. When I apply any changes in one Fragment after that I click on other Fragment when I come back again to first Fragment I feel that Fragment restarts and there is no change that I have applied before and resets. I want to keep that changes on switch fragments. H...
I have 5 Fragments and controlled by Bottom Navigation. When I apply any changes in one Fragment after that I click on other Fragment when I come back again to first Fragment I feel that Fragment restarts and there is no change that I have applied before and resets. I want to keep that changes on switch fragments. How ...
android|fragment
1
2020-02-03T18:31:38.553Z
2,020
2
18
0
115
0
345
66
2
0
false
true
false
false
false
false
low
60,045,151
Why is my button freezing and not recognizing any clicks?
<p>I'm making a multiple choice game. You have 4 radioButtons and one button to go through them. When the time has run out, you will see the answers and after that you click the button to continue to the next question. The problem is that after the count down reached zero, you can't click the button anymore to continue...
I'm making a multiple choice game. You have 4 radioButtons and one button to go through them. When the time has run out, you will see the answers and after that you click the button to continue to the next question. The problem is that after the count down reached zero, you can't click the button anymore to continue. I...
java|android
0
2020-02-03T18:33:37.577Z
2,020
2
18
0
35
0
901
57
2
1
true
true
false
false
false
false
zero
60,045,170
AudioTrack couses stutters
<p>I have an app streaming music to another phone via Bluetooth. The app decodes mp3 to pcm data and then sends it. The problem is the sound stutters sometimes, but plays ok other times. The play method looks like this:</p> <pre><code>public void Read() { System.Threading.Tasks.Task.Run(() =&gt; { int ...
I have an app streaming music to another phone via Bluetooth. The app decodes mp3 to pcm data and then sends it. The problem is the sound stutters sometimes, but plays ok other times. The play method looks like this: [CODE] And after a while it stops and displays this: [CODE] How would I fix this? But then I just found...
c#|android|xamarin.forms
0
2020-02-03T18:35:05.177Z
2,020
2
18
0
367
1
437
26
3
3
true
false
false
false
false
false
zero
60,045,316
Android Studio to Firebase: register method not working
<p>i want create a login/register activity with firebase, i connected the app with firebase console and i followed the instruction but it doesn't work</p> <pre><code>apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services' android { compileSdkVersion 29 buildToolsVersion "29.0.2" ...
i want create a login/register activity with firebase, i connected the app with firebase console and i followed the instruction but it doesn't work [CODE] [CODE] when i debug, my breakpoin come to mAuth.createUserWithEmailAndPassword(email, password).addOnCompleteListener(new OnCompleteListener() and go to the end skip...
android|firebase|firebase-authentication
0
2020-02-03T18:45:15.677Z
2,020
2
18
0
54
0
369
55
3
2
true
true
false
false
false
false
zero
60,045,646
OnFieldSubmitted does not take the text value provided using TextFormField in Flutter
<p>I am trying to get the data from the text field. While pressing the send button I need the data provided in text field to be stored up in '_message'. This is not working as expected thus my Map(newMessage) does not hold any value and thus my message list is empty. I need some solution so that my _message hold the va...
I am trying to get the data from the text field. While pressing the send button I need the data provided in text field to be stored up in '_message'. This is not working as expected thus my Map(newMessage) does not hold any value and thus my message list is empty. I need some solution so that my _message hold the value...
java|android|flutter|dart
1
2020-02-03T19:08:59.327Z
2,020
2
19
0
4,331
3
502
85
4
1
true
false
true
false
false
false
low
60,045,761
Photoview disable zoom out of image
<ul> <li>I am using <a href="https://github.com/chrisbanes/PhotoView" rel="nofollow noreferrer">Photoview</a> library in my Android app to enable image zoom-in functionality. </li> <li>But I want to disable image zoom out. Is there a way to do it? </li> </ul>
I am using Photoview library in my Android app to enable image zoom-in functionality. But I want to disable image zoom out. Is there a way to do it?
android|android-photoview
4
2020-02-03T19:17:47.740Z
2,020
2
19
0
284
1
148
35
2
0
false
false
false
false
false
false
low
60,046,101
Firebase Firestore - Retrieve all documents, include those used as references to subcollections
<p><strong>Preliminary Note:</strong> I am running a method called getStatesList(), which returns an ArrayList. I am using this in tandem with a Runnable, which collects the data a few seconds later and updates the view. Basically, I run the call during onResume() so the user will see the activity, showing that it is l...
Preliminary Note: I am running a method called getStatesList(), which returns an ArrayList. I am using this in tandem with a Runnable, which collects the data a few seconds later and updates the view. Basically, I run the call during onResume() so the user will see the activity, showing that it is loading data. If I re...
java|android|google-cloud-firestore
0
2020-02-03T19:41:51.843Z
2,020
2
19
0
33
0
1,421
95
3
1
true
true
false
false
false
false
zero
60,046,129
Detecting frequency lower than 40 hz using TarsosDSP java android
<p>I am making an Android mobile app, where I have been trying to detect pitch using <a href="https://github.com/JorenSix/TarsosDSP" rel="nofollow noreferrer">TarsosDSP</a>. Which has been working great, only if it is greater than 43hz. But I have a requirement to make it work with 40hz. When I play the sound, it doesn...
I am making an Android mobile app, where I have been trying to detect pitch using TarsosDSP . Which has been working great, only if it is greater than 43hz. But I have a requirement to make it work with 40hz. When I play the sound, it doesn't even give results below 43. This is where you can generate a tune online with...
java|android|audio-processing|puredata|tarsosdsp
1
2020-02-03T19:43:50.337Z
2,020
2
19
0
419
1
368
65
5
1
true
false
false
false
false
false
low
60,046,156
Android Studio spinner ItemSlectedListener
<p>How can I show the districts in spinner 2 according to the science of spinner 1? NOTE = Iller = english(Cities) <a href="https://i.stack.imgur.com/dsdNF.png" rel="nofollow noreferrer">code1</a></p> <p><a href="https://i.stack.imgur.com/nZHym.png" rel="nofollow noreferrer">code2</a></p> <p><a href="https://i.stack....
How can I show the districts in spinner 2 according to the science of spinner 1? NOTE = Iller = english(Cities) code1 code2 code3 json file
android|android-studio|android-spinner
0
2020-02-03T19:45:14.790Z
2,020
2
19
0
24
0
139
42
3
0
false
true
false
false
false
false
zero
60,046,205
Exoplayer PlayerNotificationManager onSwipe
<p>I'm using Exoplayer version 2.11.0 and I wonder if there is possibility of stoping PlayerNotificationManager when user swipes it to the right (analogically to Spotify). By default I can only call useStopAction(true) <a href="https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/ui/PlayerNotificationManag...
I'm using Exoplayer version 2.11.0 and I wonder if there is possibility of stoping PlayerNotificationManager when user swipes it to the right (analogically to Spotify). By default I can only call useStopAction(true) https://exoplayer.dev/doc/reference/com/google/android/exoplayer2/ui/PlayerNotificationManager.html whic...
java|android|exoplayer2.x
1
2020-02-03T19:48:30.827Z
2,020
2
19
0
1,003
2
341
43
3
0
false
false
false
false
false
false
low
60,046,410
How to generate a root certificate that works on Android's Chrome browser?
<p><a href="https://stackoverflow.com/questions/60030906/self-signed-certificate-only-works-with-localhost-not-127-0-0-1">My previous question</a> asked how to specify the config file and the command such that I can connect to my web server on my local area connection via HTTPS.</p> <p>I have figured that out and adde...
My previous question asked how to specify the config file and the command such that I can connect to my web server on my local area connection via HTTPS. I have figured that out and added the certificate to my Android phone's Trusted Certificate store, but for some reason Chrome on Android is still saying "The identity...
android|node.js|google-chrome|ssl|https
1
2020-02-03T20:06:31.770Z
2,020
2
20
0
278
1
1,347
74
5
1
true
false
false
false
false
false
low
60,046,488
Prevent a notification from being blocked by the channel in Android 10
<p>So I have noticed that even if I set a notification as onGoing, the user can still block the notification by swiping left or right on it and disabling the channel. Is there a way to prevent this so that the notification is truly persistent?</p>
So I have noticed that even if I set a notification as onGoing, the user can still block the notification by swiping left or right on it and disabling the channel. Is there a way to prevent this so that the notification is truly persistent?
android
0
2020-02-03T20:12:12.083Z
2,020
2
20
0
38
0
240
70
1
0
false
true
false
false
false
false
zero
60,046,583
Why is Port 8333 open on my android phone
<p>I was scanning my android phone to find some open ports using nmap today which is apart of my class, what I found was normal ports that where always open as usual but then I came across a port I've never seen before which is port 8333</p> <p><a href="https://i.stack.imgur.com/kTbKD.png" rel="nofollow noreferrer"><i...
I was scanning my android phone to find some open ports using nmap today which is apart of my class, what I found was normal ports that where always open as usual but then I came across a port I've never seen before which is port 8333 through my research I have found out it is a bitcoin node port, but what I would like...
android|linux|networking|port|nmap
1
2020-02-03T20:19:52.707Z
2,020
2
20
0
791
1
455
41
5
0
false
false
false
false
false
false
low
60,046,618
How to Show Image from Firebase Storage Using Glide
<p>I'm using android studio and I'm trying to get a image from firebase. I dont know how to do it and I searched in web all day. I need only one pic with one name; the file will change but the name not.</p> <p>So far i tried to get the uri and use Glide, but it's still not working.</p> <p>I really need your help or j...
I'm using android studio and I'm trying to get a image from firebase. I dont know how to do it and I searched in web all day. I need only one pic with one name; the file will change but the name not. So far i tried to get the uri and use Glide, but it's still not working. I really need your help or just a guide: [CODE]
java|android|firebase|firebase-storage
0
2020-02-03T20:23:03.343Z
2,020
2
20
0
18
0
320
51
4
1
true
true
false
false
false
false
zero
60,046,625
BeaconParser instance issue Android beacon library
<p>I am trying to collect temperature and humidity from beacons, that sends this raw data:</p> <pre><code>020106 020AFC 0A16 ABFE 70BF01 00DB00DB </code></pre> <p>where:</p> <pre><code>0x02 – length (2 bytes) 0x01 – type (flags) 0x06 – value (BIN=00000110) 0x02 -length (2 bytes) 0x0A type («Tx Power Level») 0xFC – ...
I am trying to collect temperature and humidity from beacons, that sends this raw data: [CODE] where: [CODE] I am trying to build an instance, but it looks like that it is not correct, WAIDW? [CODE] Thank you for your help
android|bluetooth-lowenergy|altbeacon
0
2020-02-03T20:23:34.653Z
2,020
2
20
0
126
1
222
50
3
3
true
false
false
false
false
false
zero
60,046,848
GetBitmap from ImageView
<p>I know this question was asked a lot before but every time I try to retrieve the Bitmap from my ImageView it return null object </p> <p>I tried : </p> <pre><code>ImageView imageView = findViewById(R.id.image); Bitmap bitmap = ((BitmapDrawable)imageView.getDrawable()).getBitmap(); </code></pre> <p>And </p> <pre>...
I know this question was asked a lot before but every time I try to retrieve the Bitmap from my ImageView it return null object I tried : [CODE] And [CODE] And also with glide. Am I missing something or is there another way to achieve this ? Thanks for help
android|bitmap|imageview
1
2020-02-03T20:40:47.457Z
2,020
2
20
0
853
2
257
24
3
2
true
false
false
false
false
false
low
60,046,872
High speed video recording (using CameraConstrainedHighSpeedCaptureSession) crashing and displaying odd behaviour
<p>For context: I'm working on an app that evaluates video to audio sync, so it's very timing sensitive.</p> <p>Recording, decoding and evaluting works fine, and accurately, on my Pixel 2XL, but problems on other phones include:</p> <p>In firebase testing, it causes native crashes on two separate phones (OnePlus 3t ...
For context: I'm working on an app that evaluates video to audio sync, so it's very timing sensitive. Recording, decoding and evaluting works fine, and accurately, on my Pixel 2XL, but problems on other phones include: In firebase testing, it causes native crashes on two separate phones (OnePlus 3t and Razer 2 - not on...
android|video-processing|video-capture|android-camera2
0
2020-02-03T20:42:24.323Z
2,020
2
20
0
273
1
811
113
4
4
true
false
false
false
false
false
zero
60,046,882
Get object inside array with volley
<p>I'm trying to retrieve the objects inside a json array such as <code>id</code> and <code>brand</code> within <code>creditcard</code>.</p> <pre><code>{ "result_count": "2", "total_no_of_rows": "2", "status": { "status_code": "-1", "status_text": "Success" }, "cards": [ { "creditCard": { ...
I'm trying to retrieve the objects inside a json array such as id and brand within creditcard . [CODE] I'm using the request below unsuccessfully because it returns card with no values. [CODE] Could someone help? Thanks.
android|json|android-volley
0
2020-02-03T20:43:13.253Z
2,020
2
20
0
448
1
220
35
3
2
true
false
false
false
false
false
zero
60,046,929
How to make this bottom navigation bar?
<p><strong>Hello!</strong></p> <p>I just want to know if it's possible to make a bottom navigation bar like <a href="https://i.stack.imgur.com/TuoKW.png" rel="nofollow noreferrer">this</a>, with this amazing blue center button. I just want the design (xml code). Can you help me?</p> <p><strong>Thanks!</strong></p>
Hello! I just want to know if it's possible to make a bottom navigation bar like this , with this amazing blue center button. I just want the design (xml code). Can you help me? Thanks!
android|android-studio
0
2020-02-03T20:46:19.933Z
2,020
2
20
0
38
1
185
39
2
0
false
false
false
false
false
false
zero
60,046,935
How can I make Xamarin.Forms Scroll view NOT push content off screen?
<p>I am posting and answering my own question because this issue took me days and days to figure out, and finally I did some half-baked kludge, and then <strong><em>months</em></strong> later I found the actual answer, and I want to spare others that.</p> <p>Problem: to get iOS text entry elements to scroll up and sta...
I am posting and answering my own question because this issue took me days and days to figure out, and finally I did some half-baked kludge, and then months later I found the actual answer, and I want to spare others that. Problem: to get iOS text entry elements to scroll up and stay visible when a keyboard appears, in...
android|ios|xamarin.forms|keyboard|scrollview
0
2020-02-03T20:46:39.913Z
2,020
2
20
0
725
1
982
69
5
0
false
false
false
false
false
false
zero
60,047,078
I have a problem involving Handle.postDelay function in Android
<p>Basically i have a TextView which needs to move from right side to the other (I am testing something for a different project).Instead, everything is still. Nothing is executed. </p> <p>Another thing to point out: If I remove the if statement, which is necessary in my case, everything works just fine. I thought th...
Basically i have a TextView which needs to move from right side to the other (I am testing something for a different project).Instead, everything is still. Nothing is executed. Another thing to point out: If I remove the if statement, which is necessary in my case, everything works just fine. I thought the condition is...
java|android|xml
0
2020-02-03T21:00:08.390Z
2,020
2
21
0
69
3
763
63
3
2
true
false
false
false
false
false
zero
60,047,119
How can I randomize my buttons in Android Studio?
<p>I'm making a multiple choice quiz and I would like to make the positions of my Buttons random, how would you do this? I already made multiple arrays with Questions in them as you can see in the code below, but I don't know wheter I can leave my code as it is und make some modifications or if I have to rewrite it all...
I'm making a multiple choice quiz and I would like to make the positions of my Buttons random, how would you do this? I already made multiple arrays with Questions in them as you can see in the code below, but I don't know wheter I can leave my code as it is und make some modifications or if I have to rewrite it all to...
java|android-studio
0
2020-02-03T21:04:18.237Z
2,020
2
21
0
32
1
440
49
2
2
true
false
false
false
false
false
zero
60,047,142
How Can I Create a Menu Of Three Buttons of Different Shape That Form a Menu in Android Studio
<p>I want to be able to create a menu of three buttons like the one in this link in Android Studio <a href="https://play.google.com/store/apps/details?id=com.easy.pedometer.step.counter.handle" rel="nofollow noreferrer">https://play.google.com/store/apps/details?id=com.easy.pedometer.step.counter.handle</a></p>
I want to be able to create a menu of three buttons like the one in this link in Android Studio https://play.google.com/store/apps/details?id=com.easy.pedometer.step.counter.handle
android|menu|android-studio-3.0
0
2020-02-03T21:05:41.450Z
2,020
2
21
0
41
1
180
94
3
0
false
false
false
false
false
false
zero
60,047,151
error: unmappable character for encoding Cp1252
<p>I'm trying to compile an android translator app from GitHub (<a href="https://github.com/artetxem/mitzuli" rel="nofollow noreferrer">Link of the App</a>) which is about 4 years old project. I have upgraded its dependencies to <strong><code>androidx</code> API 29</strong> also dependent modules i.e. OpenCV, configure...
I'm trying to compile an android translator app from GitHub ( Link of the App ) which is about 4 years old project. I have upgraded its dependencies to androidx API 29 also dependent modules i.e. OpenCV, configured OpenCV 3.4.3 . For all modules, I have set minSdkVersion to 14 or above and compile & target SDK version ...
java|android|opencv|encoding|character-encoding
2
2020-02-03T21:06:29.503Z
2,020
2
21
0
306
0
1,342
47
5
0
false
true
false
false
false
false
low
60,047,251
How to read CSV file using fxpoi package in flutter
<p>I have a csv file with 3 rows and 3 columns. When I try to read this CSV file nothing is happening. I saw fxpoi and I'm doing anything exactly as the documentation says but I'm still not getting the results I'm expecting.</p> <p>Here is the link to <a href="https://pub.dev/packages/fxpoi" rel="nofollow noreferrer">...
I have a csv file with 3 rows and 3 columns. When I try to read this CSV file nothing is happening. I saw fxpoi and I'm doing anything exactly as the documentation says but I'm still not getting the results I'm expecting. Here is the link to fxpoi package. Note The code below is executed after a button click. [CODE] Th...
android|csv|flutter|dart
0
2020-02-03T21:14:21.830Z
2,020
2
21
0
324
1
619
51
4
2
true
false
false
false
false
false
zero
60,047,408
Android problem with PHP org.json.JSONException: End of input at character 0 of
<p>I'm trying to make the LogIn of my app but I have this error</p> <p>org.json.JSONException: End of input at character 0 of</p> <p>My android/Java code is fine because the same code in works to de SingIn and I think the error is in the php file</p> <pre><code>&lt;?php </code></pre> <p>require "conexion.php";</p> ...
I'm trying to make the LogIn of my app but I have this error org.json.JSONException: End of input at character 0 of My android/Java code is fine because the same code in works to de SingIn and I think the error is in the php file [CODE] require "conexion.php"; [CODE] "contraseña" is password and "rol" is some kind of I...
php|android|json|database|authentication
1
2020-02-03T21:27:43.430Z
2,020
2
21
0
33
0
321
79
5
2
true
true
false
false
false
false
low
60,047,418
Xamarin Forms 4.5: Converting pdf into byte array using Forms9Patch to create pdf and then print to bluetooth printer with byte array
<p>I'm using Forms9Patch to convert html to pdf and then send the pdf file into a byte array to send into a bluetooth printer. I am able to save the file, but it is not printing the pdf file. Any clues to what I am doing wrong?: </p> <pre><code> if (await Forms9Patch.ToPdfService.ToPdfAsync(htmlString, "PrintFileName"...
I'm using Forms9Patch to convert html to pdf and then send the pdf file into a byte array to send into a bluetooth printer. I am able to save the file, but it is not printing the pdf file. Any clues to what I am doing wrong?: [CODE] In Android file (the important parts): [CODE]
xamarin.forms|xamarin.android|android-bluetooth
0
2020-02-03T21:28:19.430Z
2,020
2
21
0
296
0
278
133
3
2
true
true
false
false
false
false
zero
60,047,531
android webview geolocation tracking when app in the background and phone locked
<p>I have followed the implementation mentioned in <a href="https://stackoverflow.com/questions/48661081/enable-geolocation-on-webview">Grishma Ukani</a> post - accepted solution and my app is working fine, but I also want it to work in the background, I have added all the permissions I could think of but still not wor...
I have followed the implementation mentioned in Grishma Ukani post - accepted solution and my app is working fine, but I also want it to work in the background, I have added all the permissions I could think of but still not working.. [CODE] if this is not possible, then what can I do to solve this? my app is an Angula...
android|angular|geolocation|android-webview
0
2020-02-03T21:37:59.867Z
2,020
2
21
0
543
0
569
80
4
1
true
true
false
false
false
false
zero
60,047,562
Google Play asks to remove Install_referrer from affected apps
<p>Google Play asks to remove Install_referrer from affected apps, but the apps don't have install_referrer in the Manifest. What should I do? </p>
Google Play asks to remove Install_referrer from affected apps, but the apps don't have install_referrer in the Manifest. What should I do?
java|android|gradle|kotlin|dependencies
-1
2020-02-03T21:40:55.090Z
2,020
2
21
0
57
1
139
62
5
0
false
false
false
false
false
true
negative
60,047,632
Retrofit "HTTP method annotation is required"
<p>Experimenting with Coroutines and Jetpack Compose and getting an unhelpful stacktrace from Retrofit:</p> <pre><code> java.lang.IllegalArgumentException: HTTP method annotation is required (e.g., @GET, @POST, etc.). for method PokeApi.getPokeList </code></pre> <p>Retrofit call API (imports are all 2.7.1):</...
Experimenting with Coroutines and Jetpack Compose and getting an unhelpful stacktrace from Retrofit: [CODE] Retrofit call API (imports are all 2.7.1): [CODE] Network caller: [CODE] Call from ViewModel: [CODE] It's not pretty but I can't see why it shouldn't be working.
android|kotlin|retrofit|kotlin-coroutines
0
2020-02-03T21:48:15.173Z
2,020
2
21
0
194
1
269
45
4
4
true
false
false
false
false
false
zero
60,047,649
Closed android app still running in background
<p>I am working on an Android app which requires a lot of resources, for this reason I decided to add an Exit button even though it is discouraged, the usual practice is to let the systems handle it via the Back Button. The issue is that it doesn't work, at least on the emulator. The app closes the main View, goes in t...
I am working on an Android app which requires a lot of resources, for this reason I decided to add an Exit button even though it is discouraged, the usual practice is to let the systems handle it via the Back Button. The issue is that it doesn't work, at least on the emulator. The app closes the main View, goes in the ...
android
-2
2020-02-03T21:49:32.873Z
2,020
2
21
0
83
1
644
46
1
1
true
false
false
false
false
true
negative
60,047,673
How to delete images stored from Mobile app to SD card in android devices
<p>I am trying to delete images from sd card which are saved through mobile applicaton.</p> <p>I am using <strong>contentresolver.Delete</strong> in xamarin forms By which it deletes image temporarily.</p> <p>In sd card image details path is different and in File manager images for sd card are saving in different pat...
I am trying to delete images from sd card which are saved through mobile applicaton. I am using contentresolver.Delete in xamarin forms By which it deletes image temporarily. In sd card image details path is different and in File manager images for sd card are saving in different path . If I use [CODE] It throws an exc...
android|xamarin.forms|android-sdcard
0
2020-02-03T21:51:17.497Z
2,020
2
21
0
385
1
597
73
3
4
true
false
false
false
false
false
zero
60,047,735
App crashing without Tombsone (Fatal signal 11 (SIGSEGV), code 1, fault addr 0x20 in tid 23873)
<p>I'm getting the infamous fatal signal 11 crash from a JNI library I am using. However, the crash is not providing a tombstone, only offering these messages:</p> <pre><code>02-03 21:45:41.857 3080-3080/? E/DEBUG: Failed to find a valid tombstone, default to using tombstone 0. 02-03 21:45:41.857 3080-3080/? E/DEBUG: ...
I'm getting the infamous fatal signal 11 crash from a JNI library I am using. However, the crash is not providing a tombstone, only offering these messages: [CODE] Is there anything else I can use to find out why the crash happens?
android|java-native-interface
0
2020-02-03T21:56:31.147Z
2,020
2
21
0
201
0
231
95
2
1
true
true
false
false
false
false
zero
60,047,742
ViewModel cannot be provided without an @Inject constructor or an @Provides-annotated method
<p>I'm trying to share one ViewModel between two activities. I'm getting the following error <code>ViewModel cannot be provided without an @Inject constructor or an @Provides-annotated method</code>. The main goal that I'm trying to accomplish is having a shared ViewModel between different activities, in my case the <c...
I'm trying to share one ViewModel between two activities. I'm getting the following error ViewModel cannot be provided without an @Inject constructor or an @Provides-annotated method . The main goal that I'm trying to accomplish is having a shared ViewModel between different activities, in my case the LoginActivity and...
android|kotlin|dagger-2
0
2020-02-03T21:57:00.627Z
2,020
2
21
0
317
0
877
92
3
10
true
true
false
false
false
false
zero
60,047,746
A way to bring a minimized flutter app to foreground
<p>how can I Navigate to a new screen and popup application from background service when app is invisible ?</p> <p>I know how easy it is to navigate from one route to another in Flutter. We just need to do push and pop but Want to bring my app foreground based on server data i'm running background job for updating use...
how can I Navigate to a new screen and popup application from background service when app is invisible ? I know how easy it is to navigate from one route to another in Flutter. We just need to do push and pop but Want to bring my app foreground based on server data i'm running background job for updating user location,...
android|ios|flutter
5
2020-02-03T21:57:15.543Z
2,020
2
21
0
1,212
3
471
52
3
0
false
false
false
false
false
false
low
60,047,772
Android Splash Screen: Scale Bitmap
<p>I'm basically using the following xml's for an Android <strong>Splash Screen</strong>: Empty activity with <code>windowBackground</code>:</p> <pre><code>&lt;style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"&gt; &lt;item name="android:windowBackground"&gt;@drawable/background_splash&lt;/item&gt; &lt;...
I'm basically using the following xml's for an Android Splash Screen : Empty activity with windowBackground : [CODE] background_splash.xml : [CODE] This works fine as long the logo.png is smaller than the screen size. If the logo.png is bigger than the screen it goes beyond the screen. I see 3 workarounds, but all have...
android|android-layout|splash-screen|screen-density|pixel-density
3
2020-02-03T22:00:02.640Z
2,020
2
22
0
1,943
1
691
35
5
2
true
false
false
false
false
false
low
60,047,820
Controlling the counter in Android Studio
<p>I made the counter and the counter is running smoothly.But I'll set up an if structure for my program. I want to add a parameter if the counter is 0, but how do I create the structure that controls the counter? I'd appreciate it if you could help clearly.Thanks.</p>
I made the counter and the counter is running smoothly.But I'll set up an if structure for my program. I want to add a parameter if the counter is 0, but how do I create the structure that controls the counter? I'd appreciate it if you could help clearly.Thanks.
android-studio|counter
0
2020-02-03T22:04:43.723Z
2,020
2
22
0
35
1
262
41
2
0
false
false
false
false
false
false
zero
60,047,867
How can I crop an image form a google web search in Android
<p>I build a Google web search like example below.</p> <pre><code>String url = "https://www.google.com" Uri picUri = Uri.parse(url); Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(url)); startActivity(intent); </code></pre> <p>best solution so far was <a href="https://github.com/ArthurHub/A...
I build a Google web search like example below. [CODE] best solution so far was Android-Image-Cropper Then I want do crop founded Images and save the Image (png) on my device. Unfortunately I just found solutions that recognized images locally on the device and not on a Webpage. So can anyone help me?
android|crop|web-search
0
2020-02-03T22:09:48.723Z
2,020
2
22
0
53
0
302
59
3
1
true
true
false
false
false
false
zero
60,048,008
Flutter - Memory Investigation
<p>I am using Flutter for a fairly large (IMO) social app. I use Firebase as a backend. There is a timeline listview with listview items that have a photo, avatar pic... pretty similar structure to Facebook. It's within a four tab application. The other 3 tabs are another timeline listivew, with same kind of listview...
I am using Flutter for a fairly large (IMO) social app. I use Firebase as a backend. There is a timeline listview with listview items that have a photo, avatar pic... pretty similar structure to Facebook. It's within a four tab application. The other 3 tabs are another timeline listivew, with same kind of listview item...
android|ios|flutter|dart|cross-platform
9
2020-02-03T22:26:09.320Z
2,020
2
22
0
7,139
1
1,237
30
5
0
false
false
true
false
false
false
medium
60,048,032
Do changes made with SharedPreferences.Editor survive a device reboot?
<p>If an application stores something using <code>SharedPreferences.Editor</code>'s methods, does it survive a device reboot?</p>
If an application stores something using SharedPreferences.Editor 's methods, does it survive a device reboot?
android|sharedpreferences
1
2020-02-03T22:28:46.213Z
2,020
2
22
0
44
2
110
70
2
0
false
false
false
false
false
false
low
60,048,105
Flutter Doctor - Unable to determine bundled Java version
<p>I actually didn't want to install Android Studio to use flutter, so i just installed the Android SDK Command Line Tools. </p> <p>The thing is, when i run flutter doctor i get the following warning.</p> <p><a href="https://i.stack.imgur.com/c0I3G.png" rel="noreferrer"><img src="https://i.stack.imgur.com/c0I3G.png" ...
I actually didn't want to install Android Studio to use flutter, so i just installed the Android SDK Command Line Tools. The thing is, when i run flutter doctor i get the following warning. And when i create a new project i get this one. I am able to create and compile flutter projects without any issues, it is only th...
flutter|mobile|android-sdk-2.3
7
2020-02-03T22:35:07.360Z
2,020
2
22
0
17,425
3
421
57
3
0
false
false
true
true
false
false
medium
60,048,172
Android margins not working when the view was added dynamically
<p>I am adding some View to the LinearLayout dynamically:</p> <pre><code>LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.WRAP_CONTENT, LinearLayout.LayoutParams.WRAP_CONTENT); params.setMargins(100, 100, 100, 100); view.setLayoutParams(params); parent.addView(view); </code></p...
I am adding some View to the LinearLayout dynamically: [CODE] However, the margins are not getting applied. The following: [CODE] didn't work. However, if I force the activity to recreate (e.g. turn off and on my mobile phone), the margins get applied. Calling activity.recreate() also works, but it's too slow. How to f...
android|android-layout|android-linearlayout|layoutparams
1
2020-02-03T22:42:34.537Z
2,020
2
22
0
970
3
721
63
4
3
true
false
false
false
false
false
low
60,048,284
Image crop requires double selection
<p>I am currently using this Image crop:</p> <pre><code>api 'com.theartofdev.edmodo:android-image-cropper:2.8.+' </code></pre> <p>I have noticed that when selecting an image. I first chose an image in my gallery. As soon as I select the image, the process restarts, giving me the screen: <a href="https://i.stack.imgu...
I am currently using this Image crop: [CODE] I have noticed that when selecting an image. I first chose an image in my gallery. As soon as I select the image, the process restarts, giving me the screen: From here I am able to go through the whole process of selecting and cropping the image. My program for running this ...
java|android
0
2020-02-03T22:54:17.610Z
2,020
2
22
0
44
1
470
36
2
2
true
false
false
false
false
false
zero
60,048,344
(Android) unexpected match Pattern.compile("\\w+") with unicode letter
<p>The regular expression \ w character class in java.util.regex.Pattern on Android device produces results different from normal JVM.</p> <p>Is there a way that \w match only [A-Za-z0-9_] on Android?</p> <pre><code>// kotlin @Test fun test() { // val pu = Pattern.compile("""\w+""",Pattern.UNICODE_CHARACTER_CLAS...
The regular expression \ w character class in java.util.regex.Pattern on Android device produces results different from normal JVM. Is there a way that \w match only [A-Za-z0-9_] on Android? [CODE]
android|regex
0
2020-02-03T23:01:30.523Z
2,020
2
23
0
561
1
197
70
2
1
true
false
false
false
false
false
zero
60,048,378
Does the max .apk size refer to the compressed download size or the unzipped size on disk?
<p>Ok at first glance I assume the answer to this question should be obvious. Not only because of questions that already exist (like <a href="https://stackoverflow.com/questions/55135655/apk-size-vs-download-size">Apk size vs Download size</a>) but also because the guidelines seem to state it specifically means compres...
Ok at first glance I assume the answer to this question should be obvious. Not only because of questions that already exist (like Apk size vs Download size ) but also because the guidelines seem to state it specifically means compressed download size ("Google Play requires that the compressed APK that users download be...
android|android-studio|apk
0
2020-02-03T23:04:57.547Z
2,020
2
23
0
411
1
1,204
90
3
0
false
false
false
false
false
false
zero
60,048,516
Java Android Array Key value
<p>There is any data structure in java that i can work like a key value array from php or javascript? </p> <pre><code>$objectKeyTarget = "key2"; $array = array( "key1": { "id": 1, "name" "exemple 1" }, "key2": { "id": 2, "name" "exemple 2" } ); $dynamicObject = $array...
There is any data structure in java that i can work like a key value array from php or javascript? [CODE]
java|android
0
2020-02-03T23:23:23.513Z
2,020
2
23
0
301
2
105
28
2
1
true
false
false
false
false
false
zero
60,048,627
setTextAppearance using theme attributes programmatically
<p>I have custom textAppearance defined in my themes. My Theme looks like this</p> <pre><code>&lt;style name="Theme.MyApp" parent="Theme.MaterialComponents.Light"&gt; ..... &lt;item name="textAppearanceHeadline3"&gt;@style/TextAppearance.MySpark.Headline3&lt;/item&gt; ..... &lt;/style&gt; </code></pre> <p>Here is the...
I have custom textAppearance defined in my themes. My Theme looks like this [CODE] Here is the style TextAppearance.MyApp.Headline3 [CODE] Works for XML [CODE] WORKS for programmatically referencing style [CODE] DOESN'T WORK FOR When I want to apply textAppearance programmatically using attr, I couldn't find a way yet ...
android|textview
0
2020-02-03T23:36:44.687Z
2,020
2
23
0
1,277
1
474
57
2
4
true
false
false
false
false
false
zero
60,049,158
What file is facebook looking for
<p>I'm getting this error when trying to build in Unity or Android Studio</p> <pre><code> * What went wrong: Could not determine the dependencies of task ':compileReleaseJavaWithJavac'. &gt; Could not resolve all task dependencies for configuration ':releaseCompileClasspath'. &gt; Could not find androidsdk.m...
I'm getting this error when trying to build in Unity or Android Studio [CODE] Here is my gradle file [CODE] I have no clue why this is happening, i've never seen this particular error before, specifically the 'unspecified' part. My SDK tools seems to be up to date as well. Any help would be appreciated very much. Thank...
android|facebook|unity3d|gradle
1
2020-02-04T00:56:40.160Z
2,020
2
0
1
397
1
321
33
4
2
true
false
false
false
false
false
low
60,049,166
Could not find androidsdk.modules
<p>So in the middle of running my program, my build.gradle failed with this error. I mean it actually worked a second before, and not a second after. I changed nothing in my gradle.</p> <pre><code>Could not find androidsdk.modules:shield:unspecified. Required by: project :app &gt; com.facebook.android:facebook-log...
So in the middle of running my program, my build.gradle failed with this error. I mean it actually worked a second before, and not a second after. I changed nothing in my gradle. [CODE] Here is my gradle. [CODE] I don't know how or why this happened. Reverting to a previous git repo that worked didn't change anything.....
java|android|android-studio|gradle|kotlin
11
2020-02-04T00:58:17.347Z
2,020
2
0
1
3,886
8
355
33
5
2
true
false
true
false
true
false
medium
60,049,254
Android FireStore RecyclerView onSwiped method not updating RecyclerView
<p>I've got a RecyclerView and have implemented a swipe-to-delete feature for it. However, I can't get it to work properly. I've tried many things, and they all change the behavior, but never make it work properly.</p> <p>What I want to happen is:</p> <ol> <li>I have 3 items in the view.</li> <li>I swipe to delete it...
I've got a RecyclerView and have implemented a swipe-to-delete feature for it. However, I can't get it to work properly. I've tried many things, and they all change the behavior, but never make it work properly. What I want to happen is: I have 3 items in the view. I swipe to delete item Item 3 moves up to fill the spa...
java|android|android-recyclerview|google-cloud-firestore
0
2020-02-04T01:11:22.570Z
2,020
2
1
1
172
0
1,044
72
4
4
true
true
false
false
false
false
zero
60,049,308
How do I receive live API data updates on Android?
<p>I am working on receiving live API data updates on my android app. I am against polling as it drains battery and not in favor of anything that requires to check data updates manually every 5 mins or so. Is there an easier way to achieve this without the app constantly polling or manually checking if the data has upd...
I am working on receiving live API data updates on my android app. I am against polling as it drains battery and not in favor of anything that requires to check data updates manually every 5 mins or so. Is there an easier way to achieve this without the app constantly polling or manually checking if the data has update...
android|android-livedata|android-json|android-api-levels|android-parser
1
2020-02-04T01:18:50.443Z
2,020
2
1
1
2,633
3
808
50
5
1
true
false
true
false
false
false
low
60,049,441
Accessibility not reading screen in Android
<p>When opening a new activity and the accessibility enabled, no element is being read automatically but when clicking on the texts the voice is reading out the content. Is it there something that I may be missing?</p>
When opening a new activity and the accessibility enabled, no element is being read automatically but when clicking on the texts the voice is reading out the content. Is it there something that I may be missing?
android|user-interface|accessibility
-1
2020-02-04T01:41:02.347Z
2,020
2
1
1
110
1
211
43
3
0
false
false
false
false
false
true
negative
60,049,513
How do I implement preference headers with the new Jetpack preference library?
<p>I have an very old Android app that I am trying to update to use current libraries. Now I am trying to use the Jetpack preference library instead of the old support preference library. I have a really complicated setting hierarchy and it made sense to use the preference headers in the old library. My main setting...
I have an very old Android app that I am trying to update to use current libraries. Now I am trying to use the Jetpack preference library instead of the old support preference library. I have a really complicated setting hierarchy and it made sense to use the preference headers in the old library. My main settings acti...
android|android-preferences|android-jetpack|preference-headers
1
2020-02-04T01:52:12.803Z
2,020
2
1
1
382
1
810
78
4
0
false
false
false
false
false
false
low
60,049,520
SectionsStatePagerAdapter deprecated error
<p>I have developed a section state pager adapter that is meant to help with the fragments in the account settings of the mobile application. However I can't seem to figure out where I've gone wrong. </p> <p>Things to keep in mind: This section of the code was changed from A to B since A was deprecated. </p> <p>A. </...
I have developed a section state pager adapter that is meant to help with the fragments in the account settings of the mobile application. However I can't seem to figure out where I've gone wrong. Things to keep in mind: This section of the code was changed from A to B since A was deprecated. A. [CODE] B. [CODE] The ab...
java|android|android-fragments|fragmentpageradapter
0
2020-02-04T01:53:02.640Z
2,020
2
1
1
272
1
694
42
4
6
true
false
false
false
false
false
zero
60,049,593
'Resource.Id' does not contain a definition for 'cameraTexture' and '.CameraLayout'
<p>Is it an issue about <code>Xamarin.Forms</code> version? , I'm using <code>Android.Hardware.Camera2;</code></p> <p>I'm initializing a view for Camera2, and based on the sample Project of <a href="https://github.com/vtserej/Camera2Forms" rel="nofollow noreferrer">Camera2Forms</a></p> <pre><code>var view = inflater...
Is it an issue about Xamarin.Forms version? , I'm using Android.Hardware.Camera2; I'm initializing a view for Camera2, and based on the sample Project of Camera2Forms [CODE] but when i check my Resource designer .CameraLayout and .camerTexture is not present, by the way both values are int , and when i try to brute for...
c#|xamarin|xamarin.forms|xamarin.android
1
2020-02-04T02:02:17.267Z
2,020
2
2
1
196
0
404
83
4
1
true
true
false
false
false
false
low
60,049,718
Convert Decimal to Hex or Unicode using Javascript
<p>the problem i'm facing is when i inputting emoji from an android device to display on a browser, the emoji is converted its form of Decimal code like <code>&amp;#128153; &amp;#128153; &amp;#128153;</code>. is there any way to detect the decimal code then convert it to Hex or Unicode with javascript? because with Has...
the problem i'm facing is when i inputting emoji from an android device to display on a browser, the emoji is converted its form of Decimal code like &#128153; &#128153; &#128153; . is there any way to detect the decimal code then convert it to Hex or Unicode with javascript? because with Hashtag in front of the number...
javascript|android|unicode|decimal|emoji
-1
2020-02-04T02:22:49.740Z
2,020
2
2
1
89
1
471
50
5
0
false
false
false
false
false
true
negative
60,049,752
How to create a .xapk file? Can I make it from a .apk and a .obb file?
<p>When I googled this question on the Internet, there was none about how to create instead of install. I saw they were just zip files but I do not really know if I can just put everything into a zip and change its file extension to .xapk and it is done. So my question is: Can I simply zip a .apk and a .obb files (buil...
When I googled this question on the Internet, there was none about how to create instead of install. I saw they were just zip files but I do not really know if I can just put everything into a zip and change its file extension to .xapk and it is done. So my question is: Can I simply zip a .apk and a .obb files (build f...
android|unity3d|build|export|apk-expansion-files
2
2020-02-04T02:27:44.920Z
2,020
2
2
1
6,177
1
478
70
5
0
false
false
true
false
false
false
low
60,049,923
How should I go ahead and check mobile data connectivity
<p>I need a message to show up if there is no internet connection. Currently, if wifi is turn off then the toast method will work and won't move forward. However, if i turn on my mobile data even without a service plan, it will still open a blank activity.</p> <p>here is the code i got from here</p> <pre><code>public...
I need a message to show up if there is no internet connection. Currently, if wifi is turn off then the toast method will work and won't move forward. However, if i turn on my mobile data even without a service plan, it will still open a blank activity. here is the code i got from here [CODE] and this below is in my on...
java|android|networking|toast
0
2020-02-04T02:55:58.313Z
2,020
2
2
1
49
2
340
56
4
2
true
false
false
false
false
false
zero
60,049,967
Okhttp JSON Parsing
<p>I'm trying to parse a Json data with the following code:</p> <pre><code>OkHttpClient client = new OkHttpClient().newBuilder().build(); Request request = new Request.Builder() .url("http://datamall2.mytransport.sg/ltaodataservice/BusServices") .method("GET", null) .add...
I'm trying to parse a Json data with the following code: [CODE] The two errors that I'm facing are: [CODE] and [CODE]
java|android|okhttp
0
2020-02-04T03:03:24.313Z
2,020
2
3
1
277
1
117
19
3
3
true
false
false
false
false
false
zero
60,050,109
how i can use my bg to my layout in android studio?
<p>when i wanna put my img from drawableto my activity like this </p> <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:lay...
when i wanna put my img from drawableto my activity like this [CODE] there is no someting wrong in android studio, but when i run it with emulator, my app cant be opened, its close automatic, so how to put my img to my layout? and here is log error [CODE]
android|xml|android-studio
-1
2020-02-04T03:21:39.567Z
2,020
2
3
1
42
1
255
51
3
2
true
false
false
false
false
true
negative
60,050,114
retrieve data currentuser. from firebase return null
<p>Hello I'm trying to retrieve the data from a realtime firebase field but it returns null. I checked with textView52.setText (firebaseUser.getEmail ()); to see if it was really connected and it works. the problem is in recovering a value from the database which in this case is the field "name" could someone help me? ...
Hello I'm trying to retrieve the data from a realtime firebase field but it returns null. I checked with textView52.setText (firebaseUser.getEmail ()); to see if it was really connected and it works. the problem is in recovering a value from the database which in this case is the field "name" could someone help me? am ...
android|firebase|firebase-realtime-database
0
2020-02-04T03:22:19.527Z
2,020
2
3
1
40
2
372
52
3
1
true
false
false
false
false
false
zero
60,050,188
I am trying to have an MQTT protocol in android studio. I have also updated gradle.properties
<p>For adding dependency, I added below code to project level gradle file </p> <pre><code>repositories { maven { url "https://repo.eclipse.org/content/repositories/paho-snapshots/" } </code></pre> <p>}</p> <p>and at app level gradle file I added , </p> <pre><code>dependencies { compile 'org.eclipse.paho:org.ecl...
For adding dependency, I added below code to project level gradle file [CODE] } and at app level gradle file I added , [CODE] } Getting dependency resolution error: please find below the exception occurred. Duplicate class androidx.collection.LruCache found in modules collection-1.1.0.jar (androidx.collection:collectio...
java|android|mqtt|android-mqtt-client
-3
2020-02-04T03:32:56.610Z
2,020
2
3
1
795
1
22,429
93
4
2
true
false
false
false
false
true
negative
60,050,233
Android Caching App data when app is deleted
<p>I have created an C# Xamarin Android application that saves data to a SQLite database (sqlite-net nuget package). The database path is <code>System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments), "AppName.db")</code> When the app is deleted, and reinstalled using Visua...
I have created an C# Xamarin Android application that saves data to a SQLite database (sqlite-net nuget package). The database path is System.IO.Path.Combine(System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments), "AppName.db") When the app is deleted, and reinstalled using Visual Studio 2019 (h...
c#|xamarin|xamarin.android|sqlite-net
0
2020-02-04T03:38:22.960Z
2,020
2
3
1
53
0
724
44
4
0
false
true
false
false
false
false
zero