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,082,261 | How to change the contents of a notification without re-creating it? | <p>I have a notification that is periodically updated after a certain period of time. The <code>Foreground</code> service is also associated with it, so it is constantly displayed. When updating data, I must recreate the notification with new ones, using the <code>NotificationManager</code></p>
<pre><code> Notifica... | I have a notification that is periodically updated after a certain period of time. The Foreground service is also associated with it, so it is constantly displayed. When updating data, I must recreate the notification with new ones, using the NotificationManager [CODE] When using this method, each time a notification a... | java|android|notifications|android-notifications | 0 | 2020-02-05T18:46:23.583Z | 2,020 | 2 | 18 | 2 | 126 | 1 | 1,242 | 68 | 4 | 1 | true | false | false | false | false | false | zero |
60,082,382 | "realtime" ratingbar indicator in Flutter | <p>I’m new to Flutter and programming in general, so maybe my question is stupid,
but I need some help. On my app I have a screen with 4 ratingbars. (I use the ratingbar package from pub.dev)</p>
<p>When you set a rating on these ratingbars the value of the rating is saved into a variable.
Now I have a ratingbar ind... | I’m new to Flutter and programming in general, so maybe my question is stupid, but I need some help. On my app I have a screen with 4 ratingbars. (I use the ratingbar package from pub.dev) When you set a rating on these ratingbars the value of the rating is saved into a variable. Now I have a ratingbar indicator on the... | android|android-studio|flutter|ratingbar | 0 | 2020-02-05T18:54:30.320Z | 2,020 | 2 | 18 | 2 | 285 | 0 | 780 | 41 | 4 | 0 | false | true | false | false | false | false | zero |
60,082,391 | Android BLE. Is it possible to use a regex as a filter to scan for Mac Address? | <p>I have to build an App that scans for BLE devices, and return it's data.
The devices won't show on scan, unless I use a filter.</p>
<p>UUID is not an option, and the device does not broadcast it's name (It shows N/A when scanned with <code>nrfConnect</code>.</p>
<p>I am trying to scan it by MAC Address. BUT, I do ... | I have to build an App that scans for BLE devices, and return it's data. The devices won't show on scan, unless I use a filter. UUID is not an option, and the device does not broadcast it's name (It shows N/A when scanned with nrfConnect . I am trying to scan it by MAC Address. BUT, I do not know the MAC Addresses, sin... | java|android|bluetooth-lowenergy | 2 | 2020-02-05T18:55:04.087Z | 2,020 | 2 | 18 | 2 | 1,064 | 2 | 1,185 | 79 | 3 | 1 | true | false | false | false | false | false | low |
60,082,469 | low quality when capture picture and send it image view | <p><strong>low quality when capture picture and send it image view</strong>
<strong>when imgCamera button pressed</strong> </p>
<pre class="lang-java prettyprint-override"><code> case R.id.imgCamera:
Intent cameraIntent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
... | low quality when capture picture and send it image view when imgCamera button pressed [CODE] please help me I want to get the best quality for the picture captured | android|android-studio | 1 | 2020-02-05T19:00:29.677Z | 2,020 | 2 | 19 | 2 | 123 | 2 | 163 | 55 | 2 | 1 | true | false | false | false | false | false | low |
60,082,473 | ListView.builder does not show items after adding them to list FLUTTER | <p>I have a ListView.builder that reads all items from a list and shows them to the user. The builder is child of a RefreshIndicator, which adds an item when updating. However, the item is only shown in the listView when I rebuild the entire widget. Why is that and how can I change it so that I see the item immediately... | I have a ListView.builder that reads all items from a list and shows them to the user. The builder is child of a RefreshIndicator, which adds an item when updating. However, the item is only shown in the listView when I rebuild the entire widget. Why is that and how can I change it so that I see the item immediately af... | android|listview|flutter | 0 | 2020-02-05T19:00:47.377Z | 2,020 | 2 | 19 | 2 | 757 | 1 | 433 | 70 | 3 | 4 | true | false | false | false | false | false | zero |
60,082,577 | Binding to background services fails on Android OS 8 | <p>I need to start a few services provided by other apps, let them execute whatever the want to execute, and kill them once they call me back and I receive the data collected. Sadly <code>startService(serviceIntent);</code> crashes with </p>
<pre><code>Unable to start activity ComponentInfo{…}: java.lang.IllegalStateE... | I need to start a few services provided by other apps, let them execute whatever the want to execute, and kill them once they call me back and I receive the data collected. Sadly startService(serviceIntent); crashes with [CODE] It appears that this is by design, here's the crashing AOSP code . My code crashing looks li... | android|service | 0 | 2020-02-05T19:08:43.060Z | 2,020 | 2 | 19 | 2 | 24 | 0 | 690 | 52 | 2 | 3 | true | true | false | false | false | false | zero |
60,082,583 | Read google drive files | <p>I have saved some serialized collection of objects as a file in my google drive. Now I would like to retrieve the collection in my android app. Is there any easy way to this?</p> | I have saved some serialized collection of objects as a file in my google drive. Now I would like to retrieve the collection in my android app. Is there any easy way to this? | android | 0 | 2020-02-05T19:09:12.007Z | 2,020 | 2 | 19 | 2 | 217 | 1 | 174 | 23 | 1 | 0 | false | false | false | false | false | false | zero |
60,082,986 | Android CalendarContract.Instances table returns old values | <p>I am querying the CalendarContract.Instances table to read all calendar event instances within a time interval (curr_time, next_time), as shown in the code below. This code works when the calendar entries have been around for a while. However, if I add a new entry, change an existing entry, or delete it, I get some ... | I am querying the CalendarContract.Instances table to read all calendar event instances within a time interval (curr_time, next_time), as shown in the code below. This code works when the calendar entries have been around for a while. However, if I add a new entry, change an existing entry, or delete it, I get some old... | java|calendar|android-calendar | 2 | 2020-02-05T19:40:01.490Z | 2,020 | 2 | 19 | 2 | 171 | 0 | 695 | 59 | 3 | 1 | true | true | false | false | false | false | low |
60,082,991 | Change default TextInputLayout style? | <p>I am using Material Design Components and want to change the default style of a <code>TextInputLayout</code>, meaning my changes shall apply to all instances of the <code>TextInputLayout</code> without me having to explicitely define a <code>style="@style/my_style"</code> on each of them.</p>
<p>If and how is that ... | I am using Material Design Components and want to change the default style of a TextInputLayout , meaning my changes shall apply to all instances of the TextInputLayout without me having to explicitely define a style="@style/my_style" on each of them. If and how is that possible? | android|material-design|themes|material-components-android|mdc-components | 1 | 2020-02-05T19:40:20.223Z | 2,020 | 2 | 19 | 2 | 90 | 1 | 280 | 37 | 5 | 0 | false | false | false | false | false | false | low |
60,083,126 | Create Color object from RGB values for API Level < Android 26 (Oreo) | <p>I am working on an android project. I have RGB values of each pixel. I want to create a color object from it. </p>
<p>For android API level 26 and above, we can use Color.valueOf() method which will do the work for us. But it won't support API level below 26. Can someone help me with how I can do this? Thanks in ad... | I am working on an android project. I have RGB values of each pixel. I want to create a color object from it. For android API level 26 and above, we can use Color.valueOf() method which will do the work for us. But it won't support API level below 26. Can someone help me with how I can do this? Thanks in advance. | android|android-layout|graphics|colors|android-developer-api | 4 | 2020-02-05T19:50:37.447Z | 2,020 | 2 | 19 | 2 | 813 | 2 | 314 | 69 | 5 | 0 | false | false | false | false | false | false | low |
60,083,189 | Uncaught SecurityError: Blocked a frame with origin. "https://www.payumoney.com". Protocols, domains, and ports must match | <p>payumoney integrated into my website and now I am using it in my mobile web view. but it gives me this issue and page do not load.it shows a white screen instead of the page.</p>
<p>Uncaught SecurityError: Blocked a frame with origin "<a href="https://checkout.citruspay.com" rel="nofollow noreferrer">https://checko... | payumoney integrated into my website and now I am using it in my mobile web view. but it gives me this issue and page do not load.it shows a white screen instead of the page. Uncaught SecurityError: Blocked a frame with origin " https://checkout.citruspay.com " from accessing a frame with origin " https://www.payumoney... | android|webview|payumoney|cross-origin-read-blocking | 2 | 2020-02-05T19:56:14.960Z | 2,020 | 2 | 19 | 2 | 157 | 0 | 423 | 122 | 4 | 0 | false | true | false | false | false | false | low |
60,083,207 | How to create circle imageview with a transparent border? | <p>I want to create an alert dialog same as shown in the image but I am stuck on how to create that center imageview with the transparent border.</p>
<p><a href="https://i.stack.imgur.com/dXQgf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dXQgf.png" alt="enter image description here"></a></p> | I want to create an alert dialog same as shown in the image but I am stuck on how to create that center imageview with the transparent border. | java|android|xml|alert | 2 | 2020-02-05T19:57:13.660Z | 2,020 | 2 | 19 | 2 | 131 | 1 | 142 | 57 | 4 | 0 | false | false | false | false | false | false | low |
60,083,274 | Xamarin Forms Get Object element on image click | <p>I have a problem. I created a CollectionView from a List called: <code>List<Set> Sets</code> and in a Set I have a List called <code>List<Picture> Pictures</code>.</p>
<p>Here is what the classes look like:</p>
<pre><code>public class Set
{
public int Id { get; set; }
public List<Picture>... | I have a problem. I created a CollectionView from a List called: List<Set> Sets and in a Set I have a List called List<Picture> Pictures . Here is what the classes look like: [CODE] And the picture class looks like this: [CODE] Now in my XAML I added a click event on every image, because I need to know which image has ... | c#|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2020-02-05T20:02:05.153Z | 2,020 | 2 | 20 | 2 | 934 | 1 | 576 | 47 | 5 | 4 | true | false | false | false | false | false | zero |
60,083,327 | optimising and increasing the design | <p>So this question is not oriented on a specific problem I was just wondering if there is a designer out there that could help me make my app look better. So here is the image<a href="https://i.stack.imgur.com/vZSDR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vZSDR.png" alt="phone"></a></p> | So this question is not oriented on a specific problem I was just wondering if there is a designer out there that could help me make my app look better. So here is the image | android|xml|user-interface | -2 | 2020-02-05T20:06:38.077Z | 2,020 | 2 | 20 | 2 | 38 | 1 | 173 | 36 | 3 | 0 | false | false | false | false | false | true | negative |
60,083,345 | Using MapBox to add multiple GeoJSON sources to the same layer | <p>I'm attempting to populate a map with data from <strong><em>multiple</em></strong> GeoJSON files. In the code below, I created the method <code>GeoJSONToMap</code> of which when called, adds markers to the map.</p>
<p><code>GeoJSONToMap</code>:</p>
<pre><code> public void GeoJSONToMap(@NonNull Style loadedMapStyle... | I'm attempting to populate a map with data from multiple GeoJSON files. In the code below, I created the method GeoJSONToMap of which when called, adds markers to the map. GeoJSONToMap : [CODE] Succesfully adding GeoJSON data to the map from one file: [CODE] When I attempt to populate the map with more than one GeoJSON... | java|android|mapbox|geojson|mapbox-android | 1 | 2020-02-05T20:07:53.877Z | 2,020 | 2 | 20 | 2 | 1,817 | 1 | 476 | 62 | 5 | 3 | true | false | false | false | false | false | low |
60,083,402 | How to do simple unit tests on device rather than on the host | <p>I am running some unit tests that use sqflite lib, and so far the openDatabase function does not work on MacOS desktop, because getDatabasesPath does not seem to have a MacOS method. So in order to test the functionality I need to run the unit tests on an android device, and as far as I can tell unit tests in flutte... | I am running some unit tests that use sqflite lib, and so far the openDatabase function does not work on MacOS desktop, because getDatabasesPath does not seem to have a MacOS method. So in order to test the functionality I need to run the unit tests on an android device, and as far as I can tell unit tests in flutter a... | android|macos|flutter|sqflite | 0 | 2020-02-05T20:12:51.173Z | 2,020 | 2 | 20 | 2 | 585 | 1 | 407 | 61 | 4 | 0 | false | false | false | false | false | false | zero |
60,083,492 | Android app crashes with StackOverflowError Retrofit 2 + RxJava 1 | <p>I'm using Retrofit2 with RxJava1 to make network calls and I'm getting the following crash logs from my users through Crashlytics quite often.
I can't really pinpoint the issue and neither have I been able to reproduce this crash on my end.
Can anyone suggest why it could be happening?</p>
<p>One of my guesses is i... | I'm using Retrofit2 with RxJava1 to make network calls and I'm getting the following crash logs from my users through Crashlytics quite often. I can't really pinpoint the issue and neither have I been able to reproduce this crash on my end. Can anyone suggest why it could be happening? One of my guesses is it might hav... | android|rx-java|retrofit2|stack-overflow|rx-java2 | 0 | 2020-02-05T20:17:58.297Z | 2,020 | 2 | 20 | 2 | 243 | 0 | 1,124 | 65 | 5 | 5 | true | true | false | false | false | false | zero |
60,083,652 | How to import a project correctly? | <p>I do not know how to import a project from GitHub correctly. </p>
<p><a href="https://github.com/rolandsarosy/The-Guardian-API" rel="nofollow noreferrer">https://github.com/rolandsarosy/The-Guardian-API</a></p>
<p>When I import the project I get this:</p>
<pre><code> Migrate Project to Gradle?
This... | I do not know how to import a project from GitHub correctly. https://github.com/rolandsarosy/The-Guardian-API When I import the project I get this: [CODE] And there are no Gradle files. P.S. I have just started , therefore I am kind of a newbie. Btw, an explanation would not be bad) Thank you in advance | android-studio|github|import | 0 | 2020-02-05T20:30:12.700Z | 2,020 | 2 | 20 | 2 | 92 | 1 | 304 | 34 | 3 | 1 | true | false | false | false | false | false | zero |
60,083,739 | My Android App is crashing when downloaded from the Playstore but when I run it from Android Studio into any device it works normally | <p>During development I changed the android dependencies from android to androidx</p>
<p>If I install the app from Android Studio to any device the app work just fine, but when I download the same version of the app from the playstore it crashes on the First Activity OnCreate method when setting the content layout</p>... | During development I changed the android dependencies from android to androidx If I install the app from Android Studio to any device the app work just fine, but when I download the same version of the app from the playstore it crashes on the First Activity OnCreate method when setting the content layout [CODE] This is... | java|android|kotlin|androidx | 0 | 2020-02-05T20:37:17.850Z | 2,020 | 2 | 20 | 2 | 87 | 1 | 401 | 133 | 4 | 3 | true | false | false | false | false | false | zero |
60,083,806 | Unable to write over firebase database | <p>I am trying to link firebase realtime time database over my android application using following code:</p>
<pre><code>FirebaseDatabase database = FirebaseDatabase.getInstance();
DatabaseReference root = database.getReference("users");
User user = new User("Hey","hey@hey.ca","987654321");
root.setValue(user);
</co... | I am trying to link firebase realtime time database over my android application using following code: [CODE] coding is not pushing anything over the database: for debugging I tried to print the values for root and database that worked fine, returned proper address. Where as when I implemented root.setValue(user).isSucc... | android|firebase|firebase-realtime-database | 0 | 2020-02-05T20:41:55.347Z | 2,020 | 2 | 20 | 2 | 26 | 1 | 346 | 38 | 3 | 1 | true | false | false | false | false | false | zero |
60,083,918 | How to call method from fragment only if host activity was destroyed? | <p>I got a <code>method()</code> in the fragment. Fragment in host activity. So I need to call the <code>method()</code> from fragment ONLY when host activity was in <code>onDestroy()</code> . Maybe it suppose to be something like a static flag?</p> | I got a method() in the fragment. Fragment in host activity. So I need to call the method() from fragment ONLY when host activity was in onDestroy() . Maybe it suppose to be something like a static flag? | java|android|android-lifecycle | 0 | 2020-02-05T20:50:03.443Z | 2,020 | 2 | 20 | 2 | 33 | 2 | 203 | 69 | 3 | 0 | false | false | false | false | false | false | zero |
60,083,925 | unable to load spatial data in terriaMap in android localhost | <p>We are working on a project where we have our custom JSON files to load offline(from the App itself) as well as loading data from remote sites too in TerriaMap. So for that, we are creating localhost inside the android system with a specified port currently 8080. Most of the samples are loading correctly offline, 3D... | We are working on a project where we have our custom JSON files to load offline(from the App itself) as well as loading data from remote sites too in TerriaMap. So for that, we are creating localhost inside the android system with a specified port currently 8080. Most of the samples are loading correctly offline, 3D da... | java|android|json|terriajs | 1 | 2020-02-05T20:50:50.913Z | 2,020 | 2 | 20 | 2 | 138 | 0 | 2,488 | 61 | 4 | 0 | false | true | false | false | false | false | low |
60,083,955 | Android: Emulator can't pull from database / Extremely slow? | <p>So I had my Android Emulator working perfectly fine yesterday and the day before, a Pixel 3a XL 28. Worked like a charm. </p>
<p>I restarted my computer and this morning, and now NONE of the emulators are working at all.</p>
<p>Early in the day, it was sort of working but it was extremely slow, and now it won't wo... | So I had my Android Emulator working perfectly fine yesterday and the day before, a Pixel 3a XL 28. Worked like a charm. I restarted my computer and this morning, and now NONE of the emulators are working at all. Early in the day, it was sort of working but it was extremely slow, and now it won't work at all. I just ge... | java|android|android-studio|kotlin|android-emulator | 0 | 2020-02-05T20:52:52.407Z | 2,020 | 2 | 20 | 2 | 329 | 1 | 1,130 | 60 | 5 | 2 | true | false | false | false | false | false | zero |
60,083,964 | How to go back to the fragment in an activity which launched the activity? | <p>If i have 4 fragments in my main activity .. if i launch an activity from any one of them. Then how do i go back to that last fragment from the new activity ? E.g Activity A has 1 2 3 and 4 fragment. i launch Activity B from fragment 3. now i want to go back to Activity A but in fragment 4 .. if i just use finish() ... | If i have 4 fragments in my main activity .. if i launch an activity from any one of them. Then how do i go back to that last fragment from the new activity ? E.g Activity A has 1 2 3 and 4 fragment. i launch Activity B from fragment 3. now i want to go back to Activity A but in fragment 4 .. if i just use finish() act... | android|android-activity|navigation|fragment | 0 | 2020-02-05T20:53:36.960Z | 2,020 | 2 | 20 | 2 | 35 | 2 | 571 | 74 | 4 | 0 | false | false | false | false | false | false | zero |
60,083,975 | Firebase Cloud Messaging not working on Android with API 28 and lower | <p>I'm trying to send push notifications using Firebase Cloud Messaging, but the problem is notification is received only on devices running Android Q. I don't understand why this is happening. My code is quite close to the one provided in the documentation. The most confusing part to me is if it's working on Android Q... | I'm trying to send push notifications using Firebase Cloud Messaging, but the problem is notification is received only on devices running Android Q. I don't understand why this is happening. My code is quite close to the one provided in the documentation. The most confusing part to me is if it's working on Android Q, t... | android|firebase|push-notification|firebase-cloud-messaging | 2 | 2020-02-05T20:54:35.773Z | 2,020 | 2 | 20 | 2 | 608 | 0 | 639 | 69 | 4 | 3 | true | true | false | false | false | false | low |
60,084,020 | How to filter ACTION_OPEN_DOCUMENT intent by file extension | <p>I have code that launches a file picker by issuing a createChooser with an ACTION_OPEN_DOCUMENT intent.</p>
<p>Here is the code, which works:</p>
<pre><code> Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
intent.addCategory(Intent.CATEGORY_OPENABLE);
intent.... | I have code that launches a file picker by issuing a createChooser with an ACTION_OPEN_DOCUMENT intent. Here is the code, which works: [CODE] This opens a file picker that allows the user to select any type of file. I would like to have the file picker limit the user's choices to only files that end in ".xyz". If this ... | java|android|android-intent | 3 | 2020-02-05T20:58:17.037Z | 2,020 | 2 | 20 | 2 | 1,090 | 0 | 748 | 59 | 3 | 1 | true | true | false | false | false | false | low |
60,084,050 | onReceive not called for pendingIntent in android home screenwidget | <p>I've been searching for a while on here, but can't find a solution to this. I have a home screen widget with a configuration screen that saves some parameters inside the preferences. The configuration part works flawlessly, but I cannot for the life of me get the setOnClickPendingIntent to register. No error message... | I've been searching for a while on here, but can't find a solution to this. I have a home screen widget with a configuration screen that saves some parameters inside the preferences. The configuration part works flawlessly, but I cannot for the life of me get the setOnClickPendingIntent to register. No error messages. ... | java|android|widget|onclicklistener | 2 | 2020-02-05T21:00:33.027Z | 2,020 | 2 | 21 | 2 | 200 | 1 | 456 | 67 | 4 | 2 | true | false | false | false | false | false | low |
60,084,105 | Google Play Games Service is failing on .Create() with java.lang.ClassNotFoundException | <p>I am working on a game that is in C++ on Android using Visual Studio 2017 and Ant build system. I am trying to hook up the Google Play Services for leader boards but the <code>gpg::GameServices::Builder().Create</code> is failing with:</p>
<blockquote>
<p>Rejecting re-init on previously-failed class java.lang.Cla... | I am working on a game that is in C++ on Android using Visual Studio 2017 and Ant build system. I am trying to hook up the Google Play Services for leader boards but the gpg::GameServices::Builder().Create is failing with: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Fai... | c++|ant|android-ndk|visual-studio-2017|google-play-games | 1 | 2020-02-05T21:05:31.297Z | 2,020 | 2 | 21 | 2 | 89 | 0 | 774 | 87 | 5 | 0 | false | true | false | false | false | false | low |
60,084,136 | Android: Memory not being free'd after releasing references | <p>I have an activity which I obtain a large list of objects, approx 25,000 objects containing about 600,000 strings in total, this comsumes around 20MB of the heap. This list is loaded into an <code>adapter</code> for a <code>recyclerview</code> which then displays the list.</p>
<p>My problem is that when I close the... | I have an activity which I obtain a large list of objects, approx 25,000 objects containing about 600,000 strings in total, this comsumes around 20MB of the heap. This list is loaded into an adapter for a recyclerview which then displays the list. My problem is that when I close the activity and the activity is suppose... | java|android|performance|memory | 0 | 2020-02-05T21:08:26.450Z | 2,020 | 2 | 21 | 2 | 59 | 1 | 1,479 | 59 | 4 | 3 | true | false | false | false | false | false | zero |
60,084,192 | Execution failed for task ':app:compileDebugKotlin' java.io.IOException | <p>I don't know how I got in to this, but I think the problem is the Java binary path... The path from flutter doctor is different from the one in the Exception.
Either when I run existing projects or I create new project and try to run it it still gives the same error.</p>
<blockquote>
<p>e: java.io.IOException: Ca... | I don't know how I got in to this, but I think the problem is the Java binary path... The path from flutter doctor is different from the one in the Exception. Either when I run existing projects or I create new project and try to run it it still gives the same error. e: java.io.IOException: Cannot run program "C:\Progr... | java|android|android-studio|flutter|path | 1 | 2020-02-05T21:13:11.270Z | 2,020 | 2 | 21 | 2 | 949 | 1 | 1,035 | 71 | 5 | 1 | true | false | false | false | false | false | low |
60,084,412 | Android - is there a way to use a message handler for a service and still be able to call it's methods from a bound activity? | <p>I am trying to rewrite an existing service called AdamService so that it may extend a service class called BaseSensorService. AdamService's onBind() currently returns a binder that has a function getService which exposes it's methods:</p>
<pre class="lang-java prettyprint-override"><code>private final IBinder local... | I am trying to rewrite an existing service called AdamService so that it may extend a service class called BaseSensorService. AdamService's onBind() currently returns a binder that has a function getService which exposes it's methods: [CODE] However BaseSensorService's onBind returns the binder to a message handler for... | java|android | 0 | 2020-02-05T21:30:00.070Z | 2,020 | 2 | 21 | 2 | 42 | 0 | 523 | 125 | 2 | 2 | true | true | false | false | false | false | zero |
60,084,454 | Do not center Placeholder in TextInputLayout vertically | <p>I am using Material Components 1.1.0. On a <code>TextInputLayout</code> I removed the background and left-aligned the placeholder and text by setting the <code>paddingStart</code> of the <code>EditText</code> to zero.</p>
<p>This gives me the following result:
<a href="https://i.stack.imgur.com/UPT3N.png" rel="nofo... | I am using Material Components 1.1.0. On a TextInputLayout I removed the background and left-aligned the placeholder and text by setting the paddingStart of the EditText to zero. This gives me the following result: Note the large distance between the Placeholder and the bottom line. When actually typing text, the dista... | material-components-android|material-components | 3 | 2020-02-05T21:34:23.033Z | 2,020 | 2 | 21 | 2 | 689 | 1 | 533 | 55 | 2 | 2 | true | false | false | false | false | false | low |
60,084,498 | How to get Data from childs of a JSON | <p>I have this line of code and I would like to drain numbers from the "list". Which is one good way to implement that? I am new to developing and this is a place I've been stuck for days.</p>
<pre><code> protected Void doInBackground(Void... voids) {
try {
URL url = new URL("https://{myUrl}");
... | I have this line of code and I would like to drain numbers from the "list". Which is one good way to implement that? I am new to developing and this is a place I've been stuck for days. [CODE] | java|android|json|android-studio | 0 | 2020-02-05T21:38:47.993Z | 2,020 | 2 | 21 | 2 | 43 | 3 | 192 | 37 | 4 | 1 | true | false | false | false | false | false | zero |
60,084,578 | Is there an android NDK linter? | <p>I inherited an android project that has a lot of stylistically messy C++ code.<br>
I want to clean it up and enforce style consistency going forward. Ideally I'd be able to specify a list of rules or a style guide that have to be followed.</p> | I inherited an android project that has a lot of stylistically messy C++ code. I want to clean it up and enforce style consistency going forward. Ideally I'd be able to specify a list of rules or a style guide that have to be followed. | android|android-studio|android-ndk|linter | 1 | 2020-02-05T21:46:34.800Z | 2,020 | 2 | 21 | 2 | 76 | 0 | 235 | 31 | 4 | 0 | false | true | false | false | false | false | low |
60,084,649 | How to open a PDF file downloaded and stored in the Download folder an a mobile device? | <p>I've researched different solutions to this problem, but none of them works for me. I am trying to download a file from <code>Firebase</code> (which I am successful in doing) and then I am trying to open that file in my app right after the download completes. However, my app either crashes or does nothing.</p>
<p>B... | I've researched different solutions to this problem, but none of them works for me. I am trying to download a file from Firebase (which I am successful in doing) and then I am trying to open that file in my app right after the download completes. However, my app either crashes or does nothing. Below is the code for dow... | file|android-studio|download|display | 0 | 2020-02-05T21:52:10.277Z | 2,020 | 2 | 21 | 2 | 64 | 0 | 628 | 87 | 4 | 3 | true | true | false | false | false | false | zero |
60,084,704 | aab format return an apk without armeabi_v7a library under 32 bit devices | <p>Deploying my android 64 bit app + android 32 bit app (made in Delphi) in aab format (Android App Bundles) under google play not work under android 32 bit devices. When i start the app it's say that their is no so librairies and failed to start (my app is build inside an SO library). when I use apk extractor (<a href... | Deploying my android 64 bit app + android 32 bit app (made in Delphi) in aab format (Android App Bundles) under google play not work under android 32 bit devices. When i start the app it's say that their is no so librairies and failed to start (my app is build inside an SO library). when I use apk extractor ( https://p... | android|delphi|google-play|google-play-console|android-app-bundle | 2 | 2020-02-05T21:56:57.180Z | 2,020 | 2 | 21 | 2 | 681 | 1 | 1,230 | 73 | 5 | 1 | true | false | false | false | false | false | low |
60,084,728 | Google Sheets as Data Base With Kotlin | <p>I want to use google sheets with android but without java i am new to android and all i can find on google and youtube is how to use java with android and when i try the same i usually end up with one or more error either on importing or in some function i also get error when i just use direct google examples can so... | I want to use google sheets with android but without java i am new to android and all i can find on google and youtube is how to use java with android and when i try the same i usually end up with one or more error either on importing or in some function i also get error when i just use direct google examples can someo... | android|kotlin | 0 | 2020-02-05T21:59:03.877Z | 2,020 | 2 | 21 | 2 | 798 | 0 | 961 | 38 | 2 | 1 | true | true | false | false | false | false | zero |
60,084,748 | Notifications per day of week | <p>I have never scheduled notifications before and need help.
My app have Notification entity which contains:</p>
<pre><code>@Parcelize
@Entity
data class Notification(
@PrimaryKey(autoGenerate = true)
val id: Int = 0,
var time: Date,
var daysOfWeek: Set<DayOfWeek>,
var enabled: Boolean = fal... | I have never scheduled notifications before and need help. My app have Notification entity which contains: [CODE] I wish to let this notification trigger selected days of week in specified time. I also have several methods to set notifications: [CODE] Notifications are set similarly to the question (using check notific... | android|broadcastreceiver | 0 | 2020-02-05T22:00:29.187Z | 2,020 | 2 | 22 | 2 | 81 | 2 | 418 | 29 | 2 | 4 | true | false | false | false | false | false | zero |
60,084,759 | Xamarin Forms Access parent collection item | <p>I have a problem. I have a CollectionView with a <code>List<Album> albumList</code> with inside an Album a <code>List<Picture> Pictures</code>. Now I created the following XAML:</p>
<pre><code><CollectionView ItemsSource="{Binding albumList}">
<CollectionView.ItemsLayout>
<Gri... | I have a problem. I have a CollectionView with a List<Album> albumList with inside an Album a List<Picture> Pictures . Now I created the following XAML: [CODE] Now I want to access the current Album.Price inside the following line: <Label Grid.Column="1" Text="{Binding albumList.Price, StringFormat='€ {0:F2}'}" TextCol... | xaml|xamarin|xamarin.forms|xamarin.android|xamarin.ios | 0 | 2020-02-05T22:01:22.340Z | 2,020 | 2 | 22 | 2 | 578 | 1 | 457 | 43 | 5 | 1 | true | false | false | false | false | false | zero |
60,084,803 | nativescript sidekick cloud build fails | <p>I can build successfully with <code>tns debug android</code> on local but when I try to do a clean cloud debug build with sidekick it fails with this weird error:</p>
<pre><code>[20-02-06 00:49:17.869] (CLI) Webpack compilation complete.
[20-02-06 00:49:17.869] (CLI) nativescript-plugin-firebase: /mnt/storage/build... | I can build successfully with tns debug android on local but when I try to do a clean cloud debug build with sidekick it fails with this weird error: [CODE] How should I go about debugging this? | android|nativescript|nativescript-sidekick | 0 | 2020-02-05T22:06:19.110Z | 2,020 | 2 | 22 | 2 | 92 | 0 | 194 | 39 | 3 | 1 | true | true | false | false | false | false | zero |
60,084,858 | My app force close when call putString on SharedPreference.Editor | <p>The problem occurs when I call putString to SharedPreference.
My program is first run through TileService which runs a ForegroundService then from ForegroundService opens an Activity and in this Activity I call putString to a SharedPreference.</p>
<p>How to make it work perfectly?</p>
<p><strong>TileService</stron... | The problem occurs when I call putString to SharedPreference. My program is first run through TileService which runs a ForegroundService then from ForegroundService opens an Activity and in this Activity I call putString to a SharedPreference. How to make it work perfectly? TileService [CODE] Service [CODE] Activity [C... | java|android|sharedpreferences | 0 | 2020-02-05T22:11:46.977Z | 2,020 | 2 | 22 | 2 | 39 | 1 | 337 | 65 | 3 | 4 | true | false | false | false | false | false | zero |
60,084,948 | How to check mobile network connectivity via ADB Android? | <p>i am trying to find if there is network connectivity using mobile network on an android device using ADB commands,
i have tried the following command:</p>
<pre><code>./adb shell settings get global wifi_on
</code></pre>
<p>which returns 1 or 0 respectively but it only works with WIFI, if i turn off wifi and turn ... | i am trying to find if there is network connectivity using mobile network on an android device using ADB commands, i have tried the following command: [CODE] which returns 1 or 0 respectively but it only works with WIFI, if i turn off wifi and turn ON mobile data, it returns 0, which is expected, so i'd like to know a ... | android|adb | 3 | 2020-02-05T22:20:13.243Z | 2,020 | 2 | 22 | 2 | 1,423 | 0 | 516 | 57 | 2 | 2 | true | true | false | false | false | false | low |
60,084,952 | New build type fails with error: CrashlyticsOrgIdException: Could not fetch Crashlytics Org Id | <p>I have a project that has been using Crashytics for a while. Today, I added a new build type by copying/pasting one of the existing blocks under buildTypes{...} and renaming it.</p>
<p>The build type includes a different application id suffix, so I logged into the Firebase console, registered a new app using the ne... | I have a project that has been using Crashytics for a while. Today, I added a new build type by copying/pasting one of the existing blocks under buildTypes{...} and renaming it. The build type includes a different application id suffix, so I logged into the Firebase console, registered a new app using the new applicati... | android|firebase|crashlytics | 5 | 2020-02-05T22:20:48.310Z | 2,020 | 2 | 22 | 2 | 2,567 | 6 | 1,651 | 94 | 3 | 0 | false | false | false | false | false | false | low |
60,084,993 | Error when trying to swipe to org.openqa.selenium.remote.RemoteWebDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen | <p>I am trying to swipe within the app and it is giving me the following error org.openqa.selenium.remote.RemoteWebDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen</p>
<p>Please find my code details.
here is my main class</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-consol... | I am trying to swipe within the app and it is giving me the following error org.openqa.selenium.remote.RemoteWebDriver cannot be cast to org.openqa.selenium.interactions.HasTouchScreen Please find my code details. here is my main class [CODE] Please find the swipe method code below [CODE] Please let me know what I am d... | appium|appium-android | 0 | 2020-02-05T22:24:31.977Z | 2,020 | 2 | 22 | 2 | 317 | 1 | 417 | 138 | 2 | 2 | true | false | false | false | false | false | zero |
60,085,015 | Processing LiveData from Room database in ViewModel with Transformations.map | <p>I have the following simple database:</p>
<p><code>NameList.kt</code></p>
<pre><code>@Entity(tableName = "name_list")
data class NameList(
@PrimaryKey(autoGenerate = true)
var id: Long = 0L,
@ColumnInfo(name = "name")
var name: String = "")
</code></pre>
<p><code>NameListDao.kt</c... | I have the following simple database: NameList.kt [CODE] NameListDao.kt [CODE] NameListRepository.kt [CODE] MyViewModel.kt [CODE] For the time being I want to get and process only the last entry of this non-empty database (without changing/adding methods in NameListDao ). Within a fragment, it is easy to get and e.g. d... | android|kotlin|android-room|android-livedata|android-viewmodel | 0 | 2020-02-05T22:26:12.480Z | 2,020 | 2 | 22 | 2 | 614 | 1 | 899 | 76 | 5 | 6 | true | false | false | false | false | false | zero |
60,085,194 | Allow third party extensions/plugins for my Android app after installation - Bluetooth Low Energy | <p>I have looked at several posts in stack overflow related to this topic and the closest I can get is sharing data between APKs using content providers.</p>
<p>What I am looking to do is to first install my application which scans for and connects to Bluetooth Low Energy health devices that follow the BT SIG standard... | I have looked at several posts in stack overflow related to this topic and the closest I can get is sharing data between APKs using content providers. What I am looking to do is to first install my application which scans for and connects to Bluetooth Low Energy health devices that follow the BT SIG standards. What I a... | android|plugins|android-ble | 1 | 2020-02-05T22:44:24.217Z | 2,020 | 2 | 22 | 2 | 513 | 1 | 2,253 | 97 | 3 | 0 | false | false | false | false | false | false | low |
60,085,206 | Make SSH tunnel in android | <p>I have project that need to open connection via ssh tunnel , in android I have used jSch library I have succeed to make connection server but I stacked ! How can I make webview to load url via SSH connection?</p>
<p>void go() throws Exception {</p>
<pre><code> int tunnelLocalPort= 8080;
String tunnelRemot... | I have project that need to open connection via ssh tunnel , in android I have used jSch library I have succeed to make connection server but I stacked ! How can I make webview to load url via SSH connection? void go() throws Exception { [CODE] | java|android|ssh|proxy|ssh-tunnel | 1 | 2020-02-05T22:45:17.517Z | 2,020 | 2 | 22 | 2 | 1,461 | 0 | 244 | 26 | 5 | 1 | true | true | false | false | false | false | low |
60,085,216 | Fun with flows, getting null when converting to live data | <p>I am trying out flows and trying to see how they can be converted to mvvm with android view models. Here is what I tried first to test it out :</p>
<pre><code>class HomeViewModel : ViewModel() {
private lateinit var glucoseFlow: LiveData<Int>
var _glucoseFlow = MutableLiveData<Int>()
fun ... | I am trying out flows and trying to see how they can be converted to mvvm with android view models. Here is what I tried first to test it out : [CODE] I get a null for the reading number however any ideas ? | android|kotlin|android-livedata|kotlin-flow | 3 | 2020-02-05T22:46:13.767Z | 2,020 | 2 | 22 | 2 | 1,577 | 2 | 206 | 57 | 4 | 1 | true | false | false | false | false | false | low |
60,085,231 | How to programmatically 'substitute' a ListView by a progress bar while it loads? | <p>I have a simple ListView like this:</p>
<pre><code>listView = view.findViewById(R.id.elements_list);
</code></pre>
<p>but I do not have access to the layout, so I cannot place a progress bar there. Can I make listView invisible and then make a <code>progressBar</code> appear in front of it? I can at least think on... | I have a simple ListView like this: [CODE] but I do not have access to the layout, so I cannot place a progress bar there. Can I make listView invisible and then make a progressBar appear in front of it? I can at least think on how to do it for the entire screen where listView is contained, but what if I want my progre... | android|listview|layout | 0 | 2020-02-05T22:47:04.677Z | 2,020 | 2 | 22 | 2 | 51 | 1 | 401 | 81 | 3 | 1 | true | false | false | false | false | false | zero |
60,085,261 | Storing MongoDB database credentials inside Android app | <p>I have developed an android app that directly interacts with the MongoDB for insertion and fetching the data.</p>
<p>I have credentials stored inside a config file of android app that I read inside the app.</p>
<pre><code>mongoDBConnection:
credentials:
username: "test"
password: "test"
database: "adm... | I have developed an android app that directly interacts with the MongoDB for insertion and fetching the data. I have credentials stored inside a config file of android app that I read inside the app. [CODE] The app works as expected when installed on a phone, the worry that I have is if I ship the app can anyone decomp... | java|android|mongodb|apk|dalvik | 2 | 2020-02-05T22:50:20.740Z | 2,020 | 2 | 22 | 2 | 164 | 2 | 726 | 55 | 5 | 1 | true | false | false | false | false | false | low |
60,085,373 | Xamarin Deployment failed and ArchitectureNotSupportedBySharedRuntime when trying to debug on mobile phone | <p>I have a problem that I really can't understand what causes this problem.
I get this error when I try to debug a xamarin app to my physical android mobile phone.
This is the blank app that you get when you first create a project. So I have not added
one line of code to this application. I have tried with everything... | I have a problem that I really can't understand what causes this problem. I get this error when I try to debug a xamarin app to my physical android mobile phone. This is the blank app that you get when you first create a project. So I have not added one line of code to this application. I have tried with everything I c... | android|xamarin|deployment|usb-debugging | 1 | 2020-02-05T23:02:52.387Z | 2,020 | 2 | 23 | 2 | 117 | 1 | 963 | 106 | 4 | 0 | false | false | false | false | false | false | low |
60,085,410 | Android 10 ACTION_GET_CONTENT image with GPS info? | <p>I'm using ACTION_GET_CONTENT to let user import photos into my app. It reads GPS data from selected photos. It worked fine up until Android 10.</p>
<p>I found that I'm supposed to use <code>MediaStore.setRequireOriginal()</code> on the uri but <code>getContentResolver().openFileDescriptor()</code> throws an error</... | I'm using ACTION_GET_CONTENT to let user import photos into my app. It reads GPS data from selected photos. It worked fine up until Android 10. I found that I'm supposed to use MediaStore.setRequireOriginal() on the uri but getContentResolver().openFileDescriptor() throws an error [CODE] The original uri doesn't contai... | android|gps|exif|android-10.0 | 2 | 2020-02-05T23:07:15.953Z | 2,020 | 2 | 23 | 2 | 780 | 0 | 1,031 | 50 | 4 | 3 | true | true | false | false | false | false | low |
60,085,462 | Google Login: SignIn API Exception 10 only in the Play Store | <p>First of all, I already try this solution:<a href="https://stackoverflow.com/a/49450870/6844485">Patrik's Solution</a> . Did not work!</p>
<p>If I run directly from Android Studio it works perfectly, but when I create and install the Signed APK the exception happens.
what could be happening?</p>
<p>my code:</p>
<... | First of all, I already try this solution: Patrik's Solution . Did not work! If I run directly from Android Studio it works perfectly, but when I create and install the Signed APK the exception happens. what could be happening? my code: [CODE] | android|google-signin | 0 | 2020-02-05T23:12:56Z | -1 | -1 | -1 | -1 | 120 | 1 | 243 | 60 | 2 | 1 | true | false | false | false | false | false | zero |
60,085,634 | Android - setting a listener on items in each row of ExpandableListView | <p>On each row i have two EditTexts.when i change the first one , i want the other to be changed as well(if needed ,for now just setting there '25' for testing).I am using a viewholder pattern,and setting on each of the first edittexts a TextChangedListener,expecting the second to be changed as well .problem is , whene... | On each row i have two EditTexts.when i change the first one , i want the other to be changed as well(if needed ,for now just setting there '25' for testing).I am using a viewholder pattern,and setting on each of the first edittexts a TextChangedListener,expecting the second to be changed as well .problem is , whenever... | java|android|listview|listener | 0 | 2020-02-05T23:32:30.163Z | 2,020 | 2 | 23 | 2 | 46 | 1 | 635 | 71 | 4 | 1 | true | false | false | false | false | false | zero |
60,085,936 | Why some elements of xamarin has a "shadow" when creating page? | <p>I'm using xamarin to build an app android and ios and have noticed that some buttons, webviews and some other elements has a kind of shadow while page is being created and then this "shadow" disappears and everything is fine. It seems to occur with transparent elements and I could fix it by giving negative padding o... | I'm using xamarin to build an app android and ios and have noticed that some buttons, webviews and some other elements has a kind of shadow while page is being created and then this "shadow" disappears and everything is fine. It seems to occur with transparent elements and I could fix it by giving negative padding or m... | c#|android|xamarin|oncreate | 0 | 2020-02-06T00:11:19Z | -1 | -1 | -1 | -1 | 50 | 1 | 614 | 63 | 4 | 0 | false | false | false | false | false | false | zero |
60,086,046 | Xamarin binding library combination of InputJar and ReferenceJar? | <p>I am trying to use <a href="https://github.com/Redth/Xamarin.Android.Xposed" rel="nofollow noreferrer">https://github.com/Redth/Xamarin.Android.Xposed</a> in Xamarin but the final result is rejected by Xposed, saying: "cannot load module" .. "the xposed api classes are compiled into the module's apk". The xposed-api... | I am trying to use https://github.com/Redth/Xamarin.Android.Xposed in Xamarin but the final result is rejected by Xposed, saying: "cannot load module" .. "the xposed api classes are compiled into the module's apk". The xposed-api.jar file is currently a EmbeddedJar , which is what causes that error. The xposed-api.jar ... | xamarin|xamarin.android | 1 | 2020-02-06T00:28:20.440Z | 2,020 | 2 | 0 | 3 | 411 | 1 | 1,728 | 65 | 2 | 0 | false | false | false | false | false | false | low |
60,086,123 | Why does Retrofit reponse.body().toString() not display the JSON from response? | <p>I'm making a Retrofit call:</p>
<pre><code>RetrofitInterfaces.IGetEvent service = RetrofitClientInstance.getRetrofitInstance().create(RetrofitInterfaces.IGetEvent.class);
Call<ResponseBody> call = service.listRepos("1", "9e028aaa-d265-4e27-9528-30858ed8c13d");
call.enqueue(new Callback<Resp... | I'm making a Retrofit call: [CODE] However it returns it the log as: okhttp3.ResponseBody$1@fcf58e0 But when I do [CODE] It returns me the JSON {"server_time":1580949319,"event_info":[{"e_id":1 Why does the first one not return the JSON String? | android|retrofit|retrofit2 | 0 | 2020-02-06T00:36:21.780Z | 2,020 | 2 | 0 | 3 | 185 | 1 | 244 | 79 | 3 | 2 | true | false | false | false | false | false | zero |
60,086,141 | ViewPager2: How to implement independent fragments | <p>I know this is a broad question but it goes as follows. I have a Fragment that lists TODO tasks. Now I want to add a swipe view - a second page - that lists the already completed tasks. So basically what I want to achieve looks like this:</p>
<p><a href="https://i.stack.imgur.com/ydV9V.png" rel="nofollow noreferrer... | I know this is a broad question but it goes as follows. I have a Fragment that lists TODO tasks. Now I want to add a swipe view - a second page - that lists the already completed tasks. So basically what I want to achieve looks like this: Just imagine that there are two static pages "TODO" and "DONE" This means that I ... | java|android|android-viewpager|android-navigation|android-viewpager2 | 1 | 2020-02-06T00:39:44.647Z | 2,020 | 2 | 0 | 3 | 406 | 0 | 1,155 | 50 | 5 | 0 | false | true | false | false | false | false | low |
60,086,365 | Check if any activity is resumed for background service? | <p>I've seen similar questions asked where they wanted to know if they could find if a specific activity was running from a service. This is not what I want to do. I want to be able to tell if the user is currently using any activity on my app.</p>
<p>My use case is that I have a monitoring <code>Service</code> that m... | I've seen similar questions asked where they wanted to know if they could find if a specific activity was running from a service. This is not what I want to do. I want to be able to tell if the user is currently using any activity on my app. My use case is that I have a monitoring Service that monitors many session-rel... | android | 0 | 2020-02-06T01:13:47.360Z | 2,020 | 2 | 1 | 3 | 25 | 1 | 1,140 | 56 | 1 | 0 | false | false | false | false | false | false | zero |
60,086,427 | Best way to display floating action button on top of another one | <p>What if I want to display a smaller floating action button on top of another one? Using a ConstraintLayout is the obvious way, but is it possible to do it in LinearLayout? </p> | What if I want to display a smaller floating action button on top of another one? Using a ConstraintLayout is the obvious way, but is it possible to do it in LinearLayout? | android|android-layout | 1 | 2020-02-06T01:21:14.323Z | 2,020 | 2 | 1 | 3 | 73 | 1 | 171 | 64 | 2 | 0 | false | false | false | false | false | false | low |
60,086,465 | FAB on flutter is behind other widget | <p>I tried to create a webview app with bottom appbar and FAB on flutter. here's my home.dart code</p>
<pre><code>class _HomeState extends State<Home> {
// Properties & Variables needed
int currentTab = 0; // to keep track of active tab index
final List<Widget> screens = [
Dashboard(),
P... | I tried to create a webview app with bottom appbar and FAB on flutter. here's my home.dart code [CODE] and here's my dashboard.dart [CODE] and the result is like this the FAB should be above the webview widget, no matter where i put the FAB, it always behind the webview widget. even if i put the FAB code on top of body... | android|flutter|dart | 1 | 2020-02-06T01:27:40.690Z | 2,020 | 2 | 1 | 3 | 276 | 1 | 354 | 37 | 3 | 2 | true | false | false | false | false | false | low |
60,086,507 | DataBinding with Presenter | <p>I'm building an application using Koin and have been experimenting with something, presenter.
Essentially I wish to use the data-binding lambdas in the xml as an option.
I have the view model with live data and it works fine, but this also works.
Is it wrong to do it this way as well?</p>
<p>This is the way that <a... | I'm building an application using Koin and have been experimenting with something, presenter. Essentially I wish to use the data-binding lambdas in the xml as an option. I have the view model with live data and it works fine, but this also works. Is it wrong to do it this way as well? This is the way that android docum... | android|kotlin | 1 | 2020-02-06T01:32:39.570Z | 2,020 | 2 | 1 | 3 | 253 | 0 | 366 | 26 | 2 | 1 | true | true | false | false | false | false | low |
60,086,526 | Pusher duplicates and receive multiple data in single push | <p>i am using pusher and when android activity restarts, my pusher connection duplicates values 2,3,4 times when i trigger pusher debug console to push. here is the code sample. </p>
<pre><code>PusherOptions options = new PusherOptions();
Pusher pusher ;
@Override
protected void onCreate(Bundle savedInstanceState) {
... | i am using pusher and when android activity restarts, my pusher connection duplicates values 2,3,4 times when i trigger pusher debug console to push. here is the code sample. [CODE] | java|android|android-studio|pusher | -1 | 2020-02-06T01:35:39.713Z | 2,020 | 2 | 1 | 3 | 487 | 1 | 181 | 58 | 4 | 1 | true | false | false | false | false | true | negative |
60,086,572 | Why using unicode in the format \u1F512 doesn't work in strings.xml? | <p>I have a unicode string, which displays space followed by a lock symbol.It works if I declare it via the following way.</p>
<pre><code><string name="lock">\u0020</string>
</code></pre>
<p><a href="https://i.stack.imgur.com/1G6tn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1G6tn.p... | I have a unicode string, which displays space followed by a lock symbol.It works if I declare it via the following way. [CODE] However, if I declare it using the following way. It shows weird symbol [CODE] Based on https://www.compart.com/en/unicode/U+1F512 , I thought the unicode for lock symbol is \u1F512 May I know ... | android|unicode | 0 | 2020-02-06T01:42:07.217Z | 2,020 | 2 | 1 | 3 | 173 | 2 | 382 | 68 | 2 | 2 | true | false | false | false | false | false | zero |
60,086,662 | AccessibilityNodeInfo.ACTION_CLICK not performing click | <p>I am trying to perform the click action on a button for another app, but it is not working. Here´s my code:</p>
<pre><code>if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED && lgPhone){
if (info.getContentDescription() != null){
if (info.getContentDescription().toString... | I am trying to perform the click action on a button for another app, but it is not working. Here´s my code: [CODE] I do get the logs printed and it returns "True" but does not perform the click option. If I access the actions for that specific event I get this: [CODE] so I think this is not working because the ACTION_C... | android|accessibility | 2 | 2020-02-06T01:56:21.660Z | 2,020 | 2 | 1 | 3 | 509 | 0 | 358 | 55 | 2 | 2 | true | true | false | false | false | false | low |
60,086,682 | Android intent opens blank PDF even though I used the same path used for saving it | <p>I'm trying to generate a PDF from a layout with:</p>
<pre><code> PdfDocument document = new PdfDocument();
PdfDocument.PageInfo pageInfo = new PdfDocument.PageInfo.Builder(2480, 3508, 0).create();
PdfDocument.Page page = document.startPage(pageInfo);
l... | I'm trying to generate a PDF from a layout with: [CODE] When I run this code, I get a blank PDF opened by the defaut PDF opener. I don't know if it does that because it didn't find the PDF file, but I guess it's the problem, because the PDF is generated correctly. If I go with a file searcher and open the file /storage... | android|pdf|android-intent|android-external-storage | 5 | 2020-02-06T01:58:48.750Z | 2,020 | 2 | 1 | 3 | 823 | 2 | 630 | 82 | 4 | 3 | true | false | false | false | false | false | low |
60,086,689 | why is my ArrayList empty even though firebase datasnapshot contains children | <p>I am attempting to pull user data from firebase realtime database, the datasnapshot does contain children and data but when I attempt to put this into an array, the array is empty. I created a user class which contains the properties to match the ones in firebase, overloaded constructors, and some methods. It does n... | I am attempting to pull user data from firebase realtime database, the datasnapshot does contain children and data but when I attempt to put this into an array, the array is empty. I created a user class which contains the properties to match the ones in firebase, overloaded constructors, and some methods. It does not ... | java|android|firebase|firebase-realtime-database | 0 | 2020-02-06T01:59:49.673Z | 2,020 | 2 | 1 | 3 | 148 | 2 | 439 | 77 | 4 | 1 | true | false | false | false | false | false | zero |
60,086,771 | Android OS seems to be triggering an error on file download links in WebViewClient | <p>I'm running into a weird issue where certain download links on our website cause the app to call into the WebViewClient <code>onReceivedError</code> method. The app is getting a 200 response from the website and seems to be processing everything correctly in our download listeners but something between <code>onPageS... | I'm running into a weird issue where certain download links on our website cause the app to call into the WebViewClient onReceivedError method. The app is getting a 200 response from the website and seems to be processing everything correctly in our download listeners but something between onPageStart and onPageFinishe... | android|android-webview | 2 | 2020-02-06T02:11:07.310Z | 2,020 | 2 | 2 | 3 | 254 | 0 | 1,248 | 82 | 2 | 2 | true | true | false | false | false | false | low |
60,086,869 | response.body().getResponseCode()==200 - no response | <p>the response is always raised ie Invalid response from server.</p>
<p>I've tried various ways but there was no response.and when I tried getCode 200 what happened was NPE
Before I used the same method with a different case I could get a response ... but in this case I didn't pay attention to the reposn. while the ... | the response is always raised ie Invalid response from server. I've tried various ways but there was no response.and when I tried getCode 200 what happened was NPE Before I used the same method with a different case I could get a response ... but in this case I didn't pay attention to the reposn. while the input and ba... | java|android|httpresponse | 0 | 2020-02-06T02:22:30.837Z | 2,020 | 2 | 2 | 3 | 197 | 0 | 479 | 52 | 3 | 3 | true | true | false | false | false | false | zero |
60,087,063 | Passing an "indirect" object between pages in XMAL/C# | <p>I have defined a Player object as follows:</p>
<pre><code>public class Player
{
[PrimaryKey, AutoIncrement]
public int ID { get; set; }
public string PlayerName { get; set; }
public DateTime JoinDate { get; set; }
public int TotalMatchesWon { get; set; }
public in... | I have defined a Player object as follows: [CODE] I store the Players in an SQLite database. I am implementing the following pages for an android app in Xamarin: Roster -> Roster Detail -> Edit Player The pages have the following functionality: Roster: 1. Roster.xmal contains a ListView of Players (the Roster), populat... | c#|android|xamarin | 0 | 2020-02-06T02:56:40.153Z | 2,020 | 2 | 2 | 3 | 60 | 2 | 2,061 | 53 | 3 | 8 | true | false | false | false | false | false | zero |
60,087,128 | Android - How can I prepopulating data in Room Database in kotlin (updated)? | <p>I have a database in Room Kotlin (Android) like this, but I cannot prepopulate because never enter in <strong>.addCallback(CALLBACK)</strong>, how can I do this?</p>
<pre><code>@Database(entities = [Entry::class, Category::class], version = 2, exportSchema = false)
@TypeConverters(RoomTypeConverters::class)
abstrac... | I have a database in Room Kotlin (Android) like this, but I cannot prepopulate because never enter in .addCallback(CALLBACK) , how can I do this? [CODE] | android|sqlite|android-room | 3 | 2020-02-06T03:05:26.063Z | 2,020 | 2 | 3 | 3 | 1,197 | 1 | 152 | 76 | 3 | 1 | true | false | false | false | false | false | low |
60,087,149 | Get the value of a map field in cloud firestore | <p>I have a code in getting the value of a map named Address.</p>
<pre><code>Map<String, Object> map = document.getData();
for (Map.Entry<String, Object> entry : map.entrySet()) {
if (entry.getKey().equals("Address")) {
Log.i(TAG, entry.getValue().toString());
}
}
</code></pre>
<p>And here... | I have a code in getting the value of a map named Address. [CODE] And here is the output {Street=VP Inting Avenue, HouseNo=0186, Town=Tagbilaran City, Barangay=Poblacion I} But I want to get the values ( 0186 VP Inting Avenue Poblacion I Tagbilaran City ) only and not including their keys. | android|google-cloud-firestore|maps | 0 | 2020-02-06T03:07:52.377Z | 2,020 | 2 | 3 | 3 | 60 | 1 | 290 | 47 | 3 | 1 | true | false | false | false | false | false | zero |
60,087,168 | Android: Edit views added programmatically | <p>So I have a messaging app where I read my database and render all the messages programatically. The thing is, when I am inside a different layout, I need to inflate those messages and edit them at will. For example,</p>
<pre><code>val myView = inflater.inflate(R.layout.female_messaging_fragment, container, false)
.... | So I have a messaging app where I read my database and render all the messages programatically. The thing is, when I am inside a different layout, I need to inflate those messages and edit them at will. For example, [CODE] And then in a different layout... [CODE] The thing is, text is always null, and I believe it is b... | java|android|android-studio|kotlin|view | 0 | 2020-02-06T03:10:48.580Z | 2,020 | 2 | 3 | 3 | 102 | 1 | 394 | 42 | 5 | 2 | true | false | false | false | false | false | zero |
60,087,217 | Every so often BLE rssi weakens for about 2 minutes Android Beacon Libary | <p>Every so often the rssi is not getting any stronger than -55. It can go weaker than this value but cannot go to -30 even if the phone is right next to the beacon. This lasts for about 2 minutes before it goes back to normal. </p>
<p>I am using the android beacon libary and currently am only using foreground scannin... | Every so often the rssi is not getting any stronger than -55. It can go weaker than this value but cannot go to -30 even if the phone is right next to the beacon. This lasts for about 2 minutes before it goes back to normal. I am using the android beacon libary and currently am only using foreground scanning. | android|bluetooth-lowenergy|altbeacon | 0 | 2020-02-06T03:17:03.863Z | 2,020 | 2 | 3 | 3 | 39 | 1 | 310 | 73 | 3 | 0 | false | false | false | false | false | false | zero |
60,087,656 | keyboard does not open, when I using an special bottom navigation bar in android | <p>I am using this library in an activity and show fragment on a frame layout when user click on any button of bottom navigation. when user want to type anything in any editText, keyboard does not open by showing this message in logcat:</p>
<pre><code>2020-02-06 07:38:20.352 3650-3650/com.tivasoft.myorder W/IInputConn... | I am using this library in an activity and show fragment on a frame layout when user click on any button of bottom navigation. when user want to type anything in any editText, keyboard does not open by showing this message in logcat: [CODE] this my layout of activity code: [CODE] when I show fragment on this framlayout... | android|android-fragments|android-softkeyboard | 0 | 2020-02-06T04:15:43.040Z | 2,020 | 2 | 4 | 3 | 152 | 1 | 381 | 80 | 3 | 2 | true | false | false | false | false | false | zero |
60,087,669 | Thread game loop causing problem with ArrayList | <p>This is my 1st question on StackOverflow. I'm not a native English speaker so sorry for any mistakes.</p>
<p>FACTS:<br>
I'm making 2D game in Android studio using Java. I'm using <code>SurfaceView</code>, abstract class <code>GameObject</code> and <code>ArrayList<GameObject></code>. To loop through ArrayList ... | This is my 1st question on StackOverflow. I'm not a native English speaker so sorry for any mistakes. FACTS: I'm making 2D game in Android studio using Java. I'm using SurfaceView , abstract class GameObject and ArrayList<GameObject> . To loop through ArrayList I'm mostly using for-each loop - for(GameObject obj: Array... | java|android|loops|arraylist | 0 | 2020-02-06T04:18:07.137Z | 2,020 | 2 | 4 | 3 | 88 | 1 | 1,488 | 47 | 4 | 0 | false | false | false | false | false | false | zero |
60,087,820 | I tried to make ListView and get the data from string, but got this error | <pre><code>AGPBI: {"kind":"error","text":"Android resource linking failed","sources":[{"file":"/Users/macos/Documents/SubmissionExpert1/app/src/main/res/layout/data.xml","position":{"startLine":11}}],"original":"/Users/macos/Documents/SubmissionExpert1/app/src/main/res/layout/data.xml:12: AAPT: error: resource string/n... | [CODE] FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed /Users/macos/Documents/SubmissionExpert1/app/src/main/res/layout/data.x... | java|android|string|listview | 1 | 2020-02-06T04:37:24.003Z | 2,020 | 2 | 4 | 3 | 93 | 1 | 867 | 73 | 4 | 1 | true | false | false | false | false | false | low |
60,087,849 | Cannot resolve method 'verifyPhoneNumber()' | <p>My code is.</p>
<pre><code>PhoneAuthProvider.getInstance().verifyPhoneNumber(
phoneno, // Phone number to verify
60, // Timeout duration
TimeUnit.SECONDS, // Unit of timeout
this, /... | My code is. [CODE] After writing callbacks it shows error like this [CODE] I have already defined mCallbacks. Can you please guide me with solution? | java|android | -1 | 2020-02-06T04:41:37.003Z | 2,020 | 2 | 4 | 3 | 423 | 2 | 148 | 43 | 2 | 2 | true | false | false | false | false | true | negative |
60,087,906 | How to implement multi selection recyclerview? | <p>I am trying to implement a RecyclerView that supports Multi Selection in items, I have seen other questions about this subject, but the main difference is that I need to be able to select outside of the Adapter.<br>
For example, let's say I have a Dialog called SelectionDialog, this dialog displays some Selection op... | I am trying to implement a RecyclerView that supports Multi Selection in items, I have seen other questions about this subject, but the main difference is that I need to be able to select outside of the Adapter. For example, let's say I have a Dialog called SelectionDialog, this dialog displays some Selection options, ... | java|android|android-recyclerview | -1 | 2020-02-06T04:48:56.937Z | 2,020 | 2 | 4 | 3 | 63 | 1 | 904 | 46 | 3 | 1 | true | false | false | false | false | true | negative |
60,087,911 | how to get string from array edit text | <p>i have edittexts those are made with for loop .how can i get string typed in specific edit text ?</p>
<pre><code>for (int r = 0; r < arraysize ; r++) {
EditText comment_post[r] = new EditText(home.this);
comment_post[r].setLayoutParams(set_params2);
comment_post[r].setHin... | i have edittexts those are made with for loop .how can i get string typed in specific edit text ? [CODE] Attention : r variable returns last value because it grows in for loop so onClick return last value of comment_post[r] but i need choosed edit text value. thanks for your attention | android | -1 | 2020-02-06T04:50:00.947Z | 2,020 | 2 | 4 | 3 | 58 | 3 | 285 | 38 | 1 | 1 | true | false | false | false | false | true | negative |
60,087,972 | Error found "This release is not compliant with the Google Play 64-bit requirement(Opencv lib)" | <p><a href="https://i.stack.imgur.com/GPH3n.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GPH3n.png" alt="This release is not compliant with the Google Play 64-bit requirement"></a></p>
<p><strong>The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native c... | The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 5. Include 64-bit and 32-bit native code in your app. Use the Android App Bundle publishing format to automatically ensure that each device architecture receives only the native code it needs. This avoids increasin... | android|opencv|opencv3.0|google-play-console|opencv3.1 | 1 | 2020-02-06T04:58:03.527Z | 2,020 | 2 | 4 | 3 | 711 | 1 | 507 | 95 | 5 | 0 | false | false | false | false | false | false | low |
60,087,995 | While starting the emulator I'm getting Emulator Error? | <p>While starting the emulator I'm getting the following error.
If anyone can solve the problem please share with me.</p>
<pre><code>Emulator: Fatal: This application failed to start because no Qt platform plugin
could be initialized. Reinstalling the application may fix this problem.
Emulator: ((null):0,... | While starting the emulator I'm getting the following error. If anyone can solve the problem please share with me. [CODE] | android-studio|android-emulator | 2 | 2020-02-06T05:01:15.917Z | 2,020 | 2 | 5 | 3 | 1,268 | 1 | 121 | 55 | 2 | 1 | true | false | false | false | false | false | low |
60,088,017 | what does Glide do when disk storage is full? | <p>I am using Glide in my Android application for loading images from internet. I've disabled <code>memoryCache</code> when loading images but <code>diskCache</code> is still active and it uses default strategy to cache resources on the disk. My question is What Glide do during caching resources on the disk storage if ... | I am using Glide in my Android application for loading images from internet. I've disabled memoryCache when loading images but diskCache is still active and it uses default strategy to cache resources on the disk. My question is What Glide do during caching resources on the disk storage if disk's storage is full and th... | java|android|kotlin|android-glide | 1 | 2020-02-06T05:04:46.747Z | 2,020 | 2 | 5 | 3 | 172 | 1 | 388 | 45 | 4 | 0 | false | false | false | false | false | false | low |
60,088,058 | TVEventHandler not found for Android TV | <p>I am trying to build an application for android tv and I wanted to use the remote movements. I first checked if there was a package which could help me with this but I could not find one.</p>
<p>Then I moved on to the official documentation listed <a href="https://facebook.github.io/react-native/docs/building-for-a... | I am trying to build an application for android tv and I wanted to use the remote movements. I first checked if there was a package which could help me with this but I could not find one. Then I moved on to the official documentation listed here I am trying to use this code: [CODE] But the var TVEventHandler = require(... | javascript|android|react-native | 3 | 2020-02-06T05:09:14.603Z | 2,020 | 2 | 5 | 3 | 1,937 | 1 | 628 | 39 | 3 | 1 | true | false | false | false | false | false | low |
60,088,204 | APK REQUIRES VALID PRIVACY POLICY AND PROMINENT DISCLOSURE | <p>I have received this email from Google console in a beta release. I have been using Firebase since 2017, and until now it have not be a problem.</p>
<blockquote>
<p>Your app is uploading users' Installed Packages information
to <a href="https://app-measurement.com" rel="nofollow noreferrer">https://app-measurem... | I have received this email from Google console in a beta release. I have been using Firebase since 2017, and until now it have not be a problem. Your app is uploading users' Installed Packages information to https://app-measurement.com without a prominent disclosure. Make sure to also post a privacy policy in both the ... | android|firebase|google-play | 2 | 2020-02-06T05:24:55.740Z | 2,020 | 2 | 5 | 3 | 5,894 | 1 | 458 | 58 | 3 | 0 | false | false | true | false | false | false | low |
60,088,221 | Firebase storage list API listAll() is not calling onSuccess() | <p>I am trying to read the pdf files in firebase storage. I am trying to use Google's latest API listAll() to list the files in a bucket.</p>
<pre><code>FirebaseStorage storage = FirebaseStorage.getInstance();
StorageReference listRef = storage.getReference();
listRef.listAll()
.addOnSuccessListener(n... | I am trying to read the pdf files in firebase storage. I am trying to use Google's latest API listAll() to list the files in a bucket. [CODE] On debugging, I could see 'listRef' is correctly getting my default bucket at firestore ("gs://myapp.appspot.com") But it is not entering inside addonSuccessListener and jumps ov... | android|firebase|firebase-storage | 0 | 2020-02-06T05:26:40.803Z | 2,020 | 2 | 5 | 3 | 259 | 0 | 504 | 62 | 3 | 2 | true | true | false | false | false | false | zero |
60,088,225 | java.lang.RuntimeException: Unable to destroy activity {com.xxxxx/com.xxxxx.MapsActivity}: | <p>App is crashing when I click on back button on Map activity.
Adding moveTaskToBack(true); in onBackPressed() not worked.
Below is the logcat:</p>
<p>--------- beginning of crash</p>
<pre><code>2020-02-06 10:12:44.807 26120-26120/com.xxxx.user E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.xxxx.user, PID... | App is crashing when I click on back button on Map activity. Adding moveTaskToBack(true); in onBackPressed() not worked. Below is the logcat: --------- beginning of crash [CODE] | java|android|google-maps | 0 | 2020-02-06T05:27:43.600Z | 2,020 | 2 | 5 | 3 | 965 | 1 | 177 | 90 | 3 | 1 | true | false | false | false | false | false | zero |
60,088,228 | My Android Fragment code returns IllegalStateException, but only some times | <p>Occasionally IllegalStateException occurs in BottomNavigationView.
It's difficult to reproduce because it rarely happens.
Where is the mistake at my code?</p>
<p>Error always</p>
<pre><code>fm.beginTransaction (). hide (active) .show (fragment1) .commit ();
</code></pre>
<p>It happens here</p>
<pre><code>Fragmen... | Occasionally IllegalStateException occurs in BottomNavigationView. It's difficult to reproduce because it rarely happens. Where is the mistake at my code? Error always [CODE] It happens here [CODE] | android | 0 | 2020-02-06T05:27:51.820Z | 2,020 | 2 | 5 | 3 | 47 | 0 | 197 | 75 | 1 | 2 | true | true | false | false | false | false | zero |
60,088,358 | Emit events after non periodic intervals using rx java | <p>I want to emit events after non periodic intervals and I want to set the interval for emission of each event programatically using Rxjava in Android. How do I do that?</p> | I want to emit events after non periodic intervals and I want to set the interval for emission of each event programatically using Rxjava in Android. How do I do that? | java|android|rx-java|rx-android|rx-kotlin | 0 | 2020-02-06T05:41:04.587Z | 2,020 | 2 | 5 | 3 | 174 | 1 | 167 | 54 | 5 | 0 | false | false | false | false | false | false | zero |
60,088,440 | On Android app cold start, prevent network requests until VPN started | <p>In our app we have many different modules that can make network requests on their own. App has option to use VPN for secure connection. VPN service is only handling network for our app.
My problem is: on app cold start, when VPN feature is enabled, how to prevent modules from making network requests until VPN servi... | In our app we have many different modules that can make network requests on their own. App has option to use VPN for secure connection. VPN service is only handling network for our app. My problem is: on app cold start, when VPN feature is enabled, how to prevent modules from making network requests until VPN service i... | android|android-vpn-service | 0 | 2020-02-06T05:48:50.537Z | 2,020 | 2 | 5 | 3 | 56 | 1 | 330 | 69 | 2 | 0 | false | false | false | false | false | false | zero |
60,088,468 | Trying to get distance data from distance matrix api always returning NULL | <p>Sorry for bad english.
Im trying to access distance data using retrofit and moshi for parsing the json, here's the json response</p>
<pre><code>{
"destination_addresses": [
"Jl. Juanda 7A No.3, Air Hitam, Kec. Samarinda Ulu, Kota Samarinda, Kalimantan Timur 75243, Indonesia"
],
"origin_addresses... | Sorry for bad english. Im trying to access distance data using retrofit and moshi for parsing the json, here's the json response [CODE] and here's my retrofit call and getDistance method i use [CODE] and here's DistanceResponseData "POJO" i use [CODE] if i log the returned response from call, i got every data i need, f... | java|android|kotlin|retrofit|moshi | 0 | 2020-02-06T05:52:04.863Z | 2,020 | 2 | 5 | 3 | 283 | 1 | 597 | 74 | 5 | 4 | true | false | false | false | false | false | zero |
60,088,506 | Stop displaying push notification for the app - Android | <p>I have developed a chat app using Xamarin, and the app receives push notification when a new chat arrives. The push notifications are delivered through OneSignal platform which uses Firebase for Android and APNS for iOS.</p>
<p>I would like to unsubscribe for push notification from the device itself when a user lo... | I have developed a chat app using Xamarin, and the app receives push notification when a new chat arrives. The push notifications are delivered through OneSignal platform which uses Firebase for Android and APNS for iOS. I would like to unsubscribe for push notification from the device itself when a user logouts, so th... | android|xamarin|xamarin.android | 0 | 2020-02-06T05:55:28.030Z | 2,020 | 2 | 5 | 3 | 436 | 1 | 624 | 55 | 3 | 1 | true | false | false | false | false | false | zero |
60,088,512 | Total number of unread messages for all chats in Applogic SDK | <p>I am using applogic chat sdk and want the count of unread messages for a user, i need to show the same as a count on my notification icon in my android app.</p> | I am using applogic chat sdk and want the count of unread messages for a user, i need to show the same as a count on my notification icon in my android app. | android|applozic | 0 | 2020-02-06T05:55:49.563Z | 2,020 | 2 | 5 | 3 | 92 | 1 | 156 | 61 | 2 | 0 | false | false | false | false | false | false | zero |
60,088,522 | How to setChecked true Checkbox from API response in recycler view | <p>Here I want to set Checked true checkbox getting value from API response in recycler view
There are multiple values of checkbox in response
For example
When a user registers in-app there some checkbox dynamics that values are saved in database.
while editing profile same checkbox will be there but need to set Chec... | Here I want to set Checked true checkbox getting value from API response in recycler view There are multiple values of checkbox in response For example When a user registers in-app there some checkbox dynamics that values are saved in database. while editing profile same checkbox will be there but need to set Checked t... | android|json|android-recyclerview | 0 | 2020-02-06T05:56:40.897Z | 2,020 | 2 | 5 | 3 | 380 | 2 | 796 | 66 | 3 | 3 | true | false | false | false | false | false | zero |
60,088,571 | how to Create an APK that holds a PDF and Displays it on the home page | <p>I'm an N0ob so easy to follow instructions please :)<br/>
I am trying to build an app to go onto a TOMTOM display, running Andriod 6.0.1.<br/>
I have 3 PDF's I want drivers in my fleet to have access to. So the APK (can be 3 separate APK's) needs to have the PDF file embedded so it loads as part of the image file...... | I'm an N0ob so easy to follow instructions please :) I am trying to build an app to go onto a TOMTOM display, running Andriod 6.0.1. I have 3 PDF's I want drivers in my fleet to have access to. So the APK (can be 3 separate APK's) needs to have the PDF file embedded so it loads as part of the image file... I can't go a... | android|pdf|apk|tomtom|tomtom-android-sdk | -2 | 2020-02-06T06:00:52.603Z | 2,020 | 2 | 6 | 3 | 162 | 1 | 483 | 70 | 5 | 0 | false | false | false | false | false | true | negative |
60,088,741 | Is there any app interaction detector in flutter? | <p>I am developing a flutter app where I want to display an Alert when there is no interaction with the app for some time (say 5 mins). How do I achieve this? </p> | I am developing a flutter app where I want to display an Alert when there is no interaction with the app for some time (say 5 mins). How do I achieve this? | android|ios|flutter|mobile|dart | 1 | 2020-02-06T06:16:09.443Z | 2,020 | 2 | 6 | 3 | 201 | 1 | 155 | 49 | 5 | 0 | false | false | false | false | false | false | low |
60,088,763 | Is there a way to connect web server to my xamarin android app? | <p>I'm new to mobile development so pardon me if my question is not the proper question to be asked.</p>
<p>In my company, there is a <strong>Telephone Directory</strong> website which is I'm not the developer of it,
Now they want me to create a mobile app base on that website.
I've recently created the android app us... | I'm new to mobile development so pardon me if my question is not the proper question to be asked. In my company, there is a Telephone Directory website which is I'm not the developer of it, Now they want me to create a mobile app base on that website. I've recently created the android app using Xamarin.Android with sql... | xamarin.android | 0 | 2020-02-06T06:17:34.753Z | 2,020 | 2 | 6 | 3 | 87 | 0 | 736 | 63 | 1 | 0 | false | true | false | false | false | false | zero |
60,088,799 | Lists are not showing in RecyclerView, whenever searching on Search Filter in Android Kotiln | <p>I am trying to search for a list in a RecyclerView in Kotlin. The problem is, list is not filtering inside the recycler view when I search for any text. Maybe there is an issue in the adapter.
Below, these are the classes </p>
<p><strong>TenderListActivity</strong></p>
<p><strong>This page is having RecyclerVi... | I am trying to search for a list in a RecyclerView in Kotlin. The problem is, list is not filtering inside the recycler view when I search for any text. Maybe there is an issue in the adapter. Below, these are the classes TenderListActivity This page is having RecyclerView, SearchView [CODE] NotificationViewModel Here ... | java|android|kotlin | 0 | 2020-02-06T06:19:58.283Z | 2,020 | 2 | 6 | 3 | 293 | 1 | 469 | 92 | 3 | 4 | true | false | false | false | false | false | zero |
60,088,829 | How to change Bottom Navigation Text appearance in right side of the icon | <p>I want to create a Bottom Navigation Bar in which text should be aligned right side of the icon. default implementation displays the text below the icon. </p>
<p>XML: </p>
<pre><code><com.google.android.material.bottomnavigation.BottomNavigationView
android:id="@+id/bottom_nav_bar"
style="@style... | I want to create a Bottom Navigation Bar in which text should be aligned right side of the icon. default implementation displays the text below the icon. XML: [CODE] bottom_nav.xml [CODE] | android|bottomnavigationview|android-jetpack | 1 | 2020-02-06T06:22:21.807Z | 2,020 | 2 | 6 | 3 | 2,300 | 2 | 187 | 73 | 3 | 2 | true | false | false | false | false | false | low |
60,088,838 | edittext nextfocusdown to searchview | <p>I'm developing an android mobile app, which contains a list if <code>EditText</code>s.</p>
<p>One of them is a <a href="https://developer.android.com/reference/android/widget/SearchView" rel="nofollow noreferrer">SearchView</a> and it looks like this (4th row is the <code>SearchView</code>):</p>
<p><a href="https:... | I'm developing an android mobile app, which contains a list if EditText s. One of them is a SearchView and it looks like this (4th row is the SearchView ): In this part of program I have to move from one to another EditText using "Next" button on keyboard. I have a problem when requesting focus from 3d to 4th row. When... | android|android-edittext|searchview | 0 | 2020-02-06T06:22:54.043Z | 2,020 | 2 | 6 | 3 | 78 | 2 | 525 | 36 | 3 | 1 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.