id int64 28.5M 73.8M | title stringlengths 15 150 | question_body stringlengths 69 39.4k | body_text stringlengths 6 29.2k | tags stringlengths 7 120 | score int64 -19 384 | creation_date stringlengths 20 24 | year int64 -1 2.02k | month int64 -1 12 | hour int64 -1 23 | dayofweek int64 -1 6 | view_count int64 3 367k | answer_count int64 0 34 | body_len int64 6 29.2k | title_len int64 15 150 | tag_count int64 1 6 | code_block_cnt int64 0 17 | has_code bool 2
classes | is_unanswered bool 2
classes | is_popular bool 2
classes | is_viral bool 2
classes | is_highly_voted bool 2
classes | is_negative bool 2
classes | score_bucket stringclasses 5
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
71,400,529 | Multi-chart onChartGestureEnd with highlightValues(null) | <p>Is it possible to use onChartGestureEnd with MPAndroidChart when there are multiple linecharts drawn? I am using ListView and ChartDataAdapter.</p>
<p>I am trying to show the marker only when one of the charts is touched, and hide the marker when the touch ends, like this article: <a href="https://github.com/PhilJay... | Is it possible to use onChartGestureEnd with MPAndroidChart when there are multiple linecharts drawn? I am using ListView and ChartDataAdapter. I am trying to show the marker only when one of the charts is touched, and hide the marker when the touch ends, like this article: https://github.com/PhilJay/MPAndroidChart/iss... | android|mpandroidchart | 0 | 2022-03-08T19:31:25.747Z | 2,022 | 3 | 19 | 1 | 41 | 0 | 737 | 56 | 2 | 1 | true | true | false | false | false | false | zero |
71,404,660 | react native project is not building on android studio gives some process request error | <p>error is like :
home/admin1/Desktop/React/TestProject/newproject/node_modules/metro/src/Server.js:350 processRequest = (req, res, next) => { ....}
=> my dependencies in project:
"dependencies": {
"react": "17.0.2",
"react-native": "0.67.3"
=> system:Ubuntu ... | error is like : home/admin1/Desktop/React/TestProject/newproject/node_modules/metro/src/Server.js:350 processRequest = (req, res, next) => { ....} => my dependencies in project: "dependencies": { "react": "17.0.2", "react-native": "0.67.3" => system:Ubuntu 20.04.3 LTS =... | react-native|android-studio | 0 | 2022-03-09T05:21:12.437Z | 2,022 | 3 | 5 | 2 | 41 | 0 | 527 | 87 | 2 | 0 | false | true | false | false | false | false | zero |
71,418,129 | Exit from React Native App to Flutter App on IOS | <p>Hi developers and professionals,</p>
<p>I am integrating Flutter framework with React Native framework and everything works fine but I am having a problem when exiting React Native App to Flutter App (on iOS). I want it to be something like callback to Flutter app instead of exiting the whole app at once. On Android... | Hi developers and professionals, I am integrating Flutter framework with React Native framework and everything works fine but I am having a problem when exiting React Native App to Flutter App (on iOS). I want it to be something like callback to Flutter app instead of exiting the whole app at once. On Android it's work... | android|ios|flutter|react-native | 0 | 2022-03-10T02:22:02.087Z | 2,022 | 3 | 2 | 3 | 41 | 0 | 680 | 48 | 4 | 0 | false | true | false | false | false | false | zero |
71,130,040 | Jetpack Compose open web browser with callback result | <p>How to open web browser and catch callback result using Jetpack Compose.</p>
<p>Web browser opens and redirect again to app after authorization, <strong>without any result.</strong></p>
<p>HomeScreen:</p>
<pre><code>val intent = rememberLauncherForActivityResult(
contract = ActivityResultContracts.StartActivityF... | How to open web browser and catch callback result using Jetpack Compose. Web browser opens and redirect again to app after authorization, without any result. HomeScreen: [CODE] Manifest [CODE] | kotlin|android-intent|android-jetpack-compose | 0 | 2022-02-15T16:31:05.177Z | 2,022 | 2 | 16 | 1 | 297 | 0 | 192 | 53 | 3 | 2 | true | true | false | false | false | false | zero |
71,377,796 | @supersami/rn-foreground-service how to hide persistent or schedule notification in react native | <pre><code>ReactNativeForegroundService.start({
id: 123,
title: 'Location Service',
message: 'you are online!',
});
</code></pre>
<p>this shows the notification start on the notification bar and I'm using geolocation function inside as well so I want to hide this persistent notification and trigger it whe... | [CODE] this shows the notification start on the notification bar and I'm using geolocation function inside as well so I want to hide this persistent notification and trigger it whenever a specific time ( once in 1hr). | android|react-native|native|foregroundnotification | 0 | 2022-03-07T07:44:30.977Z | 2,022 | 3 | 7 | 0 | 297 | 0 | 217 | 96 | 4 | 1 | true | true | false | false | false | false | zero |
71,105,289 | How to convert list of custom objects using TypeConverter | <p>Could you pleaase tell me how can I convert back converted list of custom objects when using Room converter. Now the problem is I can't pass <code>List<Pokemon></code> to <code>fromJson()</code> function because of this error: <code>Only classes are allowed on the left hand side of a class literal</code></p>
<... | Could you pleaase tell me how can I convert back converted list of custom objects when using Room converter. Now the problem is I can't pass List<Pokemon> to fromJson() function because of this error: Only classes are allowed on the left hand side of a class literal [CODE] | android|type-conversion|android-room | 0 | 2022-02-13T22:09:35.183Z | 2,022 | 2 | 22 | 6 | 42 | 0 | 273 | 57 | 3 | 1 | true | true | false | false | false | false | zero |
71,117,682 | How can i make collapsingtoolbar with searchbar like spotify in android? | <p>Hi I want to create a searchbox like spotify. I guess there is searchbar in collapsingtoolbar, but I dont understand how to do this.</p>
<p>I want it this way</p>
<p><a href="https://i.stack.imgur.com/sqJZo.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sqJZo.gif" alt="enter image description her... | Hi I want to create a searchbox like spotify. I guess there is searchbar in collapsingtoolbar, but I dont understand how to do this. I want it this way I have a layout with the same structure as spotify. collapsingtoolbarlayout above. Below is the recyclerview. I want the search field to appear when I pull down. I trie... | java|android|kotlin|android-collapsingtoolbarlayout | 0 | 2022-02-14T20:07:53.097Z | 2,022 | 2 | 20 | 0 | 42 | 0 | 438 | 72 | 4 | 0 | false | true | false | false | false | false | zero |
71,261,626 | How to map device node and uuid | <p>I am working as a USB Framework developer on Android OS(Linux base).</p>
<p>Currently in project, I need to map UUID and device name when USB storage is connected.
I kept researching but couldn't find a suitable solution.</p>
<p>Device node = "/dev/bus/usb/001/002"
UUID = "/storage/<strong>A2FA-9675(U... | I am working as a USB Framework developer on Android OS(Linux base). Currently in project, I need to map UUID and device name when USB storage is connected. I kept researching but couldn't find a suitable solution. Device node = "/dev/bus/usb/001/002" UUID = "/storage/ A2FA-9675(UUID) If you know how to ... | android|kernel|usb|uuid|device-node | 0 | 2022-02-25T05:54:25.173Z | 2,022 | 2 | 5 | 4 | 42 | 0 | 404 | 31 | 5 | 0 | false | true | false | false | false | false | zero |
71,267,930 | Android Studio v.2021.1.1- How to install plugin from disk | <p>in the Android Studio 2021.1.1, I am not seeing any portal to install plugin from disk
<a href="https://i.stack.imgur.com/MXRD1.png" rel="nofollow noreferrer">Preference->Plugin</a></p>
<p><a href="https://i.stack.imgur.com/MXRD1.png" rel="nofollow noreferrer">enter image description here</a></p> | in the Android Studio 2021.1.1, I am not seeing any portal to install plugin from disk Preference->Plugin enter image description here | android-studio|plugins | 0 | 2022-02-25T15:16:42.227Z | 2,022 | 2 | 15 | 4 | 42 | 0 | 134 | 58 | 2 | 0 | false | true | false | false | false | false | zero |
71,274,620 | How to use change IP in android application? | <p>I want to use <code>Firebase</code> <code>Crashlytics</code> in my app but Firebase has banned my country from using this service.</p>
<p>It only works if I change the IP or use a proxy app.</p>
<p>I want to change IP in my app.</p>
<p>I used the following code but it didn't work :</p>
<pre><code>Settings.System.put... | I want to use Firebase Crashlytics in my app but Firebase has banned my country from using this service. It only works if I change the IP or use a proxy app. I want to change IP in my app. I used the following code but it didn't work : [CODE] Is there a way to change the IP in the app or solve my problem ? | android|firebase|crashlytics|androidhttpclient|android-vpn-service | 0 | 2022-02-26T06:43:21.610Z | 2,022 | 2 | 6 | 5 | 42 | 0 | 307 | 44 | 5 | 1 | true | true | false | false | false | false | zero |
71,326,998 | How to ignore Jacoco reports for libs module with just .aar files? | <p>I created a module to include few .aar files and named that module as <code>libs</code></p>
<p>build.gradle contents of my <code>libs</code> module is as follows:</p>
<pre><code>configurations.maybeCreate("default")
artifacts.add("default", file('abcdef.aar'))
</code></pre>
<p>My jacoco.gradle co... | I created a module to include few .aar files and named that module as libs build.gradle contents of my libs module is as follows: [CODE] My jacoco.gradle contents are: [CODE] But now the CI build is failing with the below error [CODE] Is there a way to exclude the module libs from Jacoco reports? Or create a dummy test... | android|gradle|testing|jacoco | 0 | 2022-03-02T17:43:11.543Z | 2,022 | 3 | 17 | 2 | 42 | 0 | 346 | 66 | 4 | 3 | true | true | false | false | false | false | zero |
71,329,181 | android notification works fine on level 29 but not works on api level 22 (5.1) | <p>I want to send a simple notification from an android app.
I have read the documentations and just copied from documentation. it works fine on newer versions such as api level 29 but when I test it in api level 22 (lollipop 5.1), app crash!
here is the code that <strong>create notification</strong>:</p>
<pre><code> ... | I want to send a simple notification from an android app. I have read the documentations and just copied from documentation. it works fine on newer versions such as api level 29 but when I test it in api level 22 (lollipop 5.1), app crash! here is the code that create notification : [CODE] and channel is created here: ... | java|android|android-notifications|android-5.0-lollipop|android-5.1.1-lollipop | 0 | 2022-03-02T21:11:03.293Z | 2,022 | 3 | 21 | 2 | 42 | 0 | 468 | 79 | 5 | 2 | true | true | false | false | false | false | zero |
71,334,642 | Android Studio Java RadioButton get Image | <p>I'm a beginner and currently writing my first app. The app should provide two images. To choose one of the images would be selected via a radio button and set as background image. For a better understanding I provide you my code.</p>
<p>This code set the wallpaper2 as lockscreen. how can i implement a radiogroup and... | I'm a beginner and currently writing my first app. The app should provide two images. To choose one of the images would be selected via a radio button and set as background image. For a better understanding I provide you my code. This code set the wallpaper2 as lockscreen. how can i implement a radiogroup and define if... | java|android|radio-button | 0 | 2022-03-03T09:15:04.603Z | 2,022 | 3 | 9 | 3 | 42 | 0 | 467 | 41 | 3 | 1 | true | true | false | false | false | false | zero |
71,360,207 | Google App signing generates new hash causing FB to break | <p>If Google App signing is enabled, it generates a new Hash every time you upload a release. This causes FB integration to break as the hash key is missing and you have to manually go and add the new hashkey to thee Facebook App settings. How can this manual intervention be solved?</p>
<p>Is it better to avoid Google ... | If Google App signing is enabled, it generates a new Hash every time you upload a release. This causes FB integration to break as the hash key is missing and you have to manually go and add the new hashkey to thee Facebook App settings. How can this manual intervention be solved? Is it better to avoid Google Signing OR... | android|react-native|facebook | 0 | 2022-03-05T07:13:42.093Z | 2,022 | 3 | 7 | 5 | 42 | 0 | 416 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
71,365,837 | Android ViewModel inside ViewPager2's recyclerview | <p>I have a viewpager2 which displays videos loaded from remote serve, each video in viewpager2 adapter has a button which displays PopUpWindow contains current video comments which are also loaded from remote server, the question is how can I implement live data ViewModel in each PopUp inside each video in ViewPager2 ... | I have a viewpager2 which displays videos loaded from remote serve, each video in viewpager2 adapter has a button which displays PopUpWindow contains current video comments which are also loaded from remote server, the question is how can I implement live data ViewModel in each PopUp inside each video in ViewPager2 ada... | android|viewmodel|android-livedata|android-viewpager2 | 0 | 2022-03-05T20:45:41.880Z | 2,022 | 3 | 20 | 5 | 42 | 0 | 603 | 50 | 4 | 1 | true | true | false | false | false | false | zero |
71,415,439 | Going back to previous fragment by back gesture, clears view data | <p>In my application I have 2 main screens "Picture of the day" with picture and some info about it, and the second one "My Favourite" consist of recycler view with favourite pictures. I'm using Navigation Component.</p>
<p>I have problem with displaying data of "Picture Of the day" when c... | In my application I have 2 main screens "Picture of the day" with picture and some info about it, and the second one "My Favourite" consist of recycler view with favourite pictures. I'm using Navigation Component. I have problem with displaying data of "Picture Of the day" when coming from... | android|xml|kotlin|android-jetpack|android-architecture-navigation | 0 | 2022-03-09T20:10:31.473Z | 2,022 | 3 | 20 | 2 | 42 | 0 | 963 | 65 | 5 | 5 | true | true | false | false | false | false | zero |
71,417,963 | Android studio hardware and network resource tracking | <p>I am trying to create a android app in java which will be able to track some hardware components, specifically their usage in real time like CPU usage, RAM usage, and whatever else is available to track. I would also like the app to track network usage.</p>
<p>Currently I'm looking everywhere to try and find a good ... | I am trying to create a android app in java which will be able to track some hardware components, specifically their usage in real time like CPU usage, RAM usage, and whatever else is available to track. I would also like the app to track network usage. Currently I'm looking everywhere to try and find a good way to get... | java|android|android-studio|monitoring | 2 | 2022-03-10T01:51:44.527Z | 2,022 | 3 | 1 | 3 | 42 | 0 | 900 | 53 | 4 | 4 | true | true | false | false | false | false | low |
71,430,258 | Could not compile settings file 'E:\app\node_modules\react-native\template\android\settings.gradle | <p>rootProject.name = 'HelloWorld'</p>
<p>apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)</p>
<p>include ':app'</p>
<p><strong>Here is my setting.gralde code</strong></p> | rootProject.name = 'HelloWorld' apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) include ':app' Here is my setting.gralde code | android|react-native | 0 | 2022-03-10T20:16:01.853Z | 2,022 | 3 | 20 | 3 | 42 | 0 | 234 | 98 | 2 | 0 | false | true | false | false | false | false | zero |
71,294,029 | Android - Method addObserver must be called on the main thread | <p>I got this error trying to setup Revenue Cat Purchases 3.4.3 on React Native.
RN 0.67</p>
<p><em><strong>2022-02-28 07:58:39.154 5945-8093/com.farms E/unknown:ReactNative: Exception in native call
java.lang.IllegalStateException: Method addObserver must be called on the main thread
at androidx.lifecycle.LifecycleReg... | I got this error trying to setup Revenue Cat Purchases 3.4.3 on React Native. RN 0.67 2022-02-28 07:58:39.154 5945-8093/com.farms E/unknown:ReactNative: Exception in native call java.lang.IllegalStateException: Method addObserver must be called on the main thread at androidx.lifecycle.LifecycleRegistry.enforceMainThrea... | android|react-native | 2 | 2022-02-28T11:02:33.307Z | 2,022 | 2 | 11 | 0 | 298 | 0 | 1,602 | 62 | 2 | 0 | false | true | false | false | false | false | low |
71,404,620 | file transfer not working non media files in Android 11 | <p>file transfer not working non media files in Android 11(how handle scoped storage in ionic 3)</p>
<p><code>var targetPath = this.file.externalDataDirectory+'ido/'+date.toISOString().split('T')[0]+'/'+name; this.fileTransfer.download(url, targetPath,true).then((entry) => { console.log('download complete: ' + entry... | file transfer not working non media files in Android 11(how handle scoped storage in ionic 3) var targetPath = this.file.externalDataDirectory+'ido/'+date.toISOString().split('T')[0]+'/'+name; this.fileTransfer.download(url, targetPath,true).then((entry) => { console.log('download complete: ' + entry.toURL()); }); | ionic-framework|file-transfer|android-11|scoped-storage | 1 | 2022-03-09T05:15:33.490Z | 2,022 | 3 | 5 | 2 | 298 | 0 | 315 | 55 | 4 | 0 | false | true | false | false | false | false | low |
71,107,359 | Cannot install updated version APK using react-native | <p>My client require APP to be made for their circle network(internal). I have made the first version app and install. Now I have made changes and increase the version. The new version cannot be update to existing APP.</p>
<ol>
<li>Using same keystore, alias, password</li>
<li>Update version code</li>
<li>Update versio... | My client require APP to be made for their circle network(internal). I have made the first version app and install. Now I have made changes and increase the version. The new version cannot be update to existing APP. Using same keystore, alias, password Update version code Update version name Use property for build apk ... | android|react-native|apk | 0 | 2022-02-14T05:04:23.990Z | 2,022 | 2 | 5 | 0 | 43 | 0 | 1,298 | 53 | 3 | 0 | false | true | false | false | false | false | zero |
71,123,000 | recyclerview list append items in a fragment | <p>hi i am trying to update my rv on my fragment. When i scroll down i want it to update my rv, it's working but it's appending items correctly only first time when i reach to end of rv after rv updates when i scroll down its appending new items endlessly then it's closing app without giving crash. Also if i scroll dow... | hi i am trying to update my rv on my fragment. When i scroll down i want it to update my rv, it's working but it's appending items correctly only first time when i reach to end of rv after rv updates when i scroll down its appending new items endlessly then it's closing app without giving crash. Also if i scroll down m... | kotlin|android-recyclerview|append | 0 | 2022-02-15T08:11:46.743Z | 2,022 | 2 | 8 | 1 | 43 | 0 | 1,485 | 44 | 3 | 4 | true | true | false | false | false | false | zero |
71,130,399 | Android PackageInstaller and Debug APKs | <p>I'm working on an application that will not be released on PlayStore as it is running on proprietary hardware as a Kiosk Device that will be used under a controlled environment, as such I've implemented a system by which it will download updates, verify them and then install them using <code>PackageInstaller</code>.... | I'm working on an application that will not be released on PlayStore as it is running on proprietary hardware as a Kiosk Device that will be used under a controlled environment, as such I've implemented a system by which it will download updates, verify them and then install them using PackageInstaller . For developmen... | android|packageinstaller | 1 | 2022-02-15T16:56:47.260Z | 2,022 | 2 | 16 | 1 | 43 | 0 | 858 | 39 | 2 | 0 | false | true | false | false | false | false | low |
71,144,085 | Looping video with androidx media2 VideoView | <p>I am trying to use the newer <a href="https://developer.android.com/reference/androidx/media2/widget/VideoView" rel="nofollow noreferrer">VideoView</a> found in <code>androidx.media2-widget</code> but there does not seem to be a way to loop a video like there is in regular VideoView</p>
<p>In regular VideoView you w... | I am trying to use the newer VideoView found in androidx.media2-widget but there does not seem to be a way to loop a video like there is in regular VideoView In regular VideoView you would set isLooping to true in the MediaPlayer but the media2 MediaPlayer does not seem to have this flag. Is there a different way to se... | android|android-videoview | 0 | 2022-02-16T14:53:38.410Z | 2,022 | 2 | 14 | 2 | 43 | 0 | 459 | 44 | 2 | 0 | false | true | false | false | false | false | zero |
71,155,715 | How to add a dash for each value on axis in MPAndroidChart | <p>I'm trying to add a dash for each value on axis in MPAndroidChart, but I can't
Please, help me
<a href="https://i.stack.imgur.com/khfOF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/khfOF.png" alt="enter image description here" /></a></p> | I'm trying to add a dash for each value on axis in MPAndroidChart, but I can't Please, help me | axis|mpandroidchart|divider | 0 | 2022-02-17T09:44:29.903Z | 2,022 | 2 | 9 | 3 | 43 | 0 | 94 | 58 | 3 | 0 | false | true | false | false | false | false | zero |
71,174,219 | How can I make a layout with multiple fixed views with two of them getting fixed at top with scrolling in Android | <pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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=&qu... | [CODE] This is my layout xml file and this is how it looks. This is how my layout look in the first place When I scroll the layout becomes like this. Scrolled Layout However, that is not what I want. This is the layout I want when I scroll it completely I was only able to take a screenshot from Android Studio because w... | java|android|kotlin|android-collapsingtoolbarlayout|android-appbarlayout | 0 | 2022-02-18T13:24:24.350Z | 2,022 | 2 | 13 | 4 | 43 | 0 | 511 | 113 | 5 | 1 | true | true | false | false | false | false | zero |
71,181,336 | SSL cert issue during gradle build / crashlytics upload via Jenkins on Centos | <p>I have an Android project that is encountering some issues while building. Locally from studio I'm able to build just fine. I have an older centos server running Jenkins which is also able to build without issue. Where I'm failling is on a seperate newer server (also using Centos + Jenkins) which I haven't yet migra... | I have an Android project that is encountering some issues while building. Locally from studio I'm able to build just fine. I have an older centos server running Jenkins which is also able to build without issue. Where I'm failling is on a seperate newer server (also using Centos + Jenkins) which I haven't yet migrated... | android|ssl|jenkins|gradle|centos | 0 | 2022-02-19T00:30:22.330Z | 2,022 | 2 | 0 | 5 | 43 | 0 | 1,516 | 77 | 5 | 1 | true | true | false | false | false | false | zero |
71,186,593 | How to transmit NEC protocol IR code in Android? | <p>I want to make remote App for my TV.</p>
<p>But I don't know how to transmit NEC protocol format IR code in Android</p>
<p>NEC protocol: Code=807F807F.</p>
<p>Please help.</p> | I want to make remote App for my TV. But I don't know how to transmit NEC protocol format IR code in Android NEC protocol: Code=807F807F. Please help. | android | 0 | 2022-02-19T15:53:28.357Z | 2,022 | 2 | 15 | 5 | 43 | 0 | 150 | 48 | 1 | 0 | false | true | false | false | false | false | zero |
71,223,221 | How to use native DownloadManager in android to implement react-native project | <p>please I'm new to react native, I'm trying to use native DownloadManager in react native. can anyone help me with an example project</p> | please I'm new to react native, I'm trying to use native DownloadManager in react native. can anyone help me with an example project | android|react-native|android-download-manager | 0 | 2022-02-22T14:37:04.230Z | 2,022 | 2 | 14 | 1 | 43 | 0 | 132 | 78 | 3 | 0 | false | true | false | false | false | false | zero |
71,223,488 | Android Button different position on other devices (using setX) | <p>I want to move several buttons, rearranging them in a different position than the original one at a specific moment, while playing the app. I used the <code>setX()</code> method for this purpose, to move the button to the place I want. I know that this method takes pixels as imput (and pixels depend on the density o... | I want to move several buttons, rearranging them in a different position than the original one at a specific moment, while playing the app. I used the setX() method for this purpose, to move the button to the place I want. I know that this method takes pixels as imput (and pixels depend on the density of the device), s... | java|android|position|pixel|density-independent-pixel | 0 | 2022-02-22T14:56:00.473Z | 2,022 | 2 | 14 | 1 | 43 | 0 | 1,046 | 63 | 5 | 3 | true | true | false | false | false | false | zero |
71,233,269 | How to detect virtual buttons of Android Phones with Flutter? | <p>I would like to detect if the phone running my Android application uses hardware buttons or virtual buttons .</p>
<p>Is there a way to get this information in Flutter? or Can anyone suggest any workaround I can do to detect virtual buttons programmatically?</p> | I would like to detect if the phone running my Android application uses hardware buttons or virtual buttons . Is there a way to get this information in Flutter? or Can anyone suggest any workaround I can do to detect virtual buttons programmatically? | android|flutter | 0 | 2022-02-23T08:07:32.613Z | 2,022 | 2 | 8 | 2 | 43 | 0 | 250 | 61 | 2 | 0 | false | true | false | false | false | false | zero |
71,367,089 | There is a problem address bar android using react native web | <p>Hi everybody im making a hybrid app usin react native and expo.
im have a problem whit this</p>
<p><a href="https://i.stack.imgur.com/hijzo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hijzo.png" alt="enter image description here" /></a></p>
<p>When the address bar is vissible i not have probl... | Hi everybody im making a hybrid app usin react native and expo. im have a problem whit this When the address bar is vissible i not have problem but when im scrolling to down i can to see a white bottom padding Im have entire application at SafeArea Contex [CODE] but this does not working, the only way i can find any re... | android|react-native|expo|react-native-safe-area-view | 1 | 2022-03-06T01:27:23.323Z | 2,022 | 3 | 1 | 6 | 43 | 0 | 549 | 61 | 4 | 2 | true | true | false | false | false | false | low |
71,436,779 | How to hide/remove JWPlayer "NEXT IN " popup dialog in android | <p>How can I hide/remove this "Next IN 4" (4 is the value of countdown) popup from jwPlayer? Please check the image</p>
<p>I am using jwplayer android sdk version 4. Here is my code for jWplayer</p>
<pre><code>val playlistItem = PlaylistItem.Builder()
.file(episode.intro.toString())
.image(epi... | How can I hide/remove this "Next IN 4" (4 is the value of countdown) popup from jwPlayer? Please check the image I am using jwplayer android sdk version 4. Here is my code for jWplayer [CODE] [ ] | android|kotlin|jwplayer | 1 | 2022-03-11T10:02:49.993Z | 2,022 | 3 | 10 | 4 | 43 | 0 | 205 | 62 | 3 | 1 | true | true | false | false | false | false | low |
71,121,889 | SliverChildBuilderDelegate in SliverChildBuilderDelegate, Is it possible? | <p>I have a data like this:</p>
<pre><code>[
{ childs: [ {child1},{child2},{child3} ] },
{ childs: [ {child1},{child2},{child3} ] },
{ childs: [ {child1},{child2},{child3} ] },
]
</code></pre>
<p>I have a nested list and each of the parents in this list represents a layer, and their children represent the items that... | I have a data like this: [CODE] I have a nested list and each of the parents in this list represents a layer, and their children represent the items that will be inside this layer. I'm using SliverList->SliverChildBuilderDelegate for the parents but I don't know what to use for the children. I don't want to prefer List... | android|ios|flutter|dart | 0 | 2022-02-15T06:22:28.013Z | 2,022 | 2 | 6 | 1 | 44 | 0 | 449 | 73 | 4 | 1 | true | true | false | false | false | false | zero |
71,132,881 | How to set the point Label to the x value using MPAndroidChart? | <p>I am trying to set the label in the chart to display the x value instead of the y value for every point.</p> | I am trying to set the label in the chart to display the x value instead of the y value for every point. | android|kotlin|mpandroidchart | 0 | 2022-02-15T20:21:13.667Z | 2,022 | 2 | 20 | 1 | 44 | 0 | 104 | 63 | 3 | 0 | false | true | false | false | false | false | zero |
71,234,282 | How to disable dissmissal of a BottomSheetBehavior, but still enable dragging | <p>I have a LinearLayout with <code>app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"></code></p>
<p>I want this to allways be fully extented or collapsed, but never hidden.</p>
<p>I found the variable Hideable, and it helps, but sometime im still able to pull the bottomshee... | I have a LinearLayout with app:layout_behavior="com.google.android.material.bottomsheet.BottomSheetBehavior"> I want this to allways be fully extented or collapsed, but never hidden. I found the variable Hideable, and it helps, but sometime im still able to pull the bottomsheet below its collapsed state and h... | android|bottom-sheet | 1 | 2022-02-23T09:22:44.737Z | 2,022 | 2 | 9 | 2 | 44 | 0 | 700 | 77 | 2 | 0 | false | true | false | false | false | false | low |
71,237,825 | What format is used for Embarcadero Delphi Mobile Android ANDROIDD.RSA file? | <p>Embarcadero Delphi for Android Mobile has the command <code>Project - Delpoy MyProject.so</code> which creates MyProject.apk file in which the META-INF/ANDROIDD.RSA file resides. Apparently this file contains (my guess) 1) information about developer or signer of the application; 2) the public key? This is my guess ... | Embarcadero Delphi for Android Mobile has the command Project - Delpoy MyProject.so which creates MyProject.apk file in which the META-INF/ANDROIDD.RSA file resides. Apparently this file contains (my guess) 1) information about developer or signer of the application; 2) the public key? This is my guess only. My questio... | android|delphi|binary|format|rsa | 0 | 2022-02-23T13:29:00.090Z | 2,022 | 2 | 13 | 2 | 44 | 0 | 770 | 76 | 5 | 0 | false | true | false | false | false | false | zero |
71,249,915 | Save ImageView state in a ViewPager2 Fragment using onSaveInstanceState | <p>I have a Gridlayout with imageviews. The imageviews have android:src(state_selected) code below</p>
<pre><code><selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/chair_red" android:state_selected="true"/>
<item ... | I have a Gridlayout with imageviews. The imageviews have android:src(state_selected) code below [CODE] I want to save the view state even if app is killed by OS through onSaveInstanceState. Current implementation below does not work [CODE] Retrieving [CODE] | android|android-fragments|android-viewpager2|android-viewbinding|android-savedstate | 0 | 2022-02-24T09:38:44.417Z | 2,022 | 2 | 9 | 3 | 44 | 0 | 257 | 71 | 5 | 3 | true | true | false | false | false | false | zero |
71,250,620 | Issue with your app - Play Store Publishing | <p>I can't solved this issue, on App Store (Apple) my app was successfully published, however on Play Store, response was the same, with COVID issues, Google doesn't explain too much how was the issue.</p>
<p><a href="https://i.stack.imgur.com/z6nJx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z6n... | I can't solved this issue, on App Store (Apple) my app was successfully published, however on Play Store, response was the same, with COVID issues, Google doesn't explain too much how was the issue. | android|react-native|google-play|publishing | 0 | 2022-02-24T10:35:50.570Z | 2,022 | 2 | 10 | 3 | 44 | 0 | 198 | 43 | 4 | 0 | false | true | false | false | false | false | zero |
71,253,953 | InfoWindow showing on top of the marker | <p>I am trying to get the InfoWindow to appear behind the marker but moving with the <strong>infoWindowAnchor(3f, 0.5f)</strong>, which moves the window into half of the marker vertically, it goes on top of it.</p>
<p>Here is how I positioned the InfoWindow</p>
<p><a href="https://i.stack.imgur.com/TKG01.png" rel="nofo... | I am trying to get the InfoWindow to appear behind the marker but moving with the infoWindowAnchor(3f, 0.5f) , which moves the window into half of the marker vertically, it goes on top of it. Here is how I positioned the InfoWindow And here is the wanted result and I read a lot of posts about anchoring the InfoWindow b... | android|kotlin|google-maps|marker|infowindow | 0 | 2022-02-24T14:58:54.463Z | 2,022 | 2 | 14 | 3 | 44 | 0 | 567 | 39 | 5 | 1 | true | true | false | false | false | false | zero |
71,326,222 | How to override the CellStyle value in excel dart package? | <p>I am using excel dart package to create and edit excel files. <br>I am trying to make my excel file look attractive by giving colors to excel cells.
I read the documentation <a href="https://pub.dev/packages/excel#cell-style-options" rel="nofollow noreferrer">here</a> and tried to do like this :</p>
<pre><code>CellS... | I am using excel dart package to create and edit excel files. I am trying to make my excel file look attractive by giving colors to excel cells. I read the documentation here and tried to do like this : [CODE] Problem with this: When I try to change the cellStyle to color2 it persist the old values of color1 . Why this... | android|excel|flutter|dart | 0 | 2022-03-02T16:39:53.527Z | 2,022 | 3 | 16 | 2 | 44 | 0 | 464 | 58 | 4 | 1 | true | true | false | false | false | false | zero |
71,349,223 | Unable to instantiate fragment could not find Fragment constructor when opening alert box on activity | <p>I have fragment activity on click of button open another activity in that loaded multiple views dynamically there are drop-downs in that drop-down one option on click of that option we were trying to open alert box that time we are facing this issue and app is crashing can anyone help?</p>
<pre><code>if (options.get... | I have fragment activity on click of button open another activity in that loaded multiple views dynamically there are drop-downs in that drop-down one option on click of that option we were trying to open alert box that time we are facing this issue and app is crashing can anyone help? [CODE] | android|xml|android-fragments|view|listadapter | 0 | 2022-03-04T09:25:39.817Z | 2,022 | 3 | 9 | 4 | 44 | 0 | 293 | 101 | 5 | 1 | true | true | false | false | false | false | zero |
71,134,906 | How can I produce a call chain of Android application layer function call to linux kernel system calls? | <p>I have been trying to get behind the call chain of some of the android framework's app initiated termination functions such as <code>System.exit(0)</code>, <code>finish()</code>, <code>finishAndRemoveTask()</code>, etc. I have used <strong>strace</strong> to find system level traces, for <code>System.exit()</code> f... | I have been trying to get behind the call chain of some of the android framework's app initiated termination functions such as System.exit(0) , finish() , finishAndRemoveTask() , etc. I have used strace to find system level traces, for System.exit() function of android application layer, I believe the kernel system lev... | android|kernel|system-calls|android-debug | 1 | 2022-02-16T00:02:46.387Z | 2,022 | 2 | 0 | 2 | 45 | 0 | 1,083 | 103 | 4 | 0 | false | true | false | false | false | false | low |
71,136,771 | Is there a better way to implement this: __ __ __ ___ in jetpack | <p>This is a textfield for inputting otp. Right now I have used boxes using outlined textfields but is there a way to do the small dashes that takes input instead?
Code for inputting otp using outlined textfield</p>
<p>fun OTPTextFields(
modifier: Modifier = Modifier,
length: Int,
onFilled: (code: String) -> Unit
)... | This is a textfield for inputting otp. Right now I have used boxes using outlined textfields but is there a way to do the small dashes that takes input instead? Code for inputting otp using outlined textfield fun OTPTextFields( modifier: Modifier = Modifier, length: Int, onFilled: (code: String) -> Unit ) { var code: L... | android-canvas|android-jetpack-compose | 0 | 2022-02-16T05:21:17.543Z | 2,022 | 2 | 5 | 2 | 45 | 0 | 373 | 64 | 2 | 1 | true | true | false | false | false | false | zero |
71,192,366 | PWA to signed APK shows app is not installed | <p>I am converting my angular PWA to APK .</p>
<ul>
<li><p>I followed same tutorial as this link:<br />
<strong><a href="https://medium.com/@christof.thalmann/convert-angular-project-to-android-apk-in-10-steps-c49e2fddd29" rel="nofollow noreferrer">https://medium.com/@christof.thalmann/convert-angular-project-to-and... | I am converting my angular PWA to APK . I followed same tutorial as this link: https://medium.com/@christof.thalmann/convert-angular-project-to-android-apk-in-10-steps-c49e2fddd29 . I am able to create APK without signing its opening correctly . I created keystore and I signed , after signing and generating new APK,whi... | android|angular-pwa | 0 | 2022-02-20T07:53:20.413Z | 2,022 | 2 | 7 | 6 | 45 | 0 | 402 | 44 | 2 | 0 | false | true | false | false | false | false | zero |
71,212,083 | Google calendar animation | <p>I'm wondering how can I achieve the same animation as in
<a href="https://imgur.com/a/hBLxLWR" rel="nofollow noreferrer">google calendar app:</a></p>
<p>Where one side is scrolled until certain position and replaced only when new item arrives and the other scrolls all the time</p>
<p>Thanks.</p> | I'm wondering how can I achieve the same animation as in google calendar app: Where one side is scrolled until certain position and replaced only when new item arrives and the other scrolls all the time Thanks. | android|android-recyclerview | 0 | 2022-02-21T19:37:40.633Z | 2,022 | 2 | 19 | 0 | 45 | 0 | 210 | 25 | 2 | 0 | false | true | false | false | false | false | zero |
71,259,581 | How can I replace/modify the image saved in storage through react native? | <p>I want to save the modified image (output of api) in the same path as the input path. Is there a way to do this in react native? Below is what I am doing..,however this throws error.</p>
<pre><code>uri = "file:///storage/emulated/0/DCIM/Camera/IMG20220224191819.jpg"
const result = await RNFS.readFile(uri,... | I want to save the modified image (output of api) in the same path as the input path. Is there a way to do this in react native? Below is what I am doing..,however this throws error. [CODE] | javascript|android|react-native|url-rewriting|save-image | 0 | 2022-02-24T23:57:30.477Z | 2,022 | 2 | 23 | 3 | 45 | 0 | 189 | 73 | 5 | 1 | true | true | false | false | false | false | zero |
71,304,269 | Android Handling RESTAPI 404 with RxJava and Retrofit 2 using Clean | <p>I have an empty database for a new app and 404 is perfectly acceptable response for a request</p>
<p>@GET("users")
fun getUsers(): Single<List></p>
<p>In my data layer a 404 gets passed to the presentation layer. However I do not have retrofit in the presentation layer as feel that I shouldn't but fi... | I have an empty database for a new app and 404 is perfectly acceptable response for a request @GET("users") fun getUsers(): Single<List> In my data layer a 404 gets passed to the presentation layer. However I do not have retrofit in the presentation layer as feel that I shouldn't but find another way to propa... | android|retrofit|rx-java | 0 | 2022-03-01T05:53:41.623Z | 2,022 | 3 | 5 | 1 | 45 | 0 | 651 | 67 | 3 | 1 | true | true | false | false | false | false | zero |
71,370,454 | What are the key differences between the res folder and the arsc file in a built apk? | <p>When I build an apk, for example building a blank Android Studio - Phone and Tablet/Basic Activity project, and open said apk as a zip I see several things there. I understand what is what, and I always thought that aapt creates the arsc file, which contains the resources converted to a better optimized binary forma... | When I build an apk, for example building a blank Android Studio - Phone and Tablet/Basic Activity project, and open said apk as a zip I see several things there. I understand what is what, and I always thought that aapt creates the arsc file, which contains the resources converted to a better optimized binary format, ... | android | 0 | 2022-03-06T12:53:50.303Z | 2,022 | 3 | 12 | 6 | 45 | 0 | 859 | 85 | 1 | 0 | false | true | false | false | false | false | zero |
71,375,909 | I want to play DASH (Video:h264 Audio:G711A) using ijkplayer, how should I modify module.sh | <pre><code>export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-openssl"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-muxer=dash"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-libxml2"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-muxer=webm_... | [CODE] I added these configurations at the bottom of module-lite.sh, but when playing DASH, there is only picture and no sound, what should I do? [CODE] Does this DASH stream contain sound? I don't see any audio related elements here | android-ffmpeg|ijkplayer | 0 | 2022-03-07T02:39:21.630Z | 2,022 | 3 | 2 | 0 | 45 | 0 | 233 | 91 | 2 | 2 | true | true | false | false | false | false | zero |
71,386,397 | How to serve deep learning model using tensorflow lite | <p>I am trying to serve an image caption model based on flickr8k <a href="https://www.kaggle.com/adityajn105/flickr8k" rel="nofollow noreferrer">dataset</a> using TensorFlow lite in the android app.
I am new to Android App development and stuck at the below code where I need to provide input to Feature0 and Feature1 to... | I am trying to serve an image caption model based on flickr8k dataset using TensorFlow lite in the android app. I am new to Android App development and stuck at the below code where I need to provide input to Feature0 and Feature1 to my model. Can someone please guide me how to do so? [CODE] | android|tensorflow|deep-learning|tensorflow-lite | 0 | 2022-03-07T19:39:05.133Z | 2,022 | 3 | 19 | 0 | 45 | 0 | 292 | 54 | 4 | 1 | true | true | false | false | false | false | zero |
71,392,744 | Android NetworkRequest Builder Cannot Access Local Server | <p>I'm using the NetworkRequest.Builder to establish a network connection with a RaspberryPi acting as a hotspot (<a href="https://github.com/MousyBusiness/flutter_iot_wifi" rel="nofollow noreferrer">code</a>). The issue is that the network A: doesn't bridge to internet and B: doesn't allow connection to a server on th... | I'm using the NetworkRequest.Builder to establish a network connection with a RaspberryPi acting as a hotspot ( code ). The issue is that the network A: doesn't bridge to internet and B: doesn't allow connection to a server on the RaspberryPi. The RaspberryPi is correctly configured as an AccessPoint and is bridging to... | android|networking|raspberry-pi3 | 0 | 2022-03-08T09:31:19.820Z | 2,022 | 3 | 9 | 1 | 45 | 0 | 778 | 57 | 3 | 0 | false | true | false | false | false | false | zero |
71,412,914 | Xamarin Image not showing on Dialog with AutoCompleteTextView | <p>Have a dialog with AutoCompleteTextView and images that are used for buttons. Running this apk on a Zebra TC8000(sdk 5.1) and TC8300(sdk 8.1) scanner. On the TC8000 the image shows when the dialog.show() invoked. It does not show on TC8300 UNTIL the keyboard is displayed. Once keyboard is displayed you can see the i... | Have a dialog with AutoCompleteTextView and images that are used for buttons. Running this apk on a Zebra TC8000(sdk 5.1) and TC8300(sdk 8.1) scanner. On the TC8000 the image shows when the dialog.show() invoked. It does not show on TC8300 UNTIL the keyboard is displayed. Once keyboard is displayed you can see the imag... | c#|android|xamarin|native | 0 | 2022-03-09T16:41:29.010Z | 2,022 | 3 | 16 | 2 | 45 | 0 | 464 | 61 | 4 | 1 | true | true | false | false | false | false | zero |
71,347,120 | App crashes with `java.lang.VerifyError: Verifier rejected class org.igniterealtime.jbosh.ApacheHTTPResponse` after I set minifyEnabled to true | <p>I'm using JBOSH with Smack, and when I try to call <code>BoshClient.send(ComposableBody body)</code> after setting minifyEnabled to true, it throws <code>java.lang.VerifyError</code> and my app crashes. I can add a try catch block to handle the exception but then the connection doesn't set up. I have also added Bosh... | I'm using JBOSH with Smack, and when I try to call BoshClient.send(ComposableBody body) after setting minifyEnabled to true, it throws java.lang.VerifyError and my app crashes. I can add a try catch block to handle the exception but then the connection doesn't set up. I have also added Bosh, Smack and Apache libraries ... | android|xmpp|proguard | 1 | 2022-03-04T05:49:56.707Z | 2,022 | 3 | 5 | 4 | 557 | 0 | 484 | 143 | 3 | 2 | true | true | false | false | false | false | low |
53,528,624 | Kotlin Android extension - synthetic properties are not available inside support fragments | <p>I have an Android project with such dependencies</p>
<pre><code>implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
</code></pre... | I have an Android project with such dependencies [CODE] The project is being written in Kotlin with the usage of synthetic properties for view elements. Fragment implementations in my project extend Fragment from package android.support.v4.app. I've met with a problem that inside my fragments I can't access to my views... | android|android-fragments|kotlin|kotlin-android-extensions|androidx | 2 | 2018-11-28T21:47:36.173Z | 2,018 | 11 | 21 | 2 | 512 | 0 | 1,483 | 90 | 5 | 1 | true | true | false | false | false | false | low |
53,436,949 | How to fix error Program type already present: android.support.v4.app.INotificationSideChannel | <p>I use the com.google.android.material.bottomappbar.BottomAppBar in my project but when I run the program I get an error and emulator doesn't run. How can I fix it?</p>
<p>error:</p>
<pre><code>Program type already present: android.support.v4.app.INotificationSideChannel
Message{kind=ERROR, text=Program type alread... | I use the com.google.android.material.bottomappbar.BottomAppBar in my project but when I run the program I get an error and emulator doesn't run. How can I fix it? error: [CODE] Build.gradle file [CODE] | android | 1 | 2018-11-22T19:15:09.630Z | 2,018 | 11 | 19 | 3 | 257 | 0 | 202 | 94 | 1 | 2 | true | true | false | false | false | false | low |
53,384,965 | remove active song from media session in android | <p>I have an app that is using the Android MediaSession and MediaBrowserConnection to play songs and have a playlist. I am a bit stuck on how to remove the current playing song when someone wants to clear the entire playlist. I can easily remove all of the remaining songs from the queue like so...</p>
<pre><code>for(M... | I have an app that is using the Android MediaSession and MediaBrowserConnection to play songs and have a playlist. I am a bit stuck on how to remove the current playing song when someone wants to clear the entire playlist. I can easily remove all of the remaining songs from the queue like so... [CODE] Where mediaContro... | android|mediacontroller|android-mediasession | 4 | 2018-11-20T01:28:15.800Z | 2,018 | 11 | 1 | 1 | 513 | 0 | 1,024 | 48 | 3 | 1 | true | true | false | false | false | false | low |
53,672,661 | Android Studio - Execution failed for task ':app:compileDebugKotlin'. - Unresolved supertypes | <p>I've been tearing my hair out all day trying to understand why I've been getting this error while trying to compile an Android Studio Kotlin/Java project:</p>
<pre><code>Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class android.su... | I've been tearing my hair out all day trying to understand why I've been getting this error while trying to compile an Android Studio Kotlin/Java project: [CODE] This is compiling on my colleagues' machines no problem and this app is currently in production so I know it works. This has also resulted in a bunch of other... | android|android-studio|gradle|dependencies|android-appcompat | 1 | 2018-12-07T15:41:57.353Z | 2,018 | 12 | 15 | 4 | 769 | 0 | 1,143 | 93 | 5 | 3 | true | true | false | false | false | false | low |
53,406,073 | Google Plus API is Deprecated. How do i get gender and birth date from requestScopes(Scope(Scopes.PROFILE)) | <p>Google Plus API is Deprecated. How do i get gender and birth date from request Scope. Below is my code:</p>
<pre><code>val gso = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestIdToken("xxxxxxxxx.apps.googleusercontent.com")
.requestEmail()
.r... | Google Plus API is Deprecated. How do i get gender and birth date from request Scope. Below is my code: [CODE] From this sign in option i want gender and birth date of google user. [CODE] | android|kotlin|google-signin | 3 | 2018-11-21T05:59:42.830Z | 2,018 | 11 | 5 | 2 | 1,282 | 0 | 187 | 107 | 3 | 2 | true | true | false | false | false | false | low |
53,394,685 | Android Gradle file get values from .json file from application in library | <p>I have an Android project with a few libraries (with apply plugin: 'com.android.library') and the main app (with apply plugin: 'com.android.application'). Is it possible to read something like this:</p>
<pre><code>String[] myLinks = new JsonSlurper().parse(file("settingsFile.json")).myLinks
</code></pre>
<p>in sep... | I have an Android project with a few libraries (with apply plugin: 'com.android.library') and the main app (with apply plugin: 'com.android.application'). Is it possible to read something like this: [CODE] in separate library's .gradle file? settingsFile.json in located in app folder (main application). Thanks in advan... | android|gradle|groovy | 1 | 2018-11-20T14:00:47.377Z | 2,018 | 11 | 14 | 1 | 260 | 0 | 323 | 74 | 3 | 1 | true | true | false | false | false | false | low |
53,664,442 | Scrape web's infinite scrolling “load more” button using Java in Android Studio | <p>So far I can't find an article that explains how to handle scraping infinite scrolling page in Android Studio's Java. Maybe I'm not good at searching or else.</p>
<p>I'm doing a news app project that will display news using web scraping technique, and can also fetch data from the next page.
More on here : <a href="... | So far I can't find an article that explains how to handle scraping infinite scrolling page in Android Studio's Java. Maybe I'm not good at searching or else. I'm doing a news app project that will display news using web scraping technique, and can also fetch data from the next page. More on here : How to crawl a websi... | java|android|android-studio|infinite-scroll | 2 | 2018-12-07T06:34:18.970Z | 2,018 | 12 | 6 | 4 | 516 | 0 | 696 | 79 | 4 | 2 | true | true | false | false | false | false | low |
53,485,279 | Android : Multicast is working with IPV4, not with IPV6 | <p><a href="https://developer.android.com/reference/java/net/MulticastSocket" rel="nofollow noreferrer">This code</a> works with this address "<strong>228.5.6.7</strong>", but not with this one "<strong>FF7E:230::1234</strong>" (devices used: Samsung S4 & TabA).</p>
<pre><code>// join a Multicast group and send th... | This code works with this address " 228.5.6.7 ", but not with this one " FF7E:230::1234 " (devices used: Samsung S4 & TabA). [CODE] I tried this example too, it gave me the same result. Impossible to know if the problem happens when the group is joined or when the DatagramPacket is sent. | android|ip-address|ipv6|multicast | 1 | 2018-11-26T16:27:09.450Z | 2,018 | 11 | 16 | 0 | 5 | 0 | 288 | 55 | 4 | 1 | true | true | false | false | false | false | low |
53,536,401 | Query the size of a GL_TEXTURE_EXTERNAL_OES? | <p>While working with the NDK Camera interface I stumbled upon the problem that a SurfaceTexture can request a defaultSize which can be overridden.
I wanted to get the actual size, but SurfaceTexture offers no way to query that.
So instead I tried this:</p>
<pre><code>// this runs directly after SurfaceTexture.updateT... | While working with the NDK Camera interface I stumbled upon the problem that a SurfaceTexture can request a defaultSize which can be overridden. I wanted to get the actual size, but SurfaceTexture offers no way to query that. So instead I tried this: [CODE] Which worked flawlessly on a Mali system but returns GL_INVALI... | android|c++|opengl-es | 4 | 2018-11-29T10:04:49.367Z | 2,018 | 11 | 10 | 3 | 261 | 0 | 598 | 44 | 3 | 1 | true | true | false | false | false | false | low |
53,762,986 | Ionic 3 Status bar color in splash screen (android) | <p>I have added the following 2 lines in my config.xml </p>
<pre><code><preference name="SplashStatusBarBackgroundColor" value="#488aff" />
<preference name="SplashScreenSpinnerColor" value="#488aff" />
</code></pre>
<p>The <code>SplashStatusBarBackgroundColor</code> works when plugin is installed form <a... | I have added the following 2 lines in my config.xml [CODE] The SplashStatusBarBackgroundColor works when plugin is installed form https://github.com/goinnn/cordova-plugin-splashscreen.git#4.0.0#colors However, SplashScreenSpinnerColor color does not change. When the splash plugin is updated to the latest version Splash... | android|ionic-framework|ionic2|ionic3|ionic-native | 2 | 2018-12-13T13:29:47.590Z | 2,018 | 12 | 13 | 3 | 263 | 0 | 445 | 51 | 5 | 1 | true | true | false | false | false | false | low |
53,510,465 | Android AdMob failing to initialize with java.lang.NoClassDefFoundError: Failed resolution of: Landroid/webkit/TracingController | <p>My dependencies are: </p>
<pre><code>dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.android.support:appcompat-v7:28.0.0"
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
testImplementation 'junit:junit:4.12'
androidTestImpleme... | My dependencies are: [CODE] And the error message I am getting is: [CODE] I can post more if needed. My minSdkVersion is 21 and my target and compile version is 28. That error happens when I initialize MobileAds like this: [CODE] Android Studio kept telling me that various support packages needed to be the same level a... | android|admob | 4 | 2018-11-28T00:48:55.870Z | 2,018 | 11 | 0 | 2 | 775 | 0 | 513 | 128 | 2 | 3 | true | true | false | false | false | false | low |
53,452,756 | How to have file connected to user account with Firebase | <p>I'm in the process of developing an app for android and I'm using Firebase as my backend. I need a JSON file for each user and would like it to be connected to a user's account. How can I sync a file to someone's account through Firebase without the need for a database?</p> | I'm in the process of developing an app for android and I'm using Firebase as my backend. I need a JSON file for each user and would like it to be connected to a user's account. How can I sync a file to someone's account through Firebase without the need for a database? | java|android|file|synchronization|storage | 1 | 2018-11-23T20:45:11.670Z | 2,018 | 11 | 20 | 4 | 8 | 0 | 270 | 56 | 5 | 0 | false | true | false | false | false | false | low |
53,643,704 | Android Studio Fix Layout Files from BSOD Crash | <p>My pc went into BSOD state and when I open my project I get broken files :</p>
<p>For example in my activity.xml, it's showing this:</p>
<pre><code><component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</componen... | My pc went into BSOD state and when I open my project I get broken files : For example in my activity.xml, it's showing this: [CODE] When I go file explorer and open the activity.xml file itself, the content is fine How do I fix this? | android|android-studio | 1 | 2018-12-06T02:24:48.860Z | 2,018 | 12 | 2 | 3 | 9 | 0 | 234 | 47 | 2 | 1 | true | true | false | false | false | false | low |
53,416,719 | Room: Fts4 with string primary key | <p>I want to create an entity that (its table) synchronized with data from a server.
The objects from the server contains string id so I create a regular field (not primary key) for this id (as the Fts4 force only integer primary keys).
But now, when I update the room database with objects from the server, the database... | I want to create an entity that (its table) synchronized with data from a server. The objects from the server contains string id so I create a regular field (not primary key) for this id (as the Fts4 force only integer primary keys). But now, when I update the room database with objects from the server, the database do... | android|mysql|full-text-search|android-room | 3 | 2018-11-21T16:38:27.730Z | 2,018 | 11 | 16 | 2 | 265 | 0 | 400 | 34 | 4 | 0 | false | true | false | false | false | false | low |
53,568,855 | how to add web view to Navigation Expandable List in the following example? | <p>I want to add my business Instagram page and Google map address to my app and tried different methods but all with errors.
<a href="https://i.stack.imgur.com/OKtcw.png%60" rel="nofollow noreferrer">this is the menu and the green must show the a web page and then google map respectively</a></p>
<pre><code><Linear... | I want to add my business Instagram page and Google map address to my app and tried different methods but all with errors. this is the menu and the green must show the a web page and then google map respectively [CODE] [CODE] | android-webview | 1 | 2018-12-01T07:48:31.707Z | 2,018 | 12 | 7 | 5 | 11 | 0 | 225 | 75 | 1 | 2 | true | true | false | false | false | false | low |
53,798,846 | ExoPlayer Cast extension - Unable to see closed captions on TV | <p>We are using ExoPlayer cast extension. The video files are 'mp4' and has inbuilt English subtitles. We are able to see the closed captions in the device using '<strong>Player</strong>' class and selecting DefaultTrackSelector which has preferred language set as "en". But when we are casting this to TV using '<strong... | We are using ExoPlayer cast extension. The video files are 'mp4' and has inbuilt English subtitles. We are able to see the closed captions in the device using ' Player ' class and selecting DefaultTrackSelector which has preferred language set as "en". But when we are casting this to TV using ' CastPlayer ', the closed... | android|exoplayer | 3 | 2018-12-16T02:02:17.880Z | 2,018 | 12 | 2 | 6 | 267 | 0 | 509 | 62 | 2 | 1 | true | true | false | false | false | false | low |
53,748,485 | Test Google Play Install Referrer API or examples | <p>I'm trying to use Google Play Install Referrer API to create a transparent way for the users to share my app and get benefits... but i'm having a nightmare trying to test this api</p>
<p>My app has a button, when user presses it gets a link which can share on other apps like:</p>
<p><code>https://play.google.com/s... | I'm trying to use Google Play Install Referrer API to create a transparent way for the users to share my app and get benefits... but i'm having a nightmare trying to test this api My app has a button, when user presses it gets a link which can share on other apps like: https://play.google.com/store/apps/details?id=blab... | android|google-play|google-play-developer-api|install-referrer | 8 | 2018-12-12T17:37:28.037Z | 2,018 | 12 | 17 | 2 | 1,294 | 0 | 1,224 | 49 | 4 | 0 | false | true | false | false | false | false | medium |
53,568,276 | Step by step help associating ad account with the app for app install events. | <p>I am an advertiser. I want to set up an ad to track app installs on Facebook. I've created and registered the app with Facebook Developer. Now I am not sure how do I proceed further with associating app with the ad account.
My developer has pure experience with app development and neither he doesn't know how to pro... | I am an advertiser. I want to set up an ad to track app installs on Facebook. I've created and registered the app with Facebook Developer. Now I am not sure how do I proceed further with associating app with the ad account. My developer has pure experience with app development and neither he doesn't know how to proceed... | android|facebook | 1 | 2018-12-01T06:15:26.227Z | 2,018 | 12 | 6 | 5 | 16 | 0 | 329 | 77 | 2 | 0 | false | true | false | false | false | false | low |
53,633,008 | ARCore how to change "fit to scan image you're scanning" text? | <p>I am fairly new to ARCore and hope that my question is not too obvious, but I would like to know how to change the instruction text on the imageview which by default says "Fit the image you're scanning"? I tried to change the text attribute to android:text="Hello" but it does not change anything.</p>
<p>That's what... | I am fairly new to ARCore and hope that my question is not too obvious, but I would like to know how to change the instruction text on the imageview which by default says "Fit the image you're scanning"? I tried to change the text attribute to android:text="Hello" but it does not change anything. That's what it current... | java|android|arcore | 1 | 2018-12-05T13:04:13.710Z | 2,018 | 12 | 13 | 2 | 273 | 0 | 367 | 62 | 3 | 1 | true | true | false | false | false | false | low |
53,494,767 | Twinkling of the notification luminodiode indicator. Android | <p>I need to make luminodiode twinkled when the notification arrives in my program.</p>
<pre><code> NotificationCompat.Builder builder = new NotificationCompat.Builder(getActivity()).setSmallIcon(R.mipmap.ic_launcher). setContentTitle("Title").setContentText("Content");
Notification notification = builder.buil... | I need to make luminodiode twinkled when the notification arrives in my program. [CODE] Now it always lits in red color, not twinkling. How to make it twinkling? I tried to change values in this lines [CODE] But it didn't help. What's wrong? | java|android|notifications | 1 | 2018-11-27T07:33:45.400Z | 2,018 | 11 | 7 | 1 | 18 | 0 | 241 | 60 | 3 | 2 | true | true | false | false | false | false | low |
53,788,507 | Is it possible to Identify and differentiate a Sidewalk & Crosswalk from a Road/Street (drivable Surface)? | <p>I've been looking at various Map APIs and can not find any information on how to differentiate Sidewalks & Crosswalks from a drivable surface (road).</p>
<p>It seems like Maps simply know if a Road has foot access but it doesn't differentiate the elements (Road from Sidewalk/Crosswalk).</p>
<p>Am I out of luck... | I've been looking at various Map APIs and can not find any information on how to differentiate Sidewalks & Crosswalks from a drivable surface (road). It seems like Maps simply know if a Road has foot access but it doesn't differentiate the elements (Road from Sidewalk/Crosswalk). Am I out of luck? | android | 1 | 2018-12-15T00:27:56.477Z | 2,018 | 12 | 0 | 5 | 18 | 0 | 298 | 106 | 1 | 0 | false | true | false | false | false | false | low |
53,663,035 | Customize the threshold distance of the Proximity Sensor on Android Phones | <p>For my own purpose, I want to create an application that gives me the real distance between an object and the proximity sensor. Also being able to change the threshold distance which changes the proximity sensor status. Very simple application in theory. </p>
<p>Today for most of Android Phones, when I use the And... | For my own purpose, I want to create an application that gives me the real distance between an object and the proximity sensor. Also being able to change the threshold distance which changes the proximity sensor status. Very simple application in theory. Today for most of Android Phones, when I use the Android SDK the ... | android|sensors|proximity|hal|proximitysensor | 1 | 2018-12-07T03:59:04.060Z | 2,018 | 12 | 3 | 4 | 1,043 | 0 | 1,619 | 74 | 5 | 0 | false | true | false | false | false | false | low |
53,502,687 | How to provide a path to start with to Android's built-in file selector? | <p>I open Android's built-in file selector using the following code:</p>
<pre><code>Intent myIntent = new Intent(Intent.ACTION_GET_CONTENT);
myIntent.setType("text/*");
myIntent.addCategory(Intent.CATEGORY_OPENABLE);
startActivityForResult(myIntent, 100);
</code></pre>
<p>The file selector opens up fine but it always... | I open Android's built-in file selector using the following code: [CODE] The file selector opens up fine but it always starts with the recent files list. Is there any way to provide a directory to start with? | android|file|android-intent|built-in|filepicker | 1 | 2018-11-27T15:15:21.467Z | 2,018 | 11 | 15 | 1 | 20 | 0 | 208 | 72 | 5 | 1 | true | true | false | false | false | false | low |
53,517,763 | flavoured resources in android | <p>I am developing an app and now I want to flavour it.
I managed to add flavours into the app module but I don't know how or if it is possible to have the same flavours in other modules.
Bellow you can see the structure of my code:</p>
<pre><code>-> app
---> res
---> values
---> flav... | I am developing an app and now I want to flavour it. I managed to add flavours into the app module but I don't know how or if it is possible to have the same flavours in other modules. Bellow you can see the structure of my code: [CODE] Trying to add falvour1/res/values/colors.xml and flavour2/res/values/colors.xml to ... | android|resources|android-productflavors | 1 | 2018-11-28T10:52:47.843Z | 2,018 | 11 | 10 | 2 | 21 | 0 | 426 | 30 | 3 | 1 | true | true | false | false | false | false | low |
53,449,504 | Issue while using requestFocus on EditText | <p>I'm having an issue when i'm trying to requestFocus by using a physical enter keyboard from a Honeywell Eda60K device and other.</p>
<p>If i press "Confirm" view button it's focus editText fine but if i use enter button it doesn't focus the next editText as you can see on this <a href="https://www.youtube.com/watch... | I'm having an issue when i'm trying to requestFocus by using a physical enter keyboard from a Honeywell Eda60K device and other. If i press "Confirm" view button it's focus editText fine but if i use enter button it doesn't focus the next editText as you can see on this video Here is my OnEditorActionListener method fr... | android|android-edittext|focus | 1 | 2018-11-23T15:42:06.077Z | 2,018 | 11 | 15 | 4 | 22 | 0 | 349 | 42 | 3 | 1 | true | true | false | false | false | false | low |
53,536,595 | How to detect cpu usage of sdks | <p>Is there a way to see cpu usage of SDKs which implemented in android application? I tried to show it on <code>profiler</code> tab but couldn't see it. Is there a way to achieve it? </p>
<p>Image</p>
<p><a href="https://i.stack.imgur.com/v87h2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/v87h2... | Is there a way to see cpu usage of SDKs which implemented in android application? I tried to show it on profiler tab but couldn't see it. Is there a way to achieve it? Image | android | 1 | 2018-11-29T10:14:47.317Z | 2,018 | 11 | 10 | 3 | 22 | 0 | 173 | 31 | 1 | 0 | false | true | false | false | false | false | low |
53,540,946 | Runtime [Dynamic] Updation of Gmap key for android | <p>We have developed an app with google maps. Ours is a B2B solution and we don't want to bundle our gmap key with the application as we can't meter and bill each customer for their usage. We would like to get the gmap key through configuration from our webserver for each client.</p>
<p>We are looking to provide gmap ... | We have developed an app with google maps. Ours is a B2B solution and we don't want to bundle our gmap key with the application as we can't meter and bill each customer for their usage. We would like to get the gmap key through configuration from our webserver for each client. We are looking to provide gmap key dynamic... | android | 2 | 2018-11-29T14:12:56.457Z | 2,018 | 11 | 14 | 3 | 23 | 0 | 639 | 50 | 1 | 0 | false | true | false | false | false | false | low |
53,723,103 | ImageView dimensions won't change in some devices | <p>I am creating programmatically some ImageView's to use them as dots for a custom image slider but for some reason the dimensions of the images won't change in some devices. </p>
<p>Here is the code I use to generate those ImageViews and align them one next to the other:</p>
<pre><code>private void drawMainImageDot... | I am creating programmatically some ImageView's to use them as dots for a custom image slider but for some reason the dimensions of the images won't change in some devices. Here is the code I use to generate those ImageViews and align them one next to the other: [CODE] The RelativeLayout layout xml code is: [CODE] Is t... | android|imageview|android-relativelayout | 1 | 2018-12-11T11:22:50.830Z | 2,018 | 12 | 11 | 1 | 23 | 0 | 354 | 49 | 3 | 2 | true | true | false | false | false | false | low |
53,747,359 | I can write on a unplugged removeable storage path | <p>I have an industrial Android board "Allwinner" intented for a kiosk system that mounts removeable drives like that:</p>
<pre><code>/storage/card -- SD-card
/storage/udisk3 -- USB storage device via USB-OTG
</code></pre>
<p>Everything works as expected. I get (un)mounted notifications and can read and write on ... | I have an industrial Android board "Allwinner" intented for a kiosk system that mounts removeable drives like that: [CODE] Everything works as expected. I get (un)mounted notifications and can read and write on the storage. I even don't have to ask the user for permission to use the removeable storage although it's And... | android|linux|android-file|android-storage | 3 | 2018-12-12T16:29:24.143Z | 2,018 | 12 | 16 | 2 | 23 | 0 | 1,142 | 50 | 4 | 1 | true | true | false | false | false | false | low |
53,513,885 | SearchView cant restore search function after closing | <p>I have a structure where a search view resides at the top and a frame layout does below. SearchAFragment is the initial fragment of frame layout.</p>
<p>I am managing frame layout like;</p>
<pre><code>search_box.setOnSearchClickListener(new View.OnClickListener() {
@Override
public void onClick(Vie... | I have a structure where a search view resides at the top and a frame layout does below. SearchAFragment is the initial fragment of frame layout. I am managing frame layout like; [CODE] I am clicking search view and then searching things and everything is all right. After searching, I click close button of search view ... | java|android|search|searchview | 1 | 2018-11-28T07:04:16.737Z | 2,018 | 11 | 7 | 2 | 24 | 0 | 534 | 53 | 4 | 1 | true | true | false | false | false | false | low |
53,395,270 | Is it OK that I request a considerable amount of access token not reusing API? | <p>In Android API, <code>access token</code> can be re-issued through <code>refresh token</code>.</p>
<p>Even after new <code>access token</code> is issued, the previous one is still valid for expire time(maybe 1 hour).</p>
<p>I am wondering if it is ok to request a new <code>access token</code> everytime I need rega... | In Android API, access token can be re-issued through refresh token . Even after new access token is issued, the previous one is still valid for expire time(maybe 1 hour). I am wondering if it is ok to request a new access token everytime I need regardless of how many access token is issued so that I don't mind if the ... | android|oauth-2.0|android-authenticator | 1 | 2018-11-20T14:32:03.157Z | 2,018 | 11 | 14 | 1 | 25 | 0 | 602 | 78 | 3 | 0 | false | true | false | false | false | false | low |
53,526,869 | Android Studio Lint for finding invalid component classes? | <p>Long story short, Android Studio's new Refactor feature to <code>Migrate to Android X</code> is buggy. In the end, I ended up with dozens of invalid, incomplete, non-existent component classes in my XML files and the compiler didn't complain. Only when testing at runtime did I realize what it's done.</p>
<p>Is ther... | Long story short, Android Studio's new Refactor feature to Migrate to Android X is buggy. In the end, I ended up with dozens of invalid, incomplete, non-existent component classes in my XML files and the compiler didn't complain. Only when testing at runtime did I realize what it's done. Is there a lint option to find ... | android-studio|android-studio-3.0|lint|androidx | 1 | 2018-11-28T19:37:29.450Z | 2,018 | 11 | 19 | 2 | 25 | 0 | 643 | 58 | 4 | 1 | true | true | false | false | false | false | low |
53,662,060 | My Interstitial failed to load after i updated the app version. Its still showing for the previous version | <p>After i updated my app version code, the interstitial failed to load. I tried all the means to get them back but my attempts failed. Anyone who could be having a solution.
here is my gradle code</p>
<p>I haven't made any change on the Main Activity and xml activity</p>
<p>gradle file</p>
<pre><code>apply plugin: ... | After i updated my app version code, the interstitial failed to load. I tried all the means to get them back but my attempts failed. Anyone who could be having a solution. here is my gradle code I haven't made any change on the Main Activity and xml activity gradle file [CODE] kindly check on the code and tell me where... | android-studio | 2 | 2018-12-07T01:32:34.677Z | 2,018 | 12 | 1 | 4 | 25 | 0 | 353 | 106 | 1 | 1 | true | true | false | false | false | false | low |
53,756,803 | Navigatoin Graph issue when add activity | <p>I am using Navigation Android component with navigation drawer, its working fine our code :</p>
<pre><code> private void setupNavMenu() {
NavHeaderMainBinding navHeaderMainBinding = DataBindingUtil.inflate(getLayoutInflater(),
R.layout.nav_header_main, mActivityMainBinding.navigationView, fa... | I am using Navigation Android component with navigation drawer, its working fine our code : [CODE] and this is our navigation item: [CODE] navigation_xml [CODE] everything is working fine.Now issue is that when i click on second tag in navigation drawer and from the second fragment again open drawer and click on third ... | android|uinavigationcontroller|android-jetpack | 1 | 2018-12-13T07:17:39.070Z | 2,018 | 12 | 7 | 3 | 26 | 0 | 547 | 40 | 3 | 3 | true | true | false | false | false | false | low |
53,383,748 | Should an android custom view use services/presenters, injected or used as singleton inside it? | <p>I have some view used as a "panel" with different functions on it that modifies a main scene or call the backend. Some of the components/buttons from the panel, are also custom views. In angular 2+ for example you inject services directly into your custom component if you want to call the backend.</p>
<ol>
<li><p>S... | I have some view used as a "panel" with different functions on it that modifies a main scene or call the backend. Some of the components/buttons from the panel, are also custom views. In angular 2+ for example you inject services directly into your custom component if you want to call the backend. Should I call the bac... | android|architecture|rx-java2 | 1 | 2018-11-19T22:46:56.847Z | 2,018 | 11 | 22 | 0 | 27 | 0 | 649 | 95 | 3 | 0 | false | true | false | false | false | false | low |
53,374,225 | How can I invoke the same function for the Client/Server via WiFiP2P? | <p>Maybe I don't understand why I want to ask the question, but I'm doing a small project for Android (I'm just starting with Android) in which basically is an application client / server communicating via WiFi Direct where through the server (or 'host' in this case) can set a stopwatch and then start it. Then, after ... | Maybe I don't understand why I want to ask the question, but I'm doing a small project for Android (I'm just starting with Android) in which basically is an application client / server communicating via WiFi Direct where through the server (or 'host' in this case) can set a stopwatch and then start it. Then, after star... | java|android | 1 | 2018-11-19T12:02:04.233Z | 2,018 | 11 | 12 | 0 | 29 | 0 | 767 | 69 | 2 | 0 | false | true | false | false | false | false | low |
53,397,179 | Load Icon from firebase and set it as Icon for BottomNavigationBar | <p>I am trying to load an Icon dinammically into my Bottom Navigation Bar.
Each time, the user clicks a new variable (in my case a new city) the icon for the variable shall be downloaded from the firebase server and be set to the bottom navigation bar.
My code till now looks like this:</p>
<pre><code>// first I load t... | I am trying to load an Icon dinammically into my Bottom Navigation Bar. Each time, the user clicks a new variable (in my case a new city) the icon for the variable shall be downloaded from the firebase server and be set to the bottom navigation bar. My code till now looks like this: [CODE] Alternatively I thought this ... | android|android-studio|icons|bottomnavigationview | 1 | 2018-11-20T16:16:39.957Z | 2,018 | 11 | 16 | 1 | 29 | 0 | 711 | 66 | 4 | 2 | true | true | false | false | false | false | low |
53,470,396 | How to add an horizontal line next to the title of a group in a navigation drawer? | <p>I'd like to move the horizontal separator that separates between different item groups in a navigation drawer and put it next to the titles of the group.
let's say I have the following XML:</p>
<pre><code><menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schem... | I'd like to move the horizontal separator that separates between different item groups in a navigation drawer and put it next to the titles of the group. let's say I have the following XML: [CODE] which has the following result I would like to get a result where the separating line is next to "Second Menu" in... | android|navigation-drawer | 1 | 2018-11-25T18:08:49.417Z | 2,018 | 11 | 18 | 6 | 30 | 0 | 370 | 82 | 2 | 1 | true | true | false | false | false | false | low |
53,781,937 | GoogleMaps like marker with place name around the marker | <p>GoogleMaps like marker with place name around the marker, the reason I say around because the name moves around the marker with respect to other markers around it & sometime it even hides the name if marker get too close to each other. I have seen other solution on how to show the name with the marker but their ... | GoogleMaps like marker with place name around the marker, the reason I say around because the name moves around the marker with respect to other markers around it & sometime it even hides the name if marker get too close to each other. I have seen other solution on how to show the name with the marker but their the nam... | android|google-maps|google-maps-android-api-2 | 1 | 2018-12-14T14:48:39.297Z | 2,018 | 12 | 14 | 4 | 30 | 0 | 340 | 56 | 3 | 0 | false | true | false | false | false | false | low |
53,485,185 | Application Error Dump Heap Memory - how to fix that? | <p>In my app, firstly I created an activity and passed fragments inside it. After I kept the app running for five minutes, my app goes to the first fragment and shows an <strong><em>error in the Log</em></strong> as:</p>
<blockquote>
<p><em>"Too many open files" log A/art:sart/runtime/indirect_reference_table.cc:7... | In my app, firstly I created an activity and passed fragments inside it. After I kept the app running for five minutes, my app goes to the first fragment and shows an error in the Log as: "Too many open files" log A/art:sart/runtime/indirect_reference_table.cc:76] Check failed: table_mem_map_.get() != nullptr ashmem_cr... | java|android|performance|android-studio|android-fragments | 4 | 2018-11-26T16:19:58.160Z | 2,018 | 11 | 16 | 0 | 286 | 0 | 716 | 53 | 5 | 0 | false | true | false | false | false | false | low |
53,466,633 | Android/Kotlin passing data from a spinner in one fragment to RecyclerView in another Fragment | <p>Working on a small app with two Fragments, the second Fragment contains a couple spinners. I want to pass the user selection from the spinner to a recyclerView in the first Fragment. And I am stuck.</p>
<p>Looking at the Android documentation here: <a href="https://developer.android.com/guide/topics/ui/controls/spi... | Working on a small app with two Fragments, the second Fragment contains a couple spinners. I want to pass the user selection from the spinner to a recyclerView in the first Fragment. And I am stuck. Looking at the Android documentation here: Spinner Doc The last sentence in that doc says: If you implement the AdapterVi... | android|android-fragments|android-recyclerview|kotlin | 1 | 2018-11-25T10:35:35.393Z | 2,018 | 11 | 10 | 6 | 542 | 0 | 1,194 | 94 | 4 | 3 | true | true | false | false | false | false | low |
53,398,054 | Creating a simple android app for receiving bluetooth strings? | <p>I have an Arduino sketch that sends some string via Bluetooth module (I'm using HC-06) and everything works great, tested it out in PuTTY.</p>
<p>Now. I'm new to Android developing and can't seem to find any good tutorial or piece of code that would wait for data from Bluetooth and print it to a textbox. Some are e... | I have an Arduino sketch that sends some string via Bluetooth module (I'm using HC-06) and everything works great, tested it out in PuTTY. Now. I'm new to Android developing and can't seem to find any good tutorial or piece of code that would wait for data from Bluetooth and print it to a textbox. Some are either outda... | android|bluetooth | 1 | 2018-11-20T17:07:55.083Z | 2,018 | 11 | 17 | 1 | 31 | 0 | 564 | 62 | 2 | 0 | false | true | false | false | false | false | low |
53,562,881 | How to add Dao to Room in runtime? | <p>I am using clean architecture in my app, and due-to module testing I have to keep module logic inside modules. However all examples of constructions of <code>RoomDatabase</code> forcing to keep all <code>DAO</code>'s inside <code>RoomDatabase</code> child class. </p>
<p>Is it possible to split <code>RoomDatabase</c... | I am using clean architecture in my app, and due-to module testing I have to keep module logic inside modules. However all examples of constructions of RoomDatabase forcing to keep all DAO 's inside RoomDatabase child class. Is it possible to split RoomDatabase creation and DAO attachment place into two different modul... | android|android-room | 1 | 2018-11-30T18:20:12.183Z | 2,018 | 11 | 18 | 4 | 31 | 0 | 367 | 34 | 2 | 0 | false | true | false | false | false | false | low |
53,641,057 | Change Company Domain name for next projects on Android Studio | <p>Supporse I have a company domain <code>com.ernanni.br</code> and I want to change it in a way that every next project I create comes with a different name I want to, let's suppose <code>com.ernanni</code>.</p>
<p>Is there a way to change the Company Domain on Android Studio even for future projects? So I don't need... | Supporse I have a company domain com.ernanni.br and I want to change it in a way that every next project I create comes with a different name I want to, let's suppose com.ernanni . Is there a way to change the Company Domain on Android Studio even for future projects? So I don't need to change every time I want to crea... | android-studio|configuration | 1 | 2018-12-05T21:29:54.497Z | 2,018 | 12 | 21 | 2 | 31 | 0 | 336 | 62 | 2 | 0 | false | true | false | false | false | false | low |
53,475,023 | INVALID_CLIENT spotify SDK android | <pre><code>{"message":"Client authentication failed:INVALID_CLIENT"}
com.spotify.android.appremote.api.error.AuthenticationFailedException: {"message":"Client authentication failed:INVALID_CLIENT"}
</code></pre>
<p>I'm doing integration to the spotify SDK with native Android, following the tutorial provided by spotify... | [CODE] I'm doing integration to the spotify SDK with native Android, following the tutorial provided by spotify, and attempting to run me returns this error. I have already created an Application in the dashboard and I already have my Id Client generated. If anyone can help me thank you. | android|android-studio|sdk|spotify|spotify-app | 2 | 2018-11-26T05:02:50.400Z | 2,018 | 11 | 5 | 0 | 287 | 0 | 288 | 34 | 5 | 1 | true | true | false | false | false | false | low |
53,363,946 | How can I open a web PDF file in a Xwalkview based kiosk browser with an explicit App with url white-list? | <p>I try to open web PDFs in a Xwalkview with another App but the file will just be downloaded.</p>
<p>Use case is a WebApp for Kiosk-Devices to show intranet content (HTML & PDF) with URL white-list.</p>
<p>Here is my code:</p>
<pre><code>public class MainActivity extends Activity {
XWalkView mXwalkView;
@Overri... | I try to open web PDFs in a Xwalkview with another App but the file will just be downloaded. Use case is a WebApp for Kiosk-Devices to show intranet content (HTML & PDF) with URL white-list. Here is my code: [CODE] | android|pdf|android-intent|xwalkview | 1 | 2018-11-18T18:04:10.690Z | 2,018 | 11 | 18 | 6 | 32 | 0 | 214 | 106 | 4 | 1 | true | true | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.