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,780,372 | Change constant values when building a release edition | <p>I'm developing in eclipse using ADT for android.<br/>
In my application I have some constants which help me to to debug my app easily.<br/>
As an example I have:<br/>
<code>public static final boolean DEBUG_TOAST_LOGS = true;</code><br/>
which help me to toast some logs on the screen.<br/>
Each time I intend to buil... | I'm developing in eclipse using ADT for android. In my application I have some constants which help me to to debug my app easily. As an example I have: public static final boolean DEBUG_TOAST_LOGS = true; which help me to toast some logs on the screen. Each time I intend to build a release, I have to go through my cons... | android|eclipse|build-process|release-mode|debug-mode | 5 | 2015-02-28T09:50:56.673Z | 2,015 | 2 | 9 | 5 | 2,150 | 2 | 726 | 54 | 5 | 0 | false | false | false | false | false | false | low |
28,780,426 | Consuming aars from eclipse does not work | <p><strong>*THIS PART WAS MY ORIGINAL STARTING PROBLEM. PLEASE READ THE UPDATES</strong><br>
I have imported an android project in eclipse that apparently depends on <a href="https://github.com/rengwuxian/MaterialEditText" rel="nofollow">rengwuxian</a>.<br>
Since I could not find the jar and did not know how else to do... | *THIS PART WAS MY ORIGINAL STARTING PROBLEM. PLEASE READ THE UPDATES I have imported an android project in eclipse that apparently depends on rengwuxian . Since I could not find the jar and did not know how else to do it, I followed the instructions in consuming-aars-eclipse and imported a second project with the artif... | java|android|eclipse|adt|aar | 0 | 2015-02-28T09:57:45.883Z | 2,015 | 2 | 9 | 5 | 437 | 1 | 2,428 | 41 | 5 | 1 | true | false | false | false | false | false | zero |
28,780,438 | How can I authenticate to my server with the Login credentials in android? | <p>I'm very new to Android and since I'm a self learner I've been stuck with the following problem.
I have a simple code in MainActivity as</p>
<pre><code> login.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
String sapCode = String.value... | I'm very new to Android and since I'm a self learner I've been stuck with the following problem. I have a simple code in MainActivity as [CODE] As you can see in the above code by taking user credentials from view, I'm authenticating by giving hard coded values. But Instead to that code, Indeed I should make rest call ... | java|android|sharedpreferences|httpurlconnection|androidhttpclient | 2 | 2015-02-28T09:59:14.877Z | 2,015 | 2 | 9 | 5 | 442 | 1 | 826 | 74 | 5 | 2 | true | false | false | false | false | false | low |
28,780,457 | I want to be informed if my app is no longer visible or killed | <p>I want to run a SERVICE when my app is no longer visible for example if the user pressed home button or killed my app.
how can I implement that?</p> | I want to run a SERVICE when my app is no longer visible for example if the user pressed home button or killed my app. how can I implement that? | android | 0 | 2015-02-28T10:01:39.610Z | 2,015 | 2 | 10 | 5 | 59 | 3 | 144 | 62 | 1 | 0 | false | false | false | false | false | false | zero |
28,780,460 | Android GPU profiling - OpenGL Live Wallpaper is slow | <p>I'm developing a Live Wallpaper using OpenGL ES 3.0. I've set up according to the excellent tutorial at <a href="http://www.learnopengles.com/how-to-use-opengl-es-2-in-an-android-live-wallpaper/" rel="nofollow noreferrer">http://www.learnopengles.com/how-to-use-opengl-es-2-in-an-android-live-wallpaper/</a>, adapting... | I'm developing a Live Wallpaper using OpenGL ES 3.0. I've set up according to the excellent tutorial at http://www.learnopengles.com/how-to-use-opengl-es-2-in-an-android-live-wallpaper/ , adapting GLSurfaceView and using it inside the Live Wallpaper. I have a decent knowledge of OpenGL/GLSL best practices, and I've set... | java|android|opengl-es|profiling|gpu | 3 | 2015-02-28T10:02:04.120Z | 2,015 | 2 | 10 | 5 | 1,058 | 1 | 2,385 | 53 | 5 | 0 | false | false | false | false | false | false | low |
28,780,477 | android custom ui library is not working | <p>I was trying to implement this:<a href="https://github.com/daimajia/NumberProgressBar" rel="nofollow noreferrer">https://github.com/daimajia/NumberProgressBar</a> github library in my project .here is my xml file </p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:... | I was trying to implement this: https://github.com/daimajia/NumberProgressBar github library in my project .here is my xml file [CODE] java file: [CODE] } but it show following error I dont know what to do please help me out; | android|android-layout|android-ui | 1 | 2015-02-28T10:03:25.893Z | 2,015 | 2 | 10 | 5 | 196 | 2 | 225 | 40 | 3 | 2 | true | false | false | false | false | false | low |
28,780,524 | Shaking Music player | <p>i posted an question on stackoverflow but nobody can answer me. it might, i couldn't say my question very well. now i try to say it better. I want a chunck of andrid codeto detect shake; but not normal shake, an slap. i saw a music palyer(sensor music palyer) on google play store that can detect slap and change musi... | i posted an question on stackoverflow but nobody can answer me. it might, i couldn't say my question very well. now i try to say it better. I want a chunck of andrid codeto detect shake; but not normal shake, an slap. i saw a music palyer(sensor music palyer) on google play store that can detect slap and change music w... | android|controller|android-sensors | 1 | 2015-02-28T10:09:39.397Z | 2,015 | 2 | 10 | 5 | 212 | 0 | 580 | 20 | 3 | 0 | false | true | false | false | false | false | low |
28,780,537 | Retrieving data from settings page in live wallpaper | <p>Consider following code be the settings page of a live wallpaper in Android:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/livewallpaper_settings"
android:key="livewallpaper_settings">
... | Consider following code be the settings page of a live wallpaper in Android: [CODE] It shows a setting page and everything about showing the settings is ok. How can I save this settings and use them while creating the live wallpaper? Also, is it true to read the settings in onCreate method or not? | android|settings|live-wallpaper | 0 | 2015-02-28T10:11:14.173Z | 2,015 | 2 | 10 | 5 | 82 | 1 | 298 | 52 | 3 | 1 | true | false | false | false | false | false | zero |
28,780,541 | Return an ArrayList and String asyncTask | <p>How would i return an ArrayList of objects and a String from one aSyncTask class.</p>
<p>The aSyncTask uses jsoup to retrieve 3 elements of a table which is put into a new Employee class and then returned back to MainActivity as an arraylist but i want it to also return a String for that specific table.</p>
<p>Mai... | How would i return an ArrayList of objects and a String from one aSyncTask class. The aSyncTask uses jsoup to retrieve 3 elements of a table which is put into a new Employee class and then returned back to MainActivity as an arraylist but i want it to also return a String for that specific table. MainActivity [CODE] Ge... | java|android|android-asynctask | 3 | 2015-02-28T10:11:42.800Z | 2,015 | 2 | 10 | 5 | 908 | 3 | 410 | 40 | 3 | 2 | true | false | false | false | false | false | low |
28,780,590 | Eclipse Cocos2d-x app not change after changing the source | <p>I am working with Eclipse using cocos2d-x 3.4 the problem is when I changing code in cpp files under "Class" folder nothing is changes when I start the app. But the changes are applied in Visual studio also when I change java files changes applied too. Any ideas whats wrong?</p> | I am working with Eclipse using cocos2d-x 3.4 the problem is when I changing code in cpp files under "Class" folder nothing is changes when I start the app. But the changes are applied in Visual studio also when I change java files changes applied too. Any ideas whats wrong? | java|android|eclipse|cocos2d-x | 0 | 2015-02-28T10:17:32.217Z | 2,015 | 2 | 10 | 5 | 139 | 1 | 275 | 58 | 4 | 0 | false | false | false | false | false | false | zero |
28,780,623 | Sending jbyte array to Java method failed using JNI | <p>Consider this java method:</p>
<pre><code>public int write(byte[] src, int timeoutMillis) throws IOException {
System.out.println("Write function started.");
System.out.println("buffer = " + src.length);
System.out.println("buffer = " + src[0]);
return 1;
}
</code></pre>
<p>I tried to use this meth... | Consider this java method: [CODE] I tried to use this method from c++ using Qandroid JNI. Here is the code I've written in c++: [CODE] According to the signature of Java code. Do I use the callMethod correctly? Why it does not run at all? It prints nothing in the console! No exception no error! For your information, I'... | c++|qt|java-native-interface|qtandroidextras|jbytearray | 1 | 2015-02-28T10:22:04.867Z | 2,015 | 2 | 10 | 5 | 1,576 | 1 | 773 | 51 | 5 | 2 | true | false | false | false | false | false | low |
28,780,627 | Change WindowManager.LayoutParams.screenBrightness in Android | <p>the original question I asked <a href="https://stackoverflow.com/questions/28779724/changing-screen-brightness-via-android-app">here</a></p>
<p>However, after I write the code below, no matter which button I click, the brightness of the screen didn't change.</p>
<p><strong>I use Android Studio and API level 21 and... | the original question I asked here However, after I write the code below, no matter which button I click, the brightness of the screen didn't change. I use Android Studio and API level 21 and use virtual machine Nexus 5 API 21 ×86 and I added user permission in manifest I create a method to update the screen brightness... | android | 0 | 2015-02-28T10:22:36.550Z | 2,015 | 2 | 10 | 5 | 696 | 0 | 467 | 61 | 1 | 2 | true | true | false | false | false | false | zero |
28,780,675 | Create folder and store Image by camera | <p>please read my code ask solution how to create folder </p>
<p>public class CameraActivity extends ActionBarActivity {</p>
<pre><code>private static final int ACTION_TAKE_IMAGE = 1;
Button btnImage;
ImageView imageView;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstan... | please read my code ask solution how to create folder public class CameraActivity extends ActionBarActivity { [CODE] @onActivityResult start [CODE] this code work 2.3 capture Image but work and not create folder not store in my specific folder please ask your answer | java|android|camera | 0 | 2015-02-28T10:28:30.777Z | 2,015 | 2 | 10 | 5 | 183 | 3 | 266 | 39 | 3 | 2 | true | false | false | false | false | false | zero |
28,780,677 | Inconsistent webfont sizes in Android device | <p>I am facing this haunting issue of different "p tag" font sizes across my website when all the pages use the same "p tag". This problem is specific to Android or possibly all mobile devices. Please see below screenshot comparison for better understanding.</p>
<p>The pages in question are:
<strong>Page 1</strong> –... | I am facing this haunting issue of different "p tag" font sizes across my website when all the pages use the same "p tag". This problem is specific to Android or possibly all mobile devices. Please see below screenshot comparison for better understanding. The pages in question are: Page 1 – http://drearth.in/about-dr-e... | android|html|css | 1 | 2015-02-28T10:28:38.570Z | 2,015 | 2 | 10 | 5 | 24 | 0 | 397 | 44 | 3 | 0 | false | true | false | false | false | false | low |
28,780,694 | Android cursor sometimes returns empty even when the data exists | <p>I have an android application that first fetch some data from the web (any updates that might available for an Item) and write the data and after that read the fetched data from the database.
The problem is in some cases the reading operation with android cursor returns an empty cursor but we know that the data exis... | I have an android application that first fetch some data from the web (any updates that might available for an Item) and write the data and after that read the fetched data from the database. The problem is in some cases the reading operation with android cursor returns an empty cursor but we know that the data exist b... | android|sqlite|android-asynctask|cursor|is-empty | 0 | 2015-02-28T10:31:37.693Z | 2,015 | 2 | 10 | 5 | 1,308 | 2 | 670 | 64 | 5 | 3 | true | false | false | false | false | false | zero |
28,780,733 | Phonegap splash screen image distorted | <p>Splash screen didint show up and I found that I was missing the default splash screen in confix.xml</p>
<p>I updated my config with splash.png but when I open the app the splash screen looks distorted.</p>
<p>Does somebody can explain why, and what size should I use to look normal?</p>
<p>I test on a Samsung Gala... | Splash screen didint show up and I found that I was missing the default splash screen in confix.xml I updated my config with splash.png but when I open the app the splash screen looks distorted. Does somebody can explain why, and what size should I use to look normal? I test on a Samsung Galaxy S2 [CODE] | javascript|android|cordova|splash-screen | 0 | 2015-02-28T10:36:56.230Z | 2,015 | 2 | 10 | 5 | 166 | 1 | 305 | 38 | 4 | 1 | true | false | false | false | false | false | zero |
28,780,791 | Coverflow independent of gallery class on Android | <p>I want to use coverflow widget as shown in image below. It should be independent of gallery class as this class is deprecated. Please suggest quickest and simplest way possible. Also images should get recycled which will avoid OutOfMemoy crashes. Thanks in advance. NOTE : It should be exactly as shown in image.</p>
... | I want to use coverflow widget as shown in image below. It should be independent of gallery class as this class is deprecated. Please suggest quickest and simplest way possible. Also images should get recycled which will avoid OutOfMemoy crashes. Thanks in advance. NOTE : It should be exactly as shown in image. | android|animation|widget|carousel|coverflow | 1 | 2015-02-28T10:43:08.550Z | 2,015 | 2 | 10 | 5 | 92 | 0 | 312 | 49 | 5 | 0 | false | true | false | false | false | false | low |
28,780,798 | Snapchat discover animation | <p>I would like to make something similar like snapchat discover animation i mean when i click the button take the whole screen and the video start how can i do something like this to start a video view after all :</p>
<pre><code>direction Button btn = (Button) findViewById(R.id.button2);
ScaleAnimation scale ... | I would like to make something similar like snapchat discover animation i mean when i click the button take the whole screen and the video start how can i do something like this to start a video view after all : [CODE] | android|animation | 0 | 2015-02-28T10:43:25.877Z | 2,015 | 2 | 10 | 5 | 732 | 1 | 218 | 27 | 2 | 1 | true | false | false | false | false | false | zero |
28,780,802 | Why HashMap method returns null object reference? | <p>I've tried to make a <code>HashMap</code> method to get SQLite database data, but when I call the method it returns <code>null</code> reference that made my Android app stop working. </p>
<p>This my code:</p>
<h2>HashMap method:</h2>
<pre><code>public HashMap<String, String> getUserDetails(){
HashMap<... | I've tried to make a HashMap method to get SQLite database data, but when I call the method it returns null reference that made my Android app stop working. This my code: HashMap method: [CODE] and this how I call the method in other class [CODE] anyway I use a tutorial reference to make this and merge with my own need... | java|android|sqlite|hashmap | 1 | 2015-02-28T10:43:42.297Z | 2,015 | 2 | 10 | 5 | 1,567 | 1 | 322 | 49 | 4 | 2 | true | false | false | false | false | false | low |
28,780,812 | Send data from broadcast receiver to fragment | <p>I have a broadcast receiver that gets fired whenever a download finishes in the system. What i want to do is to send the result of this receiver to my fragment where i update the views.
Currently i use this approach. </p>
<pre><code>public class DownloadCompleteReceiver extends BroadcastReceiver {
public inte... | I have a broadcast receiver that gets fired whenever a download finishes in the system. What i want to do is to send the result of this receiver to my fragment where i update the views. Currently i use this approach. [CODE] and in my fragment onStart method i do this. [CODE] and in onStop method [CODE] then i implement... | android|broadcastreceiver|observer-pattern|broadcast | 2 | 2015-02-28T10:44:38.257Z | 2,015 | 2 | 10 | 5 | 1,948 | 2 | 739 | 45 | 4 | 3 | true | false | false | false | false | false | low |
28,780,897 | Broadcast before BOOT_COMPLETED? | <p>Is there a way to detect that the device is turned on but the BOOT_COMPLETED broadcast? I know I can catch the Broadcast with a BOOT_COMPLETED RECEIVER, but is there anything that is fired directly after device is turned on, for example if the user turns on the device and the System Pin request is appearing? I check... | Is there a way to detect that the device is turned on but the BOOT_COMPLETED broadcast? I know I can catch the Broadcast with a BOOT_COMPLETED RECEIVER, but is there anything that is fired directly after device is turned on, for example if the user turns on the device and the System Pin request is appearing? I checked ... | android|permissions|broadcastreceiver|bootcompleted | 1 | 2015-02-28T10:54:36.373Z | 2,015 | 2 | 10 | 5 | 980 | 1 | 593 | 32 | 4 | 0 | false | false | false | false | false | false | low |
28,780,957 | Android latitude and longitude, unknown ACCESS_FINE_LOCATION permission error | <p>I'm trying to solve the perennial problem of latitude and longitude on Android.</p>
<p>This is my Activity:</p>
<pre><code>public class MainActivity extends ActionBarActivity {
General general;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentV... | I'm trying to solve the perennial problem of latitude and longitude on Android. This is my Activity: [CODE] and this is my AndroidManifest inside manifest tags: [CODE] class General contains Geo class: [CODE] and Geo class is this: [CODE] I always get this error: [CODE] | android|locationmanager | 0 | 2015-02-28T11:02:47.620Z | 2,015 | 2 | 11 | 5 | 550 | 1 | 270 | 77 | 2 | 5 | true | false | false | false | false | false | zero |
28,781,006 | Android Studio: Add library as reference, not as import | <p>This question is a sequel to <a href="https://stackoverflow.com/questions/28762355/android-studio-core-app-with-different-wrapper-for-every-customer">this one</a>. </p>
<p>In an existing Eclipse solution I have a library project which is used as a Android Dependency in the main app project. That means that if I edi... | This question is a sequel to this one . In an existing Eclipse solution I have a library project which is used as a Android Dependency in the main app project. That means that if I edit this library, and compile, the main project is updated with the latest from that library. I'm trying to do the same in Android Studio.... | android|android-studio|android-library | 2 | 2015-02-28T11:09:31.327Z | 2,015 | 2 | 11 | 5 | 1,175 | 2 | 597 | 55 | 3 | 1 | true | false | false | false | false | false | low |
28,781,012 | Null Pointer exception in Realm | <p>I have some functions, that save data 'Dialog' and 'Message' in realm DB. </p>
<pre><code>private void addMessageToDialog(ObservableDialog dialog, DialogMessage dialog_msg) {
// if i try to use FINDDIALOG - i have NPE errors
rDialog rDialog = findDialog(dialog.getChatId());
realm.beginTrans... | I have some functions, that save data 'Dialog' and 'Message' in realm DB. [CODE] When i use this code, it works only if i DON't USE findDialog (and realm.where method, and only use constructObjectRDialog ). But when i try to use findDialog (in addMessageToDialog ) I have NPE error in [CODE] Why can be such erros? PS - ... | java|android|realm | 3 | 2015-02-28T11:10:14.060Z | 2,015 | 2 | 11 | 5 | 1,185 | 1 | 395 | 31 | 3 | 3 | true | false | false | false | false | false | low |
28,781,095 | How to set status bar color in android | <p>I have used this below code to set the status bar color. placed this code under values-v21 folder</p>
<p>` </p>
<pre><code><style name="AppTheme" parent="android:Theme.Material">
<item name="android:windowNoTitle">true</item>
<item name="android:windowContentOverlay">@null<... | I have used this below code to set the status bar color. placed this code under values-v21 folder ` [CODE] ` But it makes following error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'. How to solve this? | android|statusbar | 0 | 2015-02-28T11:21:10.380Z | 2,015 | 2 | 11 | 5 | 1,322 | 2 | 236 | 38 | 2 | 1 | true | false | false | false | false | false | zero |
28,781,108 | Action Bar missing in Navigation Drawer | <p>I have been working on Navigation Drawer. But my getActionBar() is getting caught in NullPointerException. On surrounding it with try and catch, the ActionBar becomes invisible. Any suggestion how to fix it?</p> | I have been working on Navigation Drawer. But my getActionBar() is getting caught in NullPointerException. On surrounding it with try and catch, the ActionBar becomes invisible. Any suggestion how to fix it? | android|navigation | 1 | 2015-02-28T11:21:59.823Z | 2,015 | 2 | 11 | 5 | 99 | 1 | 207 | 39 | 2 | 0 | false | false | false | false | false | false | low |
28,781,110 | android - enter multiple string values to edittext | <p>I have an app in android that handles reporting about classes taken.</p>
<p>I have a edittext that is for entering the teacher's name, but there is a possibilty that there are more then one teacher.</p>
<p>I want to put all the names in the same edittext, similar to how its on gamil -</p>
<p>where you send a mail... | I have an app in android that handles reporting about classes taken. I have a edittext that is for entering the teacher's name, but there is a possibilty that there are more then one teacher. I want to put all the names in the same edittext, similar to how its on gamil - where you send a mail in gmail, you can enter mu... | android|android-edittext|autocompletetextview | 0 | 2015-02-28T11:22:05.083Z | 2,015 | 2 | 11 | 5 | 916 | 1 | 526 | 50 | 3 | 0 | false | false | false | false | false | false | zero |
28,781,117 | Android left and right alignment of listview | <p>I want to align the listview left and right inside a <code>RelativeLayout</code> as done in IM apps.</p>
<p>My Problem is that things are getting random. Sometimes when <code>m.getme() == 0</code> then its <code>msg_row_he.xml</code> layout loaded but sometimes its <code>msg_row_me.xml</code> loaded. And the align ... | I want to align the listview left and right inside a RelativeLayout as done in IM apps. My Problem is that things are getting random. Sometimes when m.getme() == 0 then its msg_row_he.xml layout loaded but sometimes its msg_row_me.xml loaded. And the align of listview's are changing at every scroll. Can anyone figure o... | java|android|android-layout|android-view|android-xml | 0 | 2015-02-28T11:22:39.867Z | 2,015 | 2 | 11 | 5 | 999 | 2 | 456 | 44 | 5 | 3 | true | false | false | false | false | false | zero |
28,781,161 | Android MultiClient-Server using java | <p>i´m making a project with a friend and we have the next problem;
the program most connect to a server in java and send message but dont get anything form the server, the thing is that i already give the permission to connect to internet in the manifest and use this code as MainActivity</p>
<pre><code>package Er.net... | i´m making a project with a friend and we have the next problem; the program most connect to a server in java and send message but dont get anything form the server, the thing is that i already give the permission to connect to internet in the manifest and use this code as MainActivity [CODE] this part is for the clien... | java|android|multithreading|tcpclient | 0 | 2015-02-28T11:27:48.923Z | 2,015 | 2 | 11 | 5 | 204 | 0 | 823 | 37 | 4 | 4 | true | true | false | false | false | false | zero |
28,781,188 | How to initiate fragment in fragmentActivity if it is added dynamically? | <p>I have a <code>FragmentActivity</code> in which I am implementing navigation drawer, like if I select any item from drawer list then its fragment is opened in activity. Now my XML layout code to display fragments looks like this</p>
<pre><code><!-- Framelayout to display Fragments -->
<FrameLayout
... | I have a FragmentActivity in which I am implementing navigation drawer, like if I select any item from drawer list then its fragment is opened in activity. Now my XML layout code to display fragments looks like this [CODE] This means I have not any fragment tags in xml file but I open fragments dynamically from activit... | java|android|android-layout|android-fragments | 0 | 2015-02-28T11:29:57.677Z | 2,015 | 2 | 11 | 5 | 506 | 1 | 1,540 | 72 | 4 | 5 | true | false | false | false | false | false | zero |
28,781,209 | Application is not supported in android 5.2 | <p>Hi i developed android application but it is running in 5.2. But aftre upload to google play store if search means it is not showing in nexus tablet android 5.2`</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.examp... | Hi i developed android application but it is running in 5.2. But aftre upload to google play store if search means it is not showing in nexus tablet android 5.2` [CODE] ` | android|google-play|android-5.0-lollipop | 0 | 2015-02-28T11:32:24.717Z | 2,015 | 2 | 11 | 5 | 160 | 1 | 170 | 43 | 3 | 1 | true | false | false | false | false | false | zero |
28,781,227 | Download to folder/files android apps | <p>my problem is that I use in my practice are pdf files. I did not add them into my application. I want pdf files from ftp or a URL to download it. I have no idea about the solution. I've tried a lot ftp code and URL code. All I want, when you pressed the button of the sdcard files from a URL or FTP address to get a d... | my problem is that I use in my practice are pdf files. I did not add them into my application. I want pdf files from ftp or a URL to download it. I have no idea about the solution. I've tried a lot ftp code and URL code. All I want, when you pressed the button of the sdcard files from a URL or FTP address to get a down... | java|android|file|ftp|download | -1 | 2015-02-28T11:34:19.757Z | 2,015 | 2 | 11 | 5 | 183 | 1 | 347 | 37 | 5 | 0 | false | false | false | false | false | true | negative |
28,781,297 | Android - how to handle locale class | <p>In android My requirement is :--
when my app will open,there will be a spinner..this spinner will call locale languages..user can set own language from there..And then total app(other activities) will show as user's select language.</p>
<p>so my code is like:--</p>
<pre><code>String lang[] = locale.getISO3Language... | In android My requirement is :-- when my app will open,there will be a spinner..this spinner will call locale languages..user can set own language from there..And then total app(other activities) will show as user's select language. so my code is like:-- [CODE] and [CODE] Am I correct??or is there another efficient way... | android | 0 | 2015-02-28T11:41:54.713Z | 2,015 | 2 | 11 | 5 | 39 | 2 | 341 | 36 | 1 | 2 | true | false | false | false | false | false | zero |
28,781,303 | Using Volley, How to get Cookie value(s) from response coming from server? | <p>i am using Volley to make connection, Volley manages session management automatically. I want to get Cookie value(s) from Response, and set Cookie Value to subsequent Request. </p>
<p>How to get Cookie value from Response, and set into Request ?</p> | i am using Volley to make connection, Volley manages session management automatically. I want to get Cookie value(s) from Response, and set Cookie Value to subsequent Request. How to get Cookie value from Response, and set into Request ? | android|android-volley | 3 | 2015-02-28T11:42:24.520Z | 2,015 | 2 | 11 | 5 | 629 | 0 | 237 | 74 | 2 | 0 | false | true | false | false | false | false | low |
28,781,390 | android.view.InflateException: Binary XML file line #33: Error inflating class fragment | <p>I am having a bit if trouble with my Google Maps application. I have three buttons in my application; "Open Google Maps", "Camera" and "Touch". When the application lanuches it goes straight to the Google Maps screen, everything works fine up until this point but when the user is on Google Maps screen and clicks Goo... | I am having a bit if trouble with my Google Maps application. I have three buttons in my application; "Open Google Maps", "Camera" and "Touch". When the application lanuches it goes straight to the Google Maps screen, everything works fine up until this point but when the user is on Google Maps screen and clicks Google... | java|android|xml|google-maps|android-fragments | 4 | 2015-02-28T11:52:10.550Z | 2,015 | 2 | 11 | 5 | 1,651 | 1 | 765 | 87 | 5 | 3 | true | false | false | false | false | false | low |
28,781,401 | Open "Backup and reset" in Settings Programmatically | <p>I want to open <strong>Backup and reset</strong> in Android Setting. For example If you want to open <strong>Wi-Fi</strong> in Android settings you can use this code :</p>
<pre><code>getApplicationContext().startActivity(new Intent(Settings.ACTION_WIFI_SETTINGS));
</code></pre>
<p>But I found nothing that could he... | I want to open Backup and reset in Android Setting. For example If you want to open Wi-Fi in Android settings you can use this code : [CODE] But I found nothing that could help me to open Backup and reset . Has anyone seen any implementations of how to do that? | android | 9 | 2015-02-28T11:53:35.973Z | 2,015 | 2 | 11 | 5 | 2,416 | 4 | 261 | 52 | 1 | 1 | true | false | false | false | false | false | medium |
28,781,407 | bitmap size exceeds VM budget in some devices | <p>I am doing android app, works fine in a device with 3Gb Ram but bad in a device with 512 mbRam. I am getting error "bitmap size exceeds VM budget" I don´t know how solve it. This is my layout´s code that uses many drawables.</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:androi... | I am doing android app, works fine in a device with 3Gb Ram but bad in a device with 512 mbRam. I am getting error "bitmap size exceeds VM budget" I don´t know how solve it. This is my layout´s code that uses many drawables. [CODE] I have using this that I have read in other questions but I can´t solve it: [CODE] | android|android-drawable|android-image|android-bitmap | -1 | 2015-02-28T11:54:24.317Z | 2,015 | 2 | 11 | 5 | 89 | 4 | 314 | 45 | 4 | 2 | true | false | false | false | false | true | negative |
28,781,432 | quickblox android sdk unauthorized error | <p>I download the chat sample from quickblox and follow all the steps at <a href="http://quickblox.com/developers/5_Mins_Guide" rel="nofollow">http://quickblox.com/developers/5_Mins_Guide</a> iam geting unauthorized error
i spending days for it for simple open groupchat feature in my app</p>
<p>please could some one h... | I download the chat sample from quickblox and follow all the steps at http://quickblox.com/developers/5_Mins_Guide iam geting unauthorized error i spending days for it for simple open groupchat feature in my app please could some one help me. [CODE] | android|quickblox | 0 | 2015-02-28T11:57:50.203Z | 2,015 | 2 | 11 | 5 | 741 | 1 | 249 | 40 | 2 | 1 | true | false | false | false | false | false | zero |
28,781,460 | OpenCV for Android: Bitmap is null (bmp == null) | <p>I am trying to load an image into a bitmap so I can make some processing on tha cameraframe, but I keep getting bmp == null when I try to use the static image.
Here is my code:</p>
<pre><code>public Mat onCameraFrame(CvCameraViewFrame inputFrame) {
String path = Environment.getExternalStorageDirectory().get... | I am trying to load an image into a bitmap so I can make some processing on tha cameraframe, but I keep getting bmp == null when I try to use the static image. Here is my code: [CODE] So I used Eclipse to open my DDMS towards my physical device. I created a new folder myopencv inside /storage/sdcard0/. Then I placed th... | android|opencv|android-bitmap | 0 | 2015-02-28T12:01:22.693Z | 2,015 | 2 | 12 | 5 | 400 | 1 | 547 | 48 | 3 | 1 | true | false | false | false | false | false | zero |
28,781,493 | custom spinner with colored dropdown image | <p>I am working with custom spinner. I am struggle on this.
<img src="https://i.stack.imgur.com/i9y79.jpg" alt="enter image description here"></p>
<p>How can I get the spinner like this ?
Note : I have the red color image.</p> | I am working with custom spinner. I am struggle on this. How can I get the spinner like this ? Note : I have the red color image. | android|spinner|android-spinner | 0 | 2015-02-28T12:06:44.310Z | 2,015 | 2 | 12 | 5 | 83 | 2 | 129 | 42 | 3 | 0 | false | false | false | false | false | false | zero |
28,781,525 | android Fragment not attached to activity | <p>I am trying to use getString for my viewpager tab titles so i can support multilanguages, but every time i use getString i get the error Fragment not attached to activity in the logs and the app Force Closes! </p>
<p>Here is my fragment code</p>
<pre><code>public class RecipesFragment extends Fragment {
ViewPager... | I am trying to use getString for my viewpager tab titles so i can support multilanguages, but every time i use getString i get the error Fragment not attached to activity in the logs and the app Force Closes! Here is my fragment code [CODE] } | java|android|android-fragments | 3 | 2015-02-28T12:10:06.653Z | 2,015 | 2 | 12 | 5 | 5,914 | 2 | 242 | 41 | 3 | 1 | true | false | true | false | false | false | low |
28,781,610 | Android Push Notifications | <p>I have a news website and i'm developing an android app that gets the news articles from a url as JSON and everything is working well. Now i want to implement push notifications in the android app, so whenever a new article is published a notification with the article's title appears on the android device screen. (l... | I have a news website and i'm developing an android app that gets the news articles from a url as JSON and everything is working well. Now i want to implement push notifications in the android app, so whenever a new article is published a notification with the article's title appears on the android device screen. (like... | android|push-notification|google-cloud-messaging | 0 | 2015-02-28T12:18:21.630Z | 2,015 | 2 | 12 | 5 | 201 | 2 | 499 | 26 | 3 | 0 | false | false | false | false | false | false | zero |
28,781,613 | How can I create custom method comment template in Android Studio | <p>I've looked for it all over the menu, but failure. The document of IntelliJ IDEA also mention this part</p> | I've looked for it all over the menu, but failure. The document of IntelliJ IDEA also mention this part | intellij-idea|android-studio | 0 | 2015-02-28T12:18:32.533Z | 2,015 | 2 | 12 | 5 | 431 | 0 | 103 | 65 | 2 | 0 | false | true | false | false | false | false | zero |
28,781,663 | Google Material Color or Own Color? | <p>I am programming an Android App, and a Friend of mine does the same for iOS. Now I have to choose a Color, but I am not sure, if I should take one of the Material Design colors, or if we should choose one on our own.
The advantage of the Google provided colors are, that they fit very good to the whole design, but I ... | I am programming an Android App, and a Friend of mine does the same for iOS. Now I have to choose a Color, but I am not sure, if I should take one of the Material Design colors, or if we should choose one on our own. The advantage of the Google provided colors are, that they fit very good to the whole design, but I am ... | android|ios | 2 | 2015-02-28T12:24:18.953Z | 2,015 | 2 | 12 | 5 | 88 | 1 | 607 | 35 | 2 | 0 | false | false | false | false | false | false | low |
28,781,700 | check unicode char in all of string positions | <p>i'm writing simple sms manager and i want to set counter for all typed characters,for have this ability i must be check char in all string position when user is typing, for example after start to type char by user i'm checking char unicode, if user type in middle string type as char i must be can check it, for more ... | i'm writing simple sms manager and i want to set counter for all typed characters,for have this ability i must be check char in all string position when user is typing, for example after start to type char by user i'm checking char unicode, if user type in middle string type as char i must be can check it, for more exa... | java|android | 1 | 2015-02-28T12:28:26.067Z | 2,015 | 2 | 12 | 5 | 50 | 0 | 635 | 45 | 2 | 3 | true | true | false | false | false | false | low |
28,781,705 | Emulate or Open Android Backup Folder? | <p>I have an "Android Backup" folder with some data inside. Is it possible to emulate this data on a virtual android/ AVD and if so will I be able to access the data?</p> | I have an "Android Backup" folder with some data inside. Is it possible to emulate this data on a virtual android/ AVD and if so will I be able to access the data? | android|android-emulator | 0 | 2015-02-28T12:29:01.020Z | 2,015 | 2 | 12 | 5 | 79 | 1 | 163 | 38 | 2 | 0 | false | false | false | false | false | false | zero |
28,781,765 | Android leaked activity | <p>I am using MySQL database to get students info. I followed a tutorial and Android leaked window shows up. Here is the code for calling the async task and get the data from the database.</p>
<pre><code>class getallstudents extends AsyncTask<String, String, String> {
/**
* Before starting back... | I am using MySQL database to get students info. I followed a tutorial and Android leaked window shows up. Here is the code for calling the async task and get the data from the database. [CODE] | php|android|mysqli | 0 | 2015-02-28T12:35:33.463Z | 2,015 | 2 | 12 | 5 | 52 | 0 | 192 | 23 | 3 | 1 | true | true | false | false | false | false | zero |
28,781,790 | How to use google maps script for android | <p>How do i use the google maps on android to get the same script as the website</p>
<p>I want it to search the nearest mcdonalds from the location and have all the markers from the website</p>
<p><a href="https://mcdonalds.com.au/find-us/restaurants" rel="nofollow">https://mcdonalds.com.au/find-us/restaurants</a></p... | How do i use the google maps on android to get the same script as the website I want it to search the nearest mcdonalds from the location and have all the markers from the website https://mcdonalds.com.au/find-us/restaurants | android|google-maps|google-maps-android-api-2 | 0 | 2015-02-28T12:38:44.293Z | 2,015 | 2 | 12 | 5 | 121 | 1 | 224 | 41 | 3 | 0 | false | false | false | false | false | false | zero |
28,781,803 | embed crosswalk in android studio | <p>I'm new about android programming and android studio.
I researched crosswalk embed API for my project and tried to embed it in android studio. But I couldn't be succesfull. Even I don't know exactly how can embed an API that has gradle file or not.</p>
<p>Maybe there is a problem with gradle system?
In brief, how ... | I'm new about android programming and android studio. I researched crosswalk embed API for my project and tried to embed it in android studio. But I couldn't be succesfull. Even I don't know exactly how can embed an API that has gradle file or not. Maybe there is a problem with gradle system? In brief, how can I embed ... | android-studio|build.gradle|android-library|crosswalk-runtime | 9 | 2015-02-28T12:39:46.710Z | 2,015 | 2 | 12 | 5 | 19,676 | 5 | 403 | 33 | 4 | 0 | false | false | true | true | false | false | medium |
28,781,843 | Adding Basic Web Browser in an Android Music Application | <p>Hey fellow programmers,</p>
<p>I need some help trying to figure out why my web browser in my android application is crashing. Any help would be great. I will post my codes on the affected JAVA classes that is connected to the browser, technically its quite a big program with different classes. I'll also include th... | Hey fellow programmers, I need some help trying to figure out why my web browser in my android application is crashing. Any help would be great. I will post my codes on the affected JAVA classes that is connected to the browser, technically its quite a big program with different classes. I'll also include the android m... | java|android|eclipse|web|import | 0 | 2015-02-28T12:44:23.827Z | 2,015 | 2 | 12 | 5 | 37 | 0 | 721 | 56 | 5 | 3 | true | true | false | false | false | false | zero |
28,781,859 | Cannot open Android-sdk manager in eclipse | <p>'G:\ADT-BU~2\ADT-BU~1\sdk\tools\lib\find_java.exe -s' is not recognized as an internal or external command,
[2015-02-28 18:06:30 - SDK Manager] [SDK Manager] operable program or batch file.
This is my sdk path that i have st.I cannot open android-sdk manager .I lost my hope to make it open again.Kindly help me...I s... | 'G:\ADT-BU~2\ADT-BU~1\sdk\tools\lib\find_java.exe -s' is not recognized as an internal or external command, [2015-02-28 18:06:30 - SDK Manager] [SDK Manager] operable program or batch file. This is my sdk path that i have st.I cannot open android-sdk manager .I lost my hope to make it open again.Kindly help me...I spen... | java|android | 0 | 2015-02-28T12:46:04.273Z | 2,015 | 2 | 12 | 5 | 559 | 1 | 367 | 42 | 2 | 0 | false | false | false | false | false | false | zero |
28,781,876 | Show ProgressDialog ONLY when process is long | <p>I'm wondering how do you show <code>ProgressDialog</code> only in that case when process takes long time? </p>
<p>In my case program works with internet and if phone is connected via WiFi so there's no need in progressDialogs since it would flash for half a sec. And vise versa when internet is slow its needed to sh... | I'm wondering how do you show ProgressDialog only in that case when process takes long time? In my case program works with internet and if phone is connected via WiFi so there's no need in progressDialogs since it would flash for half a sec. And vise versa when internet is slow its needed to show them. How can I do suc... | android|progressdialog | 0 | 2015-02-28T12:48:18.460Z | 2,015 | 2 | 12 | 5 | 548 | 1 | 329 | 45 | 2 | 1 | true | false | false | false | false | false | zero |
28,781,884 | Store audio files in an array | <p>I am working on an offline android quiz app and i want to store audio files in an array and play audio for different questions in a quiz. Can array be used to store audio files ? If Yes,How? </p> | I am working on an offline android quiz app and i want to store audio files in an array and play audio for different questions in a quiz. Can array be used to store audio files ? If Yes,How? | android | 3 | 2015-02-28T12:49:46.667Z | 2,015 | 2 | 12 | 5 | 2,053 | 2 | 190 | 29 | 1 | 0 | false | false | false | false | false | false | low |
28,781,910 | ANDROID_HOME is not set ... but its set perfectly? | <p>I'm pretty much at my wits end here. I'm trying to run <code>ionic build</code> but its giving me this error:</p>
<pre><code>Error: ANDROID_HOME is not set and "android" command not in your PATH.
</code></pre>
<p><code>ANDROID_HOME, ANDROID_TOOLS, ANDROID_PLATFORM_TOOLS</code> are all set correctly. Running <code>... | I'm pretty much at my wits end here. I'm trying to run ionic build but its giving me this error: [CODE] ANDROID_HOME, ANDROID_TOOLS, ANDROID_PLATFORM_TOOLS are all set correctly. Running android opens up the android sdk - I managed to add the android platform but why won't it do a build? | android|cordova|ionic-framework|ubuntu-14.04 | 0 | 2015-02-28T12:52:43.007Z | 2,015 | 2 | 12 | 5 | 74 | 0 | 288 | 50 | 4 | 1 | true | true | false | false | false | false | zero |
28,781,917 | Android OpenGl ES Triangle Fan | <p>I'm trying to use OpenGL in my app, and have therefore copy pasted <a href="http://androidblog.reindustries.com/a-real-open-gl-es-2-0-2d-tutorial-part-1/" rel="nofollow">this</a> code into my project. It works perfectly, but I want to draw triangle fans instead of just drawing that triangle. How do i change the code... | I'm trying to use OpenGL in my app, and have therefore copy pasted this code into my project. It works perfectly, but I want to draw triangle fans instead of just drawing that triangle. How do i change the code so that I can do that? | java|android|opengl-es | 0 | 2015-02-28T12:53:13.357Z | 2,015 | 2 | 12 | 5 | 1,156 | 2 | 233 | 30 | 3 | 0 | false | false | false | false | false | false | zero |
28,781,930 | Adobe AIR app is hardly clickable at the upper right corner only on iOS | <p>I've build Adobe AIR Flex app that is working on Android in Google Play and on iOS in Apple Store.
But <strong>on iPhone 5 - the upper right corner buttons are very very hard to click.</strong></p>
<p><img src="https://i.stack.imgur.com/EL0za.png" alt="enter image description here"></p>
<p>The flex application is ... | I've build Adobe AIR Flex app that is working on Android in Google Play and on iOS in Apple Store. But on iPhone 5 - the upper right corner buttons are very very hard to click. The flex application is done well - there is nothing on top of the buttons, and it works perfectly on Android, but on iOS the buttons kind of w... | android|ios|iphone|apache-flex|air | 0 | 2015-02-28T12:54:18.773Z | 2,015 | 2 | 12 | 5 | 101 | 1 | 586 | 71 | 5 | 0 | false | false | false | false | false | false | zero |
28,781,968 | Dismiss dialog when click on dialog itself | <p>I have a dialog in my app, which contain views.How will i dismiss my dialog,when i click on it?
It not necessarily on click is on views, but anywhere in dialog.<br>
Need complete procedure.I searched for hour, but either its view on click solution or outside dialog click solution. So suggest solution to Dismiss dia... | I have a dialog in my app, which contain views.How will i dismiss my dialog,when i click on it? It not necessarily on click is on views, but anywhere in dialog. Need complete procedure.I searched for hour, but either its view on click solution or outside dialog click solution. So suggest solution to Dismiss dialog when... | android | 0 | 2015-02-28T12:59:04.920Z | 2,015 | 2 | 12 | 5 | 276 | 1 | 342 | 42 | 1 | 0 | false | false | false | false | false | false | zero |
28,781,997 | Switch ON GPS programmatically | <p>I have Explored all the links available for turning on GPS location.
Is It Deprecated now or Still we can make it working ?</p> | I have Explored all the links available for turning on GPS location. Is It Deprecated now or Still we can make it working ? | android|gps | -1 | 2015-02-28T13:01:53.463Z | 2,015 | 2 | 13 | 5 | 89 | 1 | 123 | 30 | 2 | 0 | false | false | false | false | false | true | negative |
28,782,004 | SQLite RawQuery Android | <p>sorry for the noob question.</p>
<p>But I am little stuck as to how to continue with this Method I am writing for an Android Application.</p>
<p>I wish to select some data from two columns in a database based on whether or not two other columns meet a certain condition. I tried creating a raw query but think that ... | sorry for the noob question. But I am little stuck as to how to continue with this Method I am writing for an Android Application. I wish to select some data from two columns in a database based on whether or not two other columns meet a certain condition. I tried creating a raw query but think that I am doing it compl... | android|sqlite | 0 | 2015-02-28T13:03:11.190Z | 2,015 | 2 | 13 | 5 | 389 | 2 | 488 | 23 | 2 | 1 | true | false | false | false | false | false | zero |
28,782,023 | Android add Button above ListView and Adapter | <p>I have a ListView which gets it's data from an adapter which puts 2 TextViews inside. I also Have a Button, to add things to the list
But when when my Listview has to much items, it covers the Button:</p>
<p><img src="https://i.stack.imgur.com/tXrZJ.png" alt="enter image description here"></p>
<p>And I just can't ... | I have a ListView which gets it's data from an adapter which puts 2 TextViews inside. I also Have a Button, to add things to the list But when when my Listview has to much items, it covers the Button: And I just can't get rid of it! Here is the Layout of the activity in the Picture: activity_default_color.xml [CODE] He... | android|listview|layout|android-listview | 0 | 2015-02-28T13:05:36.693Z | 2,015 | 2 | 13 | 5 | 3,044 | 1 | 412 | 45 | 4 | 2 | true | false | true | false | false | false | zero |
28,782,038 | unable to trigger activity from navigation drawer | <p>Have implemented navigation drawer in my application. Everything works fine just am unable to trigger any activity from the drawer items</p>
<p>Here is my <strong>MainActivity.java</strong></p>
<pre><code> public class MainActivity extends SherlockFragmentActivity implements AdapterView.OnItemClickListener, Vie... | Have implemented navigation drawer in my application. Everything works fine just am unable to trigger any activity from the drawer items Here is my MainActivity.java [CODE] Here is the drawer_main.xml File [CODE] I have tried all suggestions from previous related questions but nothing seems to work. Any suggestions wou... | android | 0 | 2015-02-28T13:07:03.187Z | 2,015 | 2 | 13 | 5 | 31 | 1 | 358 | 49 | 1 | 2 | true | false | false | false | false | false | zero |
28,782,040 | Android - PHP services to show message to users | <p>I am using php services to show message to user. It works fine but on every refresh it show 3 dialog boxes messages where I am only refreshing once.</p>
<p>How to prevent that, Is that php bug or android? Any idea will do thanks.</p>
<p>Regards,</p> | I am using php services to show message to user. It works fine but on every refresh it show 3 dialog boxes messages where I am only refreshing once. How to prevent that, Is that php bug or android? Any idea will do thanks. Regards, | php|android|service|refresh | 0 | 2015-02-28T13:07:05.260Z | 2,015 | 2 | 13 | 5 | 29 | 1 | 231 | 47 | 4 | 0 | false | false | false | false | false | false | zero |
28,782,066 | NullPointerException in asynctask when parsing JSON | <p>I am parsing json from url, the below code is simplified one which doesn't work. I am getting a NullPonterException at <code>JSONObject json=jsonParser.getJSONFromUrl(GETSCHOOL_URL);</code>.I found many people have searched for these particular problem, but I couldn't find any solution for my case. </p>
<pre><code>... | I am parsing json from url, the below code is simplified one which doesn't work. I am getting a NullPonterException at JSONObject json=jsonParser.getJSONFromUrl(GETSCHOOL_URL); .I found many people have searched for these particular problem, but I couldn't find any solution for my case. [CODE] I think its silly mistake... | android|android-asynctask|nullpointerexception|android-json | 0 | 2015-02-28T13:09:53.167Z | 2,015 | 2 | 13 | 5 | 27 | 1 | 356 | 51 | 4 | 1 | true | false | false | false | false | false | zero |
28,782,098 | How can I delete and refresh my listview? | <p>I have created a method deleteItem that would have to delete the row, but after I click the button it continues there and if I try again I got an exception. </p>
<pre><code>public class WITHistory extends WITBase implements OnItemClickListener{
private ListView listView;
public int del;
@Override
public void onCr... | I have created a method deleteItem that would have to delete the row, but after I click the button it continues there and if I try again I got an exception. [CODE] } | android|listview|refresh | -1 | 2015-02-28T13:13:07.543Z | 2,015 | 2 | 13 | 5 | 33 | 1 | 165 | 41 | 3 | 1 | true | false | false | false | false | true | negative |
28,782,151 | Android TextView align inside of TableLayout | <p>I have a TableLayout with 3 columns,and the text in the first column is much bigger. What I want is that the textviews are aligned to the top of the TableRow. I have to do it programatically, because the table is dynamical, so it is also generated in the Java file.</p>
<p><img src="https://i.stack.imgur.com/lrJh6.p... | I have a TableLayout with 3 columns,and the text in the first column is much bigger. What I want is that the textviews are aligned to the top of the TableRow. I have to do it programatically, because the table is dynamical, so it is also generated in the Java file. My java: [CODE] How can I do that? Thanks in advance. | android|text|textview|alignment|tablelayout | 0 | 2015-02-28T13:18:44.307Z | 2,015 | 2 | 13 | 5 | 863 | 2 | 319 | 44 | 5 | 1 | true | false | false | false | false | false | zero |
28,782,199 | How to use Asynchronous and onPostExecute to send value to PHP and get Response | <p>How to send value to php page using <strong>Asynchronous</strong> with <strong>HttpRequest</strong> and get a response, then do something with it using <strong>OnPostExcute</strong> for example.</p>
<p><strong>Java</strong> :</p>
<pre><code>private class MyAsyncTask extends AsyncTask<String, Integer, Double>... | How to send value to php page using Asynchronous with HttpRequest and get a response, then do something with it using OnPostExcute for example. Java : [CODE] PHP : [CODE] | java|android | 0 | 2015-02-28T13:24:23.397Z | 2,015 | 2 | 13 | 5 | 82 | 1 | 170 | 79 | 2 | 2 | true | false | false | false | false | false | zero |
28,782,211 | IllegalStateException:The content of the adapter has changed but ListView did not receive a notification | <p>Intuitivly, I know, when it throws the IllegalStateException. But in my case, I can't, though, probably guess, where is trouble in the source. I dare say, trouble lines are there:</p>
<pre><code>private class LoadMoreDataTask extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackgroun... | Intuitivly, I know, when it throws the IllegalStateException. But in my case, I can't, though, probably guess, where is trouble in the source. I dare say, trouble lines are there: [CODE] there's a logcat message: [CODE] | android|listview|illegalstateexception | 2 | 2015-02-28T13:25:23.880Z | 2,015 | 2 | 13 | 5 | 914 | 1 | 219 | 104 | 3 | 2 | true | false | false | false | false | false | low |
28,782,279 | Share screenshot using ShareActionProvider of my apps current view | <p>I've looked at all relevant similar post and not one answers my question.</p>
<p>My program sets up a ShareActionProvider to take a screenshot of the current view and share it with any app that can interact with .png images.</p>
<p>Problem: The shared screenshot is always the previous screenshot meaning that I hav... | I've looked at all relevant similar post and not one answers my question. My program sets up a ShareActionProvider to take a screenshot of the current view and share it with any app that can interact with .png images. Problem: The shared screenshot is always the previous screenshot meaning that I have to click the shar... | android|android-actionbar|share|screenshot|shareactionprovider | 0 | 2015-02-28T13:33:47.137Z | 2,015 | 2 | 13 | 5 | 511 | 1 | 845 | 66 | 5 | 2 | true | false | false | false | false | false | zero |
28,782,291 | Error building release APK | <p>today I wanted to build my application's release APK but AS didn't want to do this for me. It says:</p>
<blockquote>
<p>Error:Execution failed for task ':mergeDebugResources'.
Unsupported type 'TextView' in file C:\Users\Sven\workspace\Soest\res\layoutlarge\kontakt_form_wiese.xml</p>
</blockquote>
<p>That's al... | today I wanted to build my application's release APK but AS didn't want to do this for me. It says: Error:Execution failed for task ':mergeDebugResources'. Unsupported type 'TextView' in file C:\Users\Sven\workspace\Soest\res\layoutlarge\kontakt_form_wiese.xml That's all the Information I can find. Can you help me? I h... | android|gradle|apk|release | 1 | 2015-02-28T13:35:00.933Z | 2,015 | 2 | 13 | 5 | 1,526 | 1 | 567 | 26 | 4 | 1 | true | false | false | false | false | false | low |
28,782,310 | Animate seekbar thumb in android | <p>I have designed a call screen, where i have used a seekbar to receive/disconnect incoming call.If i'll move seekbar to the left side of the screen, call will be disconnected and if to the right side of the screen, call will be received.I have already implemented that logic.</p>
<p>Problem is that,whenever someone c... | I have designed a call screen, where i have used a seekbar to receive/disconnect incoming call.If i'll move seekbar to the left side of the screen, call will be disconnected and if to the right side of the screen, call will be received.I have already implemented that logic. Problem is that,whenever someone calls,I want... | android|android-animation|android-seekbar | 1 | 2015-02-28T13:36:22.243Z | 2,015 | 2 | 13 | 5 | 985 | 0 | 397 | 32 | 3 | 0 | false | true | false | false | false | false | low |
28,782,311 | timeout for android DownloadManager | <p>I'm using android build-in DownloadManager to download files from internet. Problem is once i enqueued a download, it tries to download the file forever!! is there any way to set a timeout for downloads? </p> | I'm using android build-in DownloadManager to download files from internet. Problem is once i enqueued a download, it tries to download the file forever!! is there any way to set a timeout for downloads? | android|android-download-manager | 2 | 2015-02-28T13:36:39.440Z | 2,015 | 2 | 13 | 5 | 4,557 | 2 | 203 | 35 | 2 | 0 | false | false | true | false | false | false | low |
28,782,358 | Android Tablet UI : multi-pane fragment or linear layout | <p>I need to create app that will initially work only for tablets. I'm aware of the “List-and-Detail” pattern in which there’s a list of something, where clicking on the list brings up details on the item that was clicked upon.</p>
<p>That’s just perfect as long as all the layouts always have two panes: one for the li... | I need to create app that will initially work only for tablets. I'm aware of the “List-and-Detail” pattern in which there’s a list of something, where clicking on the list brings up details on the item that was clicked upon. That’s just perfect as long as all the layouts always have two panes: one for the list of items... | android|android-layout|android-fragments|android-ui|master-detail | 4 | 2015-02-28T13:40:43.613Z | 2,015 | 2 | 13 | 5 | 4,253 | 2 | 2,545 | 56 | 5 | 1 | true | false | true | false | false | false | low |
28,782,359 | Action bar menu is not shown in Fragment Activity | <p>I'm trying to display my actionbar menu within my Fragment Activity
The problem is, if I select (in android studio) the Material theme, there is no problem to see the action bar menu, but when I test my app on my own phone (Samsung S5), the menu is not shown.</p>
<p>Here is the detail of my Activity (I'm showing ju... | I'm trying to display my actionbar menu within my Fragment Activity The problem is, if I select (in android studio) the Material theme, there is no problem to see the action bar menu, but when I test my app on my own phone (Samsung S5), the menu is not shown. Here is the detail of my Activity (I'm showing just a sub pa... | android|android-actionbar|android-fragmentactivity | -1 | 2015-02-28T13:40:44.520Z | 2,015 | 2 | 13 | 5 | 4,441 | 3 | 540 | 49 | 3 | 3 | true | false | true | false | false | true | negative |
28,782,366 | import parse not working | <p>I'm using android studio 1.1.0. I've added the parse library to my project successfully in gradle. see screenshots. But when I try to import com.parse.* or type Parse and then Alt(Option) + Enter, IDE gives error. It doesn't find the library. Here is screenshot: </p>
<p><img src="https://i.stack.imgur.com/qwuUa.png... | I'm using android studio 1.1.0. I've added the parse library to my project successfully in gradle. see screenshots. But when I try to import com.parse.* or type Parse and then Alt(Option) + Enter, IDE gives error. It doesn't find the library. Here is screenshot: And here is the gradle file that doesn't have sync error.... | android|android-studio|gradle|parse-platform | 0 | 2015-02-28T13:41:38.573Z | 2,015 | 2 | 13 | 5 | 1,169 | 2 | 345 | 24 | 4 | 0 | false | false | false | false | false | false | zero |
28,782,373 | Admob locks call screen android | <p>I am trying to show Advertisement on phone call screen. But something is wrong. I am trying to show just 1 view that child of window manager. It shows the Advertisement well but i can't decline or accept the phone. I also try non-Task and Thread or else. Please help me to solve this. Thanks :) </p>
<pre><code>publi... | I am trying to show Advertisement on phone call screen. But something is wrong. I am trying to show just 1 view that child of window manager. It shows the Advertisement well but i can't decline or accept the phone. I also try non-Task and Thread or else. Please help me to solve this. Thanks :) [CODE] | android|broadcastreceiver|admob|call|phone-state-listener | 0 | 2015-02-28T13:42:11.777Z | 2,015 | 2 | 13 | 5 | 186 | 0 | 301 | 31 | 5 | 1 | true | true | false | false | false | false | zero |
28,782,375 | Some photos do not load with on Android with Chrome | <p>I have made a website with Bootstrap, works great on all PC major browsers but some photos do not load on mobile devices. Most images that do not load are in modals. I am using Lazy Load to load some photos but not the UI images. For the UI images I use retina.js.</p>
<p>I have tested with Android Chrome and with S... | I have made a website with Bootstrap, works great on all PC major browsers but some photos do not load on mobile devices. Most images that do not load are in modals. I am using Lazy Load to load some photos but not the UI images. For the UI images I use retina.js. I have tested with Android Chrome and with Slepnir (is ... | android|html|css|google-chrome|lazy-loading | 0 | 2015-02-28T13:42:53.143Z | 2,015 | 2 | 13 | 5 | 293 | 0 | 697 | 51 | 5 | 0 | false | true | false | false | false | false | zero |
28,782,385 | Query string return Null using HttpUrlConnection in android | <p>in Android while parsing JSON, it parse only 10 items of JSON array. while debuging i found out that query string after <strong>connection.openConnection() ;</strong> returning null query String for example <a href="http://www.example.com/recent_summary/?count=20" rel="nofollow">http://www.example.com/recent_summary... | in Android while parsing JSON, it parse only 10 items of JSON array. while debuging i found out that query string after connection.openConnection() ; returning null query String for example http://www.example.com/recent_summary/?count=20 it doesnot matter if i decrease the count to 5 it still return 10 items. but, when... | android|httpurlconnection | 1 | 2015-02-28T13:43:40.100Z | 2,015 | 2 | 13 | 5 | 975 | 1 | 650 | 59 | 2 | 1 | true | false | false | false | false | false | low |
28,782,426 | save element position on canvas after orientation change | <p>i am using a canvas based on <a href="https://code.google.com/p/android-multitouch-controller/" rel="nofollow noreferrer">android-multitouch-controller</a>,
im am trying to keep imageElement on canvas on same place after orientation change</p>
<p>the arrow represent an element based on image,
i was able to rotate ... | i am using a canvas based on android-multitouch-controller , im am trying to keep imageElement on canvas on same place after orientation change the arrow represent an element based on image, i was able to rotate it by saving the original orientation and add a delta angle on orientation change. but i am having problem w... | android|canvas|screen-rotation | 2 | 2015-02-28T13:48:20.637Z | 2,015 | 2 | 13 | 5 | 132 | 0 | 400 | 56 | 3 | 0 | false | true | false | false | false | false | low |
28,782,445 | ArrayAdapter.notifyDataSetChanged() does not seem to work | <p>When I add or remove object from a <code>List<T></code>, I call <code>myAdapter.notifyDataSetChanged()</code> to "rerender" the <code>ListView</code>, but it does not work...</p>
<p><strong>Activity:</strong></p>
<pre><code> private ListView lv_course; //Liste des matières
private List<Course> c... | When I add or remove object from a List<T> , I call myAdapter.notifyDataSetChanged() to "rerender" the ListView , but it does not work... Activity: [CODE] Adapter: [CODE] In an other activity, I add data in database, and during the onResume() : [CODE] The ListView is not updated, but when I close the app and rerun it, ... | java|android | 0 | 2015-02-28T13:50:12.593Z | 2,015 | 2 | 13 | 5 | 73 | 2 | 359 | 57 | 2 | 3 | true | false | false | false | false | false | zero |
28,782,464 | TextView fromHtml links broken on Lollipop | <p>Our application had several instances of TextViews with its contents set by <code>myTv.setText(Html.fromHtml());</code> that have been working for Android 4.4.0 and below.</p>
<p>Starting from 4.4.2 and Lollypop these links have stopped working. The text still appears underlined and with a hyperlink color, but tapp... | Our application had several instances of TextViews with its contents set by myTv.setText(Html.fromHtml()); that have been working for Android 4.4.0 and below. Starting from 4.4.2 and Lollypop these links have stopped working. The text still appears underlined and with a hyperlink color, but tapping them yields no resul... | android|spannablestring | 5 | 2015-02-28T13:51:32.407Z | 2,015 | 2 | 13 | 5 | 1,331 | 4 | 490 | 42 | 2 | 0 | false | false | false | false | false | false | low |
28,782,486 | Android OpenGL ES 2.0 colour buffer not working | <p>I have been following this tutorial: <a href="http://developer.android.com/training/graphics/opengl/index.html" rel="nofollow">http://developer.android.com/training/graphics/opengl/index.html</a>, and got it all working fine. Currently I have one buffer for the vertices position, one for the order that the vertices ... | I have been following this tutorial: http://developer.android.com/training/graphics/opengl/index.html , and got it all working fine. Currently I have one buffer for the vertices position, one for the order that the vertices are drawn. I want to add one for the colour at each vertex, but when I do I get error 1282 in GL... | android|opengl-es|opengl-es-2.0 | 0 | 2015-02-28T13:53:04.073Z | 2,015 | 2 | 13 | 5 | 1,464 | 1 | 637 | 47 | 3 | 6 | true | false | false | false | false | false | zero |
28,782,504 | Android studio error message | <p>I have android studio but when I turn on the pop up message: Error:Could not run build action using Gradle distribution '<a href="https://services.gradle.org/distributions/gradle-2.2.1-all.zip" rel="nofollow">https://services.gradle.org/distributions/gradle-2.2.1-all.zip</a>'</p>
<p><br>
I tried this:
Delete c: \ u... | I have android studio but when I turn on the pop up message: Error:Could not run build action using Gradle distribution ' https://services.gradle.org/distributions/gradle-2.2.1-all.zip ' I tried this: Delete c: \ users \ my \ .gradle \ wrapper \ dists \ GRADL-2.2.1-all and then run android studio as administrator. It d... | android|android-studio | -1 | 2015-02-28T13:55:15.960Z | 2,015 | 2 | 13 | 5 | 443 | 2 | 359 | 28 | 2 | 0 | false | false | false | false | false | true | negative |
28,782,518 | Android Unit Testing not working for Android library project | <p>We are trying to introduce the <a href="http://tools.android.com/tech-docs/unit-testing-support" rel="noreferrer">new Android Unit Testing Support</a> to our project.</p>
<p>For library project, it fails to find the src/main/java classes when running with gradlew.</p>
<p>Running the test from Android Studio works ... | We are trying to introduce the new Android Unit Testing Support to our project. For library project, it fails to find the src/main/java classes when running with gradlew. Running the test from Android Studio works as expected. Running the test with gradle in an app project works as expected. Running the test with gradl... | android|android-studio|gradle|jvm|android-testing | 9 | 2015-02-28T13:56:45.317Z | 2,015 | 2 | 13 | 5 | 888 | 1 | 665 | 60 | 5 | 1 | true | false | false | false | false | false | medium |
28,782,583 | Can I store row specific data in the ViewHolder? | <p>Specifically I have a RecyclerView that displays items that can be expanded when clicked. I need to store the state (expanded/collapsed) of the view somewhere so that reused views are sized correctly.</p>
<p>I was thinking about storing a boolean in the ViewHolder (mIsExpanded), but it doesn't seem to work, here is... | Specifically I have a RecyclerView that displays items that can be expanded when clicked. I need to store the state (expanded/collapsed) of the view somewhere so that reused views are sized correctly. I was thinking about storing a boolean in the ViewHolder (mIsExpanded), but it doesn't seem to work, here is my code: [... | android|expand|android-recyclerview | 0 | 2015-02-28T14:03:20.787Z | 2,015 | 2 | 14 | 5 | 526 | 2 | 552 | 48 | 3 | 2 | true | false | false | false | false | false | zero |
28,782,639 | Error:(8, 5) uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library | <p>hi am trying to follow this tutorial </p>
<p><a href="http://www.androidhive.info/2012/10/android-push-notifications-using-google-cloud-messaging-gcm-php-and-mysql/" rel="nofollow">Link</a></p>
<p>after i done everything am getting error in the manifest</p>
<pre><code>Error:(8, 5) uses-sdk:minSdkVersion 8 cannot ... | hi am trying to follow this tutorial Link after i done everything am getting error in the manifest [CODE] this is my build.geadle [CODE] } [CODE] } | android | 2 | 2015-02-28T14:08:34.970Z | 2,015 | 2 | 14 | 5 | 4,717 | 1 | 147 | 90 | 1 | 3 | true | false | true | false | false | false | low |
28,782,672 | Android Studio gutter preview for drawable | <p>I didn't even know about this gutter color/drawable preview feature until recently saw it on another computer "turned on" by default...</p>
<p>Anyway, back to my workstation, I try to enable the feature but have no luck.</p>
<p>Basically, for example, when I open colors.xml, my screen looks like this:
<a href="htt... | I didn't even know about this gutter color/drawable preview feature until recently saw it on another computer "turned on" by default... Anyway, back to my workstation, I try to enable the feature but have no luck. Basically, for example, when I open colors.xml, my screen looks like this: http://i.imgur.com/HUR156y.png ... | android|android-studio|preview|gutter | 0 | 2015-02-28T14:12:24.617Z | 2,015 | 2 | 14 | 5 | 1,611 | 1 | 550 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
28,782,759 | Sliding Tab Layout scrolling to previous current location before scrolling | <p>Does anyone realise that there's a glitch on <a href="https://developer.android.com/samples/SlidingTabsBasic/src/com.example.android.common/view/SlidingTabLayout.html" rel="nofollow">Sliding Tab Layout</a> class that provided by Google? I was customizing to use custom icons inside tabs and I realise that when I slid... | Does anyone realise that there's a glitch on Sliding Tab Layout class that provided by Google? I was customizing to use custom icons inside tabs and I realise that when I slide to the end and scroll the sliding tab layout to the beginning and select an item, it first scroll to the previous location(end) then scroll to ... | android|pagerslidingtabstrip | 3 | 2015-02-28T14:21:59.727Z | 2,015 | 2 | 14 | 5 | 892 | 0 | 751 | 74 | 2 | 2 | true | true | false | false | false | false | low |
28,782,800 | is it possible to control android firewall | <p>i want control over internet activity something like white-list in parent control , So that any browser or others app just can browse white-list address not more<br>
is it possible؟ , can do that without rooting device؟ </p> | i want control over internet activity something like white-list in parent control , So that any browser or others app just can browse white-list address not more is it possible؟ , can do that without rooting device؟ | android | 2 | 2015-02-28T14:25:53.010Z | 2,015 | 2 | 14 | 5 | 98 | 1 | 215 | 42 | 1 | 0 | false | false | false | false | false | false | low |
28,782,804 | change the android actionbar submenu text color | <p>How to change the text color of submenu in Android? I customize the application theme and override the relative attributes, but it still doesn't work. My menu has two submenus, which are initially hidden, when clicked, it shows. However, the style of submenus can't be modified, while the title of action bar can. Thi... | How to change the text color of submenu in Android? I customize the application theme and override the relative attributes, but it still doesn't work. My menu has two submenus, which are initially hidden, when clicked, it shows. However, the style of submenus can't be modified, while the title of action bar can. This q... | android|menu|android-actionbar|android-theme|textcolor | 2 | 2015-02-28T14:26:28.737Z | 2,015 | 2 | 14 | 5 | 1,956 | 1 | 434 | 47 | 5 | 2 | true | false | false | false | false | false | low |
28,782,824 | How to clear android textedit field | <p>I am traing to clear textedit field when it is focused. I know about hint option, but I wanna clear textedit everytime when user actives it, also if is filled by user (now user have to clear field manualy everytime he wants change value).
I load fragments in my app so there are a lot of edittext fields which I wann... | I am traing to clear textedit field when it is focused. I know about hint option, but I wanna clear textedit everytime when user actives it, also if is filled by user (now user have to clear field manualy everytime he wants change value). I load fragments in my app so there are a lot of edittext fields which I wanna cl... | java|android|fragment | 0 | 2015-02-28T14:29:08.227Z | 2,015 | 2 | 14 | 5 | 87 | 3 | 491 | 35 | 3 | 0 | false | false | false | false | false | false | zero |
28,782,929 | How to perform loop with volley | <p>I have problem with loop. In my opinion this should work, but goes one through the loop. I have to do check availability server and I don't have other ideas.</p>
<p>Server give answer:</p>
<blockquote>
<p>{"exist":true}</p>
</blockquote>
<pre><code> do {
generateNumber = generate();
getEx... | I have problem with loop. In my opinion this should work, but goes one through the loop. I have to do check availability server and I don't have other ideas. Server give answer: {"exist":true} [CODE] and here is my existObject class: [CODE] } | java|android|json|android-volley | 0 | 2015-02-28T14:39:59.253Z | 2,015 | 2 | 14 | 5 | 1,666 | 1 | 242 | 31 | 4 | 2 | true | false | false | false | false | false | zero |
28,782,939 | Android Game and Server with notifications | <p>Currently, I'm working on my new project - a (quite) simple game on Android allowing users to play with each other. One game is divided into few rounds, that users play separately. When one user has finished his round, application should send message to a server, which, in turn, should send notification to the other... | Currently, I'm working on my new project - a (quite) simple game on Android allowing users to play with each other. One game is divided into few rounds, that users play separately. When one user has finished his round, application should send message to a server, which, in turn, should send notification to the other pl... | android|notifications|server|google-play-games | 0 | 2015-02-28T14:40:46.717Z | 2,015 | 2 | 14 | 5 | 158 | 1 | 940 | 42 | 4 | 0 | false | false | false | false | false | false | zero |
28,782,947 | adding numbers from and EditText to and TextView | <p>How can i add numbers from an EditText and then show them in an TextView?</p>
<p>i've tried to convert them but it doesnt work...</p>
<pre><code>total = FindViewById<TextView> (Resource.Id.textView14);
input1 = FindViewById<EditText> (Resource.Id.editText1);
input2 = FindViewById<EditText> (Resou... | How can i add numbers from an EditText and then show them in an TextView? i've tried to convert them but it doesnt work... [CODE] Thanks for helping.. | c#|android|xamarin | 0 | 2015-02-28T14:41:35.087Z | 2,015 | 2 | 14 | 5 | 60 | 1 | 150 | 48 | 3 | 1 | true | false | false | false | false | false | zero |
28,782,958 | Wake android phone from sleep | <p>I am trying to develop an Android app with Adobe AIR which can wake the phone from sleep, I am just developing for a single phone for an installation so I have more controls over the settings. A little more background info:</p>
<ul>
<li>The phone will always be running my app (locked in kiosk mode)</li>
<li>By defa... | I am trying to develop an Android app with Adobe AIR which can wake the phone from sleep, I am just developing for a single phone for an installation so I have more controls over the settings. A little more background info: The phone will always be running my app (locked in kiosk mode) By default, the screen will be of... | android|actionscript-3|air | 0 | 2015-02-28T14:43:10.727Z | 2,015 | 2 | 14 | 5 | 201 | 0 | 606 | 29 | 3 | 0 | false | true | false | false | false | false | zero |
28,783,015 | How to setText to multiple selected Items from a ListView | <p>Can somebody tell me how can I display in a TextView multiple selected items from a ListView?
I want to display only items which are selected, when item is unselected it can't be displayed.
Here's my code</p>
<pre><code>final String[] favoriteTVShows =
{
"Wolf", "Inception", "Heat", ... | Can somebody tell me how can I display in a TextView multiple selected items from a ListView? I want to display only items which are selected, when item is unselected it can't be displayed. Here's my code [CODE] | java|android|listview | 1 | 2015-02-28T14:50:39.100Z | 2,015 | 2 | 14 | 5 | 517 | 1 | 211 | 57 | 3 | 1 | true | false | false | false | false | false | low |
28,783,046 | how to add a hourly event to a cordova application? | <p>I'm developing an Android app using apache cordova tools on visual studio.
I need an event that triggers hourly and do something, Is using the setInterval the best option or not?</p>
<p>thanks.</p> | I'm developing an Android app using apache cordova tools on visual studio. I need an event that triggers hourly and do something, Is using the setInterval the best option or not? thanks. | android|cordova-plugins|mobile-application|visual-studio-cordova|multi-device-hybrid-apps | 0 | 2015-02-28T14:54:01.050Z | 2,015 | 2 | 14 | 5 | 209 | 2 | 186 | 51 | 5 | 0 | false | false | false | false | false | false | zero |
28,783,090 | ActionMode menu icon background | <p>I am using the ActionMode via:</p>
<pre><code> @Override
public boolean onCreateActionMode(android.view.ActionMode mode, Menu menu) {
MenuInflater inflater = mode.getMenuInflater();
inflater.inflate(R.menu.menu_list_context, menu);
this.mActionMode = mode;
return true;
}
<... | I am using the ActionMode via: [CODE] And my resource file menu_list_context is: [CODE] The style for my ActionBar is: [CODE] where <color name="background_holo_light">#dddddd</color> . With these settings, my ActionBar under ActionMode looks like this: The icon has the background of my ActionBar (holo light), but the ... | android | 0 | 2015-02-28T14:59:01.987Z | 2,015 | 2 | 14 | 5 | 368 | 1 | 456 | 31 | 1 | 3 | true | false | false | false | false | false | zero |
28,783,136 | onCreate Animation not working | <p>I have an animation on my main screen and it shows up when the app starts.</p>
<p>I added an animation in onCreate method.</p>
<p>MainActivity.java</p>
<pre><code>protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
Button ex... | I have an animation on my main screen and it shows up when the app starts. I added an animation in onCreate method. MainActivity.java [CODE] button_enter.xml [CODE] I tried this but the animation didn't work. I search about this but it says I have to use onWindowFocusChanged method. Do I have to use onWindowFocusChange... | java|android | 0 | 2015-02-28T15:05:18.343Z | 2,015 | 2 | 15 | 5 | 495 | 1 | 406 | 30 | 2 | 2 | true | false | false | false | false | false | zero |
28,783,178 | Importing an app-compat v7 library eclipse project to android studio | <p>I have an Android application created in Eclipse, now I want to import it to Android studio, when I import project I get the following error</p>
<pre><code>Project FinalProject Integrate:/home/vishal/Android_Workspace/FinalProject Integrate/project.properties:
Library reference ../android-support-v7-appcompat could... | I have an Android application created in Eclipse, now I want to import it to Android studio, when I import project I get the following error [CODE] and it is an unrecoverable error. | android|eclipse|android-studio | 6 | 2015-02-28T15:10:22.800Z | 2,015 | 2 | 15 | 5 | 6,708 | 3 | 181 | 68 | 3 | 1 | true | false | true | false | false | false | medium |
28,783,194 | Progress dialog does not show exactly after show()? | <p>Found that weird bahaviour of <code>ProgressDialog</code>. </p>
<p>I show <code>ProgressDialog</code> in <code>onClickListener</code> of list before starting new Thread and <code>dismiss</code> it inside that Thread but after all work is done: </p>
<pre><code>GlobalProgressDialog.show(getActivity());
new Threa... | Found that weird bahaviour of ProgressDialog . I show ProgressDialog in onClickListener of list before starting new Thread and dismiss it inside that Thread but after all work is done: [CODE] and that GlobalProgressDialog i use to simplify calls: [CODE] } Dialog appears but NOT exactly after show() being called! I have... | android|multithreading|progressdialog|android-progressbar | 0 | 2015-02-28T15:11:43.207Z | 2,015 | 2 | 15 | 5 | 786 | 2 | 919 | 51 | 4 | 2 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.