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,671,696 | Experimental JUnit support in Android + Kotlin not working | <p>Google recently released <a href="https://sites.google.com/a/android.com/tools/tech-docs/unit-testing-support" rel="noreferrer">experimental</a> support for running junit on local JVM in Android Studio. I wanted to try it out and since I am developing my Android app using Kotlin I want my tests classes be written in... | Google recently released experimental support for running junit on local JVM in Android Studio. I wanted to try it out and since I am developing my Android app using Kotlin I want my tests classes be written in Kotlin too. Unfortunately, I can't make it working. I have updated my gradle configuration: [CODE] Android St... | android|junit|kotlin | 5 | 2015-02-23T10:32:58.377Z | 2,015 | 2 | 10 | 0 | 1,593 | 1 | 502 | 58 | 3 | 2 | true | false | false | false | false | false | low |
28,671,700 | Receive 404 error from url in Android | <p>I want receive the 404 error from url, but the code that I use always produce an error:</p>
<pre><code>public String getRespond(String request) {
try{
URL url=new URL (request);
URLConnection connection=url.openConnection();
InputStream in=new BufferedInputStream(connection.getInputStre... | I want receive the 404 error from url, but the code that I use always produce an error: [CODE] the error is in the "in = new ...", and is impossible for me know if there is the 404 error. This is the error: [CODE] Thanks!!! | android|url|http-status-code-404 | 0 | 2015-02-23T10:33:14.130Z | 2,015 | 2 | 10 | 0 | 2,632 | 1 | 223 | 37 | 3 | 2 | true | false | true | false | false | false | zero |
28,671,756 | Android Layout Multicolor | <p>i am currently working on one Android Application and i have to set layout according to country like if application is for Korea layout color must be blue and for india layout color must be red. </p>
<p>So how can i achieve that?</p>
<p>i know about multiple language
values-kr // for Korea
values //for English
... | i am currently working on one Android Application and i have to set layout according to country like if application is for Korea layout color must be blue and for india layout color must be red. So how can i achieve that? i know about multiple language values-kr // for Korea values //for English values-fr // for french... | android|android-layout|background-color | 1 | 2015-02-23T10:36:05.687Z | 2,015 | 2 | 10 | 0 | 294 | 5 | 376 | 25 | 3 | 0 | false | false | false | false | false | false | low |
28,671,788 | Get data on the basis of user selection | <p>I am trying to develop an application in which there are branch(computer science, mechanical,civil...etc) and there respective semesters. I want a option menu on first start of the application that asks for a particular branch and semester and on the basis of the selection download the questions of different subject... | I am trying to develop an application in which there are branch(computer science, mechanical,civil...etc) and there respective semesters. I want a option menu on first start of the application that asks for a particular branch and semester and on the basis of the selection download the questions of different subject of... | android|android-sqlite | -1 | 2015-02-23T10:37:41.590Z | 2,015 | 2 | 10 | 0 | 34 | 2 | 475 | 39 | 2 | 1 | true | false | false | false | false | true | negative |
28,671,829 | SQLitedatabase not inserting id for lollipop | <p>I have the following code to insert contentValues in Database. I use the SQLitedatabase method insert() to insert values in database as follows:</p>
<pre><code> public static final String ID = "id";
public boolean replaceOrUpdate(DBListener dbListener,final String sTable, ContentValues[] contentValues,String... | I have the following code to insert contentValues in Database. I use the SQLitedatabase method insert() to insert values in database as follows: [CODE] The table is created as follows: [CODE] This code works fine on pre-lollipop devices, but the insertion does not work as expected on lollipop. It seems to get stuck at ... | android|mysql|sqlite | 1 | 2015-02-23T10:39:57.030Z | 2,015 | 2 | 10 | 0 | 245 | 2 | 1,453 | 44 | 3 | 3 | true | false | false | false | false | false | low |
28,671,834 | Android - create reusable method for AlertDialog | <p>I try to create a class (classCommon) with re-usable methods that I plan to use for different projects.</p>
<p>Now the problem I have is that I want to create a re-usable method in that class for a YES\NO AlertDialog.</p>
<p>So basically I need to code<br>
-an common\reusable AlertDialog that returns "true" (if YE... | I try to create a class (classCommon) with re-usable methods that I plan to use for different projects. Now the problem I have is that I want to create a re-usable method in that class for a YES\NO AlertDialog. So basically I need to code -an common\reusable AlertDialog that returns "true" (if YES was clicked) or "fals... | android | 1 | 2015-02-23T10:40:19.597Z | 2,015 | 2 | 10 | 0 | 1,452 | 1 | 907 | 48 | 1 | 2 | true | false | false | false | false | false | low |
28,671,944 | How to change color of font icons in android | <p>I am making one chat application in this i am using icon fonts with reference <a href="http://fortawesome.github.io/Font-Awesome/" rel="nofollow">font awesome</a>,I have saved ttf file into my project assets folder after that i am accessing icons using by setting typeface,problem is i want to change size,color of ic... | I am making one chat application in this i am using icon fonts with reference font awesome ,I have saved ttf file into my project assets folder after that i am accessing icons using by setting typeface,problem is i want to change size,color of icon font.Please help me [CODE] | android|icon-fonts | 1 | 2015-02-23T10:47:21.237Z | 2,015 | 2 | 10 | 0 | 2,826 | 2 | 275 | 44 | 2 | 1 | true | false | true | false | false | false | low |
28,671,981 | Pdf view within android application | <p>I want to create an android application to open pdf within my android application. pdf is already downloaded in my device.I don't want to use url. Can anyone help.</p> | I want to create an android application to open pdf within my android application. pdf is already downloaded in my device.I don't want to use url. Can anyone help. | android | -1 | 2015-02-23T10:49:14.563Z | 2,015 | 2 | 10 | 0 | 418 | 4 | 163 | 35 | 1 | 0 | false | false | false | false | false | true | negative |
28,672,061 | Why this activity hangs if i add connection to remote json (and then parsing)? | <p>i created the following activity and it loads well if i add comment to getData() method. If i remove comment then i connect to remote url to fetch and parse json data. This seems to make slower the load of the activity.
It loads instantly if i add comment to GetData() call; it loads in 4-5 seconds if it use GetData(... | i created the following activity and it loads well if i add comment to getData() method. If i remove comment then i connect to remote url to fetch and parse json data. This seems to make slower the load of the activity. It loads instantly if i add comment to GetData() call; it loads in 4-5 seconds if it use GetData(). ... | android|json|http|parsing|connection | -1 | 2015-02-23T10:53:20.677Z | 2,015 | 2 | 10 | 0 | 47 | 2 | 392 | 78 | 5 | 1 | true | false | false | false | false | true | negative |
28,672,069 | Making a simple counter that increments every second on android. What wrong am I doing? | <p>Im writing code to display a counter that increments by 1 every second. </p>
<p>The app is getting forced closed before running with the error - </p>
<p><strong>thread exiting with uncaught exception</strong> and <strong>No package identifier when getting value for resource number</strong></p>
<pre><code> pub... | Im writing code to display a counter that increments by 1 every second. The app is getting forced closed before running with the error - thread exiting with uncaught exception and No package identifier when getting value for resource number [CODE] What wrong am I doing ? | android|multithreading|counter | 0 | 2015-02-23T10:53:39.200Z | 2,015 | 2 | 10 | 0 | 2,580 | 3 | 271 | 87 | 3 | 1 | true | false | false | false | false | false | zero |
28,672,147 | Send wrong values to the next activity in search | <p>i have problem with search, when user type something, listview will change, so the next activity will recive wrong values.
my code:</p>
<pre><code> package com.example.finaltest;
import java.util.ArrayList;
import java.util.HashMap;
import android.support.v7.app.ActionBarActivity;
import android.text.Editable;... | i have problem with search, when user type something, listview will change, so the next activity will recive wrong values. my code: [CODE] my string names are Subject_N , i want to send values of N to next activity(from item row number) my language is persian ,also i have an other problem, search field only support eng... | android|listview|search|android-activity|import | 2 | 2015-02-23T10:56:53.023Z | 2,015 | 2 | 10 | 0 | 96 | 1 | 354 | 48 | 5 | 1 | true | false | false | false | false | false | low |
28,672,244 | Android custom view doesn't draw several times | <p>I added a flag(init) in my on draw that makes a 100x500 rect on View Creation but when i draw my testDraw method from the onTouch method nothing gets drawn.</p>
<p><strong>DrawingView</strong></p>
<pre><code>class DrawingView extends View{
Canvas canvas= new Canvas();;
Paint paint= new Paint();
boolea... | I added a flag(init) in my on draw that makes a 100x500 rect on View Creation but when i draw my testDraw method from the onTouch method nothing gets drawn. DrawingView [CODE] | android|view|draw | 0 | 2015-02-23T11:02:33.613Z | 2,015 | 2 | 11 | 0 | 246 | 4 | 175 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
28,672,298 | Include Intent extra when using recreate() | <p>I'm trying to recreate() and activity on Android. I need additional data to be passed via an Intent to the recreated activity. How can this be done? </p>
<p>The following code does not work. </p>
<pre><code>getIntent().putExtra("flag",true);
recreate();
</code></pre> | I'm trying to recreate() and activity on Android. I need additional data to be passed via an Intent to the recreated activity. How can this be done? The following code does not work. [CODE] | android|android-intent|workflow|recreate | 3 | 2015-02-23T11:06:24.327Z | 2,015 | 2 | 11 | 0 | 1,059 | 2 | 189 | 42 | 4 | 1 | true | false | false | false | false | false | low |
28,672,325 | Search in Action bar not working properly with custom adapter for listview | <p>Well, i am trying to make an activity which will have a listView and will be searchable by the Action bar search option.</p>
<p>If, i use the default arraylist of android, it just works fine.</p>
<p>But when i am trying to use my own adapter which extends baseAdapter, it is not working properly( doesn't search pro... | Well, i am trying to make an activity which will have a listView and will be searchable by the Action bar search option. If, i use the default arraylist of android, it just works fine. But when i am trying to use my own adapter which extends baseAdapter, it is not working properly( doesn't search properly). My total co... | android|listview | 1 | 2015-02-23T11:07:49.850Z | 2,015 | 2 | 11 | 0 | 1,049 | 1 | 595 | 74 | 2 | 6 | true | false | false | false | false | false | low |
28,672,348 | java.io.IOException: bt socket closed, read return: -1 | <p>As i am working on OBD Reader Demo .Through my app i am trying to connect obd reader device and my app is installed in Nexus 7.OBD Reader device is connecting to other apps which is available on google play but if i am connecting with my app it is getting error java.io.IOException: bt socket closed, read return: -1... | As i am working on OBD Reader Demo .Through my app i am trying to connect obd reader device and my app is installed in Nexus 7.OBD Reader device is connecting to other apps which is available on google play but if i am connecting with my app it is getting error java.io.IOException: bt socket closed, read return: -1 aft... | java|android|eclipse|obd-ii | 4 | 2015-02-23T11:09:04.353Z | 2,015 | 2 | 11 | 0 | 2,575 | 2 | 428 | 54 | 4 | 1 | true | false | false | false | false | false | low |
28,672,354 | Android: Edittext force format | <p>how do I force a specific format in an Edittext.
Example:</p>
<p>the Userinput is: 123456789AB
the format should be: 123.4567.89AB
the best is, the conversion of the format is on-the-fly.
second solution is, an conversion of the string in backround without showing in the Edittext.</p>
<p>ps: the Edittext is create... | how do I force a specific format in an Edittext. Example: the Userinput is: 123456789AB the format should be: 123.4567.89AB the best is, the conversion of the format is on-the-fly. second solution is, an conversion of the string in backround without showing in the Edittext. ps: the Edittext is created dynamically in Al... | android|android-edittext|format | 1 | 2015-02-23T11:09:15.610Z | 2,015 | 2 | 11 | 0 | 528 | 2 | 330 | 30 | 3 | 0 | false | false | false | false | false | false | low |
28,672,360 | How to configure Android Google Tag Manager v4 with Google Analytics (Universal Analytics) | <p>I'm trying to use Google Tag Manager to report screenviews and events to Google Analytics. I followed the google's tutorial but I'm not able to even report the screenviews.
Also spent hours searching in google but there was no match. Almost all the information available is for Android's v3 or the old GTM web interf... | I'm trying to use Google Tag Manager to report screenviews and events to Google Analytics. I followed the google's tutorial but I'm not able to even report the screenviews. Also spent hours searching in google but there was no match. Almost all the information available is for Android's v3 or the old GTM web interface.... | android|google-analytics|google-tag-manager | 3 | 2015-02-23T11:09:42.593Z | 2,015 | 2 | 11 | 0 | 4,505 | 2 | 676 | 90 | 3 | 3 | true | false | true | false | false | false | low |
28,672,361 | Want to change different icon on right side setting item | <p>I am working with the navigation drawer and i want to display different icon on different fragment when user click on any item of listview on navigation drawer.</p>
<p>i have did a code in xml of activity which contain navigation drawer.
</p>
<pre><code><item
android:id="@+id/action_settings"
android:ic... | I am working with the navigation drawer and i want to display different icon on different fragment when user click on any item of listview on navigation drawer. i have did a code in xml of activity which contain navigation drawer. [CODE] When i click on any item on list the icon should change. i tried to get reference ... | android|menu | 0 | 2015-02-23T11:09:48.027Z | 2,015 | 2 | 11 | 0 | 92 | 1 | 561 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
28,672,367 | Android create different backstacks (tasks) and return to them | <p>I have read this article: <a href="http://developer.android.com/guide/components/tasks-and-back-stack.html" rel="nofollow">http://developer.android.com/guide/components/tasks-and-back-stack.html</a></p>
<p>If I read it correctly it says you can create a new task with a new activity while the old task still has a ba... | I have read this article: http://developer.android.com/guide/components/tasks-and-back-stack.html If I read it correctly it says you can create a new task with a new activity while the old task still has a backstack. They are also talking about returning to an old taks. However I did not find how to implement this. Wha... | android|android-intent|android-activity|back-stack|android-task | 2 | 2015-02-23T11:10:05.463Z | 2,015 | 2 | 11 | 0 | 817 | 1 | 921 | 62 | 5 | 0 | false | false | false | false | false | false | low |
28,672,388 | Android MediaPlayer Error (1, -38) and (-38, 0) | <p>I am working with the MediaPlayer component and I am getting the errors (1, -38) and (-38, 0). I am using player.prepareAsync() and I call player.start() in the onPrepared() method. The curious is that I am getting the error when I reproduce a video for fourth time. I have no idea about what is happening. Anyone ... | I am working with the MediaPlayer component and I am getting the errors (1, -38) and (-38, 0). I am using player.prepareAsync() and I call player.start() in the onPrepared() method. The curious is that I am getting the error when I reproduce a video for fourth time. I have no idea about what is happening. Anyone can he... | android|media-player|android-mediaplayer | 7 | 2015-02-23T11:11:09.123Z | 2,015 | 2 | 11 | 0 | 6,100 | 0 | 373 | 47 | 3 | 2 | true | true | true | false | false | false | medium |
28,672,410 | Text aligned left and right in a Button | <p>I have a button which shall look like</p>
<pre><code>[1 44.33]
</code></pre>
<p>so that the text is aligned to left and right at the same time. </p>
<p>Is it possible to achieve it with a single element, w/o introducing nested <code>TextView</code>s?</p> | I have a button which shall look like [CODE] so that the text is aligned to left and right at the same time. Is it possible to achieve it with a single element, w/o introducing nested TextView s? | android|button|text|justify | 0 | 2015-02-23T11:12:41.797Z | 2,015 | 2 | 11 | 0 | 166 | 2 | 195 | 39 | 4 | 1 | true | false | false | false | false | false | zero |
28,672,447 | Adding iTextG jar to Android Studio | <p>I'm facing a problem with adding the itextg-5.5.4.jar to my Android project in Android Studio. I copied the jar file to my libs folder and added it as a library. </p>
<p>I can use the classes in my project but when i try to start the app on my device, a UNEXPECTED TOP-LEVEL EXCEPTION occurs.</p>
<pre><code>Error:E... | I'm facing a problem with adding the itextg-5.5.4.jar to my Android project in Android Studio. I copied the jar file to my libs folder and added it as a library. I can use the classes in my project but when i try to start the app on my device, a UNEXPECTED TOP-LEVEL EXCEPTION occurs. [CODE] com.android.ide.common.inter... | android|android-studio|itextg | 0 | 2015-02-23T11:14:22.897Z | 2,015 | 2 | 11 | 0 | 655 | 0 | 1,379 | 35 | 3 | 2 | true | true | false | false | false | false | zero |
28,672,458 | Cannot get Data into PHP webservice from JSON in Android | <pre><code> import android.app.Activity;
import android.os.Bundle;
import android.os.StrictMode;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
import org.apache.http.HttpResponse;
impo... | [CODE] Database table field "name" is blank. The Insert Query fire successfully but.. data was not inserting into table. I think PHP file was not getting properly 'name' argument from POST method which send by android applicaiton(JSON). | php|android|json|web-services | 1 | 2015-02-23T11:14:49.960Z | 2,015 | 2 | 11 | 0 | 307 | 2 | 236 | 56 | 4 | 1 | true | false | false | false | false | false | low |
28,672,520 | Implementation of Facebook Graph Api Search in Android | <p>How to implement Facebook Graph Api Search in Android. When i passed any search query it says Unsupported get request.
Any Suggestions. </p> | How to implement Facebook Graph Api Search in Android. When i passed any search query it says Unsupported get request. Any Suggestions. | android|facebook|facebook-graph-api | 4 | 2015-02-23T11:18:07.073Z | 2,015 | 2 | 11 | 0 | 150 | 2 | 135 | 54 | 3 | 0 | false | false | false | false | false | false | low |
28,672,536 | How to remove padding/minHeight/minWidth from a button? | <p>I've got this code:</p>
<p><strong>MyActivity</strong></p>
<pre><code>Button button = new Button(MyActivity.this);
button.setBackgroundResource(R.drawable.my_button);
button.setText(word);
button.setPadding(0,0,0,0);
button.setMinimumHeight(0);
button.setMinimumWidth(0);
button.setTextSize(getResources().getDimens... | I've got this code: MyActivity [CODE] my_button.xml [CODE] This button is dynamically added to a layout. The problem is that the button will have a default minHeight/minWidth even if I set those to 0. I noticed that when the button has a as text, the padding is there, but if the word is long enough the padding left/rig... | android|button|material-design | 1 | 2015-02-23T11:18:46.260Z | 2,015 | 2 | 11 | 0 | 957 | 0 | 361 | 55 | 3 | 2 | true | true | false | false | false | false | low |
28,672,605 | Android - When to use Shared Preferences and when to use SQLite | <p>I have created a food calories app, where users can enter foods and weights and my app will calculate the total calories. I have also created a 'Save' button, which when pressed will take the calories just calculated and display it on the Main Activity.</p>
<p>When the 'Save' button is pressed, I also want it to ad... | I have created a food calories app, where users can enter foods and weights and my app will calculate the total calories. I have also created a 'Save' button, which when pressed will take the calories just calculated and display it on the Main Activity. When the 'Save' button is pressed, I also want it to add any calor... | java|android|android-studio|sharedpreferences|android-sqlite | 0 | 2015-02-23T11:22:10.160Z | 2,015 | 2 | 11 | 0 | 405 | 1 | 472 | 63 | 5 | 0 | false | false | false | false | false | false | zero |
28,672,625 | how to change default color when switch is "on"(blue to green) in forms xamarin. In ios default it is GReen but in android it is blue | <p>wirth this code i am getting swith in blue color when it "on". i want to change it to green.</p>
<pre><code>using Xamarin.Forms;
namespace swithcasedemo
{
public class MyPage : ContentPage
{
public MyPage ()
{
Content = new StackLayout {
Children = {
... | wirth this code i am getting swith in blue color when it "on". i want to change it to green. [CODE] | c#|android|xamarin|xamarin.android|xamarin.forms | 4 | 2015-02-23T11:22:58.740Z | 2,015 | 2 | 11 | 0 | 4,664 | 2 | 99 | 133 | 5 | 1 | true | false | true | false | false | false | low |
28,672,629 | Picasso doesn't load in Android | <p>I put the .jar file inside the /libs folder and added it as library, now my build.gradle file has these dependencies:</p>
<pre><code>compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':SmoothProgressBar')
compile 'com.squareup.picasso:picasso:2.5.0'
... | I put the .jar file inside the /libs folder and added it as library, now my build.gradle file has these dependencies: [CODE] My manifest is like this [CODE] But when i need to load an image it doesen't do anything and no error come from logcat. Here's my code: [CODE] My layout: [CODE] In Eclipse worked fine without any... | android|picasso | 1 | 2015-02-23T11:23:08.127Z | 2,015 | 2 | 11 | 0 | 2,669 | 4 | 407 | 31 | 2 | 6 | true | false | true | false | false | false | low |
28,672,712 | Android flavor and resource files | <p>I have problem with android gradle build. Long story short, I have created 2 flavors:</p>
<pre><code>productFlavors{
abcDemoFree{
}
abcDemo{
}
}
</code></pre>
<p>Eeach flavor has his own Activity(Settings.java) and layout(settings_layout.xml) for this activity.
From main both file... | I have problem with android gradle build. Long story short, I have created 2 flavors: [CODE] Eeach flavor has his own Activity(Settings.java) and layout(settings_layout.xml) for this activity. From main both files were removed, so Settings.java and settings_layout.xml exist only in flavors. [CODE] Android Studio create... | android|gradle|android-productflavors | 11 | 2015-02-23T11:27:32.687Z | 2,015 | 2 | 11 | 0 | 3,292 | 2 | 773 | 33 | 3 | 5 | true | false | true | false | true | false | medium |
28,672,753 | Use getText().toString(); As Database Query Filter | <p>I am just learning about Android and databases and would appreciate some assistance, hope I can be clear.</p>
<p>I have an Activity class where I get the getText().toString() value which works fine when I log the value returned, I would like to take this value and use it in my DatabaseHelper class to filter my quer... | I am just learning about Android and databases and would appreciate some assistance, hope I can be clear. I have an Activity class where I get the getText().toString() value which works fine when I log the value returned, I would like to take this value and use it in my DatabaseHelper class to filter my query by this v... | android|sqlite | 0 | 2015-02-23T11:29:41.463Z | 2,015 | 2 | 11 | 0 | 635 | 1 | 733 | 50 | 2 | 4 | true | false | false | false | false | false | zero |
28,672,787 | Display the current location / address / area name on a Marker in google map | <p>I created a basic application which displays a google map as well as a marker. The marker appears on the map clearing the previous location wherever I click. Now, I am trying to display the location name / address / area name on the marker wherever I click on the google map. But my application is getting closed unfo... | I created a basic application which displays a google map as well as a marker. The marker appears on the map clearing the previous location wherever I click. Now, I am trying to display the location name / address / area name on the marker wherever I click on the google map. But my application is getting closed unfortu... | android|google-places-api|android-maps-v2 | 0 | 2015-02-23T11:31:33.100Z | 2,015 | 2 | 11 | 0 | 2,062 | 2 | 535 | 76 | 3 | 2 | true | false | false | false | false | false | zero |
28,672,810 | Error adding Google Play Services to gradle | <p>I added this to <strong>build.gradle</strong></p>
<pre><code>dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.google.android.gms:play-services:6.5.87'
compile 'com.android.support:appcompat-v7:21.0.3'
// ADOBE Creative SDK
compile 'com.adobe.creativesdk.foundation:auth:0.2.10'... | I added this to build.gradle [CODE] It build and sync without any error but when I run I got this error. app:preDexDebug FAILED If I remove GooglePlayServices it works fine compile 'com.google.android.gms:play-services:6.5.87' Update: I tried many things to solve this problem but still I'm not able to solve this error. | android|android-studio|google-play-services | 0 | 2015-02-23T11:32:49.100Z | 2,015 | 2 | 11 | 0 | 428 | 0 | 320 | 43 | 3 | 1 | true | true | false | false | false | false | zero |
28,672,883 | java.lang.IllegalStateException: Fragment not attached to Activity | <p>I am rarely getting this error while making an API call.</p>
<pre><code>java.lang.IllegalStateException: Fragment not attached to Activity
</code></pre>
<p>I tried putting the code inside <code>isAdded()</code> method to check whether fragment is currently added to its activity but still i rarely gets this error... | I am rarely getting this error while making an API call. [CODE] I tried putting the code inside isAdded() method to check whether fragment is currently added to its activity but still i rarely gets this error. I fail to understand why I am still getting this error. How can i prevent it? Its showing error on the line- [... | android|android-fragments|android-activity|android-volley|android-lifecycle | 175 | 2015-02-23T11:36:24.060Z | 2,015 | 2 | 11 | 0 | 179,203 | 13 | 379 | 66 | 5 | 3 | true | false | true | true | true | false | high |
28,672,911 | Speech bubbles in android | <p>Hi I wanted to use speech bubbles as background images for my app. I came across this posted here </p>
<p><a href="https://stackoverflow.com/questions/7974847/android-drawable-speech-bubble">Android drawable speech bubble</a> </p>
<p>The example starts from the right direction I wanted to achieve this in the oppos... | Hi I wanted to use speech bubbles as background images for my app. I came across this posted here Android drawable speech bubble The example starts from the right direction I wanted to achieve this in the opposite direction I have tried [CODE] But I'm unable to get it to work, any help would be greatly appreciated! | android | 5 | 2015-02-23T11:37:27.060Z | 2,015 | 2 | 11 | 0 | 8,642 | 2 | 316 | 25 | 1 | 1 | true | false | true | false | false | false | low |
28,672,964 | SimpleAudioEngine, background Volume down on playEffect then back up | <p>In Cocos2d (android) Im trying to down the Background Volume when playEffect runs and than after the playEffect ends to bring it back up. I have this code:</p>
<pre><code>auto audio = SimpleAudioEngine::getInstance();
audio->playBackgroundMusic("sound/abc-theme.mp3", true);
audio->setBackgroundMusicVolume(0... | In Cocos2d (android) Im trying to down the Background Volume when playEffect runs and than after the playEffect ends to bring it back up. I have this code: [CODE] The problem is that i dont know how would i get playEffect end, this code "instantly" sets background music to 1. How would I put volume on Background music ... | android|cocos2d-x|simpleaudioengine | 0 | 2015-02-23T11:40:23.923Z | 2,015 | 2 | 11 | 0 | 293 | 2 | 358 | 68 | 3 | 1 | true | false | false | false | false | false | zero |
28,672,992 | Android viewpager with DepthPageTransformer z-index issue | <p>I implemented a viewpager with a DepthPageTransformer , in pages I have some inputs ( radio , check boxs , select options ... ). It works fine except one wired bug: Sometimes when I click on position(x,y) on a page P1 the input in that position of page P2 gets triggered. </p>
<p>P1: </p>
<p><img src="https://i.st... | I implemented a viewpager with a DepthPageTransformer , in pages I have some inputs ( radio , check boxs , select options ... ). It works fine except one wired bug: Sometimes when I click on position(x,y) on a page P1 the input in that position of page P2 gets triggered. P1: P2( the one after P1): Now when I click on t... | android|android-layout|android-viewpager|android-animation | 1 | 2015-02-23T11:42:28.487Z | 2,015 | 2 | 11 | 0 | 1,535 | 3 | 663 | 57 | 4 | 1 | true | false | false | false | false | false | low |
28,673,056 | How to get the Google Now searchbar into my app? | <p>Google has just implemented their searchbar from Google Now into the play store application as you can see in the gif below.</p>
<p><img src="https://i.stack.imgur.com/M4DZU.gif" alt="google searchbar in action"></p>
<p>How can I implement this actionbar searchbar into my own app?
I'd like to have the </p>
<ul>
<... | Google has just implemented their searchbar from Google Now into the play store application as you can see in the gif below. How can I implement this actionbar searchbar into my own app? I'd like to have the style hamburger animation acess from toolbar button microphone button ripple effect on lollipop devices What I a... | android|material-design|searchbar | 7 | 2015-02-23T11:45:26.390Z | 2,015 | 2 | 11 | 0 | 3,945 | 2 | 432 | 48 | 3 | 0 | false | false | true | false | false | false | medium |
28,673,071 | Bluetooth Packets Get Lost While Doing Some Other Calculations | <p>I have my Android device and WT-12 bluetooth module communicating over RFCOMM. My data rate is about ~180kbps roughly. I don't have any problem in my data if I only get the data and don't process it online. However, when I try to use a counter to d some calculations with the data, it is possible I lost data. I think... | I have my Android device and WT-12 bluetooth module communicating over RFCOMM. My data rate is about ~180kbps roughly. I don't have any problem in my data if I only get the data and don't process it online. However, when I try to use a counter to d some calculations with the data, it is possible I lost data. I think it... | android|bluetooth|rfcomm|spp|packet-loss | 1 | 2015-02-23T11:46:12.283Z | 2,015 | 2 | 11 | 0 | 234 | 0 | 472 | 62 | 5 | 1 | true | true | false | false | false | false | low |
28,673,086 | viewPager within dynamic Fragment, wrong state position | <p>before, thanks lot for take time for my questions !</p>
<p>I have a BIG problem in my project,
I used <code>viewPager</code> within dynamic <code>Fragment</code></p>
<blockquote>
<p>6 fragments used</p>
</blockquote>
<p>so i <code>extend FragmentStatePagerAdapter()</code> for in my <code>Activity</code>.
i want... | before, thanks lot for take time for my questions ! I have a BIG problem in my project, I used viewPager within dynamic Fragment 6 fragments used so i extend FragmentStatePagerAdapter() for in my Activity . i want to swipe automatically from state 0 to 1 and to 5 in getItem() i create my tabs (i loaded 4 or 5 tab from ... | android-fragments|android-viewpager|sharedpreferences|fragmentstatepageradapter|android-actionbaractivity | 1 | 2015-02-23T11:46:47.550Z | 2,015 | 2 | 11 | 0 | 116 | 0 | 1,131 | 55 | 5 | 0 | false | true | false | false | false | false | low |
28,673,188 | How to get ACTION_POINTER_DOWN motion event if the pointer is on another view? | <p>I have multiple views one is big and others are small views. Small views are on top of the big view and their positions can change with the dragging so they have their own touch events. Also bigger view can be pinch zoomed, however I can't pinch zoom the bigger view if the second finger is on a small view, because t... | I have multiple views one is big and others are small views. Small views are on top of the big view and their positions can change with the dragging so they have their own touch events. Also bigger view can be pinch zoomed, however I can't pinch zoom the bigger view if the second finger is on a small view, because then... | android|touch-event | 0 | 2015-02-23T11:51:58.923Z | 2,015 | 2 | 11 | 0 | 110 | 0 | 597 | 78 | 2 | 0 | false | true | false | false | false | false | zero |
28,673,216 | Catch timeout exception when connecting TCP socket to hostname | <p>I need to catch a timeout exception for a TCP connection to a host name and port, which includes making a DNS lookup of the host name. If I connect to a numeric IP address and port I can set a short timeout and catch an exception quickly, but if I use a domain name the DNS lookup can take take 5 minutes to throw an... | I need to catch a timeout exception for a TCP connection to a host name and port, which includes making a DNS lookup of the host name. If I connect to a numeric IP address and port I can set a short timeout and catch an exception quickly, but if I use a domain name the DNS lookup can take take 5 minutes to throw an exc... | java|android|tcp|tcpclient | 1 | 2015-02-23T11:53:36.683Z | 2,015 | 2 | 11 | 0 | 953 | 2 | 386 | 62 | 4 | 1 | true | false | false | false | false | false | low |
28,673,289 | UNEXPECTED TOP LEVEL EXCEPTION in android studio | <p>I was trying to code a simple android app and i get this error message.Please help</p>
<p>Error:Execution failed for task ':app:dexDebug'.</p>
<blockquote>
<p>com.android.ide.common.internal.LoggedErrorException: Failed to run command:
D:\Users\user\AppData\Local\Android\sdk\build-tools\21.1.2\dx.bat --dex... | I was trying to code a simple android app and i get this error message.Please help Error:Execution failed for task ':app:dexDebug'. com.android.ide.common.internal.LoggedErrorException: Failed to run command: D:\Users\user\AppData\Local\Android\sdk\build-tools\21.1.2\dx.bat --dex --no-optimize --output C:\Users\user\De... | android|parse-platform | 0 | 2015-02-23T11:58:11.357Z | 2,015 | 2 | 11 | 0 | 748 | 1 | 1,291 | 48 | 2 | 1 | true | false | false | false | false | false | zero |
28,673,300 | Google Play statistics "Active users" show dramatic decrease in June 2014? | <p>This is what my "Active users" statistics look like in Google Play Developer Console. As you can see there is a dramatic decrease in june 2014.</p>
<p><img src="https://i.stack.imgur.com/IO502.png" alt="Active users"></p>
<p>At the same time, the "Active installs per device" looks like this.</p>
<p><img src="http... | This is what my "Active users" statistics look like in Google Play Developer Console. As you can see there is a dramatic decrease in june 2014. At the same time, the "Active installs per device" looks like this. What's going on here? Did Google mess around with the statistics in june 2014? I get the same charts more or... | android|google-play|usage-statistics | 3 | 2015-02-23T11:58:39.720Z | 2,015 | 2 | 11 | 0 | 845 | 3 | 344 | 74 | 3 | 0 | false | false | false | false | false | false | low |
28,673,358 | how to set images inside a layout on screen? | <p>I need to put two images one below the other in the center of the screen. They need to be in the center. the images will keep changing depending on the code so how do i get the images to work on all screens without moving or the size increasing or decreasing?</p>
<p>I tried using grid view but it seems too much cod... | I need to put two images one below the other in the center of the screen. They need to be in the center. the images will keep changing depending on the code so how do i get the images to work on all screens without moving or the size increasing or decreasing? I tried using grid view but it seems too much code for two i... | android|android-layout|layout | 0 | 2015-02-23T12:01:15.887Z | 2,015 | 2 | 12 | 0 | 948 | 4 | 373 | 44 | 3 | 0 | false | false | false | false | false | false | zero |
28,673,366 | bitmap image not displayed in imageview | <p>I am created a app in which i am allowing user to select image from gallery or take a picture from camera and upload that image to web server.This code works fine.Now in other screen i am downloading the image from web server and storing that in sd card.The problem that if image is selected from the gallery the imag... | I am created a app in which i am allowing user to select image from gallery or take a picture from camera and upload that image to web server.This code works fine.Now in other screen i am downloading the image from web server and storing that in sd card.The problem that if image is selected from the gallery the image i... | android|image|bitmap|android-imageview | 4 | 2015-02-23T12:01:41.817Z | 2,015 | 2 | 12 | 0 | 12,689 | 2 | 553 | 39 | 4 | 1 | true | false | true | true | false | false | low |
28,673,401 | Add tabs to one fragment | <p>I am trying to add tabs to just one fragment in my app (the app has several fragments). I am going round in circles trying to get this to work. I have found some advice from a stackoverflow answer that was posted to someones question but this crashes my app.</p>
<p>Fragment code
public class salesPartsHolderFra... | I am trying to add tabs to just one fragment in my app (the app has several fragments). I am going round in circles trying to get this to work. I have found some advice from a stackoverflow answer that was posted to someones question but this crashes my app. Fragment code public class salesPartsHolderFragment extends F... | android|android-fragments|tabs | 0 | 2015-02-23T12:03:31.157Z | 2,015 | 2 | 12 | 0 | 308 | 3 | 368 | 24 | 3 | 3 | true | false | false | false | false | false | zero |
28,673,440 | I am trying to add routes on my google map | <p>I am trying to show routes on my google map... i am developing a cab booking App, in which i am getting two values "From" and "To" from the user, that where they want to go?</p>
<p>but i am facing the problems on adding routes in map...When i submit the value i got force closed...</p>
<p>Here is my coding informat... | I am trying to show routes on my google map... i am developing a cab booking App, in which i am getting two values "From" and "To" from the user, that where they want to go? but i am facing the problems on adding routes in map...When i submit the value i got force closed... Here is my coding informations... Dialogue.ja... | android|google-maps | 0 | 2015-02-23T12:05:43.330Z | 2,015 | 2 | 12 | 0 | 65 | 1 | 473 | 42 | 2 | 3 | true | false | false | false | false | false | zero |
28,673,511 | Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk F:/Android/android-ndk-r10d/build/core/add-application.mk:199: | <p>It seems I cant find the answer.</p>
<p>Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk<br>
F:/Android/android-ndk-r10d/build/core/add-application.mk:199: *** Android NDK: Aborting... . Stop.</p>
<p>Here is the NDKLOG=1</p>
<pre class="lang-html prettyprint-override"><code>C:\&g... | It seems I cant find the answer. Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk F:/Android/android-ndk-r10d/build/core/add-application.mk:199: *** Android NDK: Aborting... . Stop. Here is the NDKLOG=1 [CODE] | android|c++|eclipse|opencv|android-ndk | 0 | 2015-02-23T12:10:02.643Z | 2,015 | 2 | 12 | 0 | 2,212 | 1 | 239 | 128 | 5 | 1 | true | false | false | false | false | false | zero |
28,673,560 | Animations Timings for different Images | <p>guys i have set five different imageview in XML i want same animation effect with one second delay.Animation must occur in sequence order one by one.For a starting page in android app i have done this.so what should i do here's my code </p>
<pre><code>protected void onCreate(Bundle savedInstanceState) {
super.o... | guys i have set five different imageview in XML i want same animation effect with one second delay.Animation must occur in sequence order one by one.For a starting page in android app i have done this.so what should i do here's my code [CODE] | android|android-layout|android-animation | -1 | 2015-02-23T12:12:48.137Z | 2,015 | 2 | 12 | 0 | 103 | 2 | 242 | 39 | 3 | 1 | true | false | false | false | false | true | negative |
28,673,565 | Google Wallet testing without Merchant Credentials | <p>Has anyone tried using google wallet for testing without having to use or need the credentials that is needed( merchant id, key). </p>
<p>I mean I would like to try first google wallet testing in my web application before having to pay to use google wallet in production, seems it is not in the docs, idk if its poss... | Has anyone tried using google wallet for testing without having to use or need the credentials that is needed( merchant id, key). I mean I would like to try first google wallet testing in my web application before having to pay to use google wallet in production, seems it is not in the docs, idk if its possible or not | android-pay | 0 | 2015-02-23T12:13:07.897Z | 2,015 | 2 | 12 | 0 | 98 | 1 | 319 | 50 | 1 | 0 | false | false | false | false | false | false | zero |
28,673,573 | Android Studio Empty test suite | <p>i have a problem adding tests to my android application.
If i want to run my example-test the following error occurs:</p>
<p><code>Running tests
Test running startedTest running failed: Unable to find instrumentation info for: ComponentInfo{xxx/android.test.InstrumentationTestRunner}
Empty test suite.</code></p>
<... | i have a problem adding tests to my android application. If i want to run my example-test the following error occurs: Running tests Test running startedTest running failed: Unable to find instrumentation info for: ComponentInfo{xxx/android.test.InstrumentationTestRunner} Empty test suite. My test class looks like this:... | android|testing|android-studio | 1 | 2015-02-23T12:13:33.583Z | 2,015 | 2 | 12 | 0 | 2,598 | 2 | 829 | 31 | 3 | 1 | true | false | false | false | false | false | low |
28,673,585 | How to draw a bitmap on a canvas on the whole screen? | <p>In my app I need to draw a Bitmap on th ewhole screen. For some reason when I'm drawing a bitmap, only part of the Bitmap is loading on a part of the screen. In other words, not the whole picture is showing on the screen. Here's a piece of my code were I draw the Bitmap:</p>
<pre><code>byte[]byteArray=getIntent().g... | In my app I need to draw a Bitmap on th ewhole screen. For some reason when I'm drawing a bitmap, only part of the Bitmap is loading on a part of the screen. In other words, not the whole picture is showing on the screen. Here's a piece of my code were I draw the Bitmap: [CODE] And: [CODE] | java|android|canvas|bitmap | 1 | 2015-02-23T12:14:09.920Z | 2,015 | 2 | 12 | 0 | 1,614 | 1 | 290 | 53 | 4 | 2 | true | false | false | false | false | false | low |
28,673,611 | NullPointer trying to publish on Facebook without dialog | <p>i'm trying to publish into the users wall, using facebook sdk for open graph with the code below:</p>
<pre><code>private static final List<String> PERMISSIONS = Arrays.asList("publish_actions");
private static final String PENDING_PUBLISH_KEY = "pendingPublishReauthorization";
private boolean pendingPublishRe... | i'm trying to publish into the users wall, using facebook sdk for open graph with the code below: [CODE] We get the code from: on publish feed, facebook 3.0 examples The login doesn't throw any error but when we try to publish something it does nothing, and returns a null pointer exception from the facebook logs. [CODE... | android|facebook|facebook-graph-api|publish|facebook-sdk-3.0 | 1 | 2015-02-23T12:15:52.707Z | 2,015 | 2 | 12 | 0 | 447 | 1 | 447 | 56 | 5 | 2 | true | false | false | false | false | false | low |
28,673,622 | Getting access to my main screen/desktop in phone | <p>I would like to make customizer app something like "apex laucher". I was wonder how can I get my main screen/desktop content on my phone, what permission should I declare and so on.</p> | I would like to make customizer app something like "apex laucher". I was wonder how can I get my main screen/desktop content on my phone, what permission should I declare and so on. | java|android | 0 | 2015-02-23T12:16:30.420Z | 2,015 | 2 | 12 | 0 | 40 | 0 | 181 | 49 | 2 | 0 | false | true | false | false | false | false | zero |
28,673,639 | SyncAdapter stays awake for hours on end | <p>My Android app uses a <code>SyncAdapter</code> to sync with my API service. I use <code>delayUntil</code> to tell it to only sync every half an hour. However, some users are reporting incidents where it never goes to sleep again once it's done, draining the phone battery (e.g. the app shows up in the device's batter... | My Android app uses a SyncAdapter to sync with my API service. I use delayUntil to tell it to only sync every half an hour. However, some users are reporting incidents where it never goes to sleep again once it's done, draining the phone battery (e.g. the app shows up in the device's battery page showing a "Keep awake"... | android|android-syncadapter | 2 | 2015-02-23T12:17:14.777Z | 2,015 | 2 | 12 | 0 | 294 | 1 | 565 | 40 | 2 | 0 | false | false | false | false | false | false | low |
28,673,662 | App crash on using RecyclerView | <p>I am using RecyclerView in my app. My application crashes with the following error</p>
<blockquote>
<p>java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView$LayoutManager.onMeasure(android.support.v7.widget.RecyclerView$Recycler, android.support.v7.widget.Re... | I am using RecyclerView in my app. My application crashes with the following error java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.RecyclerView$LayoutManager.onMeasure(android.support.v7.widget.RecyclerView$Recycler, android.support.v7.widget.RecyclerView$State, int, int... | android|android-recyclerview | 0 | 2015-02-23T12:18:19.897Z | 2,015 | 2 | 12 | 0 | 4,569 | 1 | 594 | 31 | 2 | 1 | true | false | true | false | false | false | zero |
28,673,727 | Android ActionBar not visible | <p>I've updated the API 21, tools and extras up to date, the ActionBar in some projects has gone invisible. I did this following code, but app crashes showing NullPointerException.</p>
<pre><code>ActionBar actionBar = getActionBar();
actionBar.show();
</code></pre>
<p>Logcat Output</p>
<blockquote>
<p>02-23 18:03:... | I've updated the API 21, tools and extras up to date, the ActionBar in some projects has gone invisible. I did this following code, but app crashes showing NullPointerException. [CODE] Logcat Output 02-23 18:03:36.269: E/AndroidRuntime(3327): FATAL EXCEPTION: main 02-23 18:03:36.269: E/AndroidRuntime(3327): Process: co... | java|android|android-layout|android-actionbar|android-view | 3 | 2015-02-23T12:22:07.920Z | 2,015 | 2 | 12 | 0 | 497 | 4 | 2,450 | 29 | 5 | 1 | true | false | false | false | false | false | low |
28,673,764 | Control zoom level when using Google Maps Android Marker Clustering Utility | <p>I am using Google Maps Android Marker Clustering Utility to enable clustering for my markers. In order to use this library, i need to set the map's <strong>cameraChangeListener</strong> to be object of type <strong>ClusterManager</strong>.
The problem is that i want to control the minimum zoom level, so that when z... | I am using Google Maps Android Marker Clustering Utility to enable clustering for my markers. In order to use this library, i need to set the map's cameraChangeListener to be object of type ClusterManager . The problem is that i want to control the minimum zoom level, so that when zoom level goes below some threshold, ... | android|google-maps|android-maps-v2|android-maps-utils | 1 | 2015-02-23T12:24:04.460Z | 2,015 | 2 | 12 | 0 | 1,355 | 1 | 572 | 75 | 4 | 0 | false | false | false | false | false | false | low |
28,673,826 | get user entered value in google analytics | <p>I want to use Google Analytics in my application. I had read online documents for this. And I got idea (Not clear) how to use it. I just want to know whether it is possible to display user entered value in google anayltics.</p>
<p>Suppose I have a registration form and in this form i am collecting information of us... | I want to use Google Analytics in my application. I had read online documents for this. And I got idea (Not clear) how to use it. I just want to know whether it is possible to display user entered value in google anayltics. Suppose I have a registration form and in this form i am collecting information of user address.... | android|google-analytics | 1 | 2015-02-23T12:27:30.120Z | 2,015 | 2 | 12 | 0 | 43 | 1 | 643 | 42 | 2 | 0 | false | false | false | false | false | false | low |
28,673,862 | How to change only the tilt in Google Map API | <p>My application use Google map API v2, I'd like to change the tilt if the user reaches a zoom level greater than 16</p>
<p>Here is what I've done so far</p>
<pre><code>@Override
public void onMapReady(GoogleMap map) {
//..
mMap = map;
mMap.setOnCameraChangeListener(getCameraChangeListener());
}
pub... | My application use Google map API v2, I'd like to change the tilt if the user reaches a zoom level greater than 16 Here is what I've done so far [CODE] As you can see I've added a listener to the map object, that trigger whenever position of the camera change, but I don't know how to change only the tilt of the camera | android|google-maps-api-2 | 2 | 2015-02-23T12:29:43.383Z | 2,015 | 2 | 12 | 0 | 4,704 | 2 | 319 | 45 | 2 | 1 | true | false | true | false | false | false | low |
28,673,876 | Java.lang.nullpointerexception with sqlite database | <p>I got the following problem, my Programm is telling me that there is a <code>NullPointerException</code> even though my variables are filled with content if I want to insert the content into my database. I would be thankful if you guys could help me. I know my programming style is kinda dirty since I'm kinda new in ... | I got the following problem, my Programm is telling me that there is a NullPointerException even though my variables are filled with content if I want to insert the content into my database. I would be thankful if you guys could help me. I know my programming style is kinda dirty since I'm kinda new in programming. My ... | java|android|sqlite|nullpointerexception | 1 | 2015-02-23T12:30:36.950Z | 2,015 | 2 | 12 | 0 | 2,787 | 1 | 472 | 51 | 4 | 5 | true | false | true | false | false | false | low |
28,673,882 | In Android 5.0 listview tuple overlaps bottom bar | <p><img src="https://i.stack.imgur.com/3XByw.png" alt="enter image description here"></p>
<p>I have a viewpager in my activity which is dynamically populated with fragments.
Fragments contain a listview which is causing the issue as it overlaps the bottom bar in nexus 5.0 (It may be a Lollipop Issue as its working fi... | I have a viewpager in my activity which is dynamically populated with fragments. Fragments contain a listview which is causing the issue as it overlaps the bottom bar in nexus 5.0 (It may be a Lollipop Issue as its working fine on other devices.) The activity layout containing viewpage is as follows : [CODE] And the la... | android|android-layout|listview|android-listview | 1 | 2015-02-23T12:30:47.237Z | 2,015 | 2 | 12 | 0 | 454 | 1 | 429 | 49 | 4 | 2 | true | false | false | false | false | false | low |
28,673,947 | NullPointerException due to 'void dalvik.system.CloseGuard.close()' in lollipop | <p>I get the following exception in the background while my app runs in <strong>Android OS Lollipop</strong>. Not able to figure out its exact place or any reference to it in my code.</p>
<pre><code>02-23 17:58:14.145: E/System(16417): Uncaught exception thrown by finalizer
02-23 17:58:14.146: E/System(16417): java.lan... | I get the following exception in the background while my app runs in Android OS Lollipop . Not able to figure out its exact place or any reference to it in my code. [CODE] Any specific reason that why the Android OS library crashes? | android|android-5.0-lollipop | 9 | 2015-02-23T12:34:21.437Z | 2,015 | 2 | 12 | 0 | 4,538 | 1 | 232 | 79 | 2 | 1 | true | false | true | false | false | false | medium |
28,674,082 | NoClassDefFound error on importing project from git | <p>I cloned a project from git having some libraries added as part of grade build . This is the gradle dependencies part of the code</p>
<pre><code>apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "co.example.android"
minSdkVersio... | I cloned a project from git having some libraries added as part of grade build . This is the gradle dependencies part of the code [CODE] This is the parent build.gradle file [CODE] However on syncing the project I get the following error in logcat 5:51:36 PM NoClassDefFoundError: org/jetbrains/idea/maven/model/MavenArt... | java|android|maven|gradle | 3 | 2015-02-23T12:42:47.240Z | 2,015 | 2 | 12 | 0 | 973 | 2 | 1,849 | 51 | 4 | 2 | true | false | false | false | false | false | low |
28,674,267 | Android app layout looks bad with hardcoded values | <p>Playing around with a new app layout here.
here's what I want it to look like (it looks like this in android studio):</p>
<p>I want to make the text look well regardless of device. Right now I'm using hardcoded values but don't know how to do it otherwise. Any resources/ code samples would be great.</p>
<p>here's ... | Playing around with a new app layout here. here's what I want it to look like (it looks like this in android studio): I want to make the text look well regardless of device. Right now I'm using hardcoded values but don't know how to do it otherwise. Any resources/ code samples would be great. here's my current code: [C... | android|android-layout | 1 | 2015-02-23T12:52:41.617Z | 2,015 | 2 | 12 | 0 | 1,941 | 4 | 378 | 50 | 2 | 1 | true | false | false | false | false | false | low |
28,674,282 | How to create a chat application for android using Xmpp server? | <p>i want to make chat in android using Xmpp i did some research and found whatsapp and other application are using this technology for it .</p>
<p>i just wan to figure out how can i use it to built my chat appliction .please provide some guide line or tutorial i could not find any useful links.</p> | i want to make chat in android using Xmpp i did some research and found whatsapp and other application are using this technology for it . i just wan to figure out how can i use it to built my chat appliction .please provide some guide line or tutorial i could not find any useful links. | android | -2 | 2015-02-23T12:53:33.373Z | 2,015 | 2 | 12 | 0 | 263 | 1 | 286 | 63 | 1 | 0 | false | false | false | false | false | true | negative |
28,674,284 | Unzip file from SDCARD in Android | <p>In my application I encrypted a file from SD card using <code>PBEWithMD5AndDES</code> method and encrypted into <code>.des</code> format. For example a file <code>myfile.png</code> encrypted and converted into <code>myfile.des</code> to sdcard. After that I renamed/copied <code>myfile.des</code> to <code>myfile.zip<... | In my application I encrypted a file from SD card using PBEWithMD5AndDES method and encrypted into .des format. For example a file myfile.png encrypted and converted into myfile.des to sdcard. After that I renamed/copied myfile.des to myfile.zip . Next I need to open zip file ie unziping a file but I am not able unzip.... | android|password-encryption | 0 | 2015-02-23T12:53:37.607Z | 2,015 | 2 | 12 | 0 | 63 | 0 | 440 | 33 | 2 | 1 | true | true | false | false | false | false | zero |
28,674,312 | Admob pushes all content down (including window)! | <p>I belive I have the most unique and weirdest problem of all.</p>
<p>So to keep it simple I have made the most simple layout in the world:</p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.... | I belive I have the most unique and weirdest problem of all. So to keep it simple I have made the most simple layout in the world: [CODE] And then the code: [CODE] SCENARIO 1: If I launch this activity when pressing a button that starts this activity, it's all okay. The activity shows as expected (pic below): SCENARIO ... | android|admob|leadbolt | 0 | 2015-02-23T12:55:30.067Z | 2,015 | 2 | 12 | 0 | 134 | 1 | 1,500 | 49 | 3 | 3 | true | false | false | false | false | false | zero |
28,674,449 | Playing Gestures on Android | <p>I have created gestures for my app in Gestures Builder. How do I <strong><em>play</em></strong> those gestures on emulator/device in my app. I have included the gesture file in my Raw resource.. Thnx in advance</p> | I have created gestures for my app in Gestures Builder. How do I play those gestures on emulator/device in my app. I have included the gesture file in my Raw resource.. Thnx in advance | android|gestures | 0 | 2015-02-23T13:02:10.460Z | 2,015 | 2 | 13 | 0 | 126 | 1 | 184 | 27 | 2 | 0 | false | false | false | false | false | false | zero |
28,674,542 | How can I make one part of my view scroll together with ListView? | <p>I have two spinners separately, which help me selecting the options and criterias for the ListView to generate, i.e. I need to select a bus and a stop to show the timetable(ListView) which fit the query. Now straight to the problem: I have two spinners in ScrollView and ListView itself. I need to ensure, that it wou... | I have two spinners separately, which help me selecting the options and criterias for the ListView to generate, i.e. I need to select a bus and a stop to show the timetable(ListView) which fit the query. Now straight to the problem: I have two spinners in ScrollView and ListView itself. I need to ensure, that it would ... | java|android|android-layout|android-listview | 2 | 2015-02-23T13:07:06.703Z | 2,015 | 2 | 13 | 0 | 173 | 1 | 573 | 65 | 4 | 2 | true | false | false | false | false | false | low |
28,674,685 | How to enable vibration when screen timeout occurs? | <p>I want the device to start vibrating for some amount of time when screen timeout option enables(when the light dims, before the screen shuts off).I know how to set up both functions individually, but I can't seem to manage to get them in the right order for this to work, so I need your help. Thanks and cheers!</p> | I want the device to start vibrating for some amount of time when screen timeout option enables(when the light dims, before the screen shuts off).I know how to set up both functions individually, but I can't seem to manage to get them in the right order for this to work, so I need your help. Thanks and cheers! | android|vibration | -1 | 2015-02-23T13:15:05.417Z | 2,015 | 2 | 13 | 0 | 64 | 1 | 311 | 51 | 2 | 0 | false | false | false | false | false | true | negative |
28,674,707 | GCMBroadcastReceiver not called | <p>My GCMBroadcastReceiver is never called. I sent a message from my server via php to GCM, I got this from GCM, so my server side should be working: </p>
<p><code>{"multicast_id":XXX,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"XXXX"}]}</code></p>
<p>So the problem has to be in my AndroidManif... | My GCMBroadcastReceiver is never called. I sent a message from my server via php to GCM, I got this from GCM, so my server side should be working: {"multicast_id":XXX,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"XXXX"}]} So the problem has to be in my AndroidManifest, but I can't find the solutio... | android|broadcastreceiver|google-cloud-messaging | 0 | 2015-02-23T13:16:45.013Z | 2,015 | 2 | 13 | 0 | 919 | 1 | 915 | 31 | 3 | 2 | true | false | false | false | false | false | zero |
28,674,740 | How to undo Path from Canvas android? | <p>I am trying to remove my last path drawn on my canvas. I have tryed so far to add my paths in a ArrayList but I didn't find any method to remove the path easilly from canvas.</p>
<pre><code>public class PaintView extends View {
private Bitmap mBitmap;
private Canvas mCanvas;
private Path mPath;
pri... | I am trying to remove my last path drawn on my canvas. I have tryed so far to add my paths in a ArrayList but I didn't find any method to remove the path easilly from canvas. [CODE] Below is onTouch method, I create lines using Path when variable canCreatePoints it's true.If canCreatePoints it's false I check in a Arra... | java|android | 0 | 2015-02-23T13:18:45.683Z | 2,015 | 2 | 13 | 0 | 1,659 | 2 | 633 | 37 | 2 | 3 | true | false | false | false | false | false | zero |
28,674,744 | Pass BarEntry through intent | <p>I am using <a href="https://github.com/PhilJay/MPAndroidChart" rel="nofollow">MPAndroidChart</a></p>
<p>I'm using BarEntry in a service and I need to push yvalues through an intent to a fragment. Since BarEntry don't implements Parcelable I don't know how can I handle this.</p>
<p>Thanks a lot !</p> | I am using MPAndroidChart I'm using BarEntry in a service and I need to push yvalues through an intent to a fragment. Since BarEntry don't implements Parcelable I don't know how can I handle this. Thanks a lot ! | android|mpandroidchart | 1 | 2015-02-23T13:19:10.680Z | 2,015 | 2 | 13 | 0 | 86 | 1 | 211 | 28 | 2 | 0 | false | false | false | false | false | false | low |
28,674,817 | How to abort an sms before it reaches the inbox with android 4.4.4 and above? | <ol>
<li><p>As of android 4.3 the programatically sent sms is working fine, but 4.4.4 programatically sent sms is also copied to native inbox - how to handle this issue.</p></li>
<li><p>How to stop an sms from going to inbox or delete sms in android 4.4.4 and above</p></li>
</ol> | As of android 4.3 the programatically sent sms is working fine, but 4.4.4 programatically sent sms is also copied to native inbox - how to handle this issue. How to stop an sms from going to inbox or delete sms in android 4.4.4 and above | android | 1 | 2015-02-23T13:23:49.203Z | 2,015 | 2 | 13 | 0 | 800 | 1 | 237 | 77 | 1 | 0 | false | false | false | false | false | false | low |
28,674,846 | Is it possible to send clubbed data to google analytics? | <p>I am newbie to GA.</p>
<p>Recently I got a weird requirement from one of my clients, he wants me to send clubbed data (a table row) to GA, where he can perform group by on particular attribute.</p>
<p>I have managed to track screen views, crashes, overall usage of app. But not getting how to push a table row to GA... | I am newbie to GA. Recently I got a weird requirement from one of my clients, he wants me to send clubbed data (a table row) to GA, where he can perform group by on particular attribute. I have managed to track screen views, crashes, overall usage of app. But not getting how to push a table row to GA? I have also tried... | android|google-analytics|google-analytics-api|google-analytics-firebase | 0 | 2015-02-23T13:25:50.810Z | 2,015 | 2 | 13 | 0 | 45 | 1 | 497 | 56 | 4 | 0 | false | false | false | false | false | false | zero |
28,674,887 | Can an app register with the system for BLE Device notifications in Android SDK 21? | <p>An iOS App registers a BLE Device in the system and the system informs the App, if this device is found.</p>
<p>An Android App has to scan on its own. In Android SDK 21 there is a new BLE scan API, but there is no way to register a BLE Device and have the system inform the app.</p>
<p>Is that correct and why doesn... | An iOS App registers a BLE Device in the system and the system informs the App, if this device is found. An Android App has to scan on its own. In Android SDK 21 there is a new BLE scan API, but there is no way to register a BLE Device and have the system inform the app. Is that correct and why doesn't Google support i... | android|android-bluetooth|android-ibeacon | 1 | 2015-02-23T13:28:13.547Z | 2,015 | 2 | 13 | 0 | 120 | 0 | 322 | 83 | 3 | 0 | false | true | false | false | false | false | low |
28,674,899 | isIdleNow() is returning true, but a message indicating that the resource has transitioned from busy to idle was never sent | <p>I'm trying to write a test in Espresso for my Android application, and I have a problem with Idle. If my <code>isIdleNow()</code> looks like this</p>
<pre><code>public boolean isIdleNow() {
return true;
}
</code></pre>
<p>then the message is sent. But if <code>IsIdleNow()</code> has to wait for some conditions (... | I'm trying to write a test in Espresso for my Android application, and I have a problem with Idle. If my isIdleNow() looks like this [CODE] then the message is sent. But if IsIdleNow() has to wait for some conditions (it doesn't return true at start) then the message isn't sent. My code: [CODE] and the test: [CODE] | android|testing|android-espresso | 5 | 2015-02-23T13:28:44.157Z | 2,015 | 2 | 13 | 0 | 1,927 | 1 | 316 | 123 | 3 | 3 | true | false | false | false | false | false | low |
28,674,915 | Passing sqlite response value to jquery function in phonegap | <p>I am working on a phonegap app. I am facing some problem while passing value that I am getting from sqlite DB to jquery function.
I am passing a simple date variable to <code>onclick = popUP("+date+");</code>, but on the receiving end I am getting some different value. For example if date contains <code>2015-02-24</... | I am working on a phonegap app. I am facing some problem while passing value that I am getting from sqlite DB to jquery function. I am passing a simple date variable to onclick = popUP("+date+"); , but on the receiving end I am getting some different value. For example if date contains 2015-02-24 the popUP is receiving... | javascript|android|jquery|sqlite|cordova | 0 | 2015-02-23T13:29:40.153Z | 2,015 | 2 | 13 | 0 | 133 | 0 | 351 | 60 | 5 | 1 | true | true | false | false | false | false | zero |
28,674,916 | Android back stack issue with detail activity and navigation drawer | <p>I am having a small problem with android's back stack. </p>
<p>I have the following activity stack:</p>
<pre><code>Root -> ActivityA -> Detail
</code></pre>
<p>The Root Activity has launchMode set <code>singleTask</code>, the others are standard.</p>
<p>When switching to another activity using the navigati... | I am having a small problem with android's back stack. I have the following activity stack: [CODE] The Root Activity has launchMode set singleTask , the others are standard. When switching to another activity using the navigation drawer, I call finish on the current activity (if it's not root) and launch the selected o... | android|navigation-drawer|back-stack | 0 | 2015-02-23T13:29:40.683Z | 2,015 | 2 | 13 | 0 | 374 | 0 | 1,178 | 67 | 3 | 3 | true | true | false | false | false | false | zero |
28,674,920 | Getting Geofence Unique id and adding entities to Geofence in android | <p>I have created Geofence in android using "Google Api V2" using GoogleLocationService.GeofeningApi.
Since, For adding entities with any particular Geofence we must need to have the unique id of geofence created. But in android google api-V2 I am unable to get the "unique id" generated for my Geofence created, As per ... | I have created Geofence in android using "Google Api V2" using GoogleLocationService.GeofeningApi. Since, For adding entities with any particular Geofence we must need to have the unique id of geofence created. But in android google api-V2 I am unable to get the "unique id" generated for my Geofence created, As per htt... | android|android-geofence | 0 | 2015-02-23T13:29:52.027Z | 2,015 | 2 | 13 | 0 | 1,368 | 1 | 475 | 69 | 2 | 0 | false | false | false | false | false | false | zero |
28,674,948 | How to share an object between threads | <p>Recently I started working on a home monitoring system. I'm using and arduino to read the sensor data (like temperature) and send it to the raspberry pi over a serial port. On the raspberry pi I'm running a a java TCP server which reads the serial data and sends it to the clients (format: temperature:light). This al... | Recently I started working on a home monitoring system. I'm using and arduino to read the sensor data (like temperature) and send it to the raspberry pi over a serial port. On the raspberry pi I'm running a a java TCP server which reads the serial data and sends it to the clients (format: temperature:light). This all w... | android|multithreading|object|shared | -1 | 2015-02-23T13:31:21.247Z | 2,015 | 2 | 13 | 0 | 194 | 1 | 1,324 | 38 | 4 | 1 | true | false | false | false | false | true | negative |
28,674,967 | Flickering in Android while keyboard dismissal? | <p><img src="https://i.stack.imgur.com/EFy1c.png" alt="enter image description here">I am having issue with Android Tablet.
I have created a runtime views as shown in Attachment(tab_before_error.png), when user clicks on Edittext then keyboard appears, after typing something I am making some operations in aftertextcha... | I am having issue with Android Tablet. I have created a runtime views as shown in Attachment(tab_before_error.png), when user clicks on Edittext then keyboard appears, after typing something I am making some operations in aftertextchanged callback. When I dismiss the Keyboard, there is Flickering as shown in attachment... | android|performance|android-layout | 2 | 2015-02-23T13:32:33.283Z | 2,015 | 2 | 13 | 0 | 745 | 1 | 436 | 47 | 3 | 0 | false | false | false | false | false | false | low |
28,675,002 | Broadcast receiver being discarded | <p>I have the following code in my android manifest:</p>
<pre><code><receiver android:name="com.DDD.CCC.BBB.AAA" >
<intent-filter>
<action android:name="android.intent.action.SIM_STATE_CHANGED" />
</intent-filter>
<intent-filter>
<action android:name="androi... | I have the following code in my android manifest: [CODE] On the first boot, sometimes the android.intent.action.SIM_STATE_CHANGED is not received but sometimes it does. The event log, when the broadcast is received shows that: [CODE] when it does not receive, it shows the following: [CODE] Yes, i've seen that the proce... | android|android-intent|broadcastreceiver|intentfilter | 0 | 2015-02-23T13:34:25.767Z | 2,015 | 2 | 13 | 0 | 2,230 | 1 | 423 | 34 | 4 | 3 | true | false | false | false | false | false | zero |
28,675,007 | Android PhoneStateListener runs on the main thread? | <p>I've tried to build a piece of code that "verifies" data connectivity;
Say the user has turned data on, I'd like to "wait" for it to come back, up to a limit of time:</p>
<pre><code>final PhoneStateListener phoneStateListener = new PhoneStateListener() {
// occurs also when network state changes
@Ov... | I've tried to build a piece of code that "verifies" data connectivity; Say the user has turned data on, I'd like to "wait" for it to come back, up to a limit of time: [CODE] I register the listener: [CODE] then I wait on the lock: [CODE] It seems to always wait the whole timeMS ms, even if I turn data on pretty long be... | java|android|multithreading|phone-state-listener | 0 | 2015-02-23T13:34:46.537Z | 2,015 | 2 | 13 | 0 | 806 | 0 | 771 | 51 | 4 | 4 | true | true | false | false | false | false | zero |
28,675,012 | Scrollable EditText | <p>I have designed custom EditText that is inside scrollview. If I scroll the content of EditText it works fine. But while editing/entering text,if I press "enter key" continuously for 6 or 7 times, instead of content, the layout scrolls.</p>
<p>code for click and touch listener :</p>
<pre><code>this.setOnClickListen... | I have designed custom EditText that is inside scrollview. If I scroll the content of EditText it works fine. But while editing/entering text,if I press "enter key" continuously for 6 or 7 times, instead of content, the layout scrolls. code for click and touch listener : [CODE] It works fine for Android 4.2. Problem ex... | android|android-layout|android-edittext|android-scrollview | 1 | 2015-02-23T13:35:03.307Z | 2,015 | 2 | 13 | 0 | 98 | 0 | 514 | 19 | 4 | 2 | true | true | false | false | false | false | low |
28,675,054 | setSupportActionBar() always raises NullPointerException | <p>I tried to switch from ActionBar to Toolbars because I wanted to apply the new Material design.</p>
<p>Unfortunateley my approach did't work out and <code>setSupportActionBar()</code> always raises a NullPointerException.</p>
<p>The appcompat library is included as a library project and the dependency in the proje... | I tried to switch from ActionBar to Toolbars because I wanted to apply the new Material design. Unfortunateley my approach did't work out and setSupportActionBar() always raises a NullPointerException. The appcompat library is included as a library project and the dependency in the project settings are also set. Any su... | android|toolbar | 1 | 2015-02-23T13:37:18.590Z | 2,015 | 2 | 13 | 0 | 2,178 | 2 | 457 | 56 | 2 | 6 | true | false | false | false | false | false | low |
28,675,189 | Android :: html pre tag not rendered properly in webview | <p>I am using webview to render html tags. but is not rendering properly on hi resolution screen. other sentenses i am able to read but contents in pre tag is not readable. it is tiny. Please help.</p> | I am using webview to render html tags. but is not rendering properly on hi resolution screen. other sentenses i am able to read but contents in pre tag is not readable. it is tiny. Please help. | android|android-webview | 0 | 2015-02-23T13:44:59.723Z | 2,015 | 2 | 13 | 0 | 913 | 0 | 194 | 56 | 2 | 0 | false | true | false | false | false | false | zero |
28,675,207 | Android .xml file, items invisible when adding | <p>I'm building an application on Android Studio and I have with the widgets/items: when I add one to the .xml file, it appears invisible. Everything I put is invisible: Buttons, TextViews, Images, etc. </p>
<p>Here's the code:</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/androi... | I'm building an application on Android Studio and I have with the widgets/items: when I add one to the .xml file, it appears invisible. Everything I put is invisible: Buttons, TextViews, Images, etc. Here's the code: [CODE] Could anyone help me to find the origin of this problem? | java|android|xml|invisible | 3 | 2015-02-23T13:46:07.590Z | 2,015 | 2 | 13 | 0 | 167 | 1 | 280 | 46 | 4 | 1 | true | false | false | false | false | false | low |
28,675,271 | UTF-8 characters in jersey web service and android async task | <p>I am working on web service which send some parameter by post request.
But on the server side i always get wrong string.</p>
<p>As an example if i send "testing éra l'university" at server side its</p>
<p>Output is = "testing ?ra l'university"
It added ? in special character of french word.</p>
<p>This is my asyn... | I am working on web service which send some parameter by post request. But on the server side i always get wrong string. As an example if i send "testing éra l'university" at server side its Output is = "testing ?ra l'university" It added ? in special character of french word. This is my async task code [CODE] and Jers... | android|utf-8|android-asynctask|jersey | 1 | 2015-02-23T13:49:19.163Z | 2,015 | 2 | 13 | 0 | 310 | 0 | 339 | 61 | 4 | 2 | true | true | false | false | false | false | low |
28,675,371 | What map API for android suits my application | <p>I´m making an app that requires the locations of all users that are signed into it and displaying all of their locations to each other on a map.</p>
<p>What tool can you recommend me for the job?</p> | I´m making an app that requires the locations of all users that are signed into it and displaying all of their locations to each other on a map. What tool can you recommend me for the job? | android|google-maps|location-services | -1 | 2015-02-23T13:54:19.833Z | 2,015 | 2 | 13 | 0 | 69 | 2 | 188 | 45 | 3 | 0 | false | false | false | false | false | true | negative |
28,675,379 | How to implement Search in actionbar for listview? | <p>I am implementing search to a listview using actionbar default search...
here is my code</p>
<pre><code>@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.overview_menu_with_search, menu);
SearchManager searchManager = (SearchManager) getSystemService( Context.SEARCH... | I am implementing search to a listview using actionbar default search... here is my code [CODE] Below are the errors i am getting.. [CODE] | android | 0 | 2015-02-23T13:54:41.500Z | 2,015 | 2 | 13 | 0 | 58 | 0 | 138 | 50 | 1 | 2 | true | true | false | false | false | false | zero |
28,675,424 | Show a splash screen within the Application class | <p>In my Android app I'm doing a remote settings call in the Application class since it contains values I need for a library which must be initialised in the Application class onCreate().</p>
<p>There's two big issues with this however. One being that I have to join the network thread with the main thread to make sure... | In my Android app I'm doing a remote settings call in the Application class since it contains values I need for a library which must be initialised in the Application class onCreate(). There's two big issues with this however. One being that I have to join the network thread with the main thread to make sure that we go... | android|network-programming|splash-screen|urbanairship.com | 0 | 2015-02-23T13:57:28.083Z | 2,015 | 2 | 13 | 0 | 167 | 0 | 929 | 49 | 4 | 0 | false | true | false | false | false | false | zero |
28,675,452 | Gson - Convert from Json to List<> | <p>i'm having an issue converting Json to List<>, I have tried different solutions but no clue </p>
<p>My json result looks like :</p>
<pre><code>{
"Return":0,
"List":[
{
"Code":524288,
"Label":"TEST"
},
{
"Code":524289,
"Label":"TEST1"
},
... | i'm having an issue converting Json to List<>, I have tried different solutions but no clue My json result looks like : [CODE] My code : [CODE] My questionnaire class : [CODE] Here is everything I can't see what's wrong about that | android|json|gson | 0 | 2015-02-23T13:58:27.277Z | 2,015 | 2 | 13 | 0 | 1,008 | 3 | 230 | 34 | 3 | 3 | true | false | false | false | false | false | zero |
28,675,458 | Can't Call OnItemClicklistner (with reference of checkBox in View parameter) on clicking on checkbox in Custom ListView | <p>I am unable to fire OnItemClicklistner method on clicking on Checkbox (in my List-view), i have tried following way...</p>
<p>i have set the focusability and clickability to false as follows.</p>
<pre><code>android:focusable="false"
android:clickable="false"
android:focusableInTouchMode="false"
</code></pre>
<p>I... | I am unable to fire OnItemClicklistner method on clicking on Checkbox (in my List-view), i have tried following way... i have set the focusability and clickability to false as follows. [CODE] It fires the OnItemClicklistner but doesn't send reference of Checkbox in view parameter. Please help on this. | checkbox|android-listview|onitemclicklistener|clickable|focusable | 1 | 2015-02-23T13:58:51.287Z | 2,015 | 2 | 13 | 0 | 21 | 1 | 302 | 119 | 5 | 1 | true | false | false | false | false | false | low |
28,675,483 | GoogleApiClient is not connected yet | <p>My app was working until yesterday when i started the following:</p>
<blockquote>
<pre><code>Caused by: java.lang.IllegalStateException: GoogleApiClient is not connected yet.
</code></pre>
</blockquote>
<p>Has anyone every come accross this?</p> | My app was working until yesterday when i started the following: [CODE] Has anyone every come accross this? | java|android|google-api | 0 | 2015-02-23T14:00:08.143Z | 2,015 | 2 | 14 | 0 | 1,351 | 0 | 107 | 36 | 3 | 1 | true | true | false | false | false | false | zero |
28,675,613 | Chromecast-Volume progress bar visible on TV but not on my android mobile device | <p>I am using following below code to increase and decrease volume of TV while playing video from device through Chromecast.I can see the volume increase decrease progress bar on tv while pressing volume up down buttons on device but i can't see the volume progress bar on my android mobile device.I want to see the prog... | I am using following below code to increase and decrease volume of TV while playing video from device through Chromecast.I can see the volume increase decrease progress bar on tv while pressing volume up down buttons on device but i can't see the volume progress bar on my android mobile device.I want to see the progres... | android|chromecast|google-cast | 1 | 2015-02-23T14:07:18.113Z | 2,015 | 2 | 14 | 0 | 434 | 1 | 432 | 80 | 3 | 1 | true | false | false | false | false | false | low |
28,675,676 | From android.media.Image to Mat | <p>I am using Android Camera2 API to acquire frames from the camera. I can get an ImageReader that reads Image objects with the acquireLatestImage() method.</p>
<p>Since I need to process the acquired frames, I have to convert each Image object into a Mat object. I suppose this is a quite common problem, so I expected... | I am using Android Camera2 API to acquire frames from the camera. I can get an ImageReader that reads Image objects with the acquireLatestImage() method. Since I need to process the acquired frames, I have to convert each Image object into a Mat object. I suppose this is a quite common problem, so I expected to find a ... | java|android|opencv | 6 | 2015-02-23T14:10:43.183Z | 2,015 | 2 | 14 | 0 | 3,390 | 1 | 481 | 31 | 3 | 0 | false | false | true | false | false | false | medium |
28,675,677 | Facebook GRAPH API - Login bypass. Token security | <p>I'm writing an app that incudes "news stream". One type of the entry is facebook post. I'd like to put those posts just like Twitter API allows to - <strong>without Login</strong>.
I do not want to implement Facebook Login feature from theirs API. It is redundant in my case.
What I am wondering is the security of th... | I'm writing an app that incudes "news stream". One type of the entry is facebook post. I'd like to put those posts just like Twitter API allows to - without Login . I do not want to implement Facebook Login feature from theirs API. It is redundant in my case. What I am wondering is the security of this kind of bypass. ... | java|php|android|facebook|facebook-graph-api | 1 | 2015-02-23T14:10:47.213Z | 2,015 | 2 | 14 | 0 | 1,219 | 1 | 753 | 49 | 5 | 1 | true | false | false | false | false | false | low |
28,675,688 | How can I see the text that I'm typing in editText window in alertDialog? | <p>I have the following code for an <code>AlertDialog</code> window in which I want the user to input a number(that I'm storing in int <code>m_Text</code>). I have 2 problems: I can't see the numbers that I'm typing and if I press enter without any numbers it will crash. How can I solve them ? (the method <code>pressMe... | I have the following code for an AlertDialog window in which I want the user to input a number(that I'm storing in int m_Text ). I have 2 problems: I can't see the numbers that I'm typing and if I press enter without any numbers it will crash. How can I solve them ? (the method pressMe() is executed when I press a butt... | java|android | 0 | 2015-02-23T14:11:21.050Z | 2,015 | 2 | 14 | 0 | 90 | 2 | 330 | 73 | 2 | 1 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.