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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
28,660,624 | Android arraylist: Pictures randomizing and not matching right description | <p>please pardon me. I'm new to java and android development, please help me here: This code is to feed images into GridLayout(Worked) and attach the right decscription in String[] to the selected image in the GridLayout. The Problem here is: It mis-matches the images in each grid and randomly matches them to the wrong... | please pardon me. I'm new to java and android development, please help me here: This code is to feed images into GridLayout(Worked) and attach the right decscription in String[] to the selected image in the GridLayout. The Problem here is: It mis-matches the images in each grid and randomly matches them to the wrong de... | java|android|string|arraylist|int | 0 | 2015-02-22T17:06:11.177Z | 2,015 | 2 | 17 | 6 | 73 | 0 | 578 | 74 | 5 | 1 | true | true | false | false | false | false | zero |
28,660,667 | Prevent GoogleApiClient from disconnecting on onStop() | <p>I'm developing a game using Google Play Game Services, specifically a real-time multiplayer game. Right now I'm having a problem with the suggested usage pattern of the <a href="https://developer.android.com/reference/com/google/android/gms/common/api/GoogleApiClient.html" rel="nofollow">GoogleApiClient</a> which co... | I'm developing a game using Google Play Game Services, specifically a real-time multiplayer game. Right now I'm having a problem with the suggested usage pattern of the GoogleApiClient which consist of calling disconnect() during onStop() , this causes the game to stop if for example a player receives a call. A possibl... | android|google-play-games | 1 | 2015-02-22T17:09:27.460Z | 2,015 | 2 | 17 | 6 | 648 | 1 | 548 | 54 | 2 | 0 | false | false | false | false | false | false | low |
28,660,699 | Android Studio UNEXPECTED_TOP_LEVEL_EXCEPTION | <p>I have reviewed several questions on here already regarding this matter but none are similar enough to my problem.</p>
<p>I am using the Wahoo Fitness Android API to get data from a heart rate monitor, this API depends on the main project having libGoogleAnalyticsServices.jar as a dependency which is fine until an ... | I have reviewed several questions on here already regarding this matter but none are similar enough to my problem. I am using the Wahoo Fitness Android API to get data from a heart rate monitor, this API depends on the main project having libGoogleAnalyticsServices.jar as a dependency which is fine until an App Engine ... | android|google-app-engine|gradle|dependencies | 2 | 2015-02-22T17:12:41.597Z | 2,015 | 2 | 17 | 6 | 921 | 0 | 718 | 45 | 4 | 2 | true | true | false | false | false | false | low |
28,660,716 | Invite friends to facebook application on android | <p>I know there are many posts on that subject, still could'nt find a good reference for making this happen.</p>
<p>in Graph v2 of facebook, I try to create in my app a simple facebook dialog so that I will able to invite my friends to this app.
now I know it is possible, yet I had no luck in making this happen.</p>
... | I know there are many posts on that subject, still could'nt find a good reference for making this happen. in Graph v2 of facebook, I try to create in my app a simple facebook dialog so that I will able to invite my friends to this app. now I know it is possible, yet I had no luck in making this happen. it is not a game... | android|facebook|facebook-graph-api|parse-platform | 0 | 2015-02-22T17:14:23.563Z | 2,015 | 2 | 17 | 6 | 569 | 1 | 467 | 49 | 4 | 0 | false | false | false | false | false | false | zero |
28,660,767 | Calling method from other class give NullPointerException | <p>I have an Activity Class, from where I'm calling a <code>ListView</code> adapter. In the adapter Class I have the <code>onClick</code> methods for the two buttons I have in each row. When I click the one button, I delete the row from the database, but I have to call the method inside my Activity Class, in order to u... | I have an Activity Class, from where I'm calling a ListView adapter. In the adapter Class I have the onClick methods for the two buttons I have in each row. When I click the one button, I delete the row from the database, but I have to call the method inside my Activity Class, in order to update the UI, however calling... | java|android | 1 | 2015-02-22T17:19:11.923Z | 2,015 | 2 | 17 | 6 | 751 | 2 | 589 | 57 | 2 | 4 | true | false | false | false | false | false | low |
28,660,797 | How to make my website open gracefully on mobile devices? | <p>I have this code:</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<style>
div {
background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#f3c5bd), color-stop(50%,#e86c57), color-stop(51%,#ea2803), color-stop(75%,#ff6600), color-stop(100%,#c72200... | I have this code: [CODE] But when i open it on my phone instead of showing the red div on the full screen it shows everything small... what am I missing? Please help | android|html|css|mobile|responsive-design | 0 | 2015-02-22T17:21:01.690Z | 2,015 | 2 | 17 | 6 | 38 | 2 | 165 | 57 | 5 | 1 | true | false | false | false | false | false | zero |
28,660,798 | android statement do not execute after setText in TextView | <p>i am developing a small application in android. my activity_main consists of three things Button ,TextView and ImageView </p>
<p>and here is the code of main activity</p>
<pre><code>package com.example.shiv.facedetection;
import android.app.Activity;
import android.content.Intent;
import android.graphics.Bitmap;
... | i am developing a small application in android. my activity_main consists of three things Button ,TextView and ImageView and here is the code of main activity [CODE] and activity_main is [CODE] now problem is when i click the image every thing work pretty fine. if a face is detected then it will show the face detected ... | android|textview | 0 | 2015-02-22T17:21:05.523Z | 2,015 | 2 | 17 | 6 | 132 | 0 | 774 | 58 | 2 | 2 | true | true | false | false | false | false | zero |
28,660,799 | Divide Screen into Four Equal Parts using Relative Layout | <p>I currently have code that allows me to divide the screen into four equal parts, with an image button in each part. However, the code uses linear layouts which brings up the suggestion "nested weights are bad for performance". How can I make my layout using relative layouts?
Below is the code, and here is a picture ... | I currently have code that allows me to divide the screen into four equal parts, with an image button in each part. However, the code uses linear layouts which brings up the suggestion "nested weights are bad for performance". How can I make my layout using relative layouts? Below is the code, and here is a picture of ... | android|layout|android-linearlayout|android-relativelayout | 1 | 2015-02-22T17:21:05.877Z | 2,015 | 2 | 17 | 6 | 4,456 | 3 | 346 | 57 | 4 | 1 | true | false | true | false | false | false | low |
28,660,860 | Android ListView Volley FATAL EXCEPTION error | <p>I'm developing an Android App and i create a slide menu. In the slide menu i have item "Search". This is a fragment that call a json (using <code>volley</code>) and input the result into custom list view.
Now when i call the fragment (using debug mode) the fragment start to download some data but after some record o... | I'm developing an Android App and i create a slide menu. In the slide menu i have item "Search". This is a fragment that call a json (using volley ) and input the result into custom list view. Now when i call the fragment (using debug mode) the fragment start to download some data but after some record of json download... | json|listview|android-fragments|android-volley | 0 | 2015-02-22T17:25:32.213Z | 2,015 | 2 | 17 | 6 | 337 | 0 | 476 | 45 | 4 | 2 | true | true | false | false | false | false | zero |
28,660,883 | Android Studio: Installing the APP on the smartphone | <p>i got a little problem with installing my app on my smartphone. Its works normal when i am using the standart icon, but after changing the icon, Android studio starts the app on my smartphone normally, but i cant find the app in the app list.</p>
<p>What i am trying to say is that, I cant manually start the App, be... | i got a little problem with installing my app on my smartphone. Its works normal when i am using the standart icon, but after changing the icon, Android studio starts the app on my smartphone normally, but i cant find the app in the app list. What i am trying to say is that, I cant manually start the App, because its n... | android|installation|smartphone | -1 | 2015-02-22T17:28:08.470Z | 2,015 | 2 | 17 | 6 | 143 | 1 | 560 | 52 | 3 | 0 | false | false | false | false | false | true | negative |
28,660,892 | Make a .png to a textureRegion in Andengine | <p>Im tring to to make png to textureRegions and after some search im confused. Some say i have to use texture,others textureAtlas,others bitmapTextureAtlas and so on.
So could anyone tell me how to do it, from creating what has to be created, to having the textuReregion usable everywhere i need it.
Im absolutely conf... | Im tring to to make png to textureRegions and after some search im confused. Some say i have to use texture,others textureAtlas,others bitmapTextureAtlas and so on. So could anyone tell me how to do it, from creating what has to be created, to having the textuReregion usable everywhere i need it. Im absolutely confuse ... | android|andengine | 0 | 2015-02-22T17:29:00.693Z | 2,015 | 2 | 17 | 6 | 176 | 2 | 377 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
28,660,955 | Unit and integration testing an Android app that involves multiple users interacting with app in real-time | <p>I've been gleaming the Android documentation out there on testing but I was just wondering how one would go about testing features in Android involving the interaction of multiple users such as in a chat application or a posting forum.</p>
<p>I would assume for unit testing a fair bit of mocking and stubbing would ... | I've been gleaming the Android documentation out there on testing but I was just wondering how one would go about testing features in Android involving the interaction of multiple users such as in a chat application or a posting forum. I would assume for unit testing a fair bit of mocking and stubbing would be used, an... | java|android|unit-testing|junit | 0 | 2015-02-22T17:35:12.847Z | 2,015 | 2 | 17 | 6 | 98 | 0 | 877 | 106 | 4 | 0 | false | true | false | false | false | false | zero |
28,661,045 | Unable to display contacts photo android | <p>I'm trying to display contacts using <code>Contactscontract</code>.<br>
By now I'm able to read and display every contact name and phone number but I don't know how to display the thumbnail.</p>
<pre><code>public class Display extends Activity implements AdapterView.OnItemClickListener {
List<String> nam... | I'm trying to display contacts using Contactscontract . By now I'm able to read and display every contact name and phone number but I don't know how to display the thumbnail. [CODE] | java|android|photo|contactscontract | 1 | 2015-02-22T17:42:31.217Z | 2,015 | 2 | 17 | 6 | 58 | 0 | 181 | 40 | 4 | 1 | true | true | false | false | false | false | low |
28,661,120 | Facebook Login crash Android | <p>I'm trying to integrate Facebook into my Android application. But as soon as I click on the "Log in using Facebook" button, the application closes unexpectedly. </p>
<blockquote>
<p>W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x417fcc50)</p>
</blockquote>
<p>I'm using the Facebook Login... | I'm trying to integrate Facebook into my Android application. But as soon as I click on the "Log in using Facebook" button, the application closes unexpectedly. W/dalvikvm﹕ threadid=1: thread exiting with uncaught exception (group=0x417fcc50) I'm using the Facebook LoginButton: [CODE] I also added the following to my b... | java|android|xml|facebook | 0 | 2015-02-22T17:49:06.590Z | 2,015 | 2 | 17 | 6 | 231 | 2 | 408 | 28 | 4 | 3 | true | false | false | false | false | false | zero |
28,661,138 | Not Receiving SMS using SmsManager in Android | <p>I have a broadcast receiver class for receiving sms based on <a href="https://web.archive.org/web/20130327004652/http://androidexample.com/Incomming_SMS_Broadcast_Receiver_-_Android_Example/index.php?view=article_discription&aid=62&aaid=87" rel="nofollow noreferrer">this code</a>:</p>
<pre><code>package pack... | I have a broadcast receiver class for receiving sms based on this code : [CODE] and this is my manifest [CODE] I spent entire day running this code but still no success. What is wrong with my code ? Do I have to register the broadcast receiver in my main activity ? | android | 0 | 2015-02-22T17:50:42.047Z | 2,015 | 2 | 17 | 6 | 181 | 2 | 265 | 45 | 1 | 2 | true | false | false | false | false | false | zero |
28,661,192 | gradle-wrapper.properties file from url? | <p>I want to able fetch <code>gradle-wrapper.properties</code> from another url,
or any setting from other url.</p>
<p>for example, in gradle itself i can fetch setting from another url by simply
<br><code>apply from: "https://my.url.com"</code></p>
<p>can i do the same for <code>gradle-wrapper.properties</code> file... | I want to able fetch gradle-wrapper.properties from another url, or any setting from other url. for example, in gradle itself i can fetch setting from another url by simply apply from: "https://my.url.com" can i do the same for gradle-wrapper.properties file? look this issue ============================================... | url|android-studio|gradle|android-gradle-plugin|gradlew | 0 | 2015-02-22T17:55:14.357Z | 2,015 | 2 | 17 | 6 | 1,062 | 1 | 637 | 40 | 5 | 0 | false | false | false | false | false | false | zero |
28,661,197 | Why does saving a bitmap take so long? | <p>So I have an app on Google Glass that takes a picture, then converts it to grayscale and overwrites the original image in memory:</p>
<pre><code>private void rGBProcessing (final String picturePath, Mat image) {
//BitmapFactory Creates Bitmap objects from various sources,
//including files, streams, and byte-arrays... | So I have an app on Google Glass that takes a picture, then converts it to grayscale and overwrites the original image in memory: [CODE] The grey bitmap is not fully visible in memory using Windows Photo Viewer until the Google Glass is unplugged from the debugging computer and then plugged back in. Sometimes half of t... | android|google-glass|google-gdk|fileoutputstream | 8 | 2015-02-22T17:55:52.580Z | 2,015 | 2 | 17 | 6 | 6,491 | 1 | 631 | 38 | 4 | 2 | true | false | true | false | false | false | medium |
28,661,284 | Facebook and Twitter pages integration on libgdx android | <p>I'm trying to set two simple buttons on the inicial screen of my app that open the facebook and twitter official sites of the app. Note I'm using libgdx. I created two siumple buttons, fb and tw.</p>
<p>I'm using this code in my Input Handler:</p>
<pre><code>if (fb.isTouchUp(screenX, screenY)) {
try {
... | I'm trying to set two simple buttons on the inicial screen of my app that open the facebook and twitter official sites of the app. Note I'm using libgdx. I created two siumple buttons, fb and tw. I'm using this code in my Input Handler: [CODE] If the android device has installed the official facebook and twitter apps, ... | android|libgdx | 0 | 2015-02-22T18:04:17.717Z | 2,015 | 2 | 18 | 6 | 1,077 | 2 | 578 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
28,661,321 | Cannot import/convert sample XML file to string for parsing | <p>My question is more of a "what am I doing wrong here?" I'm trying to import a sample XML document that I got off of W3.schools. I've tried DOM to get a parsable file, BufferStream(new FileBuilder(new File(xxx)) to get it into a string, and then stumbled upon XPullParser in an effort to parse the document into work... | My question is more of a "what am I doing wrong here?" I'm trying to import a sample XML document that I got off of W3.schools. I've tried DOM to get a parsable file, BufferStream(new FileBuilder(new File(xxx)) to get it into a string, and then stumbled upon XPullParser in an effort to parse the document into working e... | java|android|xml|parsing|xml-parsing | 1 | 2015-02-22T18:06:54.930Z | 2,015 | 2 | 18 | 6 | 209 | 1 | 615 | 59 | 5 | 3 | true | false | false | false | false | false | low |
28,661,323 | Gradle Android Build Project Error: Could not find meta-data resource | <p>Brand new install of the Android SDK, and Android Studio. Brand new project, literally no changes to any file in the project. Working AVD, running 4.4.3 (or something similar). I get the following error:</p>
<p><code>Gradle 'Gigviz' project refresh failed.
Error:Could not find meta-data resource 'META-INF/services/... | Brand new install of the Android SDK, and Android Studio. Brand new project, literally no changes to any file in the project. Working AVD, running 4.4.3 (or something similar). I get the following error: Gradle 'Gigviz' project refresh failed. Error:Could not find meta-data resource 'META-INF/services/javax.xml.datatyp... | java|android|gradle|android-gradle-plugin | 4 | 2015-02-22T18:07:06.287Z | 2,015 | 2 | 18 | 6 | 1,424 | 2 | 621 | 69 | 4 | 0 | false | false | false | false | false | false | low |
28,661,331 | Let user enable/disable Push Notifications in Parse | <p>I'm developing an Android app that uses Push Notifications from Parse. On my settings menu I want to have an option to enable/disable push notifications but I can't find a way to do it using the parse library. All the ways I found online seem to be using methods that are now deprecated.</p>
<p>I'm not using channel... | I'm developing an Android app that uses Push Notifications from Parse. On my settings menu I want to have an option to enable/disable push notifications but I can't find a way to do it using the parse library. All the ways I found online seem to be using methods that are now deprecated. I'm not using channels, I just c... | android|parse-platform|push-notification | 0 | 2015-02-22T18:07:53.340Z | 2,015 | 2 | 18 | 6 | 1,767 | 1 | 492 | 51 | 3 | 0 | false | false | false | false | false | false | zero |
28,661,384 | Android: Webview performance | <p>I have an application with a WebView, and I know that performance in Android 4.4 or or higher improves considerably.</p>
<p>Is necessary to establish the min-sdk as 19 (4.4) to take advantage of this improvement or i can establish a lower min-sdk and continue to benefit from improved?</p>
<p>Obviously, I mean on d... | I have an application with a WebView, and I know that performance in Android 4.4 or or higher improves considerably. Is necessary to establish the min-sdk as 19 (4.4) to take advantage of this improvement or i can establish a lower min-sdk and continue to benefit from improved? Obviously, I mean on devices with version... | android|performance|webview | 1 | 2015-02-22T18:12:08.463Z | 2,015 | 2 | 18 | 6 | 309 | 1 | 335 | 28 | 3 | 0 | false | false | false | false | false | false | low |
28,661,411 | killing a task in android by handler | <p>I am scheduling few functions by using timer handler.This is what happens.</p>
<p>When i press the button the timer starts sending sms and it opens another activity.
Then in the another activity i have put the stop button to terminate the timer and return back to main activity.
The timer terminates but it crashes ... | I am scheduling few functions by using timer handler.This is what happens. When i press the button the timer starts sending sms and it opens another activity. Then in the another activity i have put the stop button to terminate the timer and return back to main activity. The timer terminates but it crashes the app and ... | java|android|timer|android-handler | -1 | 2015-02-22T18:14:23.940Z | 2,015 | 2 | 18 | 6 | 198 | 2 | 696 | 36 | 4 | 3 | true | false | false | false | false | true | negative |
28,661,418 | How to: android app that uploads/downloads to hosting? | <p>I am playing with the idea of making an app that allows you to upload text and images/videos to a server and also download the content from there (something like a forum kind of thing, but in a smaller scale). I have purchased some hosting online (for a webpage I'm working on) and wondered if I could use this.There ... | I am playing with the idea of making an app that allows you to upload text and images/videos to a server and also download the content from there (something like a forum kind of thing, but in a smaller scale). I have purchased some hosting online (for a webpage I'm working on) and wondered if I could use this.There is ... | android|hosting | 0 | 2015-02-22T18:15:02.503Z | 2,015 | 2 | 18 | 6 | 111 | 1 | 701 | 54 | 2 | 0 | false | false | false | false | false | false | zero |
28,661,432 | Android draw outside the view | <p>I would work with a piece of layout that isn't shown, the user must scroll to see what I have did. How can I do it? Can I join 2 different layout in one? I prefer to collocate item as I do with default layout. If it can help, I use Android studio. I prefer use elements without code, adding them from palette. An exam... | I would work with a piece of layout that isn't shown, the user must scroll to see what I have did. How can I do it? Can I join 2 different layout in one? I prefer to collocate item as I do with default layout. If it can help, I use Android studio. I prefer use elements without code, adding them from palette. An example... | android|layout|view|android-studio | 0 | 2015-02-22T18:16:12.373Z | 2,015 | 2 | 18 | 6 | 465 | 2 | 322 | 29 | 4 | 0 | false | false | false | false | false | false | zero |
28,661,470 | Android Save stepcounter sensor value | <p>I am creating a simple application using Androids new Sensors.</p>
<p>I have created a simple pedometer which counts steps but now i want to manipulate it by retrieving the most recent value and saving that value to a text file.</p>
<p>This code outputs the sensor value. </p>
<p>How can i retrieve whatever value ... | I am creating a simple application using Androids new Sensors. I have created a simple pedometer which counts steps but now i want to manipulate it by retrieving the most recent value and saving that value to a text file. This code outputs the sensor value. How can i retrieve whatever value is outputed on the screen to... | android|count|text-files|android-sensors | 0 | 2015-02-22T18:19:38.577Z | 2,015 | 2 | 18 | 6 | 299 | 0 | 389 | 37 | 4 | 1 | true | true | false | false | false | false | zero |
28,661,490 | install android-sdk on meteor - downloaded but error given upun install | <p>I tried to install android sdk on Meteor here's what happend:</p>
<pre><code> meteor install-sdk android
✓ Found Android bundle
✓ A JDK is installed
✓ Found Android Platform tools
Installing Android Build Tools
events.js:72
throw er... | I tried to install android sdk on Meteor here's what happend: [CODE] when I try to add platform to there's an error given that the android sdk is not installed, how do I fix it and have android platform on ? [CODE] | android|node.js|meteor | 3 | 2015-02-22T18:21:24.840Z | 2,015 | 2 | 18 | 6 | 575 | 1 | 214 | 71 | 3 | 2 | true | false | false | false | false | false | low |
28,661,516 | How to solve java.lang.OutOfMemory exception in android? | <pre><code>02-22 23:37:03.349 1845-1845/com.vinay.vshotelapplication E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.vinay.vshotelapplication, PID: 1845
java.lang.OutOfMemoryError: Failed to allocate a 4801692 byte allocation with 1152928 free bytes and 1125KB until OOM
at dalvik.system.VMRu... | [CODE] | java|android|android-studio | -2 | 2015-02-22T18:24:14.220Z | 2,015 | 2 | 18 | 6 | 406 | 1 | 6 | 56 | 3 | 1 | true | false | false | false | false | true | negative |
28,661,539 | Digits Authentication with Parse Server | <p>In building an a small Android app, I decided to try out <a href="https://get.fabric.io/digits" rel="nofollow">Digits</a> to login with a phone number and <a href="https://www.parse.com/" rel="nofollow">Parse</a> for the back end.</p>
<p>How might I validate a Digits session with the Parse server? </p>
<p>I've sta... | In building an a small Android app, I decided to try out Digits to login with a phone number and Parse for the back end. How might I validate a Digits session with the Parse server? I've started with the below example, though I'm not sure if this is 'correct' (adapted from this post ). Android Client: Request auth (oau... | android|authentication|oauth|parse-platform|twitter-fabric | 2 | 2015-02-22T18:25:40.967Z | 2,015 | 2 | 18 | 6 | 2,254 | 1 | 1,299 | 39 | 5 | 0 | false | false | false | false | false | false | low |
28,661,559 | Unfortunately app has stopped in android emulator | <p>My app has no issue in opening the first screen in the emulator.But when i click the button of first page to enter the nect page-screen2,i get an error "unfortunately myapp has stopped".Kindly help me</p>
<p>this is screen1.java</p>
<pre><code>package com.example.library;
import android.app.Activity;
import andro... | My app has no issue in opening the first screen in the emulator.But when i click the button of first page to enter the nect page-screen2,i get an error "unfortunately myapp has stopped".Kindly help me this is screen1.java [CODE] Screen2.java [CODE] android manifest [CODE] logcat [CODE] | android | -2 | 2015-02-22T18:27:29.157Z | 2,015 | 2 | 18 | 6 | 267 | 1 | 286 | 49 | 1 | 4 | true | false | false | false | false | true | negative |
28,661,615 | Qt Android x86_64 Support | <p>When I installed Qt for Android it came with a kit for x86 and the 32-bit ARM ABIs, but no 64-bit ones. I noticed the Android NDK does contain the AArch64 and x86_64 compilers. Does Qt not support the newer architectures or is there a way in which I can build a Qt kit for these architectures myself?</p>
<p><img src... | When I installed Qt for Android it came with a kit for x86 and the 32-bit ARM ABIs, but no 64-bit ones. I noticed the Android NDK does contain the AArch64 and x86_64 compilers. Does Qt not support the newer architectures or is there a way in which I can build a Qt kit for these architectures myself? | android|c++|qt|android-ndk|cross-compiling | 3 | 2015-02-22T18:31:22.470Z | 2,015 | 2 | 18 | 6 | 1,229 | 2 | 300 | 25 | 5 | 0 | false | false | false | false | false | false | low |
28,661,618 | Android build tools 1.1.0, unit test folder? | <p>I recently installed the latest tools from google to my android project:</p>
<pre><code>buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.1.0'
}
}
allprojects {
repositories {
jcenter()
... | I recently installed the latest tools from google to my android project: [CODE] Where before that I used to use com.github.jcandksolutions.gradle:android-unit-test:2.1.1 to run my robolectric tests in the jvm. As google says for their new build tools: "New source folders recognized as unit tests: src/test/java, src/tes... | android|android-gradle-plugin|robolectric|android-build|build-tools | 7 | 2015-02-22T18:31:48.713Z | 2,015 | 2 | 18 | 6 | 3,150 | 4 | 584 | 44 | 5 | 1 | true | false | true | false | false | false | medium |
28,661,643 | How to compile groovy code first with Groovy Android Gradle Plugin | <p>I am trying to use <a href="https://github.com/groovy/groovy-android-gradle-plugin" rel="nofollow">https://github.com/groovy/groovy-android-gradle-plugin</a> with Android Studio 1.1.0:</p>
<pre><code>buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath... | I am trying to use https://github.com/groovy/groovy-android-gradle-plugin with Android Studio 1.1.0: [CODE] [CODE] [CODE] I have some Groovy classes that extend from Android SDK classes and my application Java classes that extend from Groovy classes. Groovy classes are under src/main/groovy and Java classes are under s... | java|android|groovy|gradle|android-gradle-plugin | 3 | 2015-02-22T18:33:48.913Z | 2,015 | 2 | 18 | 6 | 1,314 | 1 | 1,085 | 66 | 5 | 6 | true | false | false | false | false | false | low |
28,661,686 | Using the ArrayAdapter class | <p>Method-1: ArrayAdapter(Context context, int resource, T[] objects)
</p>
<p>Method-2: ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects)</p>
<p>I was using the array adapter class by passing values through method 2, and then I experimented a bit and passed values by method 1 and it sti... | Method-1: ArrayAdapter(Context context, int resource, T[] objects) Method-2: ArrayAdapter(Context context, int resource, int textViewResourceId, T[] objects) I was using the array adapter class by passing values through method 2, and then I experimented a bit and passed values by method 1 and it still worked. I could n... | android|android-layout|android-arrayadapter | -1 | 2015-02-22T18:38:02.510Z | 2,015 | 2 | 18 | 6 | 29 | 1 | 435 | 28 | 3 | 0 | false | false | false | false | false | true | negative |
28,661,690 | make sure class name exists, is public, and has an empty constructor for public fragment with class name and empty constructor | <p>I've just got a crash report from one of the users with the following error trace :</p>
<pre><code>Unable to instantiate fragment packageName.Wizard$WizardFirstPage: make sure class name exists, is public, and has an empty constructor that is public
</code></pre>
<p>Here are the classes declarations :</p>
<p><... | I've just got a crash report from one of the users with the following error trace : [CODE] Here are the classes declarations : public class Wizard extends Other public abstract class Other extends BaseActivity public abstract class BaseActivity extends ActionBarActivity All classes are public, named and doesn't have us... | java|android|android-fragments|runtimeexception | 5 | 2015-02-22T18:38:39.187Z | 2,015 | 2 | 18 | 6 | 7,481 | 1 | 504 | 126 | 4 | 1 | true | false | true | false | false | false | low |
28,661,693 | Dagger2 dependency - Gradle | <p>I'm trying to add Dagger2 to my project in Android Studio but I can't find proper dependency to paste in build.gradle. Could you help and send me the proper line?</p> | I'm trying to add Dagger2 to my project in Android Studio but I can't find proper dependency to paste in build.gradle. Could you help and send me the proper line? | android|android-gradle-plugin|dagger-2 | 66 | 2015-02-22T18:39:07.610Z | 2,015 | 2 | 18 | 6 | 38,333 | 6 | 162 | 27 | 3 | 0 | false | false | true | true | true | false | high |
28,661,801 | How to change action Navigation drawer? | <p>I have to implement the following functionality. See the picture.</p>
<p><img src="https://i.stack.imgur.com/fMv6c.png" alt="enter image description here"></p>
<p>Can I change the functionality of Navigation drawer? I haven't any found fix for my problem.</p>
<p>I hope you can help me, thanks in advance.</p> | I have to implement the following functionality. See the picture. Can I change the functionality of Navigation drawer? I haven't any found fix for my problem. I hope you can help me, thanks in advance. | android|navigation-drawer | -2 | 2015-02-22T18:49:02.360Z | 2,015 | 2 | 18 | 6 | 67 | 1 | 201 | 39 | 2 | 0 | false | false | false | false | false | true | negative |
28,661,811 | How to show icons along with text in PopupMenu in android? | <p>i have seen some tutorials but couldn't got through. I want to show icons along with item text. Here is my menu item. </p>
<pre><code> <item
android:id="@+id/share"
android:icon="@drawable/ic_share_grey600_18dp"
app:showAsAction="always|withText"
android:orderInCategory="1"
android:title="Sh... | i have seen some tutorials but couldn't got through. I want to show icons along with item text. Here is my menu item. [CODE] Here is my java code : [CODE] I am developing my app in material design. But its only showing the text. | android|android-5.0-lollipop|android-popupwindow | 3 | 2015-02-22T18:49:40.530Z | 2,015 | 2 | 18 | 6 | 3,033 | 2 | 228 | 58 | 3 | 2 | true | false | true | false | false | false | low |
28,661,863 | Android Studio: KeyboardLayout not displaying on Genymotion Emulator | <p>I am running below code(as in screenshot).However am not getting "text" keyboard layout upon running the emulator ie.,placing the cursor over the Edittext in the emulator.</p>
<p><img src="https://i.stack.imgur.com/JU0wj.png" alt="enter image description here"></p>
<p>Please help with this.</p>
<p>Thanks & Re... | I am running below code(as in screenshot).However am not getting "text" keyboard layout upon running the emulator ie.,placing the cursor over the Edittext in the emulator. Please help with this. Thanks & Regards, Subin Alex | android-studio|genymotion | 1 | 2015-02-22T18:53:29.270Z | 2,015 | 2 | 18 | 6 | 117 | 1 | 223 | 68 | 2 | 0 | false | false | false | false | false | false | low |
28,661,940 | ListView Returns The Same Data | <p>I've made a mini chat in my application using Parse. The only problem I seem to run into is when I write a message twice:</p>
<p><a href="http://imgur.com/kD7Wjcv,KLPGcPH#0" rel="nofollow">http://imgur.com/kD7Wjcv,KLPGcPH#0</a></p>
<p>As you can see in the 2 photos, it will make both chat posts the same message. I... | I've made a mini chat in my application using Parse. The only problem I seem to run into is when I write a message twice: http://imgur.com/kD7Wjcv,KLPGcPH#0 As you can see in the 2 photos, it will make both chat posts the same message. I'm wondering what I could be doing wrong? Here's the code I think is involved: Main... | java|android|android-listview | -1 | 2015-02-22T19:01:02.843Z | 2,015 | 2 | 19 | 6 | 40 | 3 | 470 | 30 | 3 | 3 | true | false | false | false | false | true | negative |
28,661,981 | Use Toolbar across all activities (Android) | <p>I'm using a Toolbar to replace the ActionBar. All is going well with one problem:</p>
<p>The toolbar shows only on the main activity.</p>
<p>If I try call the toolbar on any activity the same way I did with the main activity the app will crash when I call that activity.</p>
<p>If I try to inflate the toolbar onCr... | I'm using a Toolbar to replace the ActionBar. All is going well with one problem: The toolbar shows only on the main activity. If I try call the toolbar on any activity the same way I did with the main activity the app will crash when I call that activity. If I try to inflate the toolbar onCreateOptionsMenu, that activ... | android|toolbar|android-toolbar | 31 | 2015-02-22T19:05:35.123Z | 2,015 | 2 | 19 | 6 | 42,101 | 2 | 827 | 43 | 3 | 3 | true | false | true | true | true | false | high |
28,661,999 | SharedPreferences in picking random value when force closing application | <p>I have to implement a functionality in which I have to store multiple id's in SharedPreferences in an application in android. I have to perform three main operations on data in preferences<br>
1. add and save new id<br>
2. delete a particular id<br>
3. check if id exists</p>
<p>I wrote following class to perform al... | I have to implement a functionality in which I have to store multiple id's in SharedPreferences in an application in android. I have to perform three main operations on data in preferences 1. add and save new id 2. delete a particular id 3. check if id exists I wrote following class to perform all operations needed. [C... | android|sharedpreferences | 0 | 2015-02-22T19:07:06.490Z | 2,015 | 2 | 19 | 6 | 235 | 1 | 777 | 72 | 2 | 2 | true | false | false | false | false | false | zero |
28,662,008 | solutions for randomly mix arraynumbers in android | <p>hi im beginner in android and need a void that get numbers in array and give these numbers randomly mix.i try to make this something like these code but this is have bugs when it arrive to near of end.any body have solution for mix randomly numbers in array,like numbers between 1 to 20? </p>
<pre><code>rand1=random... | hi im beginner in android and need a void that get numbers in array and give these numbers randomly mix.i try to make this something like these code but this is have bugs when it arrive to near of end.any body have solution for mix randomly numbers in array,like numbers between 1 to 20? [CODE] | java|android | -3 | 2015-02-22T19:07:33.070Z | 2,015 | 2 | 19 | 6 | 30 | 1 | 294 | 50 | 2 | 1 | true | false | false | false | false | true | negative |
28,662,039 | Change AppCompat SearchView suggestion background | <p>I want to set the background of the dropdown suggestions of the SearchView in my Theme style. I don't want to do this via layout files, because I want the OS to handle the selection backgrounds themselves. Setting the background programmatically removed list selectors, and I want to avoid that.</p>
<p><img src="htt... | I want to set the background of the dropdown suggestions of the SearchView in my Theme style. I don't want to do this via layout files, because I want the OS to handle the selection backgrounds themselves. Setting the background programmatically removed list selectors, and I want to avoid that. This is what I have righ... | android|android-actionbar|android-widget|searchview | 7 | 2015-02-22T19:10:28.827Z | 2,015 | 2 | 19 | 6 | 2,078 | 3 | 517 | 49 | 4 | 0 | false | false | false | false | false | false | medium |
28,662,120 | How to make my game stop after ten seconds in libgdx? | <p>I'm almost done with my project to make a very simple game. The point of the game is to count how many times the user touches the screen and compare it to the number of times an object popped up on the screen to be touched. It's considered a win if number of touches = number of objects. All of this is to happen in 1... | I'm almost done with my project to make a very simple game. The point of the game is to count how many times the user touches the screen and compare it to the number of times an object popped up on the screen to be touched. It's considered a win if number of touches = number of objects. All of this is to happen in 10 s... | java|android|timer|libgdx | 0 | 2015-02-22T19:16:34.303Z | 2,015 | 2 | 19 | 6 | 936 | 3 | 925 | 53 | 4 | 1 | true | false | false | false | false | false | zero |
28,662,126 | What does Android app signing means? | <p>After developing android app, I have to sign it in order to publish it to Play store. </p>
<p>What does singing process actually do? </p>
<p>I thought it related to encryption, but I am able to uncompress the apk file without any need to my app's signing keys. </p> | After developing android app, I have to sign it in order to publish it to Play store. What does singing process actually do? I thought it related to encryption, but I am able to uncompress the apk file without any need to my app's signing keys. | android|signing | 15 | 2015-02-22T19:17:16.013Z | 2,015 | 2 | 19 | 6 | 10,912 | 2 | 244 | 36 | 2 | 0 | false | false | true | false | true | false | medium |
28,662,184 | Making android custom drawable | <p><img src="https://i.stack.imgur.com/9EcYR.jpg" alt="drawable" /></p>
<p>How can one create such a drawable that will be matching height of given layout ? I know I have to create a some sort of multiple shapes within one drawable but I am kinda lost in this.</p> | How can one create such a drawable that will be matching height of given layout ? I know I have to create a some sort of multiple shapes within one drawable but I am kinda lost in this. | android|android-drawable | 0 | 2015-02-22T19:21:33.707Z | 2,015 | 2 | 19 | 6 | 77 | 2 | 185 | 30 | 2 | 0 | false | false | false | false | false | false | zero |
28,662,236 | Why can SDK not resolve Id as a symbol? | <pre><code>public void onClick(View v) {
switch (v.getId())
{
case new R.Id():Imagebutton();
ImageButtonClick();
break;
}
}
private void Imagebutton() {
}
</code></pre>
<p>I'm quite new to Android SDK and this may be a minor issue but I keep getting this error "Cannot Resol... | [CODE] I'm quite new to Android SDK and this may be a minor issue but I keep getting this error "Cannot Resolve Symbol 'Id'". I'm currently trying to design a button which opens another activity, I've been following a tutorial and I've followed all the instructions but these Id errors keep appearing? Any Help would be ... | android|sdk | 0 | 2015-02-22T19:26:41.377Z | 2,015 | 2 | 19 | 6 | 46 | 3 | 341 | 39 | 2 | 1 | true | false | false | false | false | false | zero |
28,662,241 | Filterable with BaseAdapter to AutoCompleteTextView? | <p>I'm trying create a BaseAdapter with Filterable to my AutoCompleteTextView. I have an object with name Local, and I add some attributes to this object for example: `new Local("Guaira"); new Local("Franca"); new Local("Barretos"). If I type text "Guaíra" the popup does not open to select "Guaira", but if I type "Barr... | I'm trying create a BaseAdapter with Filterable to my AutoCompleteTextView. I have an object with name Local, and I add some attributes to this object for example: `new Local("Guaira"); new Local("Franca"); new Local("Barretos"). If I type text "Guaíra" the popup does not open to select "Guaira", but if I type "Barreto... | android|autocompletetextview | 0 | 2015-02-22T19:27:05.573Z | 2,015 | 2 | 19 | 6 | 1,313 | 1 | 495 | 52 | 2 | 3 | true | false | false | false | false | false | zero |
28,662,315 | Handling onTouch event in a custom container, with TextView as content | <p>I have the following problem.</p>
<p>In an Android application, there is a custom layout class, which extends the FrameLayout. It overrides the onTouchEvent method for a custom implementation. We have a TextView which resides as the content of this layout class. We want that the URL links in this TextView to be cli... | I have the following problem. In an Android application, there is a custom layout class, which extends the FrameLayout. It overrides the onTouchEvent method for a custom implementation. We have a TextView which resides as the content of this layout class. We want that the URL links in this TextView to be clickable. For... | android|android-layout|textview|touch-event | 0 | 2015-02-22T19:34:07.987Z | 2,015 | 2 | 19 | 6 | 163 | 1 | 773 | 70 | 4 | 1 | true | false | false | false | false | false | zero |
28,662,344 | Android service receives/intercept "home long pressed" event (similar to "Home Button Launcher") | <p>I am developing an app which needs to receive/intercept event of long pressed home button. I believe this function can be implemented by broadcast receiver intent filter because an existing app called "Home Button Launcher (<a href="https://play.google.com/store/apps/details?id=com.dynamicg.homebuttonlauncher&hl... | I am developing an app which needs to receive/intercept event of long pressed home button. I believe this function can be implemented by broadcast receiver intent filter because an existing app called "Home Button Launcher ( https://play.google.com/store/apps/details?id=com.dynamicg.homebuttonlauncher&hl=en )" but I ca... | android|android-intent|android-activity|android-service|android-broadcast | 0 | 2015-02-22T19:37:46.707Z | 2,015 | 2 | 19 | 6 | 459 | 1 | 986 | 96 | 5 | 0 | false | false | false | false | false | false | zero |
28,662,348 | How to add a github library to gradle | <p>I made a android library in github that i want to add to Gradle,
that other people can add
compile "my project ..."
to there android build.
how can i upload it to Gradle?</p>
<p>(I didn't find an answer for this anywhere)</p>
<p><strong>EDIT:</strong>
To clear my question, I want to release a library for develop... | I made a android library in github that i want to add to Gradle, that other people can add compile "my project ..." to there android build. how can i upload it to Gradle? (I didn't find an answer for this anywhere) EDIT: To clear my question, I want to release a library for developers. Thanks | android|gradle | 3 | 2015-02-22T19:38:02.760Z | 2,015 | 2 | 19 | 6 | 1,477 | 2 | 293 | 37 | 2 | 0 | false | false | false | false | false | false | low |
28,662,354 | Trying to unwrap an object when I send it as a bundle | <p>I have a complex class that I used a @Parcelable (Im using the Parceler library <a href="https://github.com/johncarl81/parceler" rel="nofollow">https://github.com/johncarl81/parceler</a>)</p>
<pre><code>@Parcel
public class Event {
public int id;
public String title;
public String description;
publi... | I have a complex class that I used a @Parcelable (Im using the Parceler library https://github.com/johncarl81/parceler ) [CODE] The class has many other objects, but theyre mostly strings. I wrapped it in my main activity like: [CODE] I have an List of events (eventList) and im trying to send one object in the list to ... | java|android|parcelable|parceler | 3 | 2015-02-22T19:38:49.033Z | 2,015 | 2 | 19 | 6 | 1,297 | 2 | 459 | 53 | 4 | 4 | true | false | false | false | false | false | low |
28,662,369 | Problems using TimePicker with sdk-21 | <p>I am trying to use the TimePicker widget in my layout (just dragged it in the design view of Android Studio to my layout), but it does not work, error message:</p>
<p>Couldn't resolve @layout/time_header_label</p>
<p>Failed to parse file /home/user/Android/Sdk/platforms/android-21/data/res/layout/time_picker_holo.... | I am trying to use the TimePicker widget in my layout (just dragged it in the design view of Android Studio to my layout), but it does not work, error message: Couldn't resolve @layout/time_header_label Failed to parse file /home/user/Android/Sdk/platforms/android-21/data/res/layout/time_picker_holo.xml I looked at thi... | android|android-5.0-lollipop|android-timepicker | 1 | 2015-02-22T19:40:03.860Z | 2,015 | 2 | 19 | 6 | 421 | 0 | 402 | 37 | 3 | 1 | true | true | false | false | false | false | low |
28,662,455 | Error with Android Studio while using Tyrus websockets | <p>Im making an android application with websockets using the latest Tyrus build using android studio. I have included the library through gradle like so on build.gradle</p>
<pre><code>dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'org.glassf... | Im making an android application with websockets using the latest Tyrus build using android studio. I have included the library through gradle like so on build.gradle [CODE] with android targetting versions [CODE] Every time I run the compile button i get the following error [CODE] My application is based on the follow... | android|android-studio|websocket|tyrus | 0 | 2015-02-22T19:49:18.377Z | 2,015 | 2 | 19 | 6 | 616 | 0 | 386 | 54 | 4 | 3 | true | true | false | false | false | false | zero |
28,662,456 | OnLocationChanged is never called | <p>I made service to get location changes. But even if I requested for LocationUpdates, onLocationChanges(Location loc) is never called.</p>
<pre><code>public class LocationService extends Service implements LocationListener{
...
@Override
public void onProviderDisabled(String provider) {
}
... | I made service to get location changes. But even if I requested for LocationUpdates, onLocationChanges(Location loc) is never called. [CODE] Here is my log. You can see I waited 32 seconds and nothing happened. [CODE] I have icon in system tray which shows that it is trying to get GPS location. | android|gps | 0 | 2015-02-22T19:49:26.330Z | 2,015 | 2 | 19 | 6 | 722 | 1 | 295 | 33 | 2 | 2 | true | false | false | false | false | false | zero |
28,662,485 | Unable to save the Background color on screen rotation | <p>I am new to android application development, I am learning it by practicing few example and as well trying to implement my own ideas based on those examples...as a part of that i am trying to save the background color of the screen using Bundles and sharedpreferences. </p>
<p>This code is saving the color only once... | I am new to android application development, I am learning it by practicing few example and as well trying to implement my own ideas based on those examples...as a part of that i am trying to save the background color of the screen using Bundles and sharedpreferences. This code is saving the color only once, but when i... | android|android-layout|android-activity|bundle|android-radiobutton | 0 | 2015-02-22T19:52:56.690Z | 2,015 | 2 | 19 | 6 | 289 | 1 | 389 | 54 | 5 | 2 | true | false | false | false | false | false | zero |
28,662,665 | Android loading large data to horizontal view | <p>This is not a question on how to load the data. I have already loaded the data and it works fine. The issue that I am trying to solve is when ever i go to that page / view it seems to show a black screen before showing the data on the screen. which I can solve by putting a spinner on the screen. But my question is h... | This is not a question on how to load the data. I have already loaded the data and it works fine. The issue that I am trying to solve is when ever i go to that page / view it seems to show a black screen before showing the data on the screen. which I can solve by putting a spinner on the screen. But my question is how ... | android|android-cursoradapter | 0 | 2015-02-22T20:11:12.237Z | 2,015 | 2 | 20 | 6 | 52 | 1 | 685 | 45 | 2 | 0 | false | false | false | false | false | false | zero |
28,662,714 | Having <activity-alias> breaks a contract of singleTop mode | <p>Here's the problem. I have an <activity-alias> in my manifest defined as follows:</p>
<pre><code><activity
android:name=".HomeActivity"/>
<activity-alias
android:name=".MainActivity"
android:targetActivity=".HomeActivity">
<intent-filter>
<action android:name="androi... | Here's the problem. I have an <activity-alias> in my manifest defined as follows: [CODE] Now, user starts MainActivity using a launcher icon, it forwards to the HomeActivity . I also have an Intent to start HomeActivity from the navigation drawer. It is started with Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVIT... | android|android-intent|android-activity | 8 | 2015-02-22T20:15:32.680Z | 2,015 | 2 | 20 | 6 | 1,123 | 1 | 1,323 | 59 | 3 | 2 | true | false | false | false | false | false | medium |
28,662,792 | Android SpeechRecognizer or RecognizerIntent custom Grammar section | <p>There are a number of posts here that talk about the RecognizerIntent and SpeechRecognizer and that it does not support custom Grammar sections. Most of those posts are from a few years ago. With Google Now, Google appears to be doing it with "ok google", and I'm wondering if there is a way to do it now. </p>
<p>... | There are a number of posts here that talk about the RecognizerIntent and SpeechRecognizer and that it does not support custom Grammar sections. Most of those posts are from a few years ago. With Google Now, Google appears to be doing it with "ok google", and I'm wondering if there is a way to do it now. I also noticed... | android|speech-recognition|speech-to-text | 4 | 2015-02-22T20:23:17.690Z | 2,015 | 2 | 20 | 6 | 791 | 0 | 777 | 67 | 3 | 0 | false | true | false | false | false | false | low |
28,662,815 | Ionic app lags a lot on chrome and device | <p>So i recently started using the ionic framework, when i tried out making an android app and running it in chrome for the first time it was fast and snappy. Then I added a button which takes you to another screen which has navigation bars and side menus and custom font on both screens, after doing that my app became ... | So i recently started using the ionic framework, when i tried out making an android app and running it in chrome for the first time it was fast and snappy. Then I added a button which takes you to another screen which has navigation bars and side menus and custom font on both screens, after doing that my app became slo... | javascript|android|css|angularjs|ionic-framework | 0 | 2015-02-22T20:24:44.370Z | 2,015 | 2 | 20 | 6 | 1,168 | 1 | 730 | 41 | 5 | 1 | true | false | false | false | false | false | zero |
28,662,816 | Webview had to refresh a Website automaticly | <p>I am a beginner in Android Studio but I tried very hard to refresh the website but nothing worked. Is there maybe a simple code to solve my problem? please help !</p>
<p>public class Motordrehzahl_App extends Activity {</p>
<pre><code>private WebView myWebView;
@Override
protected void onCreate(Bundle savedInstan... | I am a beginner in Android Studio but I tried very hard to refresh the website but nothing worked. Is there maybe a simple code to solve my problem? please help ! public class Motordrehzahl_App extends Activity { [CODE] public void refresh() { while(true) { myWebView.clearView(); myWebView.loadUrl("http://www.google.co... | android|webview|refresh | 0 | 2015-02-22T20:24:50.797Z | 2,015 | 2 | 20 | 6 | 1,151 | 1 | 328 | 44 | 3 | 1 | true | false | false | false | false | false | zero |
28,662,845 | the method getsystemservice(string) is undefined for the type MyReciever | <p>I`m trying to make an Android alarm application, but i´m gettin the follow error:</p>
<p>The method getSystemService(String) is undefined for the type MyReceiver</p>
<p>The code:</p>
<pre><code>public class MyReceiver extends BroadcastReceiver {
public void onReceive(Context context, Intent intent)
{
... | I`m trying to make an Android alarm application, but i´m gettin the follow error: The method getSystemService(String) is undefined for the type MyReceiver The code: [CODE] If you could let me know what I'm doing wrong here that would be great! thanks | android|eclipse|alarm | 1 | 2015-02-22T20:27:30.917Z | 2,015 | 2 | 20 | 6 | 615 | 1 | 250 | 72 | 3 | 1 | true | false | false | false | false | false | low |
28,662,940 | How to make an action after a button click? | <p>I've been looking all over the forum for answers but no matter how many times I modify it, there's always an error that comes up. it says "Main activity must be abstract or implement abstract method onClick(View) in onClickListener" Here is my code. </p>
<pre><code>import android.app.Activity;
import android.suppor... | I've been looking all over the forum for answers but no matter how many times I modify it, there's always an error that comes up. it says "Main activity must be abstract or implement abstract method onClick(View) in onClickListener" Here is my code. [CODE] | java|android|button|onclicklistener | -3 | 2015-02-22T20:36:13.667Z | 2,015 | 2 | 20 | 6 | 166 | 4 | 256 | 43 | 4 | 1 | true | false | false | false | false | true | negative |
28,662,942 | Calling installed application method in another application | <p>I want to create an application that extracts text from .docx and .pptx files. Am using poi libraries. When I tried compiling it, it throws error of having too many methods.</p>
<p>In order to bypass this error (cause I need this poi libraries to effectively achieved this), after so many search on the internet, I o... | I want to create an application that extracts text from .docx and .pptx files. Am using poi libraries. When I tried compiling it, it throws error of having too many methods. In order to bypass this error (cause I need this poi libraries to effectively achieved this), after so many search on the internet, I observed tha... | android | -1 | 2015-02-22T20:36:18.023Z | 2,015 | 2 | 20 | 6 | 57 | 1 | 591 | 59 | 1 | 0 | false | false | false | false | false | true | negative |
28,663,046 | Not sure how to reset my paused stopwatch | <p>(I'm fairly new to coding) Well, I've come across a solution to my previous posts and figured out how to display milliseconds... However, i cant seem to get the paused instance to reset back to 00:00:00 </p>
<p>I've tried a few ways such as mreset elapsedTime and setting the base as 00:00:00, but nothing seems to ... | (I'm fairly new to coding) Well, I've come across a solution to my previous posts and figured out how to display milliseconds... However, i cant seem to get the paused instance to reset back to 00:00:00 I've tried a few ways such as mreset elapsedTime and setting the base as 00:00:00, but nothing seems to work! Any sug... | android|reset|stopwatch | 0 | 2015-02-22T20:45:27.250Z | 2,015 | 2 | 20 | 6 | 561 | 2 | 397 | 41 | 3 | 1 | true | false | false | false | false | false | zero |
28,663,080 | Receiving intent if the activity/app is destroyed | <p>I am developing an app where I need to download a large mp3 from an URL and when it has completed update a database with the path where it has been stored, so that in case there is no internet connection the user can play it.
I have thought in using the downloader system service which is pretty easy to use. After th... | I am developing an app where I need to download a large mp3 from an URL and when it has completed update a database with the path where it has been stored, so that in case there is no internet connection the user can play it. I have thought in using the downloader system service which is pretty easy to use. After the d... | android|android-intent|broadcastreceiver|android-service|android-download-manager | 2 | 2015-02-22T20:48:42.490Z | 2,015 | 2 | 20 | 6 | 1,205 | 1 | 1,171 | 49 | 5 | 0 | false | false | false | false | false | false | low |
28,663,243 | Does android system include JVM? | <p>I know android system include the Dalvik virtual machine(DVM)
But i didn't understand if android system include JVM also
Or DVM is a replacement for JVM?
Thanks</p> | I know android system include the Dalvik virtual machine(DVM) But i didn't understand if android system include JVM also Or DVM is a replacement for JVM? Thanks | java|android|jvm|jit|dalvik | 29 | 2015-02-22T21:06:15.240Z | 2,015 | 2 | 21 | 6 | 23,922 | 2 | 160 | 32 | 5 | 0 | false | false | true | true | true | false | high |
28,663,330 | Add user input to ACRA crash report | <p>Basically, this is what I'm trying to accomplish and nothing I've tried seems to work. Whenever there's a crash, before the ACRA report is sent, I'd like to display an EditText in a Dialog or something which allows the user to describe exactly what she was doing when this happened and give me some extra context for... | Basically, this is what I'm trying to accomplish and nothing I've tried seems to work. Whenever there's a crash, before the ACRA report is sent, I'd like to display an EditText in a Dialog or something which allows the user to describe exactly what she was doing when this happened and give me some extra context for deb... | android|acra | 1 | 2015-02-22T21:14:53.890Z | 2,015 | 2 | 21 | 6 | 350 | 2 | 773 | 35 | 2 | 0 | false | false | false | false | false | false | low |
28,663,333 | Custom drawable with Layer-list | <p>I'm going to create a drawable like below image that is included an arrow image.</p>
<p><img src="https://i.stack.imgur.com/VSDMr.jpg" alt=""></p>
<p>When I use layer-list , arrow image appear in middle of my drawable!!!</p>
<p>Please let me know how can I achieve it ...</p>
<p><strong>UPDATE</strong>:
This is m... | I'm going to create a drawable like below image that is included an arrow image. When I use layer-list , arrow image appear in middle of my drawable!!! Please let me know how can I achieve it ... UPDATE : This is my Layer-List: [CODE] | android|layer-list | 2 | 2015-02-22T21:15:25.140Z | 2,015 | 2 | 21 | 6 | 4,762 | 1 | 234 | 31 | 2 | 1 | true | false | true | false | false | false | low |
28,663,382 | Displaying only a part of graph using Achartengine | <p>I am using Achartengine to generate TimeChart graph. The data set consists of dates form 1/15/2003 to 12/4/2040 (x-axis) with respective random values for Y-axis. I am displaying the graph dynamically where I keeps reading the values on background thread (AsyncTask) and repaints the graphview. I have 2 questions:</p... | I am using Achartengine to generate TimeChart graph. The data set consists of dates form 1/15/2003 to 12/4/2040 (x-axis) with respective random values for Y-axis. I am displaying the graph dynamically where I keeps reading the values on background thread (AsyncTask) and repaints the graphview. I have 2 questions: The v... | android|achartengine | 0 | 2015-02-22T21:19:20.283Z | 2,015 | 2 | 21 | 6 | 94 | 2 | 620 | 50 | 2 | 0 | false | false | false | false | false | false | zero |
28,663,390 | How to integrate RoboSpice project to Android studio? | <p>I'm android developer, and recently begin to work with Android Studio. Now i need use library RoboSpice (<a href="https://github.com/stephanenicolas/robospice" rel="nofollow">https://github.com/stephanenicolas/robospice</a>). Explain please, how can i organize "build.gradle" file for using with library? What add to ... | I'm android developer, and recently begin to work with Android Studio. Now i need use library RoboSpice ( https://github.com/stephanenicolas/robospice ). Explain please, how can i organize "build.gradle" file for using with library? What add to dependencies block? | android|gradle|robospice | 2 | 2015-02-22T21:20:21.073Z | 2,015 | 2 | 21 | 6 | 1,485 | 2 | 264 | 53 | 3 | 0 | false | false | false | false | false | false | low |
28,663,427 | Applying layout to an item | <p>I have a messaging app where I want to display incoming messages and messages sent with two different layouts. Both use the same adapter here is my code...</p>
<p>Any help would be greatly appreciated!</p>
<p>This is the item (send message) I add to my listview dynamically</p>
<pre><code> post_message_button.s... | I have a messaging app where I want to display incoming messages and messages sent with two different layouts. Both use the same adapter here is my code... Any help would be greatly appreciated! This is the item (send message) I add to my listview dynamically [CODE] Here is my adapter I want the onClick to use layout 2... | android|android-layout|android-listview|android-adapter | 0 | 2015-02-22T21:23:52.180Z | 2,015 | 2 | 21 | 6 | 45 | 1 | 327 | 26 | 4 | 2 | true | false | false | false | false | false | zero |
28,663,449 | Sticky Footer Issue (Android, Apple IOS) | <p>I have a sticky footer that I have appearing at the bottom of my page. I have this unique over-lay navigation that sits over-top of all the content on toggle at max height of the given device. On Android and Apple devices the navigation isn't overlaying the footer as it does it on any other device.</p>
<p>See a liv... | I have a sticky footer that I have appearing at the bottom of my page. I have this unique over-lay navigation that sits over-top of all the content on toggle at max height of the given device. On Android and Apple devices the navigation isn't overlaying the footer as it does it on any other device. See a live example h... | android|html|css | 2 | 2015-02-22T21:25:46.697Z | 2,015 | 2 | 21 | 6 | 769 | 1 | 642 | 40 | 3 | 1 | true | false | false | false | false | false | low |
28,663,479 | Android - Unregister BroadcastReceiver when app is not visible | <p>My launch Activity is A.
In A, I have a <code>BroacastReceiver</code> that I want to unregister only if the application (and not only the activity) is not visible anymore.
So, if I launch activity B, A still gets updates from the recevier.</p>
<p>I'm using Cornstalks's answer <a href="https://stackoverflow.com/ques... | My launch Activity is A. In A, I have a BroacastReceiver that I want to unregister only if the application (and not only the activity) is not visible anymore. So, if I launch activity B, A still gets updates from the recevier. I'm using Cornstalks's answer here and I'm able to unregister the receiver only if the app is... | android|android-activity|service|broadcastreceiver | 0 | 2015-02-22T21:28:25.910Z | 2,015 | 2 | 21 | 6 | 102 | 0 | 505 | 62 | 4 | 1 | true | true | false | false | false | false | zero |
28,663,501 | how can I define method in fragment? | <blockquote>
<p>Ihave tried this code while extending Activity and it's run (Y) but when extending fragment as I paste here it give me this exception :</p>
</blockquote>
<p>java.lang.IllegalStateException: Could not find a method scanQR(View) in the acttyivity class com.example.pc_orbit.myapplication.Citizen for onC... | Ihave tried this code while extending Activity and it's run (Y) but when extending fragment as I paste here it give me this exception : java.lang.IllegalStateException: Could not find a method scanQR(View) in the acttyivity class com.example.pc_orbit.myapplication.Citizen for onClick handler on view class android.widge... | android|methods|fragment|zxing | 1 | 2015-02-22T21:30:33.503Z | 2,015 | 2 | 21 | 6 | 930 | 2 | 538 | 36 | 4 | 4 | true | false | false | false | false | false | low |
28,663,613 | Stop imageview from stretching on certain devices | <p>I have an activity xml that looks like this:
<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.andro... | I have an activity xml that looks like this: [CODE] This basically shows a banner on top of the linearlayout with a scrollview below. The problem I'm having is that the image is stretched on certain devices. The source image width is 1080px (in the drawable and drawable-xxhdpi folder), 720px in drawable-xhdpi, 540px in... | android|xml|imageview|android-drawable|stretch | 0 | 2015-02-22T21:41:17.383Z | 2,015 | 2 | 21 | 6 | 98 | 1 | 482 | 49 | 5 | 1 | true | false | false | false | false | false | zero |
28,663,618 | Android ViewPager: Show particular page no matter in which direction user swipes | <p>I have really worked A LOT trying to get this running, without any results.
I want my ViewPager to go to the next page, no matter if I swipe to the right, left, top, down. The pages should be like a stack of cards and the top one is always swiped away.</p>
<p>I have tried to extend the class ViewPager, with an over... | I have really worked A LOT trying to get this running, without any results. I want my ViewPager to go to the next page, no matter if I swipe to the right, left, top, down. The pages should be like a stack of cards and the top one is always swiped away. I have tried to extend the class ViewPager, with an overridden publ... | android|android-viewpager|swipe | 0 | 2015-02-22T21:41:42.313Z | 2,015 | 2 | 21 | 6 | 118 | 0 | 971 | 80 | 3 | 0 | false | true | false | false | false | false | zero |
28,663,626 | Android 5.0.1 Nexus 9 not showing connected device in Bluetooth list | <p>I have a Bluetooth headset device connected to my Nexus 9 running Android 5.0.1. </p>
<p>My app is running the following code, where I call getA2dpConnectedDevice() to check on A2DP status. I expect that since the app device is supposedly connected to the headset that the BluetoothProfile.ServiceListener().onServic... | I have a Bluetooth headset device connected to my Nexus 9 running Android 5.0.1. My app is running the following code, where I call getA2dpConnectedDevice() to check on A2DP status. I expect that since the app device is supposedly connected to the headset that the BluetoothProfile.ServiceListener().onServiceConnected w... | android|bluetooth|android-5.0-lollipop|a2dp | 1 | 2015-02-22T21:42:19.997Z | 2,015 | 2 | 21 | 6 | 138 | 0 | 704 | 68 | 4 | 1 | true | true | false | false | false | false | low |
28,663,676 | How to parse this JSON file to some ArrayList<String>? | <p>in the past i have already parsed a json file from url to local sqlite database and the json source was like the following one:</p>
<pre><code>[
{
"origin": "accommodation",
"parent": "",
"en": "Accommodation"
},
{
"origine": "book",
"parent": "shopping",
... | in the past i have already parsed a json file from url to local sqlite database and the json source was like the following one: [CODE] But now it seems to be different. I validate the following json file so i'm sure it is a valid json, but it is formatted in a different way, so i do not know how to parse it in the righ... | android|arrays|parsing|json | 0 | 2015-02-22T21:46:32.423Z | 2,015 | 2 | 21 | 6 | 1,107 | 2 | 496 | 54 | 4 | 2 | true | false | false | false | false | false | zero |
28,663,680 | Get pixel colors from an Image? | <p>I was trying to create an app which can get the pixel colors of an image. I successfully created a camera app which can take a photo and it infuse an ImageView.</p>
<p>So far my idead is working, but I don't know how should I retrieve a pixel color. I was trying to get RGB color of a pixel and infuse it an array a... | I was trying to create an app which can get the pixel colors of an image. I successfully created a camera app which can take a photo and it infuse an ImageView. So far my idead is working, but I don't know how should I retrieve a pixel color. I was trying to get RGB color of a pixel and infuse it an array after I take ... | android|colors|camera|android-camera-intent|getpixel | 1 | 2015-02-22T21:47:00.917Z | 2,015 | 2 | 21 | 6 | 504 | 0 | 406 | 31 | 5 | 1 | true | true | false | false | false | false | low |
28,663,717 | mix randomly intarray(use shuffle void in android) | <p>I try to mix randomly array. I use <code>shuffle(Arrays.asList(array))</code> void but when taking a result, numbers are not mixed and toast class every time return number 5. Where is my problem? I think I must put new numbers in a new array.</p>
<pre><code>int array[]={1,2,3,4,5,6,7,8,9};
Collections.shuffle(Arr... | I try to mix randomly array. I use shuffle(Arrays.asList(array)) void but when taking a result, numbers are not mixed and toast class every time return number 5. Where is my problem? I think I must put new numbers in a new array. [CODE] | android | -1 | 2015-02-22T21:50:57.877Z | 2,015 | 2 | 21 | 6 | 28 | 1 | 236 | 50 | 1 | 1 | true | false | false | false | false | true | negative |
28,663,741 | Why is android:label not present? | <p>I am making a simple app, and I'm trying to display a label, but it refuses to be visible. Here is the android manifest:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="r.gabriel.ecuacionesdesegundogrado" >
<a... | I am making a simple app, and I'm trying to display a label, but it refuses to be visible. Here is the android manifest: [CODE] ActivityMain: [CODE] activity_main.xml code: [CODE] In the android studio preview, the android:label is not displayed, likewise as when run on a physical device and on an emulator. | android | 0 | 2015-02-22T21:53:18.997Z | 2,015 | 2 | 21 | 6 | 374 | 1 | 308 | 33 | 1 | 3 | true | false | false | false | false | false | zero |
28,663,778 | Android OPEN_DOCUMENT_TREE intent root locations | <p>I'm using the <a href="https://developer.android.com/about/versions/android-5.0.html#Storage" rel="noreferrer">Directory Selection</a> API, which was introduced in Android 5.0 (API level 21) to let users pick a directory to save a file to. </p>
<p>To select a directory I build and send an ACTION_OPEN_DOCUMENT_TREE ... | I'm using the Directory Selection API, which was introduced in Android 5.0 (API level 21) to let users pick a directory to save a file to. To select a directory I build and send an ACTION_OPEN_DOCUMENT_TREE intent like in the following code: [CODE] I get the following popup: However, if I let users choose a file using ... | android-intent|google-drive-api|android-5.0-lollipop|storage-access-framework | 7 | 2015-02-22T21:57:44.913Z | 2,015 | 2 | 21 | 6 | 5,438 | 4 | 958 | 48 | 4 | 2 | true | false | true | false | false | false | medium |
28,663,825 | Android JSON Push Notification with Parse.com | <p>I'm trying to implement my first JSON push notification with Parse.com, I've implemented the regular push notification and it worked properly. What I'm missing here that I can't find a complete guide how can I accomplish my goal. I'm trying to send a JSON notification through Parse.com console includes a URL that ne... | I'm trying to implement my first JSON push notification with Parse.com, I've implemented the regular push notification and it worked properly. What I'm missing here that I can't find a complete guide how can I accomplish my goal. I'm trying to send a JSON notification through Parse.com console includes a URL that needs... | android|json|parse-platform|push-notification|broadcastreceiver | 0 | 2015-02-22T22:02:45.957Z | 2,015 | 2 | 22 | 6 | 144 | 0 | 444 | 45 | 5 | 2 | true | true | false | false | false | false | zero |
28,663,828 | Android: Why values from BD are not being written in TextViews? | <p>This is may be a basic problem but I can't find the solution to it. I'm doing a query to my BD to get a value(DESPESA), and the value is correctly returned (I've proved it with Log.d) but it isn't, then, printed on the Activity and on the TextView.</p>
<p>Can you please help me?</p>
<p>My code:</p>
<pre><code>pro... | This is may be a basic problem but I can't find the solution to it. I'm doing a query to my BD to get a value(DESPESA), and the value is correctly returned (I've proved it with Log.d) but it isn't, then, printed on the Activity and on the TextView. Can you please help me? My code: [CODE] XML file: [CODE] | android|android-sqlite | 0 | 2015-02-22T22:02:57.073Z | 2,015 | 2 | 22 | 6 | 28 | 1 | 305 | 63 | 2 | 2 | true | false | false | false | false | false | zero |
28,663,852 | Android: Can't load images previously taken with the camera | <p>I can load stock images that came with the phone in the gallery.
But when I try loading an image from the camera directory (which is inside the same gallery), it doesn't show up.</p>
<p>But what's really weird is that it takes up the space as if the image was successfully loaded. So it takes up space, but it's invi... | I can load stock images that came with the phone in the gallery. But when I try loading an image from the camera directory (which is inside the same gallery), it doesn't show up. But what's really weird is that it takes up the space as if the image was successfully loaded. So it takes up space, but it's invisible. (Con... | java|android|image | 0 | 2015-02-22T22:05:30.033Z | 2,015 | 2 | 22 | 6 | 938 | 1 | 732 | 59 | 3 | 2 | true | false | false | false | false | false | zero |
28,663,864 | Recording Live OpenCV Processing on Android | <p>My goal is to do a couple things:</p>
<ol>
<li>Use OpenCV and the JavaCameraView to process frames from the phone's camera feed</li>
<li>Enable recording of that processed video as it happens</li>
</ol>
<p>I have both of them working, but the way I had to implement number 2 is ridiculous:</p>
<ol>
<li>For each fr... | My goal is to do a couple things: Use OpenCV and the JavaCameraView to process frames from the phone's camera feed Enable recording of that processed video as it happens I have both of them working, but the way I had to implement number 2 is ridiculous: For each frame, write the processed Mat as an image file. When the... | java|android|opencv|jcodec | 18 | 2015-02-22T22:06:39.277Z | 2,015 | 2 | 22 | 6 | 15,725 | 4 | 1,278 | 43 | 4 | 4 | true | false | true | true | true | false | medium |
28,664,016 | How to include vitamio library in Android Studio | <p>I have difficulties including the Vitamio Library in Android Studio.</p>
<p>How should i include it in my project?</p>
<p>Should i include only the Vitamio folder inside the VitamioBundle folder?</p> | I have difficulties including the Vitamio Library in Android Studio. How should i include it in my project? Should i include only the Vitamio folder inside the VitamioBundle folder? | android|vitamio | 3 | 2015-02-22T22:22:16.587Z | 2,015 | 2 | 22 | 6 | 9,041 | 3 | 181 | 48 | 2 | 0 | false | false | true | false | false | false | low |
28,664,047 | Google maps api asking for permissions even though I already specified them | <p>The application tag of my manifest:</p>
<pre><code> <application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme">
<activity
android:name=".MapActivity"
android:label="@string/app_name">
... | The application tag of my manifest: [CODE] The error: [CODE] | android|google-maps|google-play-services | 0 | 2015-02-22T22:26:30.180Z | 2,015 | 2 | 22 | 6 | 221 | 1 | 60 | 75 | 3 | 2 | true | false | false | false | false | false | zero |
28,664,057 | getFromLocationName().size() returns always 0 - Android | <p>In my application I have an activity in which you can pin in map a location based on the address you type in edittext or you can just move the pin that it appears in the onMapReady function.</p>
<hr>
<p>My activity's layout has the fragment that shows the map, a button to return information about position of the p... | In my application I have an activity in which you can pin in map a location based on the address you type in edittext or you can just move the pin that it appears in the onMapReady function. My activity's layout has the fragment that shows the map, a button to return information about position of the pin in the previou... | java|android|google-maps|geocoding|location-based | 0 | 2015-02-22T22:27:27.910Z | 2,015 | 2 | 22 | 6 | 738 | 1 | 1,908 | 55 | 5 | 5 | true | false | false | false | false | false | zero |
28,664,078 | How to change the text and the box color of my checkbox programmatically? | <p>I build an app with multi calculation system and it need every thing filled to get the result, so if the user left the <code>checkbox</code> without selection i would to inform him by making the text and the box of the <code>checkbox</code> change to "Red"
like the picture in the link:</p>
<p><img src="https://s15.... | I build an app with multi calculation system and it need every thing filled to get the result, so if the user left the checkbox without selection i would to inform him by making the text and the box of the checkbox change to "Red" like the picture in the link: if we assume my checkbox is "Yes", so how to make code for ... | java|javascript|android|checkbox | 0 | 2015-02-22T22:29:05.247Z | 2,015 | 2 | 22 | 6 | 409 | 1 | 753 | 73 | 4 | 2 | true | false | false | false | false | false | zero |
28,664,095 | HTTP Get Request - Android - Unable to start activity ComponentInfo{ | <p>I have no idea why I am getting this error and I have no idea why as I have used this method for HTTP requests before. Help?</p>
<p>I don't really know what to do, the error is pointing at when I execute the http request. Any suggestions?</p>
<p>Thanks for helping.</p>
<p>Error:</p>
<pre><code>02-22 22:21:37.588... | I have no idea why I am getting this error and I have no idea why as I have used this method for HTTP requests before. Help? I don't really know what to do, the error is pointing at when I execute the http request. Any suggestions? Thanks for helping. Error: [CODE] Code [CODE] | java|android|http|get | 0 | 2015-02-22T22:30:37.863Z | 2,015 | 2 | 22 | 6 | 331 | 1 | 277 | 68 | 4 | 2 | true | false | false | false | false | false | zero |
28,664,108 | Android naming a P2P device | <p>I was wondering if anybody could shed some light on an issue regarding WifiP2pDevice's name field.</p>
<p>As you may already know, WifiP2pDevice has a devicename field, but no methods to "set" the devicename, only to read it. </p>
<p>As discussed in this post:
<a href="https://stackoverflow.com/questions/24851961... | I was wondering if anybody could shed some light on an issue regarding WifiP2pDevice's name field. As you may already know, WifiP2pDevice has a devicename field, but no methods to "set" the devicename, only to read it. As discussed in this post: How change the device name in WiFi direct p2p? It may be possible to set t... | java|android|reflection|p2p|wifip2p | 1 | 2015-02-22T22:31:56.040Z | 2,015 | 2 | 22 | 6 | 271 | 1 | 1,023 | 27 | 5 | 1 | true | false | false | false | false | false | low |
28,664,124 | How to get Lollipop "hamburger" as drawer icon in standard Fragment app (without use AppCompat)? | <p>When i use AppCompat lib (v21) i got ActionBar with new style of "hamburger" icon. Is possible to get the same behaviour, but not using AppCompat. I'd like to have standard Holo.Light theme with new "hamburger" (drawer) icon in ActionBar.</p>
<p><img src="https://i.stack.imgur.com/cvuUj.png" alt="enter image descri... | When i use AppCompat lib (v21) i got ActionBar with new style of "hamburger" icon. Is possible to get the same behaviour, but not using AppCompat. I'd like to have standard Holo.Light theme with new "hamburger" (drawer) icon in ActionBar. | android|android-actionbar|android-appcompat | 3 | 2015-02-22T22:33:47.420Z | 2,015 | 2 | 22 | 6 | 639 | 1 | 238 | 96 | 3 | 0 | false | false | false | false | false | false | low |
28,664,125 | Android studio - internally search for dependencies in jcenter or maven central | <p>Is there anyway in the android studio IDE to search for a dependency instead of going on <a href="https://bintray.com/bintray/jcenter" rel="nofollow noreferrer">jcenter</a> site or maven central ? In Eclipse there is a way to search for things from the help menu -->install new software</p>
<p>Update: there is al... | Is there anyway in the android studio IDE to search for a dependency instead of going on jcenter site or maven central ? In Eclipse there is a way to search for things from the help menu -->install new software Update: there is also https://github.com/cesarferreira/alfi which can be used as a library finder. | plugins|intellij-idea|android-studio|maven-central|jcenter | 1 | 2015-02-22T22:33:47.517Z | 2,015 | 2 | 22 | 6 | 937 | 1 | 309 | 79 | 5 | 0 | false | false | false | false | false | false | low |
28,664,131 | Develop an Android Plugin (Involving OpenCV for android) for Unity in Android Studio | <p><strong>Target Application:</strong> Development of an Unity application for android device.The Unity application will use OpenCV for various image processing functions.</p>
<p><strong>Approach Planned:</strong> </p>
<ol>
<li><p>Develop an OpenCV for android application in Android Studio. This will have a bridge c... | Target Application: Development of an Unity application for android device.The Unity application will use OpenCV for various image processing functions. Approach Planned: Develop an OpenCV for android application in Android Studio. This will have a bridge class for sharing data with Unity. Export the android studio pro... | android|opencv|plugins|unity3d|android-studio | 1 | 2015-02-22T22:34:23.560Z | 2,015 | 2 | 22 | 6 | 2,374 | 1 | 3,587 | 84 | 5 | 0 | false | false | false | false | false | false | low |
28,664,163 | Notification icon suddenly isn't shown in the right size | <p>I have a very simple application on Google Play called "Drinkly". Before reading further, please check app's screenshots on <a href="https://play.google.com/store/apps/details?id=com.matejhacin.stayhydrated&hl=en" rel="nofollow noreferrer">Google Play</a>.</p>
<p>You can see that the notification icon is perfec... | I have a very simple application on Google Play called "Drinkly". Before reading further, please check app's screenshots on Google Play . You can see that the notification icon is perfectly displayed on both screenshots. And now suddenly this is how it's displayed: And I have no idea why. I don't know what I changed, w... | android|android-notifications | 0 | 2015-02-22T22:37:07.493Z | 2,015 | 2 | 22 | 6 | 67 | 1 | 641 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
28,664,185 | Building exported Eclipse project in Android Studio | <p>I used the Eclipse export to "Generate Cradle build Files" so that my Eclipse project for my android app could be compiled and edited in Android Studio. (I used the 6.4 commonsware instructions on pp866).</p>
<p>But when I try to build the module I get the following Gradle build error ...</p>
<p>A problem occurred... | I used the Eclipse export to "Generate Cradle build Files" so that my Eclipse project for my android app could be compiled and edited in Android Studio. (I used the 6.4 commonsware instructions on pp866). But when I try to build the module I get the following Gradle build error ... A problem occurred configuring projec... | android|eclipse|android-studio | 0 | 2015-02-22T22:39:09.057Z | 2,015 | 2 | 22 | 6 | 100 | 0 | 1,048 | 51 | 3 | 2 | true | true | false | false | false | false | zero |
28,664,189 | Volley Request Queue NullPointerException | <p>I am trying to use the Volley library to query an xml api on the web with a search query provided by the user through a <code>SearchWidget</code>. </p>
<p>Whenever I enter a search string, the app crashes with a <code>NullPointerException</code> on adding the <code>StringRequest</code> to the <code>RequestQueue</co... | I am trying to use the Volley library to query an xml api on the web with a search query provided by the user through a SearchWidget . Whenever I enter a search string, the app crashes with a NullPointerException on adding the StringRequest to the RequestQueue . Why is this happening? I am already using Volley with a s... | java|android|android-volley | 0 | 2015-02-22T22:39:30.280Z | 2,015 | 2 | 22 | 6 | 1,450 | 1 | 481 | 41 | 3 | 2 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.