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,729,576 | Cannot add a configuration with name 'testCompile' as a configuration with that name already exists | <p>When updating to gradle plugin 1.1.0 I kept getting the following error</p>
<pre><code>Cannot add a configuration with name 'testCompile' as a configuration with that name already exists
</code></pre>
<p>I am also using the Robolectric gradle plugin from <a href="https://github.com/robolectric/robolectric-gradle-p... | When updating to gradle plugin 1.1.0 I kept getting the following error [CODE] I am also using the Robolectric gradle plugin from here , v0.14.0. The new gradle 1.1.0 plugin adds additional unit test support, so I suspect the gradle and Robolectric plugins are battling for use of 'testCompile,' though I'm not sure how ... | android|gradle|android-gradle-plugin|robolectric-gradle-plugin | 6 | 2015-02-25T21:06:30.540Z | 2,015 | 2 | 21 | 2 | 11,834 | 3 | 336 | 99 | 4 | 1 | true | false | true | true | false | false | medium |
28,729,709 | Android Http connection | <p>I try to connect to an url, one simple because after i want to connect to a server. For this i have</p>
<pre><code>String urlServer = "http://www.google.com";
URL url = new URL(urlServer);
connection.setDoInput(true);
connection.setDoOutput(true);
connection.setUseCaches(false);
connection.setRequestMethod("POST");... | I try to connect to an url, one simple because after i want to connect to a server. For this i have [CODE] The last line goes to the catch exception. I don't know what happens, I have also tried with this [CODE] and it gives me true The LogCat gives me [CODE] | android|http | 1 | 2015-02-25T21:12:56.827Z | 2,015 | 2 | 21 | 2 | 60 | 1 | 259 | 23 | 2 | 3 | true | false | false | false | false | false | low |
28,729,955 | Max size of string data that can be passed in intents | <p>Is there a max limit to the string data that can be passed in intent extra? How much data can the below String str hold?</p>
<pre><code>intentI1.putExtra("MyString", str);
</code></pre> | Is there a max limit to the string data that can be passed in intent extra? How much data can the below String str hold? [CODE] | android | 12 | 2015-02-25T21:27:59.093Z | 2,015 | 2 | 21 | 2 | 15,738 | 4 | 127 | 53 | 1 | 1 | true | false | true | true | true | false | medium |
28,730,058 | How to use Volley to POST a string in the body and to save the binary response to a file | <p>I am currently using <a href="http://square.github.io/okhttp/" rel="nofollow">OkHttp</a>, but I'd like to switch to <a href="http://developer.android.com/training/volley/index.html" rel="nofollow">Volley</a>.
Maybe it is the late hour, but I can't seem to figure out how to send a POST request with just text in the b... | I am currently using OkHttp , but I'd like to switch to Volley . Maybe it is the late hour, but I can't seem to figure out how to send a POST request with just text in the body (in my app, the body is encrypted as a whole and then decrypted on the server side, and then split into params). Also, my response should be a ... | android|post|httpurlconnection|android-volley|okhttp | 2 | 2015-02-25T21:34:15.760Z | 2,015 | 2 | 21 | 2 | 1,002 | 2 | 465 | 88 | 5 | 0 | false | false | false | false | false | false | low |
28,730,067 | Android, Java, Virtual/Loop back MIDI port/driver | <p>Been banging my head against a brick wall on this...</p>
<p>I am looking to write a virtual midi driver - so android midi apps see a midi port to send to, I get to receive and pre-cook the messages before passing them on...</p>
<p>I can't find any starting point to get going(!).</p>
<p>Surely I just open a 'port'... | Been banging my head against a brick wall on this... I am looking to write a virtual midi driver - so android midi apps see a midi port to send to, I get to receive and pre-cook the messages before passing them on... I can't find any starting point to get going(!). Surely I just open a 'port' (using some library), the ... | java|android|qt|midi | 2 | 2015-02-25T21:34:46.007Z | 2,015 | 2 | 21 | 2 | 747 | 0 | 1,245 | 49 | 4 | 0 | false | true | false | false | false | false | low |
28,730,149 | Add more then one header to a recycler view? | <p>So I've manged to implement two headers into my recyclerview using a <a href="https://stackoverflow.com/questions/26530685/is-there-an-addheaderview-equivalent-for-recyclerview/26573338#26573338">this method</a> , but the way I have done it I believe to be in correct. For my two headers i have inflated two separate ... | So I've manged to implement two headers into my recyclerview using a this method , but the way I have done it I believe to be in correct. For my two headers i have inflated two separate Layouts which is really unnecessary as I can use the layout for all the items in my recyclerview as well, also inflating layouts are e... | android|android-recyclerview | 2 | 2015-02-25T21:37:48.593Z | 2,015 | 2 | 21 | 2 | 1,389 | 0 | 445 | 44 | 2 | 1 | true | true | false | false | false | false | low |
28,730,173 | Need help - sideload android app onto a new phone | <p>I am trying to get apps onto my new Moto G 2nd gen phone w/o using any Google app, including the only built-in browser app, Chrome. (Yes, I know the OS is heavily Google.)</p>
<p>I have not yet installed my SIM card. I used the built-in "check for updates" to get updated to Lollipop OTA direct from Motorola.</p>
... | I am trying to get apps onto my new Moto G 2nd gen phone w/o using any Google app, including the only built-in browser app, Chrome. (Yes, I know the OS is heavily Google.) I have not yet installed my SIM card. I used the built-in "check for updates" to get updated to Lollipop OTA direct from Motorola. I connected the p... | android | 0 | 2015-02-25T21:39:16.980Z | 2,015 | 2 | 21 | 2 | 72 | 2 | 756 | 49 | 1 | 0 | false | false | false | false | false | false | zero |
28,730,417 | Making a ListView holder for MainActivity | <p>I have my listview working to display it on the MainActivity and the layout is set to have 3 TextView properties of a new Person object.</p>
<p>My previous code was working but the scrolling was slow, so i looked into using the Holder pattern for optimization. However, when trying to implement this i am getting <co... | I have my listview working to display it on the MainActivity and the layout is set to have 3 TextView properties of a new Person object. My previous code was working but the scrolling was slow, so i looked into using the Holder pattern for optimization. However, when trying to implement this i am getting NullPointerExc... | java|android|android-viewholder | 1 | 2015-02-25T21:55:06.390Z | 2,015 | 2 | 21 | 2 | 52 | 3 | 558 | 41 | 3 | 1 | true | false | false | false | false | false | low |
28,730,511 | Android Track Users Location? | <p>I'm playing around with a bit of a game as a way to learn Android and spend more time getting to know the town I just moved to. The premise behind the game is that you get points for visiting various places in the area around you. What I'd like to do is have the app periodically track your location so that when you ... | I'm playing around with a bit of a game as a way to learn Android and spend more time getting to know the town I just moved to. The premise behind the game is that you get points for visiting various places in the area around you. What I'd like to do is have the app periodically track your location so that when you lau... | android | 0 | 2015-02-25T22:01:09.803Z | 2,015 | 2 | 22 | 2 | 92 | 1 | 684 | 29 | 1 | 0 | false | false | false | false | false | false | zero |
28,730,548 | Youtube API V3 IOS error | <p>Similar to this error: <a href="https://stackoverflow.com/questions/15440285/google-youtube-api-v3-ios-app-key-403-error-code">Google YouTube API v3 iOS app key, 403 error code</a></p>
<p><strong>Except in this case Browser key does not work on HTTP requests on IOS and ANDROID.</strong></p>
<p>I created a Google a... | Similar to this error: Google YouTube API v3 iOS app key, 403 error code Except in this case Browser key does not work on HTTP requests on IOS and ANDROID. I created a Google application in the developers console, turned on "YouTube Data API v3", generated the browser API key, and added my server as allowed referral. W... | android|ios|youtube-api | 1 | 2015-02-25T22:04:38.380Z | 2,015 | 2 | 22 | 2 | 244 | 1 | 688 | 24 | 3 | 2 | true | false | false | false | false | false | low |
28,730,565 | Android Application Connecting to PHPMyAdmin or PHP | <p>Good Day Everyone!</p>
<p>I am working on something that is new to me and that is to get data from my phpmyadmin and display it in an android application using XAMPP and JSON. I was wondering what could be the steps that must be taken to make this connection possible. For now, I have a php file that inserts data in... | Good Day Everyone! I am working on something that is new to me and that is to get data from my phpmyadmin and display it in an android application using XAMPP and JSON. I was wondering what could be the steps that must be taken to make this connection possible. For now, I have a php file that inserts data into a databa... | php|android|json|database | 1 | 2015-02-25T22:05:37.327Z | 2,015 | 2 | 22 | 2 | 2,909 | 1 | 569 | 51 | 4 | 1 | true | false | true | false | false | false | low |
28,730,644 | Android Eclipse Fragment extension/conversion not working | <p>I have a method called getFragmentByClass(Class clazz) as shown below:</p>
<pre><code>public Fragment getFragmentByClass(Class clazz) {
Fragment fragment = getSupportFragmentManager().findFragmentByTag(clazz.getName());
if (fragment==null)
{
return null;
}
else
{
return frag... | I have a method called getFragmentByClass(Class clazz) as shown below: [CODE] I then get an error within another class with the call of [CODE] that states Type mismatch: cannot convert from Fragment to FragmentX which is why I originally has getFragmentByClass() set to a return of type FragmentX. FragmentX is defined a... | java|android|eclipse|android-fragments|fragment | 1 | 2015-02-25T22:10:54.960Z | 2,015 | 2 | 22 | 2 | 60 | 0 | 1,422 | 57 | 5 | 3 | true | true | false | false | false | false | low |
28,730,651 | Restore Contextual Action Mode after rotation | <p>My Activity has a listView with an ActionBar. When the list item is long clicked, it will trigger the contextual action mode. However, the action mode will be lost during the screen rotation. </p>
<p>I know I can restore the state by re-triggerring the Action mode in onsaveInstanceState/restoreInstancestate meth... | My Activity has a listView with an ActionBar. When the list item is long clicked, it will trigger the contextual action mode. However, the action mode will be lost during the screen rotation. I know I can restore the state by re-triggerring the Action mode in onsaveInstanceState/restoreInstancestate methods. But I wond... | android|android-actionbar|android-actionmode | -1 | 2015-02-25T22:11:13.247Z | 2,015 | 2 | 22 | 2 | 778 | 1 | 399 | 45 | 3 | 0 | false | false | false | false | false | true | negative |
28,730,700 | ConcurrentExclusiveSchedulerPair in Xamarin iOS and Android fails | <p>Does anyone know if there is anything special to using ConcurrentExclusiveSchedulerPair in a Xamarin iOS or Android project?</p>
<p>Currently I have:</p>
<pre><code>private readonly ConcurrentExclusiveSchedulerPair _taskSchedulerPair= new ConcurrentExclusiveSchedulerPair();
public async Task InitializeAsync()
{
... | Does anyone know if there is anything special to using ConcurrentExclusiveSchedulerPair in a Xamarin iOS or Android project? Currently I have: [CODE] Which all works great on Windows boxes, but the new Task being started with the ExclusiveScheduler never runs on iOS or Android. Thoughts? | android|ios|xamarin|task-parallel-library|portable-class-library | 0 | 2015-02-25T22:14:30.650Z | 2,015 | 2 | 22 | 2 | 49 | 1 | 288 | 65 | 5 | 1 | true | false | false | false | false | false | zero |
28,730,704 | App crashes sometimes when starting videoview | <p>I am using VideoView to play live streams and it works fine most of the time, but sometimes the app freezes for a moment and either continues to play or crash and send me to home screen.
This is what happens when i select an item from the listview or click <code>KEY_DOWN / KEY_UP</code>:</p>
<pre><code>public boole... | I am using VideoView to play live streams and it works fine most of the time, but sometimes the app freezes for a moment and either continues to play or crash and send me to home screen. This is what happens when i select an item from the listview or click KEY_DOWN / KEY_UP : [CODE] Just a note: I have payed for the st... | android|crash|android-videoview|freeze | 0 | 2015-02-25T22:14:45.893Z | 2,015 | 2 | 22 | 2 | 474 | 0 | 642 | 45 | 4 | 1 | true | true | false | false | false | false | zero |
28,730,897 | Android Activity Refreshing On Rotation | <p>I'm an experienced .NET dev, but this is my first Android app and it's driving me nuts!</p>
<p>It's a countdown timer which works fine, but when you rotate the screen it reinitialised the activity which zeroed and stopped the count down.</p>
<p>This is what I tried;
I got rid of the CountDownTimer object and inste... | I'm an experienced .NET dev, but this is my first Android app and it's driving me nuts! It's a countdown timer which works fine, but when you rotate the screen it reinitialised the activity which zeroed and stopped the count down. This is what I tried; I got rid of the CountDownTimer object and instead created a class ... | android|android-activity|android-asynctask|android-context | 3 | 2015-02-25T22:29:33.683Z | 2,015 | 2 | 22 | 2 | 173 | 3 | 1,153 | 39 | 4 | 0 | false | false | false | false | false | false | low |
28,730,899 | Google Maps api v2 android: How to Remove a single marker? | <p>In my app i need to have 2 types of markers: the first ones need to stay on a location and the second ones need to move, right now I dont have the static markers yet but my app can show a marker moving if the location of the phone changes but for that i call mMap.clear(), I dont want to clear all markers when the lo... | In my app i need to have 2 types of markers: the first ones need to stay on a location and the second ones need to move, right now I dont have the static markers yet but my app can show a marker moving if the location of the phone changes but for that i call mMap.clear(), I dont want to clear all markers when the locat... | java|android|google-maps|marker | 1 | 2015-02-25T22:29:38.227Z | 2,015 | 2 | 22 | 2 | 3,207 | 2 | 635 | 58 | 4 | 3 | true | false | true | false | false | false | low |
28,730,905 | Android ScrollView...spacing between items in linearLayout | <p>I've got a working ScrollView/LinearLayout that I'm using to display guitar chords, but the scroller has them spaced apart about one inch apart. Can't find a setting to close up the 2500 or so items I'm scrolling.</p>
<p>I won't post code, mostly because it's working, but unable to find the setting or approach tha... | I've got a working ScrollView/LinearLayout that I'm using to display guitar chords, but the scroller has them spaced apart about one inch apart. Can't find a setting to close up the 2500 or so items I'm scrolling. I won't post code, mostly because it's working, but unable to find the setting or approach that will let m... | android-layout|android-activity | 0 | 2015-02-25T22:30:07.010Z | 2,015 | 2 | 22 | 2 | 2,104 | 1 | 638 | 58 | 2 | 0 | false | false | false | false | false | false | zero |
28,730,946 | ScrollView onclick set the visibility to be Visible | <p>I have got this Scroll View in my android app and what I am trying to do is set its visibility to be gone. When you click on this button with an id clickme it should change the visibility of the scroll view and set it to be Visible. However when I trying to do this I am getting the error sayign "Unfortunately, Examp... | I have got this Scroll View in my android app and what I am trying to do is set its visibility to be gone. When you click on this button with an id clickme it should change the visibility of the scroll view and set it to be Visible. However when I trying to do this I am getting the error sayign "Unfortunately, ExampleA... | java|android|xml|scrollview | 0 | 2015-02-25T22:32:24.543Z | 2,015 | 2 | 22 | 2 | 548 | 2 | 494 | 51 | 4 | 3 | true | false | false | false | false | false | zero |
28,731,077 | Android Fragment Tab compilation error | <p>I got a very odd problem. I need to create a three tabs in my activiy. Eveything seems fine, but I got the only ine mistake on the same line everytime no matter is it a part if the code either a comment. Here is the code </p>
<pre><code>package com.example.i.actionbar4;
import android.app.ActionBar;
import android... | I got a very odd problem. I need to create a three tabs in my activiy. Eveything seems fine, but I got the only ine mistake on the same line everytime no matter is it a part if the code either a comment. Here is the code [CODE] | java|android|android-fragments|android-tabhost | 0 | 2015-02-25T22:42:50.770Z | 2,015 | 2 | 22 | 2 | 184 | 0 | 227 | 38 | 4 | 1 | true | true | false | false | false | false | zero |
28,731,090 | NetworkOnMainThreadException but Using AsyncTask | <p>I coded a class which starts a http connection for getting the text of e.g. website.
I used AsyncTask but I got NetworkOnMainException. May u help me?
The class</p>
<pre><code>public class getXMLData extends AsyncTask<String, Void, String> {
TextView _textview;
public getXMLData(TextView textview) {
_tex... | I coded a class which starts a http connection for getting the text of e.g. website. I used AsyncTask but I got NetworkOnMainException. May u help me? The class [CODE] Here how I start the AsyncTask: [CODE] Thanks for your help. | java|android|android-asynctask | 0 | 2015-02-25T22:43:36.733Z | 2,015 | 2 | 22 | 2 | 50 | 1 | 228 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
28,731,187 | Android MapView Map V2 within Fragment | <p>I have been trying to get my Maps working, I have FragmentTabHost atm only contains 3 tabs. In my Maps tab, it should load the google map fragment and zoom into the users location however it just loads the map but does not do the zoom in method. Also is there I fix if there is a Binrary XML file due to map ID duplic... | I have been trying to get my Maps working, I have FragmentTabHost atm only contains 3 tabs. In my Maps tab, it should load the google map fragment and zoom into the users location however it just loads the map but does not do the zoom in method. Also is there I fix if there is a Binrary XML file due to map ID duplicate... | java|android|google-maps|android-fragments|android-mapview | 0 | 2015-02-25T22:49:57Z | -1 | -1 | -1 | -1 | 552 | 2 | 522 | 38 | 5 | 1 | true | false | false | false | false | false | zero |
28,731,206 | intent.setDataAndType() not working on android 5 | <p>I'm trying to pick an image from a specific folder using intent in the following manner:</p>
<pre><code>private void selectPicture(){
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
Uri uri = Uri.parse(Environment.getExternalStorageDirectory().getPath() + "/Pictures/");
intent.setDataAndType(uri,... | I'm trying to pick an image from a specific folder using intent in the following manner: [CODE] The image chooser is launched correctly. However, I see all the images (both those from my specified directory and those from other locations on the phone) instead of those from the specified directory only. I'd appreciate a... | android|android-intent | 0 | 2015-02-25T22:51:40.400Z | 2,015 | 2 | 22 | 2 | 527 | 1 | 633 | 48 | 2 | 1 | true | false | false | false | false | false | zero |
28,731,294 | Information not passing from doInbackground to postexecute using inappbilling | <p>I start an AsyncTask when my apps start so that user premium features will be show right away. But i am not getting info passed from doInBackground (the values after the query) to onPostExecute.</p>
<p>I do a queryInventoryAsync that defines values are true or false then I use this values on fragment to diverse act... | I start an AsyncTask when my apps start so that user premium features will be show right away. But i am not getting info passed from doInBackground (the values after the query) to onPostExecute. I do a queryInventoryAsync that defines values are true or false then I use this values on fragment to diverse actions. [CODE... | android|android-asynctask|in-app-billing|android-fragmentactivity | 0 | 2015-02-25T22:57:37.650Z | 2,015 | 2 | 22 | 2 | 77 | 2 | 356 | 77 | 4 | 2 | true | false | false | false | false | false | zero |
28,731,338 | How To Access Files on Android Device Using Ionic Framework | <p>I was working through the Ionic tutorial for using the Cordova Camera API.
<a href="http://learn.ionicframework.com/formulas/cordova-camera/" rel="nofollow noreferrer">http://learn.ionicframework.com/formulas/cordova-camera/</a></p>
<p>Far as I can tell everything is working correctly with the Camera API functions,... | I was working through the Ionic tutorial for using the Cordova Camera API. http://learn.ionicframework.com/formulas/cordova-camera/ Far as I can tell everything is working correctly with the Camera API functions, but I cannot get my image to display back into the view. I am able to return a file URI, but when I attempt... | android|cordova|ionic-framework | 2 | 2015-02-25T23:00:31.707Z | 2,015 | 2 | 23 | 2 | 2,006 | 1 | 987 | 59 | 3 | 3 | true | false | false | false | false | false | low |
28,731,472 | ListView with all items having different layout | <p>Do we get any benefits of implementing a <code>ListView</code> for which every item would have different layout? Would it be a better idea to put those items into <code>ScrollView</code> with <code>LinearLayout</code> instead?</p> | Do we get any benefits of implementing a ListView for which every item would have different layout? Would it be a better idea to put those items into ScrollView with LinearLayout instead? | android|performance|listview | 0 | 2015-02-25T23:08:10.540Z | 2,015 | 2 | 23 | 2 | 56 | 2 | 187 | 47 | 3 | 0 | false | false | false | false | false | false | zero |
28,731,477 | Messages not being blocked on Android 4.4 and higher despite priority set to highest. Is there a workaround? | <p>Blocking SMS but it doesn't seem to work on Android version 4.4 and higher. This has been discussed elsewhere on Stackoverflow, but no known workaround so far. Is there anything that can be done to have a priority greater than the default SMS app? Here the code I use :</p>
<pre><code> if (MSG_TYPE.equals("androi... | Blocking SMS but it doesn't seem to work on Android version 4.4 and higher. This has been discussed elsewhere on Stackoverflow, but no known workaround so far. Is there anything that can be done to have a priority greater than the default SMS app? Here the code I use : [CODE] | java|android | 0 | 2015-02-25T23:08:36.783Z | 2,015 | 2 | 23 | 2 | 119 | 1 | 276 | 108 | 2 | 1 | true | false | false | false | false | false | zero |
28,731,531 | Android app crashes when calling glVertexAttribPointer | <p>I'm trying to create an app with OpenGL ES integration on Android.<br>
My app seems to crash when I call <code>glVertexAttribPointer</code>.</p>
<p>Renderer class:</p>
<pre><code>public class Renderer implements GLSurfaceView.Renderer {
int matrixHandle=0;
int positionHandle=0;
int colorHandle=0;
... | I'm trying to create an app with OpenGL ES integration on Android. My app seems to crash when I call glVertexAttribPointer . Renderer class: [CODE] Grid class: [CODE] | java|android|opengl-es | 0 | 2015-02-25T23:12:40.927Z | 2,015 | 2 | 23 | 2 | 243 | 1 | 166 | 54 | 3 | 2 | true | false | false | false | false | false | zero |
28,731,551 | Xamarin - Null pointer exception when trying to start Activity outside the Main Activity? | <p>I have an app and here is the first code block </p>
<pre><code>public class MainActivity : Activity
{
protected override void OnCreate(Bundle oBundle)
{
base.OnCreate(oBundle);
SetContentView(Resource.Layout.Layout_Main);
FragmentTransaction oFragmentTransaction = FragmentManager.... | I have an app and here is the first code block [CODE] This app has a Swiping Tab Layout and I create a custom Sliding Tab Fragment. Here is the SlidingTabsFragment Class Code [CODE] So on SlidingTabFragment inherits from Fragment - on create view it inflates the layout and onViewCreated it Sets Up SlidingTabScrollView,... | android|android-activity|android-fragments|xamarin | 0 | 2015-02-25T23:14:27.240Z | 2,015 | 2 | 23 | 2 | 2,674 | 2 | 1,084 | 89 | 4 | 5 | true | false | true | false | false | false | zero |
28,731,669 | Android Fatal signal 6 (SIGABRT) from asyncTask | <p>I have a working android game which occasionally force closes on slow devices with the error </p>
<blockquote>
<p>Fatal signal 6 (SIGABRT), code -6 in tid 14620 (AsyncTask #1)</p>
</blockquote>
<p>Research indicated to me that this was due to delaying the execution of the UI thread, so, i bundled up the peace of... | I have a working android game which occasionally force closes on slow devices with the error Fatal signal 6 (SIGABRT), code -6 in tid 14620 (AsyncTask #1) Research indicated to me that this was due to delaying the execution of the UI thread, so, i bundled up the peace of code (about 200 lines of bitmap and region creat... | android|multithreading|android-asynctask|ui-thread | 3 | 2015-02-25T23:22:18.157Z | 2,015 | 2 | 23 | 2 | 1,369 | 1 | 1,000 | 47 | 4 | 1 | true | false | false | false | false | false | low |
28,731,678 | Use of static_assert forbidden in Android project | <p>I am porting some C++ code to Android. One of the source files includes a <code>webrtc</code> header file that causes error during compilation. I have reduced the problem to this simple code:</p>
<pre><code>template <class T, int n>
struct DefaultDeleter<T[n]> {
// Never allow someone to declare somet... | I am porting some C++ code to Android. One of the source files includes a webrtc header file that causes error during compilation. I have reduced the problem to this simple code: [CODE] The error I get is: [CODE] The same code compiles fine on Windows and Linux. Is there some compiler settings that are required for And... | android-ndk | 1 | 2015-02-25T23:22:52.370Z | 2,015 | 2 | 23 | 2 | 566 | 1 | 334 | 49 | 1 | 2 | true | false | false | false | false | false | low |
28,731,680 | How do I know if a Uri is empty? | <p>I have an application where I need to be able to let the user decide how to put a picture profile, (camera or gallery). I have only one variable of type "Uri" but I do not understand how to reset it and make it EMPTY, or check if it is EMPTY. Because when I choose a picture I have to have the ability to ch... | I have an application where I need to be able to let the user decide how to put a picture profile, (camera or gallery). I have only one variable of type "Uri" but I do not understand how to reset it and make it EMPTY, or check if it is EMPTY. Because when I choose a picture I have to have the ability to chang... | android|android-camera|uri|android-camera-intent | 9 | 2015-02-25T23:22:58.063Z | 2,015 | 2 | 23 | 2 | 16,445 | 5 | 449 | 32 | 4 | 1 | true | false | true | true | false | false | medium |
28,731,814 | What files should I be ignoring in Subversion for an Android Studio project? | <p>I found some previous references, with a link to</p>
<p><a href="https://github.com/github/gitignore/blob/master/Android.gitignore" rel="nofollow">https://github.com/github/gitignore/blob/master/Android.gitignore</a></p>
<p>Which does have a good list of file types and I've added them to svn:ignore.</p>
<p>Howeve... | I found some previous references, with a link to https://github.com/github/gitignore/blob/master/Android.gitignore Which does have a good list of file types and I've added them to svn:ignore. However, there's still tons showing up in my Subversion commit dialog, and I have a feeling they should be ignored. I have a ton... | android|svn|android-studio | 1 | 2015-02-25T23:34:35.210Z | 2,015 | 2 | 23 | 2 | 964 | 1 | 621 | 76 | 3 | 0 | false | false | false | false | false | false | low |
28,731,865 | How do I open open-source projects in Android Studio? | <p>I'm very new to Android programming, and I wanted to try learning by example. I found this open source project on Github: <a href="https://github.com/android/platform_packages_apps_contacts" rel="nofollow">https://github.com/android/platform_packages_apps_contacts</a></p>
<p>I was hoping to open this in Android St... | I'm very new to Android programming, and I wanted to try learning by example. I found this open source project on Github: https://github.com/android/platform_packages_apps_contacts I was hoping to open this in Android Studio so I could modify certain elements and see the result by running it, eventually learning how th... | java|android|github|android-studio | 4 | 2015-02-25T23:38:10.010Z | 2,015 | 2 | 23 | 2 | 6,714 | 5 | 495 | 53 | 4 | 0 | false | false | true | false | false | false | low |
28,731,897 | Aligning buttons in Android | <p>Looking for advice on how to better align these buttons. Probably many ways to do this. Perhaps center all three buttons vertically since they are different size buttons? Right now the buttons just look haphazard, because I am brand new to Android programming. </p>
<p>Here is the current button code:</p>
<pre><... | Looking for advice on how to better align these buttons. Probably many ways to do this. Perhaps center all three buttons vertically since they are different size buttons? Right now the buttons just look haphazard, because I am brand new to Android programming. Here is the current button code: [CODE] This is my current ... | android | 0 | 2015-02-25T23:40:41.963Z | 2,015 | 2 | 23 | 2 | 48 | 3 | 326 | 27 | 1 | 1 | true | false | false | false | false | false | zero |
28,731,909 | Android Facebook onActivityResult data returning null | <p>I am a complete newbee to Android development and trying to integrate Facebook Login. Following the getting started I have successfully integrated the Facebook login button. The Facebook login button changes to logout. Then logout to login as intended.</p>
<p>Now the problem is at onActivityResult the data I am rec... | I am a complete newbee to Android development and trying to integrate Facebook Login. Following the getting started I have successfully integrated the Facebook login button. The Facebook login button changes to logout. Then logout to login as intended. Now the problem is at onActivityResult the data I am receiving is n... | android|facebook|android-intent|facebook-android-sdk|android-facebook | 1 | 2015-02-25T23:41:49.510Z | 2,015 | 2 | 23 | 2 | 1,659 | 0 | 2,150 | 53 | 5 | 8 | true | true | false | false | false | false | low |
28,731,916 | Android 5.0 List Animation | <p>I have a list of items that is composed of a <code>View</code> and a <code>TextView</code>. I defined an animation:</p>
<pre><code>View mView = findViewById(R.id.view);
Intent detailIntent = new Intent(this, DetailActivity.class);
String transitionName = getString(R.string.my_transition);
ActivityOptions options = ... | I have a list of items that is composed of a View and a TextView . I defined an animation: [CODE] and in my list_item.xml I have: [CODE] The transition works fine for the first item, but no matter which item in the list I click, the animation always comes from the first item, and if I scroll to the point where the firs... | android|android-animation | 2 | 2015-02-25T23:42:19.667Z | 2,015 | 2 | 23 | 2 | 241 | 1 | 1,190 | 26 | 2 | 5 | true | false | false | false | false | false | low |
28,732,108 | How to separate Interactors that must be in core layer and are triggered from Presenter | <p>I am implementing MVP pattern in Android. I have separate modules for Presenter, Interactors (Business-Logic) and data-access layer. </p>
<ol>
<li>How do I separate Interactors that must be in core layer and are triggered from Presenter and have some kind of thread (must not have Android Framework dependency like H... | I am implementing MVP pattern in Android. I have separate modules for Presenter, Interactors (Business-Logic) and data-access layer. How do I separate Interactors that must be in core layer and are triggered from Presenter and have some kind of thread (must not have Android Framework dependency like Handler or AsyncTas... | android|multithreading|mvp | 1 | 2015-02-25T23:59:37.667Z | 2,015 | 2 | 23 | 2 | 1,455 | 2 | 412 | 87 | 3 | 0 | false | false | false | false | false | false | low |
28,732,223 | Wake Lock does not dim screen | <p>I am writing an Android app, and would like to have my screen dim after acquiring a wake lock. However, my screen does not dim. It just continues (does not crash) as if nothing happened. I know the wake lock IS begin set because of some test code not shown here. The following is my code:</p>
<pre><code>//Relevant d... | I am writing an Android app, and would like to have my screen dim after acquiring a wake lock. However, my screen does not dim. It just continues (does not crash) as if nothing happened. I know the wake lock IS begin set because of some test code not shown here. The following is my code: [CODE] Any ideas? Thanks. | android|android-wake-lock | 1 | 2015-02-26T00:09:50.260Z | 2,015 | 2 | 0 | 3 | 1,110 | 2 | 314 | 29 | 2 | 1 | true | false | false | false | false | false | low |
28,732,227 | Placing variable in URL with Java for Android | <p>Using Android Studio, and Java: How can I take a text field entered variable and push it into a URL that will ultimately render information into a table view. </p>
<p>With swift for iOS I would use something like:</p>
<pre><code> self.getRedditJSON("http://placeprint.xyz/index.php?show=\(usernamesf)&lon... | Using Android Studio, and Java: How can I take a text field entered variable and push it into a URL that will ultimately render information into a table view. With swift for iOS I would use something like: [CODE] In this swift case usernamesf and billtype are variables that were entered through a text field. To render ... | java|android|swift | 0 | 2015-02-26T00:10:14.480Z | 2,015 | 2 | 0 | 3 | 863 | 0 | 434 | 45 | 3 | 2 | true | true | false | false | false | false | zero |
28,732,326 | Android App Code Retrieve | <p>Why are there errors keep showing in cmd when I try to retrieve my java code from the created android .apk file?? Whenever I try to use cmd to go to C:\Users\Akash\Desktop\dex2jar-0.0.9.15>dex2jar classes.dex, after hitting enter, there comes this message : " 'java' is not recognized as an interval or external comma... | Why are there errors keep showing in cmd when I try to retrieve my java code from the created android .apk file?? Whenever I try to use cmd to go to C:\Users\Akash\Desktop\dex2jar-0.0.9.15>dex2jar classes.dex, after hitting enter, there comes this message : " 'java' is not recognized as an interval or external command,... | java|android|android-applicationinfo | -1 | 2015-02-26T00:20:53.457Z | 2,015 | 2 | 0 | 3 | 38 | 1 | 445 | 25 | 3 | 0 | false | false | false | false | false | true | negative |
28,732,372 | Rendering in GLTexture from MediaCodec | <p>I am trying to render videoFrames coming from the Android <a href="http://developer.android.com/reference/android/media/MediaCodec.html" rel="nofollow noreferrer">MediaCodec</a> into a GLTexture. The video is playing, and it seems to work. However, the buffer seems to be messed up. (see image below)</p>
<pre><code>... | I am trying to render videoFrames coming from the Android MediaCodec into a GLTexture. The video is playing, and it seems to work. However, the buffer seems to be messed up. (see image below) [CODE] Here's a screenshot of the GLSurfaceView it gets rendered to: pic.twitter.com/pnNNiqqAsk I've found this answer: Media Co... | java|android|opengl-es|bytebuffer|android-mediacodec | 2 | 2015-02-26T00:26:48.997Z | 2,015 | 2 | 0 | 3 | 823 | 0 | 427 | 38 | 5 | 1 | true | true | false | false | false | false | low |
28,732,393 | Cache many images with picasso | <p>How to cache many images let's say 10 with Picasso before doing any further (that means that I need to run code after caching all images)?</p> | How to cache many images let's say 10 with Picasso before doing any further (that means that I need to run code after caching all images)? | android|picasso | 0 | 2015-02-26T00:28:49.973Z | 2,015 | 2 | 0 | 3 | 154 | 0 | 138 | 30 | 2 | 0 | false | true | false | false | false | false | zero |
28,732,570 | Nexus 5 usb drivers and android device monitor | <p>For a while now i'm trying to connect my Nexus 5 to my computer. My smartphone is recognized and the drivers are up to date and correctly installed. But i can't still use file explorer to transfer files.</p>
<p><img src="https://i.stack.imgur.com/s0P00.png" alt=""></p>
<p>And my second big problem is when i use An... | For a while now i'm trying to connect my Nexus 5 to my computer. My smartphone is recognized and the drivers are up to date and correctly installed. But i can't still use file explorer to transfer files. And my second big problem is when i use Android Studio. I want use my phone to test my application but it's impossib... | android|device-driver | 0 | 2015-02-26T00:48:08.813Z | 2,015 | 2 | 0 | 3 | 373 | 2 | 453 | 46 | 2 | 0 | false | false | false | false | false | false | zero |
28,732,761 | Intellij IDEA 14.0.3 builds all Android variants | <p>When running an Android project in Intelli IDEA 14.0.3, it always builds all build variants. Not only is this slow but if you have an interactive setup on release builds (such as a popup or console read), the build always requires that interaction. This is simply impractical. </p>
<p>Does anyone know of a workaroun... | When running an Android project in Intelli IDEA 14.0.3, it always builds all build variants. Not only is this slow but if you have an interactive setup on release builds (such as a popup or console read), the build always requires that interaction. This is simply impractical. Does anyone know of a workaround for this ?... | android|intellij-idea|android-gradle-plugin | 0 | 2015-02-26T01:06:58.513Z | 2,015 | 2 | 1 | 3 | 181 | 1 | 435 | 48 | 3 | 0 | false | false | false | false | false | false | zero |
28,732,866 | Where are my Eclipse projects? | <p>I have 3 Android projects in Eclipse, that I use in two synchronized computers. I always see my 3 project trees in the left frame (I think it is <code>Project explorer</code>).</p>
<p>But today, I opened Eclipse... and it shows nothing. The workspace path is correct, and the projects are there. I tried to (re)impor... | I have 3 Android projects in Eclipse, that I use in two synchronized computers. I always see my 3 project trees in the left frame (I think it is Project explorer ). But today, I opened Eclipse... and it shows nothing. The workspace path is correct, and the projects are there. I tried to (re)import the projects through ... | android|eclipse|workspace | 0 | 2015-02-26T01:18:52.690Z | 2,015 | 2 | 1 | 3 | 63 | 1 | 772 | 30 | 3 | 0 | false | false | false | false | false | false | zero |
28,732,886 | How to create a folder in the SD card which can read or write only with my App? | <p>I want to create a folder in SD card that only my app can read or write. I don't want the user to have access. Here is my code: </p>
<pre><code>File file = new File(Environment.getExternalStorageDirectory(), "/myfolder");
file.mkdirs();
</code></pre>
<p>It successfully creates a directory named "myfolder", ... | I want to create a folder in SD card that only my app can read or write. I don't want the user to have access. Here is my code: [CODE] It successfully creates a directory named "myfolder", but everyone can access it. How can I secure the created folder (or create a secured folder directly)? | java|android|filesystems | 1 | 2015-02-26T01:21:58.260Z | 2,015 | 2 | 1 | 3 | 124 | 3 | 291 | 79 | 3 | 1 | true | false | false | false | false | false | low |
28,733,014 | send socket request from android client to sails.js 0.11 | <p>have any idea how to make a socket.get() request in android?</p>
<p>I try this: </p>
<pre><code>JSONObject obj = new JSONObject();
obj.put("url","/controller/action");
socketClient.emit("get",obj);
</code></pre>
<p>And the server response is: </p>
<pre><code>Error (SAILS:HOOK:SOCKETS:PARSE_VIRTUAL_REQ):: Failed ... | have any idea how to make a socket.get() request in android? I try this: [CODE] And the server response is: [CODE] | android|node.js|sockets|sails.js | 2 | 2015-02-26T01:37:00.190Z | 2,015 | 2 | 1 | 3 | 1,336 | 3 | 114 | 56 | 4 | 2 | true | false | false | false | false | false | low |
28,733,024 | Gson deserialization of List<String> into realmList<RealmString> | <p>I'm using retrofit with gson to deserialize my json into realm objects. This works very well for the most part. Trouble arises when dealing with </p>
<blockquote>
<p>RealmList(String(or any other basic data type))</p>
</blockquote>
<p>Since Realm doesnt support RealmList where E doesnt extend Realm object, I wra... | I'm using retrofit with gson to deserialize my json into realm objects. This works very well for the most part. Trouble arises when dealing with RealmList(String(or any other basic data type)) Since Realm doesnt support RealmList where E doesnt extend Realm object, I wrapped String in a RealmObject. [CODE] My realm Obj... | java|android|gson|realm | 26 | 2015-02-26T01:38:25.493Z | 2,015 | 2 | 1 | 3 | 17,905 | 4 | 917 | 64 | 4 | 4 | true | false | true | true | true | false | high |
28,733,068 | Android Libgdx Fatal signal 11(SIGSEGV) ,code 1, fault addr 0x0 | <p>I know this is an error with accessing memory outside the readspace but i have absolutely no idea how to fix this. I'm new to android, so i don't exactly know how to print out a more detailed error list from logcat in eclipse. I've tried everything from disposing literally everything, to calling System.gc to setting... | I know this is an error with accessing memory outside the readspace but i have absolutely no idea how to fix this. I'm new to android, so i don't exactly know how to print out a more detailed error list from logcat in eclipse. I've tried everything from disposing literally everything, to calling System.gc to setting al... | java|android|eclipse|libgdx | 1 | 2015-02-26T01:43:31.320Z | 2,015 | 2 | 1 | 3 | 11,370 | 2 | 508 | 63 | 4 | 0 | false | false | true | false | false | false | low |
28,733,120 | How does MediaExtractor parse H264 NAL units? | <p>I'm trying to understand how Android MediaExtractor parses H264 (contained in a container format).</p>
<p>If I examine the H264 stream, I see that it consists of NAL units demarcated by the sequence 00 00 00 01.</p>
<p>The samples returned by MediaExtractor are exactly those NAL units, each beginning with that mar... | I'm trying to understand how Android MediaExtractor parses H264 (contained in a container format). If I examine the H264 stream, I see that it consists of NAL units demarcated by the sequence 00 00 00 01. The samples returned by MediaExtractor are exactly those NAL units, each beginning with that marker -- except that,... | android|parsing|h.264|mediaextractor | 2 | 2015-02-26T01:49:39.823Z | 2,015 | 2 | 1 | 3 | 2,028 | 1 | 739 | 45 | 4 | 0 | false | false | false | false | false | false | low |
28,733,143 | Initialize correct class from button in CardView | <p>EDIT: Found my answer in this post: <a href="https://stackoverflow.com/a/28304164/2911440">https://stackoverflow.com/a/28304164/2911440</a></p>
<hr>
<p>I'm trying to initialize functions from a button inside a CardView.</p>
<pre><code><TextView
android:id="@+id/title"
android:layout_width="wrap_content... | EDIT: Found my answer in this post: https://stackoverflow.com/a/28304164/2911440 I'm trying to initialize functions from a button inside a CardView. [CODE] But in my attempt to find an identifier for which function/class to run(that is, which button I have pressed) it gave the same result for all four buttons. I'm crea... | java|android|android-layout|android-activity|android-cardview | 1 | 2015-02-26T01:52:04.473Z | 2,015 | 2 | 1 | 3 | 355 | 1 | 540 | 48 | 5 | 3 | true | false | false | false | false | false | low |
28,733,168 | Drop shadow animation on ViewPager when pressed | <p>I want my ViewPager to have the same material design animation as a material design themed Button, where when you press it, you see the elevation change and a shadow appear below the button. The effect is shown here in the material design guidelines under the material response video: <a href="http://www.google.com/d... | I want my ViewPager to have the same material design animation as a material design themed Button, where when you press it, you see the elevation change and a shadow appear below the button. The effect is shown here in the material design guidelines under the material response video: http://www.google.com/design/spec/a... | android|android-viewpager|android-animation|material-design | 1 | 2015-02-26T01:54:56.173Z | 2,015 | 2 | 1 | 3 | 2,136 | 1 | 897 | 47 | 4 | 0 | false | false | false | false | false | false | low |
28,733,192 | Is AppObservable a MUST for android? | <p>In an android app , is <strong>AppObservable</strong> a MUST for each observable ?</p>
<p>I have a <strong>retrofit</strong> generated Observable , injected by <strong>Dagger</strong> :</p>
<pre><code>public class UserInfoFragment extends Fragment {
@Inject
Observable<User> user;
}
</code></pre>
<p>In thi... | In an android app , is AppObservable a MUST for each observable ? I have a retrofit generated Observable , injected by Dagger : [CODE] In this example should I override the 'user' in the onViewCreated() like this ? [CODE] Moreover , if I don't inject Observable directly , instead , I inject an Object containing an Obse... | android|retrofit|rx-java|dagger|rx-android | 2 | 2015-02-26T01:58:34Z | -1 | -1 | -1 | -1 | 1,242 | 1 | 906 | 36 | 5 | 5 | true | false | false | false | false | false | low |
28,733,211 | Android textToSpeach not working for me | <p>I am trying to test the TextToSpeach engine using the tutorial from here:<a href="http://code.tutsplus.com/tutorials/android-sdk-using-the-text-to-speech-engine--mobile-8540" rel="nofollow">Android TextToSpeach tutorial</a></p>
<p>My setup is AndroidStudio and I use a real device for testing the result.</p>
<p>So ... | I am trying to test the TextToSpeach engine using the tutorial from here: Android TextToSpeach tutorial My setup is AndroidStudio and I use a real device for testing the result. So my app compiles fine, opens on my device just fine, I enter a text there and click on the button, but nothing happens. No sound can be hear... | android | 0 | 2015-02-26T02:00:22.490Z | 2,015 | 2 | 2 | 3 | 46 | 1 | 734 | 39 | 1 | 0 | false | false | false | false | false | false | zero |
28,733,397 | Android: NullPointerException using getCacheDir() | <p>I'm building an app that allows users to record and upload <30 second sounds, and I'm trying to figure out a way to temporarily store the sound on the device (so that the user can review it, etc) until it is uploaded to the server. I thought using getCacheDir() for the filepath should be the solution, but I keep ... | I'm building an app that allows users to record and upload <30 second sounds, and I'm trying to figure out a way to temporarily store the sound on the device (so that the user can review it, etc) until it is uploaded to the server. I thought using getCacheDir() for the filepath should be the solution, but I keep gettin... | android|caching|nullpointerexception | 0 | 2015-02-26T02:22:19.067Z | 2,015 | 2 | 2 | 3 | 971 | 2 | 843 | 49 | 3 | 2 | true | false | false | false | false | false | zero |
28,733,439 | Parceable Arraylist of objects | <p>I'm trying to pass an ArrayList of Person Objects from the MainActivity to SecondActivity to print the details of the person in a custom listView adapter.</p>
<p>The application runs but it crashes when it reaches<code>startActivity()</code> to the SecondActivity after passing the ArrayList of Persons.</p>
<p>Pers... | I'm trying to pass an ArrayList of Person Objects from the MainActivity to SecondActivity to print the details of the person in a custom listView adapter. The application runs but it crashes when it reaches startActivity() to the SecondActivity after passing the ArrayList of Persons. Person implements Parcelable [CODE]... | java|android|parcelable | 1 | 2015-02-26T02:26:45.167Z | 2,015 | 2 | 2 | 3 | 705 | 3 | 434 | 30 | 3 | 5 | true | false | false | false | false | false | low |
28,733,531 | Reading Float values in android app being sent from RFduino | <p>i am using the lann rfduino test app and its service as basis for my android app. here is a link to his github account [<a href="https://github.com/lann/RFDuinoTest]" rel="nofollow">https://github.com/lann/RFDuinoTest]</a>
I have the following Code in RFDUINO so that everytime i send a value to the rfduino from my a... | i am using the lann rfduino test app and its service as basis for my android app. here is a link to his github account [ https://github.com/lann/RFDuinoTest] I have the following Code in RFDUINO so that everytime i send a value to the rfduino from my android app it sends me back the float value 2.34 [CODE] when i try t... | android|floating-point|bluetooth-lowenergy|android-bluetooth|rfduino | 1 | 2015-02-26T02:36:49.190Z | 2,015 | 2 | 2 | 3 | 422 | 0 | 506 | 59 | 5 | 2 | true | true | false | false | false | false | low |
28,733,549 | Out of memory, an in-memory stream | <p>When I use a very large file, the error happens out of memory, no way to treat this problem, or why not be happening in the code below?</p>
<pre><code> ByteArrayOutputStream baos = new ByteArrayOutputStream();
//10*1024 = 10KB
byte[] byteBuffer = new byte[20*2048];
int i = Integer.MAX_VALUE;
... | When I use a very large file, the error happens out of memory, no way to treat this problem, or why not be happening in the code below? [CODE] | android | 0 | 2015-02-26T02:39:18.160Z | 2,015 | 2 | 2 | 3 | 603 | 1 | 142 | 34 | 1 | 1 | true | false | false | false | false | false | zero |
28,733,740 | Android: Set an image to an ImageButton in a separate thread (background) | <p>I am using a ViewPager and it's horizontal screen sliding feature to swipe between Fragments that each contain an image. </p>
<p>However, the pages are very slow to load since I am currently loading these images on the UI Thread. Here's how I am currently doing it:</p>
<pre><code>@Override
protected void onCreate(... | I am using a ViewPager and it's horizontal screen sliding feature to swipe between Fragments that each contain an image. However, the pages are very slow to load since I am currently loading these images on the UI Thread. Here's how I am currently doing it: [CODE] I'd like to simply load my image (R.drawable.picture_on... | java|android|multithreading|background|intentservice | 0 | 2015-02-26T03:03:39.327Z | 2,015 | 2 | 3 | 3 | 167 | 0 | 477 | 73 | 5 | 1 | true | true | false | false | false | false | zero |
28,733,853 | Android Camera Application: Saving and Displaying Bitmaps | <p>I'm working on this Camera application but I'm having trouble displaying the image that the user takes. The camera, preview, and capture buttons work perfectly on the main activity. Right now, the application saves the photo to <code>Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), "My... | I'm working on this Camera application but I'm having trouble displaying the image that the user takes. The camera, preview, and capture buttons work perfectly on the main activity. Right now, the application saves the photo to Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES), "MyCameraApp"... | java|android|android-activity|camera|internal | 0 | 2015-02-26T03:17:05.200Z | 2,015 | 2 | 3 | 3 | 499 | 2 | 635 | 57 | 5 | 2 | true | false | false | false | false | false | zero |
28,733,916 | Android permission setting for platform apps | <p>Inside adb shell I am able to set and read back:</p>
<pre><code>setprop audio.foo.bar 1
getprop audio.foo.bar
</code></pre>
<p>inside my code:</p>
<pre><code>SystemProperties.set("audio.foo.bar","1");
</code></pre>
<p>above code triggered permission error.</p>
<p>what I have done so far:</p>
<ol>
<li><p>proper... | Inside adb shell I am able to set and read back: [CODE] inside my code: [CODE] above code triggered permission error. what I have done so far: property_service.c tried to add oneof the following, without success. {"audio.foo.bar.", AID_MEDIA, 0 }; {"audio.foo.bar", AID_SYSTEM, 0 }; {"audio.foo.", AID_SYSTEM, 0 }; {"aud... | android|android-permissions | 0 | 2015-02-26T03:24:25.553Z | 2,015 | 2 | 3 | 3 | 412 | 1 | 571 | 44 | 2 | 2 | true | false | false | false | false | false | zero |
28,733,957 | How to add a functional search bar to a navigation drawer? | <p>I am developing a wallpaper app that loads it's images from Picasa I have a Navigation drawer that retrieves it's items name from the Picasa album names
(I am using the source code of this tutorial <a href="http://www.androidhive.info/2014/08/android-building-free-wallpapers-app-part-2/" rel="nofollow">Link</a> ), ... | I am developing a wallpaper app that loads it's images from Picasa I have a Navigation drawer that retrieves it's items name from the Picasa album names (I am using the source code of this tutorial Link ), so I want to add a search bar that filters the items in the navigation drawer, any idea on how I could accomplish ... | android|filter|navigation-drawer|searchbar | 0 | 2015-02-26T03:29:34.753Z | 2,015 | 2 | 3 | 3 | 4,637 | 2 | 325 | 58 | 4 | 0 | false | false | true | false | false | false | zero |
28,733,966 | Accessing Microsoft SQL DB from Android App | <p>I am trying to access Microsoft SQL Database through Android App. </p>
<p>I have extracted data from mysql using JSON on PHP (using help of <a href="http://loopj.com/android-async-http/" rel="nofollow">http://loopj.com/android-async-http/</a>) as HTTP request.</p>
<p>I am not sure how to go about doing it for Micr... | I am trying to access Microsoft SQL Database through Android App. I have extracted data from mysql using JSON on PHP (using help of http://loopj.com/android-async-http/ ) as HTTP request. I am not sure how to go about doing it for Microsoft SQL DB. Can somebody guide me to extract data from microsoft SQL? This is runni... | android|sql | -1 | 2015-02-26T03:30:28.413Z | 2,015 | 2 | 3 | 3 | 97 | 1 | 367 | 43 | 2 | 0 | false | false | false | false | false | true | negative |
28,734,082 | Android location based system to record in Server | <p>We would like to implement a project which seems easy but however seeking your advices and guidance. </p>
<p>Would like to create an Android app.,
Once our users downloaded and installed APK file, they will sign-up via HTML - this part is OK. Once admin confirmed their registration, users sign-in. This part is also... | We would like to implement a project which seems easy but however seeking your advices and guidance. Would like to create an Android app., Once our users downloaded and installed APK file, they will sign-up via HTML - this part is OK. Once admin confirmed their registration, users sign-in. This part is also OKAY. Belie... | android|cordova|location|maps|server | 0 | 2015-02-26T03:43:08.837Z | 2,015 | 2 | 3 | 3 | 46 | 0 | 734 | 49 | 5 | 0 | false | true | false | false | false | false | zero |
28,734,089 | Refresh Fragment Listview with Custom BaseAdapter | <p>I have been pulling out what little hair I have left trying to resolve this. I have my Main activity that has a "multi-functional" refresh button. This refresh button does several things, but it needs to end by refreshing a listview I have on one of the attaching fragments.</p>
<p>The refresh button on the main a... | I have been pulling out what little hair I have left trying to resolve this. I have my Main activity that has a "multi-functional" refresh button. This refresh button does several things, but it needs to end by refreshing a listview I have on one of the attaching fragments. The refresh button on the main activity is al... | java|android|listview|fragment|android-adapter | 0 | 2015-02-26T03:43:49.370Z | 2,015 | 2 | 3 | 3 | 415 | 0 | 915 | 49 | 5 | 3 | true | true | false | false | false | false | zero |
28,734,099 | How to listen to Android Network changed | <p>I want to develop a app remains TCP connection to server for a period of time(like one or two minutes) but I have to consider device's IP changed since client might be moving during this period. so I wonder how can we determine if a Android device has changed its network environment (goes from Wifi to 4G or vise ver... | I want to develop a app remains TCP connection to server for a period of time(like one or two minutes) but I have to consider device's IP changed since client might be moving during this period. so I wonder how can we determine if a Android device has changed its network environment (goes from Wifi to 4G or vise versa)... | java|android | 0 | 2015-02-26T03:44:46.397Z | 2,015 | 2 | 3 | 3 | 1,119 | 1 | 414 | 40 | 2 | 0 | false | false | false | false | false | false | zero |
28,734,190 | Load sliding layer after camera bitmap/image save | <p>Im Still fresh so go easy.</p>
<p>This is my OnClickListener for my camera </p>
<pre><code>buttonClick = (Button) findViewById(R.id.btnCapture);
buttonClick.setOnClickListener(new OnClickListener() {
public void onClick(View v) {
preview.mCamera.takePicture(shutterCallback, rawCallback, jp... | Im Still fresh so go easy. This is my OnClickListener for my camera [CODE] And this is the code to save to sd card [CODE] and then i call my sliding layer up [CODE] How do i implement my OnClickListener from my camera with the buttonClicked from my sliding layer in one instance. I tried combining the two but that gave ... | java|android | 1 | 2015-02-26T03:56:15.603Z | 2,015 | 2 | 3 | 3 | 29 | 1 | 526 | 49 | 2 | 3 | true | false | false | false | false | false | low |
28,734,194 | android studio cannot resilve symbol LocationClient | <p>I'm working with AndroidStudio and trying to use the googleplayservices for geocode.</p>
<p>I've followed the android tutorial:
<a href="http://developer.android.com/google/play-services/setup.html" rel="nofollow">http://developer.android.com/google/play-services/setup.html</a></p>
<p>but in my imports i've got un... | I'm working with AndroidStudio and trying to use the googleplayservices for geocode. I've followed the android tutorial: http://developer.android.com/google/play-services/setup.html but in my imports i've got underlined : import android.location. LocationClient ; that says: Cannot resolve symbol Location Client Any ide... | android|android-studio|google-play-services|location-client | 1 | 2015-02-26T03:56:28.037Z | 2,015 | 2 | 3 | 3 | 2,521 | 2 | 409 | 51 | 4 | 3 | true | false | false | false | false | false | low |
28,734,197 | Android - ToggleButton losses it's state after scrolling ListView | <p>I have been trying from two days to solve this problem. I have seen many questions related to this problem. But they didn't work for me.<br>
I have a custom <code>ListView</code>. It's every row includes one <code>ImageView</code>, two <code>TextView</code>s and one <code>ToggleButton</code>. These all loads fine. W... | I have been trying from two days to solve this problem. I have seen many questions related to this problem. But they didn't work for me. I have a custom ListView . It's every row includes one ImageView , two TextView s and one ToggleButton . These all loads fine. When I change state of ToggleButton to true , then when ... | java|android|android-listview|android-arrayadapter|android-togglebutton | 1 | 2015-02-26T03:56:56.670Z | 2,015 | 2 | 3 | 3 | 949 | 3 | 460 | 65 | 5 | 1 | true | false | false | false | false | false | low |
28,734,205 | How to setup preference activity correctly? | <p>I am working on getting my preferences screen setup, but I can't seem to get my preference activity working right.</p>
<p>I created a new blank activity called <code>SettingsActivity</code> that extends <code>PreferenceActivity</code> and removed <code>setContentView(R.layout.activity_settings);</code> from the <co... | I am working on getting my preferences screen setup, but I can't seem to get my preference activity working right. I created a new blank activity called SettingsActivity that extends PreferenceActivity and removed setContentView(R.layout.activity_settings); from the onCreate method, and replaced it with addPreferencesF... | java|android | 3 | 2015-02-26T03:58:02.913Z | 2,015 | 2 | 3 | 3 | 6,389 | 1 | 847 | 43 | 2 | 3 | true | false | true | false | false | false | low |
28,734,228 | Simultaneous async requests with OkHttp | <p>My app is using long polling to keep some local state up to date, but it also needs to communicate with the server while independently/simultaneously maintaining the long-polling connection. </p>
<p>The trouble is, OkHttp blocks any other calls to the server while it waits for the long-polling connection to receive... | My app is using long polling to keep some local state up to date, but it also needs to communicate with the server while independently/simultaneously maintaining the long-polling connection. The trouble is, OkHttp blocks any other calls to the server while it waits for the long-polling connection to receive data or tim... | android|networking|okhttp | 3 | 2015-02-26T04:00:05.370Z | 2,015 | 2 | 4 | 3 | 2,947 | 0 | 883 | 39 | 3 | 3 | true | true | true | false | false | false | low |
28,734,303 | Zebra-striping color-effect on RecycledView widget rows | <p>What I'm trying to do is to assign a different color to every other row in a RecycledView. I created a custom RecycledView.Adapter, and in onCreateViewHolder method I have this: </p>
<pre><code>// Create a row_folder view
View view = inflater.inflate(R.layout.row_folder, parent, false);
if(position % 2 == 0) {
... | What I'm trying to do is to assign a different color to every other row in a RecycledView. I created a custom RecycledView.Adapter, and in onCreateViewHolder method I have this: [CODE] The color does not get assigned. What am I missing ? Thanks. edited: row_folder xml [CODE] | android|android-recyclerview | 4 | 2015-02-26T04:08:56.317Z | 2,015 | 2 | 4 | 3 | 2,461 | 2 | 275 | 55 | 2 | 2 | true | false | false | false | false | false | low |
28,734,314 | How to use the same getView / onBindView code outside of an adapter without repeating it | <p>I'd like to know how one might re-use some code more efficiently to display a view that would adapt to a getView()[BaseAdapter], onBindView() [RecyclerView] or a onCreateView() [Fragment] to populate a view?</p>
<blockquote>
<p>Custom RecyclerView adapter which populates a whole list of cardViews</p>
</blockquote... | I'd like to know how one might re-use some code more efficiently to display a view that would adapt to a getView()[BaseAdapter], onBindView() [RecyclerView] or a onCreateView() [Fragment] to populate a view? Custom RecyclerView adapter which populates a whole list of cardViews [CODE] Now I also want to populate a singl... | android|android-fragments|adapter|android-recyclerview | 2 | 2015-02-26T04:10:23.353Z | 2,015 | 2 | 4 | 3 | 565 | 1 | 550 | 88 | 4 | 2 | true | false | false | false | false | false | low |
28,734,352 | Split String if it has number | <p>Hi Guys its been a while since I ask another question,</p>
<p>I have this String which consist of a name and a number
Ex.</p>
<blockquote>
<p>String myString = "give11arrow123test2356read809cell1245cable1257give222..."</p>
</blockquote>
<p>Now what I am trying to do is to split it whenever there is a number att... | Hi Guys its been a while since I ask another question, I have this String which consist of a name and a number Ex. String myString = "give11arrow123test2356read809cell1245cable1257give222..." Now what I am trying to do is to split it whenever there is a number attached to it I have to split it so that I could have a re... | java|android|regex|split | 1 | 2015-02-26T04:14:07.040Z | 2,015 | 2 | 4 | 3 | 141 | 3 | 529 | 29 | 4 | 0 | false | false | false | false | false | false | low |
28,734,569 | changing bluetooth low energy gatt timeout or flushing read stream to detect disconnect event quicker | <p>I am looking for an android way to flush the characteristics the app receives from a Ble device, or at least know from the data that the connection has been lost as soon as it actually is except around 15 seconds after it disconnected. If there is a way to change the gatt connection timeout, that would be significan... | I am looking for an android way to flush the characteristics the app receives from a Ble device, or at least know from the data that the connection has been lost as soon as it actually is except around 15 seconds after it disconnected. If there is a way to change the gatt connection timeout, that would be significantly... | android|bluetooth-lowenergy|gatt | 6 | 2015-02-26T04:37:32.680Z | 2,015 | 2 | 4 | 3 | 4,750 | 5 | 719 | 101 | 3 | 0 | false | false | true | false | false | false | medium |
28,734,575 | API for backbone will be accessible by other website or devices | <p>I am new in backbone, I am using php with Laravel framework as my server side language. I read to creating a single page application, I should create an API on my server side. </p>
<ol>
<li><strong>Is this right (I should have an API for backbone single page application)?</strong></li>
<li><strong>Is this secure? (... | I am new in backbone, I am using php with Laravel framework as my server side language. I read to creating a single page application, I should create an API on my server side. Is this right (I should have an API for backbone single page application)? Is this secure? (Other websites or devices like Android software can ... | javascript|php|android|laravel|backbone.js | 0 | 2015-02-26T04:38:01.477Z | 2,015 | 2 | 4 | 3 | 47 | 0 | 331 | 63 | 5 | 0 | false | true | false | false | false | false | zero |
28,734,594 | Camera2 video recording | <p>I've implemented <a href="https://github.com/googlesamples/android-Camera2Basic/blob/master/Application/src/main/java/com/example/android/camera2basic/Camera2BasicFragment.java" rel="noreferrer">this</a> offical Google <code>Camera2</code> example with minor changes into my app to take pictures in a custom camera. I... | I've implemented this offical Google Camera2 example with minor changes into my app to take pictures in a custom camera. I need to also provide the option for video recording, but I can't find an example- maybe because the Camera2 API is relatively new. Does anyone have examples/tutorials on how to either A) modify the... | android|android-camera | 8 | 2015-02-26T04:39:39.887Z | 2,015 | 2 | 4 | 3 | 13,159 | 1 | 464 | 23 | 2 | 0 | false | false | true | true | false | false | medium |
28,734,599 | How to style ActionBar back icon from Android appcompat v7 21 library | <p>I know how to style the DrawerArrowToggle's Back Arrow icon from <a href="https://stackoverflow.com/questions/26439572/how-to-style-the-drawerarrowtoggle-from-android-appcompat-v7-21-library">here</a></p>
<p>But how to style the Up/Back icon (Arrow) as I don't use DrawerLayout.</p>
<p>Thanks.</p> | I know how to style the DrawerArrowToggle's Back Arrow icon from here But how to style the Up/Back icon (Arrow) as I don't use DrawerLayout. Thanks. | android|android-actionbar | -1 | 2015-02-26T04:40:43.830Z | 2,015 | 2 | 4 | 3 | 491 | 1 | 148 | 69 | 2 | 0 | false | false | false | false | false | true | negative |
28,734,809 | Android ImageButton setColorFilter Not Working | <p>I've look for posts that answer this issue, but none of them are working for me, so I think I have a fundamental misunderstanding of just how it's supposed to work. I have an ImageButton which has a png file applied to it. The png is mostly transparent with the exception of a white arrow. I want to tint the arrow re... | I've look for posts that answer this issue, but none of them are working for me, so I think I have a fundamental misunderstanding of just how it's supposed to work. I have an ImageButton which has a png file applied to it. The png is mostly transparent with the exception of a white arrow. I want to tint the arrow red w... | android|android-imagebutton | 7 | 2015-02-26T05:03:43.300Z | 2,015 | 2 | 5 | 3 | 7,730 | 2 | 572 | 46 | 2 | 1 | true | false | true | false | false | false | medium |
28,734,817 | Saving the pattern created by user in android? | <p>I have use used the <code>Lock pattern library</code> in my <code>navigation drawer</code> project and it works fine but now i want that for each item of <code>navigation drawer</code>, it should ask for different <code>pattern screen</code> (eg. <code>1st item 3x3</code>,<code>2nd item 4x4</code>..) and also want t... | I have use used the Lock pattern library in my navigation drawer project and it works fine but now i want that for each item of navigation drawer , it should ask for different pattern screen (eg. 1st item 3x3 , 2nd item 4x4 ..) and also want to store that pattern individually. This is the link for the lock pattern libr... | android | 1 | 2015-02-26T05:04:00.977Z | 2,015 | 2 | 5 | 3 | 72 | 0 | 325 | 46 | 1 | 0 | false | true | false | false | false | false | low |
28,734,862 | android Load Image From gallary from a picasa album or from the Google+ Photos getting null | <p>I want to load image from gallary into code android.When i select an image from a picassa album or google+ photo, it retuns null.
I tried to get data by uri.getPath(), and it returns
"/picasa/item/5667820546730991250 ";</p>
<p>How to get the image? </p> | I want to load image from gallary into code android.When i select an image from a picassa album or google+ photo, it retuns null. I tried to get data by uri.getPath(), and it returns "/picasa/item/5667820546730991250 "; How to get the image? | android|android-gallery|android-bitmap | 0 | 2015-02-26T05:09:21.260Z | 2,015 | 2 | 5 | 3 | 229 | 1 | 241 | 91 | 3 | 0 | false | false | false | false | false | false | zero |
28,734,877 | android how to make edittext input can't be started with zero(0) | <p>how to make edittext input can't be started with zero? example: 01000 or 0987654321 so on , or we input some value first , example 98124723475 then we add zero(0) in front 098124723475. i am making an app to calculate some prices this bugged me. Suppose the user found this, the edittext is able to input "0" that's b... | how to make edittext input can't be started with zero? example: 01000 or 0987654321 so on , or we input some value first , example 98124723475 then we add zero(0) in front 098124723475. i am making an app to calculate some prices this bugged me. Suppose the user found this, the edittext is able to input "0" that's bad. | android | 0 | 2015-02-26T05:10:30.987Z | 2,015 | 2 | 5 | 3 | 2,841 | 5 | 320 | 64 | 1 | 0 | false | false | true | false | false | false | zero |
28,734,888 | AltBeacon Library shows beacons only once and then stops showing them | <p>I experience an issue and can reproduce it on different devices with different Android OS.
I get the expected behaviour with iBeacon scanning for the first time. When I scan the next time I get no Beacons. The result list in delegate is empty. I printed a count on the setRangeNotifier with the size of the beacons b... | I experience an issue and can reproduce it on different devices with different Android OS. I get the expected behaviour with iBeacon scanning for the first time. When I scan the next time I get no Beacons. The result list in delegate is empty. I printed a count on the setRangeNotifier with the size of the beacons but a... | altbeacon|android-ibeacon | 2 | 2015-02-26T05:11:31.957Z | 2,015 | 2 | 5 | 3 | 982 | 3 | 570 | 69 | 2 | 2 | true | false | false | false | false | false | low |
28,734,964 | How does Android's SensorManager.getRotation work (i.e. the math)? | <p>I generally understand what it's intended to do ("Computes the inclination matrix I as well as the rotation matrix R transforming a vector from the device coordinate system to the world's coordinate system") but I don't get it <em>how</em> it works.</p>
<p>The <a href="https://developer.android.com/reference/androi... | I generally understand what it's intended to do ("Computes the inclination matrix I as well as the rotation matrix R transforming a vector from the device coordinate system to the world's coordinate system") but I don't get it how it works. The javadoc is well written and the source is available here but I don't unders... | android|android-sensors|sensormanager | 0 | 2015-02-26T05:17:48.860Z | 2,015 | 2 | 5 | 3 | 299 | 1 | 613 | 66 | 3 | 1 | true | false | false | false | false | false | zero |
28,734,991 | How to use scrypt to produce a 256-bit key? | <p>I'm using scrypt to produce key derivation, but the problem is the output is bigger than 256bit and I want to use it in AES-GCM with 256 bit key. So how can I do that? I'm tying to make an application on Android. </p>
<p>Edit :
I'm sorry guys for not giving you more information
Okay .. the library that i'm using ... | I'm using scrypt to produce key derivation, but the problem is the output is bigger than 256bit and I want to use it in AES-GCM with 256 bit key. So how can I do that? I'm tying to make an application on Android. Edit : I'm sorry guys for not giving you more information Okay .. the library that i'm using is this https:... | android|encryption|hash|cryptography|scrypt | 1 | 2015-02-26T05:19:56.750Z | 2,015 | 2 | 5 | 3 | 2,226 | 1 | 524 | 43 | 5 | 0 | false | false | false | false | false | false | low |
28,735,051 | LinearLayout inside ScrollView | <p>In this xml I am trying to display 7 ImageView and hence I am using a ScrollView. But, in the emulator it does not display the first ImageView fully. Only its lower half is getting displayed. How do I resolve this?</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http:/... | In this xml I am trying to display 7 ImageView and hence I am using a ScrollView. But, in the emulator it does not display the first ImageView fully. Only its lower half is getting displayed. How do I resolve this? [CODE] | android|xml|android-layout|scrollview | 2 | 2015-02-26T05:24:27.633Z | 2,015 | 2 | 5 | 3 | 5,654 | 3 | 221 | 30 | 4 | 1 | true | false | true | false | false | false | low |
28,735,053 | CustomEditText AppCombat tinting | <p>I have a <code>CustomEditText</code>, because i want to apply a font inside the <code>CustomView</code>. But also iwant to change the color of the underline with the new Appcombat style attributes <code>colorControlNormal</code> , ....
unfortunately the color changes doesn't work for the CustomEditText.</p> | I have a CustomEditText , because i want to apply a font inside the CustomView . But also iwant to change the color of the underline with the new Appcombat style attributes colorControlNormal , .... unfortunately the color changes doesn't work for the CustomEditText. | android|android-custom-view|android-appcompat|android-styles | 0 | 2015-02-26T05:24:42.200Z | 2,015 | 2 | 5 | 3 | 37 | 1 | 267 | 32 | 4 | 0 | false | false | false | false | false | false | zero |
28,735,084 | How to Scale, Move & Zoom In, Zoom Out Textview? | <p>I want to Scale, Move & Zoom IN, Zoom Out Textview in My project.
Is there any library for do this task?</p>
<p>Refere App TextGram i want to make same as like this
<a href="https://play.google.com/store/apps/details?id=codeadore.textgram" rel="nofollow">https://play.google.com/store/apps/details?id=codeadore.t... | I want to Scale, Move & Zoom IN, Zoom Out Textview in My project. Is there any library for do this task? Refere App TextGram i want to make same as like this https://play.google.com/store/apps/details?id=codeadore.textgram All done like clipart, stickers etc i faced issue only in Text drawaing like this. | android|scale|textview|translate | 3 | 2015-02-26T05:27:16.923Z | 2,015 | 2 | 5 | 3 | 4,454 | 3 | 305 | 48 | 4 | 0 | false | false | true | false | false | false | low |
28,735,088 | How to show imageview as a slider in Horizontalview where it will display as list but focous only on one item | <p><img src="https://i.stack.imgur.com/uuLZk.png" alt="Below image is what i am trying to achieve "></p>
<p>i tried Horizontal Scroll view , Horizontal list view (custom lib) . All i can create is a horizontally scrollable images but what i really needed is to swipe one by one images , where a smaller position of othe... | i tried Horizontal Scroll view , Horizontal list view (custom lib) . All i can create is a horizontally scrollable images but what i really needed is to swipe one by one images , where a smaller position of other image is also need to visible to user | java|android|xml | 2 | 2015-02-26T05:27:41.627Z | 2,015 | 2 | 5 | 3 | 41 | 3 | 250 | 109 | 3 | 0 | false | false | false | false | false | false | low |
28,735,150 | How to handle client side session timeout in ibm worklight hybrid mobile application | <p>I want to know if there is any way to check session expiry in client app when it is launched (or when app resumes).</p>
<p>At present I am making use of securing each adapter procedure with a securityTest, so that when the app resumes and user tries to click and make call to server, it throws auth challenge and sho... | I want to know if there is any way to check session expiry in client app when it is launched (or when app resumes). At present I am making use of securing each adapter procedure with a securityTest, so that when the app resumes and user tries to click and make call to server, it throws auth challenge and show login scr... | android|client|ibm-mobilefirst|session-timeout | 0 | 2015-02-26T05:32:15.967Z | 2,015 | 2 | 5 | 3 | 975 | 1 | 578 | 84 | 4 | 0 | false | false | false | false | false | false | zero |
28,735,186 | Get Logged In user Image and Display it in the navigation Drawer | <p>I am using google API to login I am getting the URL Of the person and his google plus photo , How do I save it in local so that I can Retrieve it and display it in my navigation drawer .</p>
<p>I used <a href="http://www.androidhive.info/2014/02/android-login-with-google-plus-account-1/" rel="nofollow">this</a> tut... | I am using google API to login I am getting the URL Of the person and his google plus photo , How do I save it in local so that I can Retrieve it and display it in my navigation drawer . I used this tut for google Plus Sigin and this link for nav drawer I need to show logged in user picture in the navigation drawer how... | android|navigation-drawer|android-appcompat|google-api-client | -1 | 2015-02-26T05:35:06.653Z | 2,015 | 2 | 5 | 3 | 644 | 1 | 365 | 64 | 4 | 1 | true | false | false | false | false | true | negative |
28,735,187 | Using Quasar Fibers in Android App | <p>I have been trying to use Quasar fibers in my app, but I am wondering if this library not suitable to the Android JVMs.</p>
<p>I have in my <code>build.gradle</code>:</p>
<pre><code>configurations {
quasar
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:... | I have been trying to use Quasar fibers in my app, but I am wondering if this library not suitable to the Android JVMs. I have in my build.gradle : [CODE] When running a build I get the following output in the gradle console: [CODE] I am stuck, anyone know what I should do? Could this even work? | java|android|android-studio|gradle|quasar | 4 | 2015-02-26T05:35:08.533Z | 2,015 | 2 | 5 | 3 | 1,164 | 1 | 296 | 34 | 5 | 2 | true | false | false | false | false | false | low |
28,735,215 | How to consume dotnet web service with volley? | <p>There are simple connections to consume a php page, but lack information on how to consume a <strong>DotNet</strong> <strong>webservice</strong>. This WebService returns a string in json and the problem is how to make Volley to call the webservice <strong>method</strong>. If you try to call a webservice with volley ... | There are simple connections to consume a php page, but lack information on how to consume a DotNet webservice . This WebService returns a string in json and the problem is how to make Volley to call the webservice method . If you try to call a webservice with volley it shows only the xml configuration page, but is not... | android|json|web-services|android-volley | -5 | 2015-02-26T05:37:50.907Z | 2,015 | 2 | 5 | 3 | 821 | 1 | 606 | 46 | 4 | 0 | false | false | false | false | false | true | negative |
28,735,217 | How to use soundPool in a custom view class? | <p>I am making a simple demo which with a <strong>custom view class</strong> extends the view which want to shows random circle with random color who can appear randomly on a canvas.</p>
<p>I have already make the random issue and set a <strong>onTouchEvent</strong> to judge whether the Click is in the circle,if the c... | I am making a simple demo which with a custom view class extends the view which want to shows random circle with random color who can appear randomly on a canvas. I have already make the random issue and set a onTouchEvent to judge whether the Click is in the circle,if the circle was clicked then the app plays a short ... | java|android|android-activity|android-custom-view|soundpool | -3 | 2015-02-26T05:37:55.850Z | 2,015 | 2 | 5 | 3 | 474 | 1 | 844 | 44 | 5 | 2 | true | false | false | false | false | true | negative |
28,735,284 | Android: how to read html files from internal storage and load in webview | <p>i've searched alot but nothing solves my problem. i want to build an app which reads html files from tab's internal folder. the path of html files is /file manager/device storage/Android/data/K1.html.<br>
The problem is that the number of web pages may increase or decrease by user and i want to build the functionali... | i've searched alot but nothing solves my problem. i want to build an app which reads html files from tab's internal folder. the path of html files is /file manager/device storage/Android/data/K1.html. The problem is that the number of web pages may increase or decrease by user and i want to build the functionality that... | java|android|html|webview | -2 | 2015-02-26T05:42:25.403Z | 2,015 | 2 | 5 | 3 | 2,526 | 1 | 571 | 73 | 4 | 1 | true | false | false | false | false | true | negative |
28,735,375 | Read trace file from android APP | <p>I am trying to read content of /sys/kernel/debug/tracing/trace file from my code but i am unable to do so.I have tried mounting using
mount -o rw,remount -t debugfs nodev /sys/kernel/debug
and have also done chmod -R 777 /sys/kernel/debug</p>
<pre><code> File myFile = new File("/sys/kernel/debug/tracing/tr... | I am trying to read content of /sys/kernel/debug/tracing/trace file from my code but i am unable to do so.I have tried mounting using mount -o rw,remount -t debugfs nodev /sys/kernel/debug and have also done chmod -R 777 /sys/kernel/debug [CODE] | android|trace|systrace | 0 | 2015-02-26T05:50:33.853Z | 2,015 | 2 | 5 | 3 | 602 | 1 | 245 | 32 | 3 | 1 | true | false | false | false | false | false | zero |
28,735,395 | How to get specific HTML items into an ArrayList of Strings | <p>I'm trying to understand how to make use of the HTML data from the APOD archive. Preferably my end goal is to end up with an ArrayList of Strings like so:</p>
<p>From this url <code>view-source:http://apod.nasa.gov/apod/archivepix.html</code></p>
<p>get each of these <code>2015 February 26: <a href="ap150226.h... | I'm trying to understand how to make use of the HTML data from the APOD archive. Preferably my end goal is to end up with an ArrayList of Strings like so: From this url view-source:http://apod.nasa.gov/apod/archivepix.html get each of these 2015 February 26: <a href="ap150226.html">Love and War by Moonlight</a><br> and... | java|android|html|arraylist | 0 | 2015-02-26T05:52:08.020Z | 2,015 | 2 | 5 | 3 | 60 | 2 | 536 | 59 | 4 | 0 | false | false | false | false | false | false | zero |
28,735,398 | Android parse value from .sqlite file | <p>How to parse value from .sqlite file, i n my sqlite file there are more than 1000 records now i need to retrieve all the values and need to show that in a listview, i have saved that file in to my asset folder, is there any way to do as like parsing csv file</p>
<p>All the suggestions are most welcome
Thanks in adv... | How to parse value from .sqlite file, i n my sqlite file there are more than 1000 records now i need to retrieve all the values and need to show that in a listview, i have saved that file in to my asset folder, is there any way to do as like parsing csv file All the suggestions are most welcome Thanks in advance | android|sqlite|data-retrieval | 0 | 2015-02-26T05:52:16.310Z | 2,015 | 2 | 5 | 3 | 245 | 2 | 313 | 37 | 3 | 0 | false | false | false | false | false | false | zero |
28,735,464 | How to remove window background image of splash screen when application navigates to another activity (to avoid memory leak) | <p>In my Xamarin android application i am showing splash screen for 3 seconds ,when application starts. In that duration i do background work for creating sqlite tables, loading user information from web if required for login. These tasks are done using async manner.</p>
<p>I have assigned theme for splashactivity , a... | In my Xamarin android application i am showing splash screen for 3 seconds ,when application starts. In that duration i do background work for creating sqlite tables, loading user information from web if required for login. These tasks are done using async manner. I have assigned theme for splashactivity , and in that ... | android|memory-leaks|xamarin|splash-screen | 6 | 2015-02-26T05:57:19.020Z | 2,015 | 2 | 5 | 3 | 1,291 | 0 | 935 | 124 | 4 | 3 | true | true | false | false | false | false | medium |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.