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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
72,051,421 | What dependencies and other lines should be added into build.gradle(:app) and gradle>build.gradle to work with Tests? | <p>I've been doing <a href="https://developer.android.com/courses/android-basics-kotlin/course?hl=en" rel="nofollow noreferrer">Kotlin Basics</a> Unit 2 (Test Lists and Adapters), I followed instructions and used proper <a href="https://i.stack.imgur.com/rc3il.png" rel="nofollow noreferrer">dependencies</a>. But with T... | I've been doing Kotlin Basics Unit 2 (Test Lists and Adapters), I followed instructions and used proper dependencies . But with Test classes, code completion or any code suggestion features do not work. I'm able to import only after typing the code. Screenshot . Now after several ALT+ENTER I have no idea how to import ... | android|gradle|android-espresso|dependency-management|code-completion | 0 | 2022-04-28T23:57:44.927Z | 2,022 | 4 | 23 | 3 | 32 | 0 | 791 | 117 | 5 | 1 | true | true | false | false | false | false | zero |
72,065,068 | Base64 image upload using API | <p>I want to post a base64 image using API and the image is in a form-data format I'm using the below code here the console.log says successfully uploaded but it doesn't reflect in my backend any help regarding this matter would be very helpful
if anyone knows what am I doing wrong here please correct me and if someone... | I want to post a base64 image using API and the image is in a form-data format I'm using the below code here the console.log says successfully uploaded but it doesn't reflect in my backend any help regarding this matter would be very helpful if anyone knows what am I doing wrong here please correct me and if someone kn... | android|react-native|api|rest|form-data | 0 | 2022-04-30T01:37:27.097Z | 2,022 | 4 | 1 | 5 | 32 | 0 | 401 | 29 | 5 | 1 | true | true | false | false | false | false | zero |
72,110,344 | Samsung S20 launches apps with different screen densities | <p>I test an application display problems on a Samsung S20 device.</p>
<p>When I log the display metrics of the device, here is what it returns me, density of the screen is xxhdpi 480 (x3) :
<a href="https://i.stack.imgur.com/6uzJ9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6uzJ9.png" alt="enter... | I test an application display problems on a Samsung S20 device. When I log the display metrics of the device, here is what it returns me, density of the screen is xxhdpi 480 (x3) : Now this is the weird part, I'm just changing the application id of my application , and I launch again the application and now when I log ... | android|screen-density|samsung | 1 | 2022-05-04T08:59:42.750Z | 2,022 | 5 | 8 | 2 | 32 | 0 | 1,295 | 57 | 3 | 0 | false | true | false | false | false | false | low |
72,123,134 | cordova android release failed in app:packageReleaseBundle | <p>I can build my Ionic 5 app for Android (<code>cordova build android</code>) but I get the following error when I try to build it for a release (<code>cordova build android --release</code>)</p>
<p>I have removed and re-installed cordova-android 10.1.2 several time, and I am using gradle 6.7.1.</p>
<p>I would like to... | I can build my Ionic 5 app for Android ( cordova build android ) but I get the following error when I try to build it for a release ( cordova build android --release ) I have removed and re-installed cordova-android 10.1.2 several time, and I am using gradle 6.7.1. I would like to know what I should check more to fix t... | cordova|ionic-framework|release|cordova-android | 0 | 2022-05-05T07:02:38.047Z | 2,022 | 5 | 7 | 3 | 32 | 0 | 355 | 58 | 4 | 1 | true | true | false | false | false | false | zero |
72,125,293 | Issues with simple tests from official documentation and guides | <p>I tried to create a test by myself following these steps posted here: <a href="https://developer.android.com/studio/test/test-in-android-studio" rel="nofollow noreferrer">https://developer.android.com/studio/test/test-in-android-studio</a></p>
<blockquote>
<p>Create new tests</p>
<p>You can add a new test for a spec... | I tried to create a test by myself following these steps posted here: https://developer.android.com/studio/test/test-in-android-studio Create new tests You can add a new test for a specific class or method directly from its source code by following these steps: Open the source file that contains the code you want to te... | android|android-studio|testing|android-testing | 0 | 2022-05-05T09:59:45.327Z | 2,022 | 5 | 9 | 3 | 32 | 0 | 816 | 63 | 4 | 0 | false | true | false | false | false | false | zero |
72,130,514 | TelephonyCallback.CallStateListener issue with Pro-guard | <p>I am seeing a strange pro-guard/R8 issue. One of the third-party APKs I use is implementing TelephonyCallback.CallStateListener(added in api 31). The strange thing is when I keep my target SDK of my app to 30 the pro-guard is removing third party SDk's onCallStateChanged() but when I upgrade it to 31, pro-guard isn'... | I am seeing a strange pro-guard/R8 issue. One of the third-party APKs I use is implementing TelephonyCallback.CallStateListener(added in api 31). The strange thing is when I keep my target SDK of my app to 30 the pro-guard is removing third party SDk's onCallStateChanged() but when I upgrade it to 31, pro-guard isn't r... | android|proguard | 0 | 2022-05-05T16:19:59.033Z | 2,022 | 5 | 16 | 3 | 32 | 0 | 442 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
71,796,430 | use Android-nRF-Mesh-Library in react native | <p>someone of you had the same problem as me, which is to integrate the library Android-nRF-Mesh-Library in a react native project</p> | someone of you had the same problem as me, which is to integrate the library Android-nRF-Mesh-Library in a react native project | android|react-native|mesh | 0 | 2022-04-08T11:44:38.907Z | 2,022 | 4 | 11 | 4 | 33 | 0 | 127 | 44 | 3 | 0 | false | true | false | false | false | false | zero |
71,798,670 | Android Progress bar inside menu item is not updating properly | <p>I have two sensor connected with my android app. Both apps are connecting over BLE and I get two types of data from these sensors.</p>
<ol>
<li>Sensor Data</li>
<li>Power Value</li>
</ol>
<p>To show the power status, I followed a tutorial to create the progressbar inside actionbar menu as follows.</p>
<pre><code>the... | I have two sensor connected with my android app. Both apps are connecting over BLE and I get two types of data from these sensors. Sensor Data Power Value To show the power status, I followed a tutorial to create the progressbar inside actionbar menu as follows. [CODE] I am updating these power values from sensorViewMo... | android|kotlin|menu|android-actionbar|progress-bar | 0 | 2022-04-08T14:21:45.833Z | 2,022 | 4 | 14 | 4 | 33 | 0 | 867 | 62 | 5 | 1 | true | true | false | false | false | false | zero |
71,800,612 | Convert groovy project level buil.gradle file to kotlin in android | <p><a href="https://i.stack.imgur.com/n9ClS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n9ClS.png" alt="enter image description here" /></a></p>
<p>How to convert this part of groovy gradle into kotlin gradle in android project</p> | How to convert this part of groovy gradle into kotlin gradle in android project | android|gradle|kotlin-gradle-plugin | 0 | 2022-04-08T16:45:35.190Z | 2,022 | 4 | 16 | 4 | 33 | 0 | 79 | 66 | 3 | 0 | false | true | false | false | false | false | zero |
71,827,999 | alarm manager set always calls broadcast receiver | <p>How to call alarm manager just once when using with broadcasts.The below function calls broadcast everytime alarm manager is set and also when the time it has been set, in this case set. Is there any way I can just call it just once when I set the alarm manager with the time it receives from the backend?</p>
<pre><... | How to call alarm manager just once when using with broadcasts.The below function calls broadcast everytime alarm manager is set and also when the time it has been set, in this case set. Is there any way I can just call it just once when I set the alarm manager with the time it receives from the backend? [CODE] Answer:... | android|alarmmanager|android-alarms | 0 | 2022-04-11T12:38:58.977Z | 2,022 | 4 | 12 | 0 | 33 | 0 | 428 | 49 | 3 | 1 | true | true | false | false | false | false | zero |
71,837,481 | Two app instances are created when click on deeplink from mail | <p>I'm navigating to the email app from <strong>X</strong> activity, I am getting an email from the backend.
On that email we have the link, once click on that link it is navigated to app <strong>Y</strong> activity.
In that process, two app instances are created.</p>
<p>navigating to email app activity and navigating ... | I'm navigating to the email app from X activity, I am getting an email from the backend. On that email we have the link, once click on that link it is navigated to app Y activity. In that process, two app instances are created. navigating to email app activity and navigating from email app activity both are not the sam... | android|deep-linking|intentfilter|android-deep-link | 2 | 2022-04-12T05:22:08.580Z | 2,022 | 4 | 5 | 1 | 33 | 0 | 329 | 62 | 4 | 1 | true | true | false | false | false | false | low |
71,845,185 | Cloudinary Upload widget in android Kotlin | <p>I am using the upload widget for image upload in android. despite using the " <strong><code>UploadWidget.Options(UploadWidget.Action.NONE</code></strong>" as required in the docs, the onActivityResult function in not triggered. The image is uploaded immediately so I can't intercept the upload.</p> | I am using the upload widget for image upload in android. despite using the " UploadWidget.Options(UploadWidget.Action.NONE " as required in the docs, the onActivityResult function in not triggered. The image is uploaded immediately so I can't intercept the upload. | android|kotlin|cloudinary|image-upload | 1 | 2022-04-12T15:16:28.300Z | 2,022 | 4 | 15 | 1 | 33 | 0 | 275 | 42 | 4 | 0 | false | true | false | false | false | false | low |
71,862,707 | INCreateNoteIntent distinguish between "Remind" and "Add" | <p>I am using INCreateNoteIntent in Siri to create tasks and notes. According to the <a href="https://developer.apple.com/documentation/sirikit/inaddtasksintent" rel="nofollow noreferrer">docs</a>, it'll capture things like <code>Add persimmons to my shopping list</code> and <code>Remind me to buy dog food</code>:</p>... | I am using INCreateNoteIntent in Siri to create tasks and notes. According to the docs , it'll capture things like Add persimmons to my shopping list and Remind me to buy dog food : In our app, reminders and adding tasks to a list are completely different actions. When I inspect the intent object in whats returned in [... | ios|android-intent|siri | 0 | 2022-04-13T19:07:27.093Z | 2,022 | 4 | 19 | 2 | 33 | 0 | 621 | 57 | 3 | 3 | true | true | false | false | false | false | zero |
71,871,357 | Android CMake : System goes out of memory when building large project | <p>I am working on an <code>Android</code> native project which has to compile a lot of <code>C++</code> files. I am using <code>CMake</code> to build native libs. As there are lot of <code>C++</code> source files, my system goes out of memory(IDE is using 5-6 GB memory).</p>
<p>Is there a settings for <code>build.grad... | I am working on an Android native project which has to compile a lot of C++ files. I am using CMake to build native libs. As there are lot of C++ source files, my system goes out of memory(IDE is using 5-6 GB memory). Is there a settings for build.gradle to use less memory or any alternative to build native lib for and... | android|android-studio|gradle|android-ndk | 0 | 2022-04-14T12:07:26.387Z | 2,022 | 4 | 12 | 3 | 33 | 0 | 325 | 69 | 4 | 0 | false | true | false | false | false | false | zero |
71,898,401 | mpandroidchart x axis add month view | <p><strong>I try to display some charts in my android app. I use MPAndroidChart library.How to add Month view jan , Feb , March,April ,May,June ,July,Aug,Sep,Oct,Nov,Dec like wise in the x Axis without numbers (3,6,9,12,15)</strong></p>
<p><a href="https://i.stack.imgur.com/nUSt3.png" rel="nofollow noreferrer"> mpa... | I try to display some charts in my android app. I use MPAndroidChart library.How to add Month view jan , Feb , March,April ,May,June ,July,Aug,Sep,Oct,Nov,Dec like wise in the x Axis without numbers (3,6,9,12,15) mpandroidchart Chart [CODE] data point [CODE] I try to display some charts in my android app. I use MPAndro... | java|android-studio|android-support-library|mpandroidchart | 0 | 2022-04-17T00:17:26.580Z | 2,022 | 4 | 0 | 6 | 33 | 0 | 471 | 36 | 4 | 2 | true | true | false | false | false | false | zero |
71,907,823 | How to store Video on my device on android 11 | <p>I am trying to use <a href="https://github.com/zoontek/react-native-permissions" rel="nofollow noreferrer">https://github.com/zoontek/react-native-permissions</a> for storing the video but my video is not getting stored and I am using android 11 I have given the READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE permissi... | I am trying to use https://github.com/zoontek/react-native-permissions for storing the video but my video is not getting stored and I am using android 11 I have given the READ_EXTERNAL_STORAGE, WRITE_EXTERNAL_STORAGE permission. How can I store the video on my device? | react-native|permissions|android-permissions|react-native-permissions | 0 | 2022-04-18T05:18:09.417Z | 2,022 | 4 | 5 | 0 | 33 | 0 | 268 | 45 | 4 | 0 | false | true | false | false | false | false | zero |
71,940,178 | Position of recyclerview next items after implementing pagination with Recyclerview OnScrollListener | <p>I have a recycler with which I am paginating items, loading 10 items per page.</p>
<p>The problem::</p>
<p><strong>--></strong> When user gets to the end, it skips like 4 items and jumps to the 15th item, instead of starting the next page on the 11th item. I can scroll up and see the items.</p>
<p>Items are displ... | I have a recycler with which I am paginating items, loading 10 items per page. The problem:: --> When user gets to the end, it skips like 4 items and jumps to the 15th item, instead of starting the next page on the 11th item. I can scroll up and see the items. Items are displaying but just the position of the next item... | java|android|kotlin|android-recyclerview | 0 | 2022-04-20T13:02:43.973Z | 2,022 | 4 | 13 | 2 | 33 | 0 | 441 | 100 | 4 | 3 | true | true | false | false | false | false | zero |
72,023,191 | Why should we call FirebaseAuth verifyPhoneNumber in onStart? | <p>The documentation for Firebase <a href="https://firebase.google.com/docs/auth/android/phone-auth#send-a-verification-code-to-the-users-phone" rel="nofollow noreferrer">phone-number-authentication</a> says that,</p>
<blockquote>
<p>After you call verifyPhoneNumber, set a flag that indicates verification is in progres... | The documentation for Firebase phone-number-authentication says that, After you call verifyPhoneNumber, set a flag that indicates verification is in progress. Then, save the flag in your Activity's onSaveInstanceState method and restore the flag in onRestoreInstanceState. Finally, in your Activity's onStart method, che... | android|firebase|firebase-authentication | 1 | 2022-04-27T04:15:28.760Z | 2,022 | 4 | 4 | 2 | 33 | 0 | 791 | 61 | 3 | 0 | false | true | false | false | false | false | low |
72,024,070 | Can i use limit lines as a grid lines in MPAndroidChart? | <p>i like to customized grid lines of xAsis in MPAndroidChart. But did not find any thing</p>
<p>I tried with limit lines. I am able to achieve that with some code</p>
<pre><code> for (float i = axisMin; i < axisMax * 4; i++) {
if (value % 1 != 0) {
LimitLine limitLine = new LimitLine(value);
... | i like to customized grid lines of xAsis in MPAndroidChart. But did not find any thing I tried with limit lines. I am able to achieve that with some code [CODE] But getting a warring every time E/MPAndroiChart: Warning! You have more than 6 LimitLines on your axis, do you really want that? Does it really effect the cod... | android|mpandroidchart | 0 | 2022-04-27T06:17:29.197Z | 2,022 | 4 | 6 | 2 | 33 | 0 | 322 | 56 | 2 | 1 | true | true | false | false | false | false | zero |
72,105,484 | Android overlay hamburger menu | <p>I'm creating an animation in Android Studio for a website menu. The content should appear after clicking as the overlay animation moves from left to right. Any help would be appreciated
Do you know how to achieve such effect?</p>
<img src="https://i.stack.imgur.com/TLEcv.png" width="250"/> | I'm creating an animation in Android Studio for a website menu. The content should appear after clicking as the overlay animation moves from left to right. Any help would be appreciated Do you know how to achieve such effect? | android|xml|kotlin | 0 | 2022-05-03T21:08:45.523Z | 2,022 | 5 | 21 | 1 | 33 | 0 | 225 | 30 | 3 | 0 | false | true | false | false | false | false | zero |
72,109,007 | Hide notification bar using a service | <p>Currently, I am working with an app in which there is a functionality in which user clicks on a button and user is navigated directly to settings screen. Now, whenever user is on settings screen at that time I want to disable the interaction of user with notification bar. I have a service & receiver in my code a... | Currently, I am working with an app in which there is a functionality in which user clicks on a button and user is navigated directly to settings screen. Now, whenever user is on settings screen at that time I want to disable the interaction of user with notification bar. I have a service & receiver in my code and trie... | android|broadcastreceiver|android-service | 0 | 2022-05-04T06:58:31.667Z | 2,022 | 5 | 6 | 2 | 33 | 0 | 489 | 37 | 3 | 1 | true | true | false | false | false | false | zero |
72,119,907 | Exception android::uirenderer::RenderNode::prepareTree | <p>We are facing a weird exception on our native Android app. Actually we have no idea how to reproduce it or where does it occurs, we have only the stacktrace caught by Sentry:</p>
<blockquote>
<p>OS Version: Android 10 (QP1A.190711.020.A013MUBU3AVC1) Report Version:
104</p>
<p>Exception Type: Unknown (SIGSEGV)</p>
<p... | We are facing a weird exception on our native Android app. Actually we have no idea how to reproduce it or where does it occurs, we have only the stacktrace caught by Sentry: OS Version: Android 10 (QP1A.190711.020.A013MUBU3AVC1) Report Version: 104 Exception Type: Unknown (SIGSEGV) Application Specific Information: Se... | android|segmentation-fault | 1 | 2022-05-04T22:00:04.377Z | 2,022 | 5 | 22 | 2 | 33 | 0 | 1,401 | 54 | 2 | 0 | false | true | false | false | false | false | low |
72,132,574 | Android studio says that "package R does not exist" and I'm not sure if it's a build or a reference problem? | <p>I'm trying to refer to an xml file with an id of rowlayout but android studio keeps saying that the package r does not exist. While I'm sure the package does exist, I'm not sure if maybe I'm referencing the layout incorrectly? Thanks in advance!</p>
<p>This is my java code:</p>
<pre><code>public class CustomAdapter ... | I'm trying to refer to an xml file with an id of rowlayout but android studio keeps saying that the package r does not exist. While I'm sure the package does exist, I'm not sure if maybe I'm referencing the layout incorrectly? Thanks in advance! This is my java code: [CODE] The XML file: (called list_row.xml) [CODE] | xml|android-studio|android-layout|android-studio-3.0|layout-inflater | 0 | 2022-05-05T19:19:29.367Z | 2,022 | 5 | 19 | 3 | 33 | 0 | 317 | 108 | 5 | 2 | true | true | false | false | false | false | zero |
71,864,380 | Android: How to add fallback and cancel button for biometric authentication | <p>I'm using Xamarin. But for biometric authentication.
It looks like the API only allows one <code>negative</code> button. Also, if I use <code>SetDeviceCredentialAllowed</code> the default button is 'USE PIN'. Is it possible to change the text as the app needs to support different languages?</p>
<ol>
<li>Is it possib... | I'm using Xamarin. But for biometric authentication. It looks like the API only allows one negative button. Also, if I use SetDeviceCredentialAllowed the default button is 'USE PIN'. Is it possible to change the text as the app needs to support different languages? Is it possible to have two buttons. (use passcode-pin ... | android|biometrics | 0 | 2022-04-13T22:16:42.297Z | 2,022 | 4 | 22 | 2 | 289 | 0 | 395 | 75 | 2 | 1 | true | true | false | false | false | false | zero |
71,893,437 | I deleted the statusbar in android_studio (kotlin) but how can I get rid of the black bar on top of the screen? | <p>I've seen there is already a lot of questions on "how to get rid of the status bar of your app in android studio and make it full screen", so I tried all the answers and I can't make it properly work.
What I mean is: The app is working, and I can delete the status bar BUT there is a black bar remaining on ... | I've seen there is already a lot of questions on "how to get rid of the status bar of your app in android studio and make it full screen", so I tried all the answers and I can't make it properly work. What I mean is: The app is working, and I can delete the status bar BUT there is a black bar remaining on top... | android-studio|kotlin|statusbar | 0 | 2022-04-16T11:18:53.273Z | 2,022 | 4 | 11 | 5 | 34 | 0 | 766 | 111 | 3 | 3 | true | true | false | false | false | false | zero |
71,919,123 | databinding cannot work with AGP 4.2.0 when disable R8 | <p>get error:</p>
<pre><code>com.product.android.ad.databinding.LayoutFeedPullAdHeaderBinding:
can't find referenced method 'androidx.databinding.ViewDataBinding bind(androidx.databinding.DataBindingComponent,android.view.View,int)'
in program class com.product.android.ad.databinding.LayoutFeedPullAdHeaderBinding
</... | get error: [CODE] I upgrade AGP 4.2.0 ,But because of my Project cannot Support R8,I disable R8 use android.enableR8=false, I got error. I found ViewDataBinding had changed method of bind from param DataBindingComponent to Object how to it works for me with AGP 4.2.0 when I disable R8. configuration belows: [CODE] | android|android-gradle-plugin | 0 | 2022-04-19T02:48:25.167Z | 2,022 | 4 | 2 | 1 | 34 | 0 | 315 | 54 | 2 | 2 | true | true | false | false | false | false | zero |
71,937,997 | Allow users to choose their own colours in Android app | <p>I'm trying to allow users to create their own themes by using a colour picker within my app. I've learned that I essentially have two options here;</p>
<ol>
<li>Create pre-defined xml themes/styles and allow the user to choose which one to use.</li>
<li>Allow the user to create their own colours, and save the values... | I'm trying to allow users to create their own themes by using a colour picker within my app. I've learned that I essentially have two options here; Create pre-defined xml themes/styles and allow the user to choose which one to use. Allow the user to create their own colours, and save the values in SharedPreferences. Th... | java|android|colors|themes | 2 | 2022-04-20T10:23:16.550Z | 2,022 | 4 | 10 | 2 | 34 | 0 | 1,179 | 54 | 4 | 1 | true | true | false | false | false | false | low |
71,946,041 | debugging using ndk-dbg and it can't find my symbols | <p>I'm trying to get ndk-dbg to work correctly as a precursor to achieving my simple dream of visually debugging native android C++ in vscode.</p>
<p>In my 'android.mk' file, called from ndk-build I currently have the following set of LOCAL_CPPFLAGS:</p>
<pre><code>LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS) -O0 -g -ggdb -gdwa... | I'm trying to get ndk-dbg to work correctly as a precursor to achieving my simple dream of visually debugging native android C++ in vscode. In my 'android.mk' file, called from ndk-build I currently have the following set of LOCAL_CPPFLAGS: [CODE] I've gone through numerous permutations of this, all with the same resul... | android|c++|android-ndk|lldb|ndk-gdb | 0 | 2022-04-20T20:48:18.773Z | 2,022 | 4 | 20 | 2 | 34 | 0 | 2,150 | 52 | 5 | 4 | true | true | false | false | false | false | zero |
71,947,360 | jQuery .on() event with selector doesn't work on Android | <p>Let's say I have this simple roll menu:</p>
<pre><code><select id="setsTheme">
<option value="1">A</option>
<option value="2">B</option>
<option value="3">C</option>
</select>
</code></pre>
<p>I am using jQuery to det... | Let's say I have this simple roll menu: [CODE] I am using jQuery to detect some option was clicked (selected) like this: [CODE] See that I am using selector specifically for clicking the option tag only, so that it would not fire up also upon clicking the roll menu itself + I am using .on() instead of .change() event s... | android|jquery|events | 0 | 2022-04-20T23:51:23.047Z | 2,022 | 4 | 23 | 2 | 34 | 0 | 1,437 | 56 | 3 | 4 | true | true | false | false | false | false | zero |
71,963,696 | Chaining conditional ActivityResultContracts | <p>I'm learning how to use ActivityResultContract in Android, and I can't figure out a good way to structure my program logic.</p>
<p>Before a piece of code can run, there are two conditions that need to be true -- and if they aren't, they each require running an Intent to correct things. I refuse to believe there isn'... | I'm learning how to use ActivityResultContract in Android, and I can't figure out a good way to structure my program logic. Before a piece of code can run, there are two conditions that need to be true -- and if they aren't, they each require running an Intent to correct things. I refuse to believe there isn't a better... | java|android|kotlin | 0 | 2022-04-22T05:08:32.583Z | 2,022 | 4 | 5 | 4 | 34 | 0 | 398 | 44 | 3 | 1 | true | true | false | false | false | false | zero |
71,984,137 | androidplot-core 1.5.9 aar library crashes plot activity | <p>within build.gradle (:app) dependencies { implementations ... }</p>
<p>i was using
" implementation 'com.androidplot:androidplot-core:1.5.9' "
and everything worked fine</p>
<p>but instead i wanted to use
" implementation files ('libs/androidplot-core-1.5.9.aar') "
by copying the .aar file into a... | within build.gradle (:app) dependencies { implementations ... } i was using " implementation 'com.androidplot:androidplot-core:1.5.9' " and everything worked fine but instead i wanted to use " implementation files ('libs/androidplot-core-1.5.9.aar') " by copying the .aar file into app->libs to keep ... | aar|androidplot | 0 | 2022-04-23T22:41:21.300Z | 2,022 | 4 | 22 | 5 | 34 | 0 | 537 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
72,037,479 | android studio environment variable error | <p><a href="https://reactnative.dev/docs/environment-setup" rel="nofollow noreferrer">https://reactnative.dev/docs/environment-setup</a>
I am following the instructions in the link here.
But I keep getting an error in step 3.
When I type 'Get-ChildItem -Path Env: ' in Powershell</p>
<ul>
<li>Get-ChildItem -Path Env: \<... | https://reactnative.dev/docs/environment-setup I am following the instructions in the link here. But I keep getting an error in step 3. When I type 'Get-ChildItem -Path Env: ' in Powershell Get-ChildItem -Path Env: \ [CODE] This error pops up No relevant information is displayed when searching. Steps 1 and 2 performed ... | android|node.js|powershell|android-studio|npm | 0 | 2022-04-28T02:55:16.027Z | 2,022 | 4 | 2 | 3 | 34 | 0 | 396 | 41 | 5 | 1 | true | true | false | false | false | false | zero |
72,058,511 | Buildozer failed to execute the last command to convert kivy to apk log_level 2 | <p>I am trying to convert my kivy app to apk but it gives me this error. I have tried in many ways, I even became root but I can't deploy the apk.</p>
<pre><code># Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch arm64-v8a --arch... | I am trying to convert my kivy app to apk but it gives me this error. I have tried in many ways, I even became root but I can't deploy the apk. [CODE] | python|android|kivy | 0 | 2022-04-29T13:10:46.473Z | 2,022 | 4 | 13 | 4 | 34 | 0 | 150 | 79 | 3 | 1 | true | true | false | false | false | false | zero |
72,068,161 | Weird Problem Trying to compile Android Emulator | <p>Script to replicate</p>
<pre class="lang-sh prettyprint-override"><code>git clone https://android.googlesource.com/platform/external/qemu
cd qemu
./android-configure.sh
</code></pre>
<p>Gives me:</p>
<pre><code>Auto-config: --ui=sdl2
Auto-config: --out-dir=objs
Prebuilt : CCACHE=/usr/bin/ccache
ERROR: Not a valid ... | Script to replicate [CODE] Gives me: [CODE] I have no idea of how to solve this error to compile Android Device Emulator. | android|qemu | 0 | 2022-04-30T11:35:43.013Z | 2,022 | 4 | 11 | 5 | 34 | 0 | 121 | 48 | 2 | 2 | true | true | false | false | false | false | zero |
71,796,508 | Can't view build errors from strings.xml in Android Studio | <p>My app has a long strings.xml file, and when I add new strings or a new language translation of the file, I'm often getting a 'build failed' error message. I know this is caused by errors such as apostrophes without an escape backslash, and I see references to the lines with errors flash past in the build log before... | My app has a long strings.xml file, and when I add new strings or a new language translation of the file, I'm often getting a 'build failed' error message. I know this is caused by errors such as apostrophes without an escape backslash, and I see references to the lines with errors flash past in the build log before it... | android|string|android-studio|build | 1 | 2022-04-08T11:51:10.947Z | 2,022 | 4 | 11 | 4 | 35 | 0 | 585 | 58 | 4 | 0 | false | true | false | false | false | false | low |
71,822,099 | How to suppress warnings in import statement | <p>We got the following warning when compile the code.</p>
<pre><code>warning: [deprecation] PhoneStateListener in android.telephony has been deprecated
</code></pre>
<p>on</p>
<pre><code>
import android.telephony.PhoneStateListener;
</code></pre>
<p>We have been using the <code>PhoneStateListener</code> for long time.... | We got the following warning when compile the code. [CODE] on [CODE] We have been using the PhoneStateListener for long time. PhoneStateListener is now deprecated in Android 12. We can use the TelephonyCallback for devices with Android 12. But we also want to use it for devices with lower Android SDK. We cannot add @Su... | android|import|suppress-warnings | 0 | 2022-04-11T02:24:40.350Z | 2,022 | 4 | 2 | 0 | 35 | 0 | 441 | 44 | 3 | 2 | true | true | false | false | false | false | zero |
71,856,159 | How can i use Phone Selector API using Cordova APP , there is any plugin for this in cordova | <p>I want to use phone selector api in cordova app, i am expecting below output <a href="https://i.stack.imgur.com/ZeP65.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZeP65.png" alt="enter image description here" /></a></p> | I want to use phone selector api in cordova app, i am expecting below output | cordova|cordova-plugins|cordova-android | 0 | 2022-04-13T10:44:54.993Z | 2,022 | 4 | 10 | 2 | 35 | 0 | 76 | 92 | 3 | 0 | false | true | false | false | false | false | zero |
71,942,668 | SurfaceView Game-loop | <p>Could you suggest an implementation of a game loop with interpolation for SurfaceView and thread?</p>
<p>i have this, but it doesnt work</p>
<pre><code> while( running ) {
Canvas canvas = null;
loops = 0;
while (System.currentTimeMillis() > next_game_tick
&& loops ... | Could you suggest an implementation of a game loop with interpolation for SurfaceView and thread? i have this, but it doesnt work [CODE] How do I make a game loop? | java|android|game-development|game-loop | 0 | 2022-04-20T15:51:07.733Z | 2,022 | 4 | 15 | 2 | 35 | 0 | 163 | 21 | 4 | 1 | true | true | false | false | false | false | zero |
71,954,243 | How to measure code coverage for an Android application without unit testing? | <p>My goal is to measure the code coverage resulting from manually running the application (within the emulator). However, it appears that all coverage tools can only function in the context of unit testing.</p>
<p>I looked into creating a single unit test that simply invokes the “main( )” of my Android application, bu... | My goal is to measure the code coverage resulting from manually running the application (within the emulator). However, it appears that all coverage tools can only function in the context of unit testing. I looked into creating a single unit test that simply invokes the “main( )” of my Android application, but I couldn... | android|android-studio | 0 | 2022-04-21T12:09:30.640Z | 2,022 | 4 | 12 | 3 | 35 | 0 | 491 | 77 | 2 | 0 | false | true | false | false | false | false | zero |
71,957,180 | SurfaceView shows black screen | <p>My code does not work correctly. SurfaceView shows a black screen instead of Bitmaps. I make a game loop that doesn't depend on CPU, like Fix Your Timestep!, but I can't get it to work.</p>
<pre><code>public class DrawView extends SurfaceView implements SurfaceHolder.Callback {
private DrawThreat drawThread;
public ... | My code does not work correctly. SurfaceView shows a black screen instead of Bitmaps. I make a game loop that doesn't depend on CPU, like Fix Your Timestep!, but I can't get it to work. [CODE] I tried to implement a game loop, but only a black screen is displayed [CODE] Please point out the errors and tell me the right... | java|android|game-development|game-loop | 0 | 2022-04-21T15:37:23.203Z | 2,022 | 4 | 15 | 3 | 35 | 0 | 347 | 30 | 4 | 2 | true | true | false | false | false | false | zero |
71,990,777 | How can I detect MotionEvent.ACTION_MOVE outside a View's ViewParent? | <p>I have the following component structure:</p>
<pre><code>- CustomComponent extends ConstraintLayout
- ImageView
- ImageView
- ViewPager2
- CustomFragment extends ListFragment
- ListView
- ListItem extends ConstraintLayout
- ImageView
- ListItem extends ConstraintLayout... | I have the following component structure: [CODE] Visually it looks like this (I left out ListView for brevity): The ImageView in ListItem will act as a drag button for dragging the ListItem , so that the items can be reordered. But ultimately, I also want to be able to drag a ListItem outside the ViewPager2 and drop it... | java|android|android-touch-event | 0 | 2022-04-24T17:33:38.617Z | 2,022 | 4 | 17 | 6 | 35 | 0 | 1,743 | 69 | 3 | 2 | true | true | false | false | false | false | zero |
72,013,163 | Screen Sharing from PC to Android wirelessly | <p>I want to integrate the feature of screen sharing in my android app. Basically, I want to receive my PC screen running windows on my android without any noticeable latency.</p>
<p>I have tried VNC, rtsp and http but could not get the level of latency I require. VNC performs better than other 2 but I dont know how to... | I want to integrate the feature of screen sharing in my android app. Basically, I want to receive my PC screen running windows on my android without any noticeable latency. I have tried VNC, rtsp and http but could not get the level of latency I require. VNC performs better than other 2 but I dont know how to integrate... | android|rtsp|vnc|screensharing | 0 | 2022-04-26T11:29:43.940Z | 2,022 | 4 | 11 | 1 | 35 | 0 | 335 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
72,025,496 | can't pass data from fragment to fragment using viewmodel.kotlin | <p>Problem with passing data from fragment to fragment. in my application there is a button to go to the fragment on which the recycleview is located. By clicking on an item, another fragment with the description of the item should open in the recyclerview. The fragment opens, but the description remains the same, that... | Problem with passing data from fragment to fragment. in my application there is a button to go to the fragment on which the recycleview is located. By clicking on an item, another fragment with the description of the item should open in the recyclerview. The fragment opens, but the description remains the same, that is... | android | 1 | 2022-04-27T08:21:05.777Z | 2,022 | 4 | 8 | 2 | 35 | 0 | 970 | 64 | 1 | 4 | true | true | false | false | false | false | low |
72,027,002 | Data Persistence between Google Play updates | <p>I want to keep some user preferences locally so not to needlessly call a server with that information. I want this data to persist between Google Play updates. It has been shown <a href="https://stackoverflow.com/questions/51135508/sharedpreferences-lost-after-app-update">here</a> that <code>SharedPreferences</code>... | I want to keep some user preferences locally so not to needlessly call a server with that information. I want this data to persist between Google Play updates. It has been shown here that SharedPreferences doesn't not keep between updates. Someone in the comments of that question suggested using Android Jetpack's DataS... | google-play|sharedpreferences|android-jetpack|android-jetpack-datastore | 0 | 2022-04-27T10:12:56.440Z | 2,022 | 4 | 10 | 2 | 35 | 0 | 406 | 44 | 4 | 0 | false | true | false | false | false | false | zero |
72,039,025 | Why is android studio giving me a no view error? | <p>Error:
<div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.androidstudio, PID: 6053
java.lang.IllegalArgumentEx... | Error: [CODE] MainActivity: [CODE] Content Main: [CODE] I have a referenced ID to the navigation but everytime i open and then close, and then re-open the drawer onSupportNavigateUp() {} gets called and results in an error. I have been trying to debug the issue, but no avail. I have multiple fragments which I combine i... | java|xml|android-studio|android-studio-2.2|android-studio-2.1 | 0 | 2022-04-28T06:32:08.467Z | 2,022 | 4 | 6 | 3 | 35 | 0 | 513 | 48 | 5 | 3 | true | true | false | false | false | false | zero |
72,045,544 | Android Kotlin - glide error assertNotDestroyed | <p>I see in google play console that some of the users are getting this error:</p>
<pre><code>java.lang.IllegalArgumentException:
at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed (RequestManagerRetriever.java:348)
at com.bumptech.glide.manager.RequestManagerRetriever.get (RequestManagerRetr... | I see in google play console that some of the users are getting this error: [CODE] I have devices with same Android versions as those who are getting this crash but I can't reprodice it, everything works as it should on my devices I'm guessing it happens somewhere in the setHeader function: [CODE] setHeader() is called... | android|kotlin|android-glide | 1 | 2022-04-28T14:31:30.003Z | 2,022 | 4 | 14 | 3 | 35 | 0 | 509 | 47 | 3 | 3 | true | true | false | false | false | false | low |
72,061,865 | How to restart previous activity after coming back from second activity by pressing back button especial case | <p>I have a recyclerview adapter and card view as the layout for the element of recyclerview which I'm using them in four different activities and I manage the Intent inside the adapter class so by clicking any card inside the recyclerview in any of activity the user navigate to the second activity but I want when the ... | I have a recyclerview adapter and card view as the layout for the element of recyclerview which I'm using them in four different activities and I manage the Intent inside the adapter class so by clicking any card inside the recyclerview in any of activity the user navigate to the second activity but I want when the use... | android|android-intent|android-activity|android-recyclerview|restart | 0 | 2022-04-29T17:44:20.380Z | 2,022 | 4 | 17 | 4 | 35 | 0 | 755 | 109 | 5 | 3 | true | true | false | false | false | false | zero |
72,113,376 | Android Studio Flutter lib/widgets/builder/video/video.dart:4:8: Error: Not found: | <p>I've been struggling for days and couldn't solve this problem I need your help. I bought a package and tried all the commands I wanted to run first. "flutter pub get, flutter upgrade, etc.." but the error is still not resolved, please help.
<a href="https://i.stack.imgur.com/bVdx2.jpg" rel="nofollow norefe... | I've been struggling for days and couldn't solve this problem I need your help. I bought a package and tried all the commands I wanted to run first. "flutter pub get, flutter upgrade, etc.." but the error is still not resolved, please help. enter image description here enter image description here | flutter|android-studio|dart | 0 | 2022-05-04T12:57:11.450Z | 2,022 | 5 | 12 | 2 | 35 | 0 | 308 | 82 | 3 | 0 | false | true | false | false | false | false | zero |
72,130,076 | A problem occurred evaluating settings 'myApplicationName'. > | <p>A problem occurred evaluating settings 'myApplicationName'.</p>
<blockquote>
<p>Could not read script '/path_to_project/node_modules/expo/scripts/autolinking.gradle' as it does not exist.</p>
</blockquote>
<p>I'm having this error After expo eject and After trying to fix rrequirenativecomponent "RNScreen" ... | A problem occurred evaluating settings 'myApplicationName'. Could not read script '/path_to_project/node_modules/expo/scripts/autolinking.gradle' as it does not exist. I'm having this error After expo eject and After trying to fix rrequirenativecomponent "RNScreen" was not found in thé UImanager I tried all s... | javascript|android|react-native|gradle|expo | 0 | 2022-05-05T15:49:00.673Z | 2,022 | 5 | 15 | 3 | 35 | 0 | 530 | 61 | 5 | 0 | false | true | false | false | false | false | zero |
71,799,078 | Accessibility implementation in nested RecyclerView | <p>In my application i have nested recycler view. UI looks like this
<a href="https://i.stack.imgur.com/o2thN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/o2thN.png" alt="enter image description here" /></a></p>
<p>XML layouts</p>
<p>Parent</p>
<pre><code><?xml version="1.0" encoding=... | In my application i have nested recycler view. UI looks like this XML layouts Parent [CODE] Child [CODE] During vertical navigation, I'm need to announce "Category" followed by whatever child recycler view item supposed to say. Also, during vertical navigation, focus should not go to "Category" head... | android|android-tv | 0 | 2022-04-08T14:51:24.193Z | 2,022 | 4 | 14 | 4 | 36 | 0 | 665 | 51 | 2 | 2 | true | true | false | false | false | false | zero |
71,806,443 | Starting an activity opens a blank activity | <p>So I have two activities. MainActivity (login) and GoogleSignInActivity which is where I'm handling the whole GoogleSignIn (with Firebase) process.</p>
<p><strong>The problem:</strong></p>
<p>Everything seems to be working fine, however, when I click the "Login" button, it seems like there's another blank ... | So I have two activities. MainActivity (login) and GoogleSignInActivity which is where I'm handling the whole GoogleSignIn (with Firebase) process. The problem: Everything seems to be working fine, however, when I click the "Login" button, it seems like there's another blank activity opening with the Google D... | android|xml|android-studio|android-layout | 1 | 2022-04-09T08:33:27.393Z | 2,022 | 4 | 8 | 5 | 36 | 0 | 910 | 43 | 4 | 1 | true | true | false | false | false | false | low |
71,828,382 | Android Studio - Debugger Step Filters Not Functioning Correctly | <p>I am having trouble getting step filtering working correctly in Android Studio. It doesn't seem to matter if I add the exact class to the filtering list, or a mask to remove the entire class path, the debugger still steps into code that I would like to ignore.</p>
<p>My current settings are:</p>
<p><a href="https:/... | I am having trouble getting step filtering working correctly in Android Studio. It doesn't seem to matter if I add the exact class to the filtering list, or a mask to remove the entire class path, the debugger still steps into code that I would like to ignore. My current settings are: I have tried removing / re-adding ... | java|android|android-studio|debugging | 0 | 2022-04-11T13:04:52.563Z | 2,022 | 4 | 13 | 0 | 36 | 0 | 698 | 64 | 4 | 0 | false | true | false | false | false | false | zero |
71,832,401 | Html 5 notification not working in Mobile browser | <p>i have implemented<code> HTML5 notification API</code> in my Reactjs application, it's working fine in my desktop,the notifications are coming. But when opening the site in my mobile phone,the notifications are not working.
How can i fix this Issue in my Reactjs application.</p>
<pre><code>useEffect(() => {
c... | i have implemented HTML5 notification API in my Reactjs application, it's working fine in my desktop,the notifications are coming. But when opening the site in my mobile phone,the notifications are not working. How can i fix this Issue in my Reactjs application. [CODE] | html|reactjs|android-notifications|html5-audio | 1 | 2022-04-11T18:08:01.440Z | 2,022 | 4 | 18 | 0 | 36 | 0 | 269 | 49 | 4 | 1 | true | true | false | false | false | false | low |
71,839,503 | Google Services not working on enabling proguard rules | <blockquote>
<p>I am working on proguard rules. On enabling proguard rules Google Services like Google SignIn, Google Maps and Google Places not working. I have also added below proguard rules in my project still not working.</p>
</blockquote>
<pre><code>-keepnames class com.google.android.gms.** {*;}
#Places
-keep cl... | I am working on proguard rules. On enabling proguard rules Google Services like Google SignIn, Google Maps and Google Places not working. I have also added below proguard rules in my project still not working. [CODE] On Suggestion added this global rules also: [CODE] Please let me know if I am missing anything. Any hel... | android|proguard | 0 | 2022-04-12T08:37:15.983Z | 2,022 | 4 | 8 | 1 | 36 | 0 | 361 | 54 | 2 | 2 | true | true | false | false | false | false | zero |
71,840,339 | Why Timeout is not working in NAC Channel? | <pre><code>BaseChannel channel = new NACChannel();
channel.setTimeout(10000); // 10 seconds
channel.receive(); // receive is a function from nacchannel.
</code></pre>
<p>While calling this function setTimeout is not working. it's not holding 10 sec time.</p>
<p>reference link <a href="http://jpos.org/doc/javadoc/org/jp... | [CODE] While calling this function setTimeout is not working. it's not holding 10 sec time. reference link http://jpos.org/doc/javadoc/org/jpos/iso/BaseChannel.html#setTimeout-int- Requesting for suggestions or alternative for nacchannel. Thanks & Regards. | java|android | 0 | 2022-04-12T09:36:41.507Z | 2,022 | 4 | 9 | 1 | 36 | 0 | 256 | 42 | 2 | 1 | true | true | false | false | false | false | zero |
71,843,652 | manually navigating Linking.Eventhandler and Linking.InitialUrl React native | <p>I have an issue regarding navigating after getting the URL from either the Linking event handler or getInitialUrl.</p>
<p>I get the correct URL from Deep Linking, no issues there. The issue is i can't access navigate in App.js</p>
<pre><code>TypeError: undefined is not an object (evaluating 'this.props.navigation.n... | I have an issue regarding navigating after getting the URL from either the Linking event handler or getInitialUrl. I get the correct URL from Deep Linking, no issues there. The issue is i can't access navigate in App.js [CODE] I guess I don't have access to the navigation functions inside App.js. Any suggestion to how ... | android|ios|react-native|expo|deep-linking | 0 | 2022-04-12T13:32:41.010Z | 2,022 | 4 | 13 | 1 | 36 | 0 | 422 | 76 | 5 | 2 | true | true | false | false | false | false | zero |
71,845,683 | detecting quota limits reCAPTCHA android | <p>I'm wondering if there any callbacks reCAPTCHA for android (<a href="https://developer.android.com/training/safetynet/recaptcha" rel="nofollow noreferrer">https://developer.android.com/training/safetynet/recaptcha</a>) when limit for requests exceeds quota?
Also, how exactly is the limit calculated? Does it count ev... | I'm wondering if there any callbacks reCAPTCHA for android ( https://developer.android.com/training/safetynet/recaptcha ) when limit for requests exceeds quota? Also, how exactly is the limit calculated? Does it count every call to SafetyNet.getClient(this).verifyWithRecaptcha(YOUR_API_SITE_KEY) ? Or does it count only... | android|recaptcha | 0 | 2022-04-12T15:49:35.827Z | 2,022 | 4 | 15 | 1 | 36 | 0 | 372 | 40 | 2 | 0 | false | true | false | false | false | false | zero |
37,777,289 | SimpleDateFormat is giving wrong day | <pre><code>public void setDate(View view){
Calendar calendar = Calendar.getInstance();
new DatePickerDialog(CreateEventActivity.this,listener,calendar.get(Calendar.YEAR),calendar.get(Calendar.MONTH), calendar.get(Calendar.DAY_OF_MONTH)).show();
}
DatePickerDialog.OnDateSetListener listener = ne... | [CODE] I'm trying to show the user the date that he chose(by date picker). The date in numbers is fine, but the day in string is wrong, 2 days forward.For example: instead of Saturday it writes Monday. | android|android-studio|simpledateformat | 0 | 2016-06-12T17:45:21.427Z | 2,016 | 6 | 17 | 6 | 256 | 1 | 201 | 36 | 3 | 1 | true | false | false | false | false | false | zero |
37,866,448 | Sorting text in recyclerview with custom layout | <p>I want to sort my RecylerView in Alphabetical order. Im using a custom layout with an Image and a texbox. I want to sort my list in alphabetical order according to the text in my textbox.</p>
<p>My images are stored in drawable folder and are added to the recyclerview with their reference through an array. </p>
<p... | I want to sort my RecylerView in Alphabetical order. Im using a custom layout with an Image and a texbox. I want to sort my list in alphabetical order according to the text in my textbox. My images are stored in drawable folder and are added to the recyclerview with their reference through an array. [CODE] how do i sor... | android|sorting|android-recyclerview | 0 | 2016-06-16T18:09:08.520Z | 2,016 | 6 | 18 | 3 | 256 | 1 | 546 | 47 | 3 | 2 | true | false | false | false | false | false | zero |
37,662,631 | Xamarin Android.Speech recognizer intent doesn't call OnActivityResult | <p>When I am using the Speech Recognizer Intent in android. The intent never calls the OnActivityResult method. The debugger never catches it on the first line of the method. This code is modified from the example <a href="https://developer.xamarin.com/guides/android/platform_features/speech/" rel="nofollow">here</a> t... | When I am using the Speech Recognizer Intent in android. The intent never calls the OnActivityResult method. The debugger never catches it on the first line of the method. This code is modified from the example here to incorporate Xamarin Forms. [CODE] | c#|android|android-intent|xamarin.android|speech-recognition | 2 | 2016-06-06T16:36:28.687Z | 2,016 | 6 | 16 | 0 | 512 | 1 | 252 | 70 | 5 | 1 | true | false | false | false | false | false | low |
37,871,076 | Restart Runnable Variables Android | <p>I want to do something that i am not sure can be done, and so far i haven't found any good answers to my question. </p>
<p>Here is my situation:<br>
- I have implemented <code>Timer</code> as a <code>Handler</code> that has <code>Runnable</code> that is calling itself every 1s.<br>
- I need now to implement a ... | I want to do something that i am not sure can be done, and so far i haven't found any good answers to my question. Here is my situation: - I have implemented Timer as a Handler that has Runnable that is calling itself every 1s. - I need now to implement a method like Timer.restart() that can restart my Runnable's param... | java|android|timer|runnable | 0 | 2016-06-16T23:45:25.433Z | 2,016 | 6 | 23 | 3 | 512 | 1 | 574 | 34 | 4 | 1 | true | false | false | false | false | false | zero |
37,984,425 | Clarifying the use of maxReportLatencyUs in SensorManager.registerListener | <p><a href="https://developer.android.com/reference/android/hardware/SensorManager.html#registerListener%28android.hardware.SensorEventListener,%20android.hardware.Sensor,%20int,%20int%29" rel="nofollow">From the latest documentation,</a></p>
<blockquote>
<p><strong>boolean registerListener (SensorEventListener list... | From the latest documentation, boolean registerListener (SensorEventListener listener, Sensor sensor, int samplingPeriodUs, int maxReportLatencyUs) Registers a SensorEventListener for the given sensor at the given sampling frequency and the given maximum reporting latency. This function is similar to registerListener(S... | android|android-sensors|sensormanager | 1 | 2016-06-23T07:03:22.810Z | 2,016 | 6 | 7 | 3 | 1,280 | 1 | 1,868 | 74 | 3 | 0 | false | false | false | false | false | false | low |
37,675,071 | how can handle double click on marker in android application | <p>I am displaying a vehicles on a map,when i click on vehicle it shows info window but i need double click on vehicle then it will goes to the new page.I don't know how to do,please help me.here is my code</p>
<pre><code> public class MapsActivity extends FragmentActivity implements OnMapReadyCallback,GoogleMap.OnMar... | I am displaying a vehicles on a map,when i click on vehicle it shows info window but i need double click on vehicle then it will goes to the new page.I don't know how to do,please help me.here is my code [CODE] | android|google-maps|google-maps-markers | 3 | 2016-06-07T09:09:42.550Z | 2,016 | 6 | 9 | 1 | 1,536 | 1 | 210 | 60 | 3 | 1 | true | false | false | false | false | false | low |
37,715,286 | Difference between Nativescript timer module and JS setInterval | <p>I'm working on a personal project that uses the setInterval functions. I noticed Nativescript has the 'timer' module with setInterval and implemented that into my project. </p>
<p>Is it worth importing the Nativescript timer module every time I want to use setInterval() in my app or can I just use the Javascript ... | I'm working on a personal project that uses the setInterval functions. I noticed Nativescript has the 'timer' module with setInterval and implemented that into my project. Is it worth importing the Nativescript timer module every time I want to use setInterval() in my app or can I just use the Javascript setinterval() ... | javascript|android|angular|nativescript | 1 | 2016-06-09T00:58:13.450Z | 2,016 | 6 | 0 | 3 | 2,304 | 1 | 656 | 63 | 4 | 1 | true | false | false | false | false | false | low |
37,763,725 | How do I get Robotium to recognise views on other fragments? | <h2>The Background</h2>
<p>I am having trouble with robotium when testing an activity with 3 fragments<br/>
The problem is that Robotium will recognise my EditTexts on the first fragment <br/> eg <br/>
<code>solo.clearEditText(0);</code><br/>
<code>solo.enterText(0, "Maltese Falcon");</code><br/>
The f... | The Background I am having trouble with robotium when testing an activity with 3 fragments The problem is that Robotium will recognise my EditTexts on the first fragment eg solo.clearEditText(0); solo.enterText(0, "Maltese Falcon"); The first fragment has 3 EditTexts on it so when I get to the first EditText in the nex... | android|android-fragments|testing|robotium | 0 | 2016-06-11T12:27:38.637Z | 2,016 | 6 | 12 | 5 | 257 | 1 | 718 | 60 | 4 | 0 | false | false | false | false | false | false | zero |
38,010,537 | Collapsing Menu in Android | <p>I want to display menu items in a GridView-like container on top of the screen with scrollable content below. On scroll I want the GridView to shrink and resize and lock on top of the screen. In other words, imagine a CollapsingToolbarLayout where instead of an expanded image there's a Grid of menu items and instead... | I want to display menu items in a GridView-like container on top of the screen with scrollable content below. On scroll I want the GridView to shrink and resize and lock on top of the screen. In other words, imagine a CollapsingToolbarLayout where instead of an expanded image there's a Grid of menu items and instead of... | android|user-interface|android-collapsingtoolbarlayout | 0 | 2016-06-24T09:54:04.667Z | 2,016 | 6 | 9 | 4 | 513 | 1 | 644 | 26 | 3 | 0 | false | false | false | false | false | false | zero |
37,682,411 | Location Update in service | <p>I'am trying to find the location of the user and update the value in my firebase database. But the location doesn't seem to be updated.I'am unable to identify the mistake. The service has started but the location doesn't seem to be updated.</p>
<p>My service is as follows:</p>
<pre><code>public class MyLocation ex... | I'am trying to find the location of the user and update the value in my firebase database. But the location doesn't seem to be updated.I'am unable to identify the mistake. The service has started but the location doesn't seem to be updated. My service is as follows: [CODE] My POJO class is as follows: [CODE] My service... | android|firebase|location|firebase-realtime-database | 0 | 2016-06-07T14:41:22.550Z | 2,016 | 6 | 14 | 1 | 769 | 1 | 405 | 26 | 4 | 5 | true | false | false | false | false | false | zero |
37,851,784 | Access java variables from javacode to javascript code in react-native | <p><strong>I want to access a String variable present in MyActivity.java file in android code into my javascript file in react-native.</strong></p>
<p>I am accessing android ID using the code:</p>
<p>String android_id = Secure.getString(this.getContentResolver(),
Secure.ANDROID_ID);</p>
<p>Now I want to ... | I want to access a String variable present in MyActivity.java file in android code into my javascript file in react-native. I am accessing android ID using the code: String android_id = Secure.getString(this.getContentResolver(), Secure.ANDROID_ID); Now I want to access this android_id in my javascript code in react-na... | android|variables|react-native | 3 | 2016-06-16T06:50:03.577Z | 2,016 | 6 | 6 | 3 | 769 | 1 | 347 | 70 | 3 | 0 | false | false | false | false | false | false | low |
37,951,747 | android.support.v7.widget.SwitchCompat not working in API level 22 and less | <p>I have a simple android.support.v7.widget.SwitchCompat which is shown below </p>
<pre><code><android.support.v7.widget.SwitchCompat
android:id="@id/settings_toggle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_c... | I have a simple android.support.v7.widget.SwitchCompat which is shown below [CODE] My Style [CODE] The above code seems working fine in API level 20 or greater. Its not working in API level < 20. Min SDK support is 16. Couldn't figure out the problem. Any inputs are appreciated. Thanks! | android|user-interface|themes|android-support-library|switchcompat | 0 | 2016-06-21T18:17:02.147Z | 2,016 | 6 | 18 | 1 | 769 | 1 | 287 | 75 | 5 | 2 | true | false | false | false | false | false | zero |
37,897,410 | Unable to install 'SQLite.Net.Platform.XamarinAndroid' | <p>I am trying install 'SQLite.Net.Platform.XamarinAndroid' into my xamarin portable project, facing some issues..</p>
<pre><code> \PocketExamFunda\packages'
Install-Package : Could not install package 'SQLite.Net.Platform.XamarinAndroid 2.5.1'. You are trying to install this package
into a project that... | I am trying install 'SQLite.Net.Platform.XamarinAndroid' into my xamarin portable project, facing some issues.. [CODE] I didn't understand what is the issue, please any one can help me? | sqlite|xamarin|visual-studio-2015|xamarin.android | 1 | 2016-06-18T13:18:22.527Z | 2,016 | 6 | 13 | 5 | 1,025 | 1 | 185 | 54 | 4 | 1 | true | false | false | false | false | false | low |
37,870,948 | Native runtime error with React Native app obfuscating code in release builds | <p>I am attempting to create a release build of my React Native application. I am able to compile it and package it with the JS bundle. It works fine in debug mode. But, when I assemble in release mode, I get these <a href="http://pastebin.com/raw/YCC9VQ9j" rel="nofollow">errors</a> thrown at runtime by JNI as soon as ... | I am attempting to create a release build of my React Native application. I am able to compile it and package it with the JS bundle. It works fine in debug mode. But, when I assemble in release mode, I get these errors thrown at runtime by JNI as soon as the first RN view is displayed. I am using proguard rules very si... | android|react-native|proguard | 2 | 2016-06-16T23:26:15.750Z | 2,016 | 6 | 23 | 3 | 2,049 | 1 | 951 | 77 | 3 | 0 | false | false | false | false | false | false | low |
37,639,998 | Why can't I install lldb in Android Studio | <p>I want to set breakpoint during JNI, but when I edit my configurations, I can't install lldb plugin.</p>
<p><a href="https://i.stack.imgur.com/YGn5N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YGn5N.png" alt="Press fix button but does not have any effect"></a></p>
<p><a href="https://i.stack... | I want to set breakpoint during JNI, but when I edit my configurations, I can't install lldb plugin. Any one can help me? Android studio: 2.1.1 | android|android-studio|debugging|lldb | 8 | 2016-06-05T08:42:17.210Z | 2,016 | 6 | 8 | 6 | 7,681 | 1 | 143 | 42 | 4 | 0 | false | false | true | false | false | false | medium |
38,035,657 | How do I receive this intent bundle from an appwidgetprovider? Example inside | <p>This is my getViewAt from my RemoteViewsService. I need to get the position of the row clicked here and use it to send a specific url that is contained in a string array. The reason for this is so i can launch that url when the listview on the appwidget is clicked (simple bookmark widget). </p>
<pre><code>public ... | This is my getViewAt from my RemoteViewsService. I need to get the position of the row clicked here and use it to send a specific url that is contained in a string array. The reason for this is so i can launch that url when the listview on the appwidget is clicked (simple bookmark widget). [CODE] not sure if i'm missin... | android|listview|android-intent|onclick|android-appwidget | 0 | 2016-06-26T05:59:39.180Z | 2,016 | 6 | 5 | 6 | 770 | 1 | 1,346 | 77 | 5 | 5 | true | false | false | false | false | false | zero |
37,776,658 | RecyclerViewAdapter only showing the last item | <p>I'm working with a tabbed layout with 3 fragments. At first I was using the ListView, then moved to RecyclerView for one of the fragments to test if it was working. When it appeared to be working I copied the adapter of the first fragment to the other 2 and renamed them etc. But now it appears that they only show th... | I'm working with a tabbed layout with 3 fragments. At first I was using the ListView, then moved to RecyclerView for one of the fragments to test if it was working. When it appeared to be working I copied the adapter of the first fragment to the other 2 and renamed them etc. But now it appears that they only show the l... | android|android-fragments|android-recyclerview | 0 | 2016-06-12T16:37:00.523Z | 2,016 | 6 | 16 | 6 | 1,794 | 1 | 675 | 46 | 3 | 3 | true | false | false | false | false | false | zero |
37,725,335 | Stream Android camera as H264 mpeg-ts over UDP using GStreamer | <p>I don't have much experience with gstreamer, and I couldn't find something online to figure it out.</p>
<p>I'm using <a href="https://git.collabora.com/cgit/user/joykim/gst-camera-test.git" rel="nofollow">this open-source</a> to develop an Android app to stream camera as H264 mpegts over UDP.</p>
<p>I got stuck wi... | I don't have much experience with gstreamer, and I couldn't find something online to figure it out. I'm using this open-source to develop an Android app to stream camera as H264 mpegts over UDP. I got stuck with the pipeline, where I have two working pipelines I just can't merge to work together. The original opensourc... | android|udp|gstreamer|h.264|mpeg | 2 | 2016-06-09T11:57:33.827Z | 2,016 | 6 | 11 | 3 | 2,050 | 1 | 1,180 | 62 | 5 | 4 | true | false | false | false | false | false | low |
38,014,122 | How to access android play store for all countries? | <p>I am doing macro to extract android apps information form google play store. My client require all android apps details in the world. I am staying in India since i could not access other country apps.</p>
<p>Kindly help me to access google play apps for all country.</p>
<p>I am using seleinum for scraping.</p> | I am doing macro to extract android apps information form google play store. My client require all android apps details in the world. I am staying in India since i could not access other country apps. Kindly help me to access google play apps for all country. I am using seleinum for scraping. | android|proxy|google-play|google-play-services|web-testing | 1 | 2016-06-24T13:02:49.770Z | 2,016 | 6 | 13 | 4 | 7,426 | 1 | 293 | 51 | 5 | 0 | false | false | true | false | false | false | low |
37,601,827 | error in addView() in change Fragment layout on orientation | <p>I am getting an error in <code>addView()</code>. Screen starts in portrait. I change it to landscape and now when I try to switch to portrait, it throws error.</p>
<p>(PORTRAIT Start) -> LANDSCAPE -> (PORTRAIT Exception)</p>
<p>chart ---- <a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow">https://g... | I am getting an error in addView() . Screen starts in portrait. I change it to landscape and now when I try to switch to portrait, it throws error. (PORTRAIT Start) -> LANDSCAPE -> (PORTRAIT Exception) chart ---- https://github.com/PhilJay/MPAndroidChart [CODE] Fragment [CODE] | java|android|android-fragments|runtime | 1 | 2016-06-02T20:47:19.327Z | 2,016 | 6 | 20 | 3 | 259 | 1 | 277 | 59 | 4 | 2 | true | false | false | false | false | false | low |
37,632,641 | define LOCAL_C_INCLUDES in gradle ndk{} DSL? | <p>How can i define <code>LOCAL_C_INCLUDES</code> inside <code>ndk{}</code> block of my module gradle??</p>
<p>This ndk block of my module gradle file:</p>
<pre><code>ndk {
platformVersion = 21;
moduleName "main"
toolchain = "clang"
stl = 'gnustl_static'
... | How can i define LOCAL_C_INCLUDES inside ndk{} block of my module gradle?? This ndk block of my module gradle file: [CODE] | android|android-ndk|gradle-experimental | 0 | 2016-06-04T16:40:08.043Z | 2,016 | 6 | 16 | 5 | 259 | 1 | 122 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
37,912,958 | Android studio grid of buttons auto align | <p>Say I want 3 rows and 3 columns of buttons so 9 buttons in total. If one button in any position is removed, how would I go about shifting them so there isn't a gap where the button once was? I can think of some lengthy and possibly unnecessarily complicated ways to achieve this in an activity. Is there a simpler way... | Say I want 3 rows and 3 columns of buttons so 9 buttons in total. If one button in any position is removed, how would I go about shifting them so there isn't a gap where the button once was? I can think of some lengthy and possibly unnecessarily complicated ways to achieve this in an activity. Is there a simpler way to... | android|button|gridview | -1 | 2016-06-19T23:40:50.487Z | 2,016 | 6 | 23 | 6 | 259 | 1 | 353 | 41 | 3 | 0 | false | false | false | false | false | true | negative |
37,928,921 | How to get CardType / Payment Network Type for Android Pay | <p>Currently : </p>
<pre><code>maskedWallet.getPaymentDescriptions()[0].substring(0,maskedWallet.getPaymentDescriptions()[0].indexOf("-"));
</code></pre>
<p>would give me Card Type(VISA/AMEX/MASTERCARD/DISCOVER).
Eg: <code>maskedWallet.getPaymentDescriptions()[0]</code> has String value "VISA-1008".</p>
<p>Above ... | Currently : [CODE] would give me Card Type(VISA/AMEX/MASTERCARD/DISCOVER). Eg: maskedWallet.getPaymentDescriptions()[0] has String value "VISA-1008". Above method is throwing index out of bounds exception when "-" is not found. Now I have updated the code to get the Payment Network Type/Card Type from dpan (virtual acc... | android|android-pay | 0 | 2016-06-20T17:58:23.123Z | 2,016 | 6 | 17 | 0 | 259 | 1 | 558 | 58 | 2 | 1 | true | false | false | false | false | false | zero |
37,951,832 | How to display rows of data from a MySQL database in Android fragment? | <p>I'm trying to build a food menu app for my school. I will be entering the meal plan every week into a MySQL database. My app has a tabbed view with each fragment representing the day of the week.</p>
<p>I want to be able to display the corresponding day's menu on the corresponding fragment.</p>
<p>MainActivity.jav... | I'm trying to build a food menu app for my school. I will be entering the meal plan every week into a MySQL database. My app has a tabbed view with each fragment representing the day of the week. I want to be able to display the corresponding day's menu on the corresponding fragment. MainActivity.java [CODE] MondayFrag... | java|android|mysql|android-fragments | 0 | 2016-06-21T18:21:25.920Z | 2,016 | 6 | 18 | 1 | 259 | 1 | 397 | 70 | 4 | 2 | true | false | false | false | false | false | zero |
37,895,440 | Grouping Android Notifications | <p>The below code is working fine with me in terms of creating the notification, with its voice and actions.</p>
<p>but looks the <code>.setGroup(GROUP_KEY_Fonix)</code> is not working, as the notifications are not grouped together, am I missing something here!</p>
<pre><code>public int notificationID = 0;
final stat... | The below code is working fine with me in terms of creating the notification, with its voice and actions. but looks the .setGroup(GROUP_KEY_Fonix) is not working, as the notifications are not grouped together, am I missing something here! [CODE] | android|push-notification|notifications|android-notifications | 1 | 2016-06-18T09:32:31.430Z | 2,016 | 6 | 9 | 5 | 515 | 1 | 245 | 30 | 4 | 1 | true | false | false | false | false | false | low |
38,028,243 | Change fragments from spinner drop down items? | <p>My activity has a spinner and an empty container where fragments should be added when selecting drop down items from spinner. </p>
<p>My plan was to try to make switch construction inside into override method "public void onItemSelected()", where each case represents one drop down item from spinner, and sets correc... | My activity has a spinner and an empty container where fragments should be added when selecting drop down items from spinner. My plan was to try to make switch construction inside into override method "public void onItemSelected()", where each case represents one drop down item from spinner, and sets correct fragment i... | android|android-fragments|android-spinner|android-fragmentactivity | 0 | 2016-06-25T11:54:51.443Z | 2,016 | 6 | 11 | 5 | 515 | 1 | 929 | 46 | 4 | 2 | true | false | false | false | false | false | zero |
38,046,658 | Convert int array to Point in openCV java | <p>I am new to openCV. I have converted the Points detected in my JNI code to an int array and returned to my java program, here is the part of code from my jni program:</p>
<pre><code> jintArray result;
jint fill[60];
for(int k=0; k<30; k++){
fill[2*k] = V[k].x;
fill[2*k+1] = V[k].y;
... | I am new to openCV. I have converted the Points detected in my JNI code to an int array and returned to my java program, here is the part of code from my jni program: [CODE] Now when I try to convert the array back to Point in my java program it gives me this error: " java.lang.NullPointerException: Attempt to write to... | java|android|opencv|java-native-interface | 0 | 2016-06-27T05:48:30.093Z | 2,016 | 6 | 5 | 0 | 515 | 1 | 516 | 41 | 4 | 2 | true | false | false | false | false | false | zero |
37,617,475 | Hundreds of streams are allocated on the server when using gRPC in Android requests | <p>I use gRPC from Google for work with server, but after some time I notices that streams are allocated on server and only when I close my app they closes. </p>
<pre><code> GatewayGrpc.GatewayBlockingStub stub = getGatewayBlockingStub();
Gw.GetRequest request = new Gw.GetRequest();
request.auth... | I use gRPC from Google for work with server, but after some time I notices that streams are allocated on server and only when I close my app they closes. [CODE] How to release this connections? | android|grpc | 1 | 2016-06-03T14:48:45.410Z | 2,016 | 6 | 14 | 4 | 771 | 1 | 193 | 83 | 2 | 1 | true | false | false | false | false | false | low |
37,894,440 | firebase info/connected onDataChange 1 minute false no response | <p>I have the following code called in <code>onCreate</code> to keep track of whether the user is connected to firebase/can connect to firebase:</p>
<pre><code> DatabaseReference connectedRef = FirebaseDatabase.getInstance().getReference(".info/connected");
connectedRef.addValueEventListener(new ValueEventListe... | I have the following code called in onCreate to keep track of whether the user is connected to firebase/can connect to firebase: [CODE] Observed behavior: A. When initialized: onDataChange is called with connected set to false onDataChange is called with connected set to true quickly thereafter (assuming had internet c... | android|firebase|connection | 1 | 2016-06-18T07:25:08.187Z | 2,016 | 6 | 7 | 5 | 771 | 1 | 931 | 63 | 3 | 1 | true | false | false | false | false | false | low |
37,710,193 | ResultReceiver from Service to Activity | <p>I have a service running in background which is started from an activity and does its work without the activity. With a ResultReceiver I can communicate to the activity, but just as long as the activity is alive. Once destroid and started again there is no communication back to the activity. What did I wrong? </p>
... | I have a service running in background which is started from an activity and does its work without the activity. With a ResultReceiver I can communicate to the activity, but just as long as the activity is alive. Once destroid and started again there is no communication back to the activity. What did I wrong? [CODE] | android|android-intent|service | 0 | 2016-06-08T18:28:15.353Z | 2,016 | 6 | 18 | 2 | 1,027 | 1 | 317 | 39 | 3 | 1 | true | false | false | false | false | false | zero |
37,811,521 | Verifying downloads wit Appium for Android devices | <p>I'm automating some Android and iOS test scenarios using Appium (java). The following scenario came across. </p>
<p>When using Android.
Within the app I click on a link. This link is a pdf file. The link navigates me outside of the app to the Android browser and the PDF file will be downloaded. </p>
<p>When condu... | I'm automating some Android and iOS test scenarios using Appium (java). The following scenario came across. When using Android. Within the app I click on a link. This link is a pdf file. The link navigates me outside of the app to the Android browser and the PDF file will be downloaded. When conducting the scenario on ... | android|ios|pdf|download|appium | 0 | 2016-06-14T12:05:16.590Z | 2,016 | 6 | 12 | 1 | 1,027 | 1 | 611 | 50 | 5 | 0 | false | false | false | false | false | false | zero |
37,964,737 | Firebase Cloud Messaging: No Token and strange notification behavior | <p>I have a Problem with Firebase Cloud Messaging:
I implemented a little App with the 2 extended Services FirebaseInstanceIdService and FirebaseMessagingService.</p>
<p>If I start the application and send a notification via
Firebase Console, I get the notification on my device.
Everything works.
If I open the App aga... | I have a Problem with Firebase Cloud Messaging: I implemented a little App with the 2 extended Services FirebaseInstanceIdService and FirebaseMessagingService. If I start the application and send a notification via Firebase Console, I get the notification on my device. Everything works. If I open the App again, it hang... | android|firebase-cloud-messaging | 3 | 2016-06-22T10:01:53.200Z | 2,016 | 6 | 10 | 2 | 1,795 | 1 | 903 | 68 | 2 | 3 | true | false | false | false | false | false | low |
37,783,159 | How to add a specific user to a segment in OneSignal | <p>I'm developing a C#.NET MVC Web Api for an Android application. At the moment I am using OneSignal to send push notifications to the users by calling the OneSignal Api and passing the notification content. I need to know how to add a user to a specific segment so that i can send notifications to individual users as ... | I'm developing a C#.NET MVC Web Api for an Android application. At the moment I am using OneSignal to send push notifications to the users by calling the OneSignal Api and passing the notification content. I need to know how to add a user to a specific segment so that i can send notifications to individual users as wel... | c#|android|onesignal | 3 | 2016-06-13T06:34:47.560Z | 2,016 | 6 | 6 | 0 | 3,075 | 1 | 547 | 52 | 3 | 1 | true | false | true | false | false | false | low |
37,823,150 | Retrieve User Data Firebase on Android | <p>Is there a way to retrieve data from a specific user who is authenticated via firebase through ID?</p>
<p>For example to retrieve information like name, photo etc. </p>
<p>Thanks in advance. </p> | Is there a way to retrieve data from a specific user who is authenticated via firebase through ID? For example to retrieve information like name, photo etc. Thanks in advance. | android|authentication|firebase | 3 | 2016-06-14T22:26:53.210Z | 2,016 | 6 | 22 | 1 | 4,611 | 1 | 175 | 38 | 3 | 0 | false | false | true | false | false | false | low |
37,950,150 | Send messages to an Android Wearable | <p>I want to send a messsage to two different Android Smart-Watches.
On the mobile side the <code>Wearable.MessageApi.sendMessage</code> gets called and the <code>sendMessageResult.getStatus().isSuccess()</code> is true, so the sending of the message should work.
The problem now is, that the <code>onMessageReceived</co... | I want to send a messsage to two different Android Smart-Watches. On the mobile side the Wearable.MessageApi.sendMessage gets called and the sendMessageResult.getStatus().isSuccess() is true, so the sending of the message should work. The problem now is, that the onMessageReceived method of the MyWearableListenerServic... | android|wear-os|android-wear-notification | 0 | 2016-06-21T16:44:54.957Z | 2,016 | 6 | 16 | 1 | 260 | 1 | 559 | 36 | 3 | 3 | true | false | false | false | false | false | zero |
37,962,126 | Create textview scroll vertical with media player | <p>I have a media player to play mp3 file and a text view show content of song mp3.
Now i want text view can scroll vertical when mp3 run. How I can do it?</p> | I have a media player to play mp3 file and a text view show content of song mp3. Now i want text view can scroll vertical when mp3 run. How I can do it? | android|media | 1 | 2016-06-22T08:07:27.913Z | 2,016 | 6 | 8 | 2 | 260 | 1 | 152 | 49 | 2 | 0 | false | false | false | false | false | false | low |
38,005,871 | change child framelayout height,width,gravity programmatically? | <p><strong>change child framelayout height,width,gravity programmatically?</strong></p>
<blockquote>
<p>I have linearlayout as parent and framelayout as child now I want to change height and width of framelayout programmatically</p>
</blockquote>
<p><strong>code I tried but does not effect at all</strong></p>
<pre... | change child framelayout height,width,gravity programmatically? I have linearlayout as parent and framelayout as child now I want to change height and width of framelayout programmatically code I tried but does not effect at all [CODE] xml [CODE] | html|android-framelayout | 1 | 2016-06-24T04:58:30.217Z | 2,016 | 6 | 4 | 4 | 772 | 1 | 246 | 63 | 2 | 2 | true | false | false | false | false | false | low |
38,021,431 | Button Onclick not working with public functions - UNITY3D C# | <p>I'm making an Android game, I assigned <code>public onClick</code> functions to three buttons on the canvas and they're not working on my Android Phone or by clicking them on my computer. Here's what it looks like:</p>
<p><a href="https://i.stack.imgur.com/r9I5e.png" rel="nofollow noreferrer"><img src="https://i.st... | I'm making an Android game, I assigned public onClick functions to three buttons on the canvas and they're not working on my Android Phone or by clicking them on my computer. Here's what it looks like: And here is my code for the ball, as you can see I'm trying to make the ball move forward with the ForwardSLASHleft fu... | c#|android|button|unity3d | 0 | 2016-06-24T20:16:20.517Z | 2,016 | 6 | 20 | 4 | 1,028 | 1 | 454 | 61 | 4 | 1 | true | false | false | false | false | false | zero |
37,811,984 | Waiting for couple of observable to finish with/without sequence Retrofit2 with rxjava - Android | <p>I use retrofit 2 with rxjava extension</p>
<p>I have 3 Observables which will do 3 different things</p>
<pre><code>Observable<String> observable1 = RetrofitInterface.GetByID(id);
Observable<String> observable2 = RetrofitInterface.GetByKey(key);
Observable<String> observable3 = RetrofitInterface.G... | I use retrofit 2 with rxjava extension I have 3 Observables which will do 3 different things [CODE] now in somehow user will have the option to run all of them together to run them i do this: [CODE] User have 3 options here, Run each and every observable separately Run three of them together and wait them to finish to ... | android|rx-java|retrofit2|rx-android | 1 | 2016-06-14T12:26:07.527Z | 2,016 | 6 | 12 | 1 | 2,052 | 1 | 483 | 96 | 4 | 2 | true | false | false | false | false | false | low |
37,904,875 | Android - Playing song when listview item is clicked | <p>I am trying to implement a music player application (given in tutsplus.com) I am getting this following exception :</p>
<pre><code>06-19 12:28:06.457 14867-14867/com.example.adityakrishnakumar.mymusicplayer E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.adityakrishnakumar.mymusicplayer, PID: 14867
jav... | I am trying to implement a music player application (given in tutsplus.com) I am getting this following exception : [CODE] The code for MainActivity is as follows : [CODE] The Custom MusicService Java class is as follows : [CODE] The SongAdapter (that stores the music info is as follows : [CODE] The Controller for musi... | java|android|xml|listview | 0 | 2016-06-19T07:20:31.690Z | 2,016 | 6 | 7 | 6 | 2,052 | 1 | 457 | 52 | 4 | 6 | true | false | false | false | false | false | zero |
37,911,411 | Toolbar in Collapsing Toolbar Layout not being pinned | <p>EDIT: Updated the tablet gfycat link.</p>
<p>I'm having an issue on my phone layout. Even though I have set app:layout_collapseMode="pin" on my toolbar, it scrolls right off the screen, additionally, the classic 'slide' motion appears to be disabled as well. </p>
<p>Phone Layout:
<a href="https://gfycat.com/Enviou... | EDIT: Updated the tablet gfycat link. I'm having an issue on my phone layout. Even though I have set app:layout_collapseMode="pin" on my toolbar, it scrolls right off the screen, additionally, the classic 'slide' motion appears to be disabled as well. Phone Layout: https://gfycat.com/EnviousPaleFlicker Tablet Layout: h... | android|layout|android-design-library | 4 | 2016-06-19T20:15:31.487Z | 2,016 | 6 | 20 | 6 | 3,588 | 1 | 472 | 53 | 3 | 1 | true | false | true | false | false | false | low |
37,744,204 | Android uploading image AWS- resize | <p>I upload files to AWS S3 server wth that code:</p>
<pre><code>private void beginUpload(String filePath) {
if (filePath == null) {
Toast.makeText(this, "Could not find the filepath of the selected file",
Toast.LENGTH_LONG).show();
return;
}
File fil... | I upload files to AWS S3 server wth that code: [CODE] Before uploading I want to resize an image (not on my phone but only on server) to occupy less memory. How to do it? | android|amazon-s3 | 0 | 2016-06-10T09:05:41.767Z | 2,016 | 6 | 9 | 4 | 517 | 1 | 170 | 35 | 2 | 1 | true | false | false | false | false | false | zero |
37,897,473 | How to listen for clicks on drawn images in Html.ImageGetter class | <p>I have an Html.ImageGetter class that I am using with Universal Image Loader to load images in <img> tags contains in a html json file I fetch online. </p>
<p>The images are loading quite alright but on smaller devices the images are shrinked to match the width of the device hence making some images too small... | I have an Html.ImageGetter class that I am using with Universal Image Loader to load images in <img> tags contains in a html json file I fetch online. The images are loading quite alright but on smaller devices the images are shrinked to match the width of the device hence making some images too small to see the conten... | android|universal-image-loader | 2 | 2016-06-18T13:24:43.587Z | 2,016 | 6 | 13 | 5 | 773 | 1 | 584 | 66 | 2 | 1 | true | false | 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.