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,772,537 | SAPUI5 Splitter Layout on VIew but not using splitApp | <p>I'm using the sap.m.App in my SAPUI5 application and I'd like to put on page a splitter layout.</p>
<p>I didn't create as sap.m.splitApp because I have some view that I don't want as splitter layout.</p>
<p>How can I put a splitter layout on specifics views?</p>
<p>My test view:</p>
<pre><code><mvc:View xmlns... | I'm using the sap.m.App in my SAPUI5 application and I'd like to put on page a splitter layout. I didn't create as sap.m.splitApp because I have some view that I don't want as splitter layout. How can I put a splitter layout on specifics views? My test view: [CODE] The result is: Thanks for help! | android|layout|sapui5|splitter | 0 | 2015-02-27T19:10:57.117Z | 2,015 | 2 | 19 | 4 | 1,026 | 1 | 297 | 53 | 4 | 1 | true | false | false | false | false | false | zero |
28,772,734 | multiple targets in android studio | <p>I am handling a project for education university ,where there are <strong>5 seperate universities</strong> <strong>each university having there own app</strong> but in each application <strong>images ,json</strong> differs and the <strong>source code</strong> remains same .
<em>i want to create 5seperate apks with ... | I am handling a project for education university ,where there are 5 seperate universities each university having there own app but in each application images ,json differs and the source code remains same . i want to create 5seperate apks with different package name using only one source code and if any change done in ... | android|android-studio | 9 | 2015-02-27T19:24:13.213Z | 2,015 | 2 | 19 | 4 | 4,727 | 2 | 532 | 34 | 2 | 0 | false | false | true | false | false | false | medium |
28,772,766 | google android In-app purchase testing issues | <p>My app is published in alpha, and allows for purchasing a yearly subscription with a 7-days trial period.</p>
<p>I just tested the purchase process with a test account (declared as such in dev console).</p>
<p>The purchase went ok, and the user received a mail confirming his purchase. This mail is full of mistakes... | My app is published in alpha, and allows for purchasing a yearly subscription with a 7-days trial period. I just tested the purchase process with a test account (declared as such in dev console). The purchase went ok, and the user received a mail confirming his purchase. This mail is full of mistakes: 1) the price is w... | android|in-app-purchase|google-play|in-app-billing | 1 | 2015-02-27T19:25:35.607Z | 2,015 | 2 | 19 | 4 | 1,089 | 1 | 1,415 | 45 | 4 | 0 | false | false | false | false | false | false | low |
28,772,768 | How to remove an activity from showing in the Launcher programmatically? | <p>So I have one app that displays multiple activities in the Launcher using </p>
<pre><code><category android:name="android.intent.category.LAUNCHER"/>
</code></pre>
<p>I want to know how to programmatically toggle this on/off, I will be needing to do so based on some data I will be receiving. Is this possible... | So I have one app that displays multiple activities in the Launcher using [CODE] I want to know how to programmatically toggle this on/off, I will be needing to do so based on some data I will be receiving. Is this possible? If so, how can it be done. | android|android-activity|android-launcher | 1 | 2015-02-27T19:25:44.060Z | 2,015 | 2 | 19 | 4 | 895 | 1 | 251 | 72 | 3 | 1 | true | false | false | false | false | false | low |
28,772,783 | Removing annoying checkbox padding at android 4.1.2+ | <p>I got a problem with padding of checkbox to the next element (editview) within a gridlayout - how can i get rid of the extra space in here (see green marker in my picture)?</p>
<p>I tried to create a custom checkbox class and overwrite getCompoundPadingLeft, tried layout_marginRight="0", paddingRight="0", paddingLe... | I got a problem with padding of checkbox to the next element (editview) within a gridlayout - how can i get rid of the extra space in here (see green marker in my picture)? I tried to create a custom checkbox class and overwrite getCompoundPadingLeft, tried layout_marginRight="0", paddingRight="0", paddingLeft="0", ...... | java|android|checkbox|padding | 3 | 2015-02-27T19:26:30.813Z | 2,015 | 2 | 19 | 4 | 797 | 0 | 629 | 52 | 4 | 1 | true | true | false | false | false | false | low |
28,772,853 | How to compile for Android 2.3 with Delphi XE7 | <p>Delphi XE7 comes with FireMonkey for creating Android Apps. After I tryed some codes, I created an APK and tested with My Note2. Works fine. But when I tested with an Android 2.3 samsung phone I couldn't. The excuse is that this version is not supported? I undertand that I need to install API10 in my SDK Manager. Bu... | Delphi XE7 comes with FireMonkey for creating Android Apps. After I tryed some codes, I created an APK and tested with My Note2. Works fine. But when I tested with an Android 2.3 samsung phone I couldn't. The excuse is that this version is not supported? I undertand that I need to install API10 in my SDK Manager. But w... | android|delphi|android-ndk|firemonkey | 1 | 2015-02-27T19:30:40.693Z | 2,015 | 2 | 19 | 4 | 712 | 1 | 422 | 46 | 4 | 0 | false | false | false | false | false | false | low |
28,772,909 | ListView with custom adapter in Fragment | <p>Im trying to use ListView with custom adapter (baseAdapter) in fragmnet.</p>
<p>When I us this code directly inside the MainActivity everything works fine, but when I use this in fragment it did't crash but it din't show anything, it is just a blank fragment. Also when I've tried to use simple arrayAdapter to bind ... | Im trying to use ListView with custom adapter (baseAdapter) in fragmnet. When I us this code directly inside the MainActivity everything works fine, but when I use this in fragment it did't crash but it din't show anything, it is just a blank fragment. Also when I've tried to use simple arrayAdapter to bind one textVie... | android|listview|android-fragments|fragment|baseadapter | 2 | 2015-02-27T19:33:59.693Z | 2,015 | 2 | 19 | 4 | 11,151 | 2 | 607 | 40 | 5 | 4 | true | false | true | false | false | false | low |
28,772,913 | How to center SlidingTabStrip like in Play Market? | <p>I'm using <code>https://github.com/google/iosched/blob/master/android/src/main/java/com/google/samples/apps/iosched/ui/widget/SlidingTabLayout.java</code> tabs class.</p>
<p>After applying it to my project, I get (no centered) tabs as shown by
<a href="http://i.imgur.com/xvuftZc.jpg?1" rel="nofollow">this picture<... | I'm using https://github.com/google/iosched/blob/master/android/src/main/java/com/google/samples/apps/iosched/ui/widget/SlidingTabLayout.java tabs class. After applying it to my project, I get (no centered) tabs as shown by this picture , but i want to center my tabs like on Play Market tabs. How do I center my tabs li... | android|tabs|pagerslidingtabstrip | 1 | 2015-02-27T19:34:17.743Z | 2,015 | 2 | 19 | 4 | 902 | 3 | 354 | 50 | 3 | 0 | false | false | false | false | false | false | low |
28,772,919 | Android error "Enter GetCurrentOP" | <p>Since i've started do develop an android app, i 've seen this message. Nut now my log in android stuido is full of this message: "Enter GetCurrentOP". What does this mean?</p> | Since i've started do develop an android app, i 've seen this message. Nut now my log in android stuido is full of this message: "Enter GetCurrentOP". What does this mean? | android|runtime-error | 0 | 2015-02-27T19:34:32.160Z | 2,015 | 2 | 19 | 4 | 378 | 1 | 171 | 34 | 2 | 0 | false | false | false | false | false | false | zero |
28,772,984 | Get root view of one activity from another activity | <p>Is there a way to get a root view of one activity from another lets say there are two activity A and B i want root view of activity A from B.please Help</p>
<p>Edit: I am Trying to make change in Main Activity from Preference Activity for ex i want to change the text of TextView in Main Activity as soon as i select... | Is there a way to get a root view of one activity from another lets say there are two activity A and B i want root view of activity A from B.please Help Edit: I am Trying to make change in Main Activity from Preference Activity for ex i want to change the text of TextView in Main Activity as soon as i select a checkbox... | android | 0 | 2015-02-27T19:39:11.090Z | 2,015 | 2 | 19 | 4 | 957 | 4 | 356 | 51 | 1 | 0 | false | false | false | false | false | false | zero |
28,772,990 | Android simple directions between two points | <p>I want to have directions between two points in Google Maps that is implemented inside my app. I have used a simple class that I found online. When I run the code it's throwing this error:
log file : </p>
<pre><code>02-27 19:33:52.819: E/AndroidRuntime(1871): java.lang.RuntimeException: Unable to start activity Co... | I want to have directions between two points in Google Maps that is implemented inside my app. I have used a simple class that I found online. When I run the code it's throwing this error: log file : [CODE] direction class : [CODE] main activity class for example : [CODE] | java|android|google-maps|google-maps-android-api-2 | 0 | 2015-02-27T19:39:28.300Z | 2,015 | 2 | 19 | 4 | 264 | 1 | 272 | 44 | 4 | 3 | true | false | false | false | false | false | zero |
28,773,016 | How does MediaExtractor determine what to put in H264 NAL units? | <p>I've examined the output of MediaExtractor on two Android devices, and it appears to produce slightly different samples on them, given the same
video file.</p>
<p>With one device, non-VCL NAL units are concatenated onto the next VCL unit to
produce a sample. On the other device, each non-VCL unit constitutes a com... | I've examined the output of MediaExtractor on two Android devices, and it appears to produce slightly different samples on them, given the same video file. With one device, non-VCL NAL units are concatenated onto the next VCL unit to produce a sample. On the other device, each non-VCL unit constitutes a complete sample... | android|h.264|android-mediacodec|mediaextractor | 2 | 2015-02-27T19:41:13.053Z | 2,015 | 2 | 19 | 4 | 988 | 1 | 730 | 64 | 4 | 0 | false | false | false | false | false | false | low |
28,773,055 | Android Facebook LikeView onActivityResult not being called | <p>Currently, I am trying to use LikeView without having the native FB app installed. This results in using WebView. </p>
<p>When the native FB app is installed, it returns back to the host app by calling onActivityResult of the host activity. However, when the native FB app is not installed, it resorts to WebView but... | Currently, I am trying to use LikeView without having the native FB app installed. This results in using WebView. When the native FB app is installed, it returns back to the host app by calling onActivityResult of the host activity. However, when the native FB app is not installed, it resorts to WebView but does not ca... | android|facebook|webview|facebook-like | 2 | 2015-02-27T19:44:00.677Z | 2,015 | 2 | 19 | 4 | 299 | 0 | 507 | 59 | 4 | 0 | false | true | false | false | false | false | low |
28,773,124 | Tile background using diamond shape? | <p>I am creating a tiled background. I read may posts about using bitmap xml with repeat tile. The tile I am using is has a diamond shape. So when I do the tile there are black gaps in between the tiles. </p>
<p>I hope I am explaining myself. How can this be done so the whole screen is covered tiles (ie sides touchin... | I am creating a tiled background. I read may posts about using bitmap xml with repeat tile. The tile I am using is has a diamond shape. So when I do the tile there are black gaps in between the tiles. I hope I am explaining myself. How can this be done so the whole screen is covered tiles (ie sides touching each other ... | android | 0 | 2015-02-27T19:48:34.780Z | 2,015 | 2 | 19 | 4 | 195 | 2 | 398 | 36 | 1 | 1 | true | false | false | false | false | false | zero |
28,773,129 | java.lang.NullPointerException SearchView OnCreateOptionsMenu | <p>I am trying to make my app work for Gingerbread (API 10). My app crashes when I click on the menu with following error -</p>
<pre><code>java.lang.NullPointerException
at com.sample.appdemo.onCreateOptionsMenu(AppDemoListActivity.java:83)
</code></pre>
<p>My app worked fine with API 11 and higher in the... | I am trying to make my app work for Gingerbread (API 10). My app crashes when I click on the menu with following error - [CODE] My app worked fine with API 11 and higher in the past. Anyone please help? Here is what I have: build.gradle : [CODE] AppDemoListActivity.java [CODE] action_bar_search_menu: [CODE] Update # 1:... | android|android-support-library|android-actionbar-compat|android-search|android-searchmanager | 1 | 2015-02-27T19:49:01.353Z | 2,015 | 2 | 19 | 4 | 1,042 | 0 | 337 | 61 | 5 | 5 | true | true | false | false | false | false | low |
28,773,150 | Android Nkzawa SocketIO disconnect and make new connection | <p>I am working with android, socketio (nkzawa). When I connect the first time is working perfectly. But then If I disconnect and try to make "another connection" the EVENT_CONNECT is never called.</p>
<p>Here I put some snippets</p>
<p>When I connect</p>
<p>Inside BeforeActivity</p>
<pre><code>@Override
public voi... | I am working with android, socketio (nkzawa). When I connect the first time is working perfectly. But then If I disconnect and try to make "another connection" the EVENT_CONNECT is never called. Here I put some snippets When I connect Inside BeforeActivity [CODE] Then I have class SocketManager that extends from Generi... | android|socket.io | 5 | 2015-02-27T19:50:40.540Z | 2,015 | 2 | 19 | 4 | 4,031 | 1 | 682 | 58 | 2 | 4 | true | false | true | false | false | false | low |
28,773,159 | Custom dialog unwanted bottom space | <p>I'm creating a custom Dialog (not a DialogFragment or AlertDialog!).</p>
<p>My point is that it should be with fullscreen tint and buttons aligned bottom with some small margin (I'm cloning iOS ActionSheet dialog. Sorry for that - not my idea :( ).</p>
<p>I've created a dialog that's falls behind NavBar (I guess t... | I'm creating a custom Dialog (not a DialogFragment or AlertDialog!). My point is that it should be with fullscreen tint and buttons aligned bottom with some small margin (I'm cloning iOS ActionSheet dialog. Sorry for that - not my idea :( ). I've created a dialog that's falls behind NavBar (I guess this is needed for b... | android|android-dialog | 1 | 2015-02-27T19:51:12.677Z | 2,015 | 2 | 19 | 4 | 1,082 | 0 | 1,265 | 35 | 2 | 2 | true | true | false | false | false | false | low |
28,773,173 | Android database custom listview open to multiple activities | <p><img src="https://i.stack.imgur.com/vsLSr.png" alt="enter image description here"></p>
<p>I found this app that uses a database with multiple tables. This here is a listview that saves incomes and expenses but they are in different activities. Does anyone knows how can I make this kind of listview?</p> | I found this app that uses a database with multiple tables. This here is a listview that saves incomes and expenses but they are in different activities. Does anyone knows how can I make this kind of listview? | android|listview|android-cursoradapter | -2 | 2015-02-27T19:52:18.217Z | 2,015 | 2 | 19 | 4 | 283 | 1 | 209 | 60 | 3 | 0 | false | false | false | false | false | true | negative |
28,773,315 | Click on image inside ArrayAdapter to remove item in listview | <p>I have Fragment...</p>
<pre><code> public class MyFragment extends Fragment {...
</code></pre>
<p>which calls adapter...</p>
<pre><code> MyArrayAdapter adapter = new MyArrayAdapter...
my.setAdapter(adapter);
</code></pre>
<p>adapter has image for delete item. I can listen image click but cannot remove ... | I have Fragment... [CODE] which calls adapter... [CODE] adapter has image for delete item. I can listen image click but cannot remove item from listview which is in fragment. [CODE] | android|arraylist|fragment|adapter | 2 | 2015-02-27T20:01:30.300Z | 2,015 | 2 | 20 | 4 | 2,784 | 4 | 181 | 61 | 4 | 3 | true | false | true | false | false | false | low |
28,773,320 | Android | Google Maps Getting Current Location and Update | <p>I am trying to get my current location on map and update it when I move. Every time when an update happens, I want to get current longtidude and latitute values to use in other methods. </p>
<pre><code>private LocationRequest request = LocationRequest.create().setInterval(50000);
</code></pre>
<p>I think I have to... | I am trying to get my current location on map and update it when I move. Every time when an update happens, I want to get current longtidude and latitute values to use in other methods. [CODE] I think I have to use LocationRequest . I created an object which will update its location every 5 minutes. But now I don't hav... | android|google-maps | 1 | 2015-02-27T20:01:34.270Z | 2,015 | 2 | 20 | 4 | 290 | 3 | 645 | 57 | 2 | 2 | true | false | false | false | false | false | low |
28,773,343 | How can I create a link between mnt/sdcard and sdcard on android x86 4.3? | <p>I am trying to give the virtual machine android x86 ultimately have a fake sdcard. It is getting tricky for me and I am running through the multiple scenarios. The problem is stemming from applications that point towards mnt/sdcard for references, but the directory is empty because it is not automatically synching w... | I am trying to give the virtual machine android x86 ultimately have a fake sdcard. It is getting tricky for me and I am running through the multiple scenarios. The problem is stemming from applications that point towards mnt/sdcard for references, but the directory is empty because it is not automatically synching with... | virtualbox|android-sdcard|android-x86 | 1 | 2015-02-27T20:03:56.363Z | 2,015 | 2 | 20 | 4 | 1,731 | 0 | 1,545 | 73 | 3 | 0 | false | true | false | false | false | false | low |
28,773,434 | How to prepare mediaplayer in android while another playing? | <p>I using MediaPlayerto play video from http stream is any solution to prepare second media player with another http url while first one still playing?
I want to play two videos without black screen between them, when first one end second start immediately.</p>
<p>Here is my code:</p>
<pre><code>public class VideoA... | I using MediaPlayerto play video from http stream is any solution to prepare second media player with another http url while first one still playing? I want to play two videos without black screen between them, when first one end second start immediately. Here is my code: [CODE] } When i run this first video starts for... | android|android-mediaplayer|surfaceview | 0 | 2015-02-27T20:09:32.197Z | 2,015 | 2 | 20 | 4 | 1,164 | 1 | 438 | 60 | 3 | 1 | true | false | false | false | false | false | zero |
28,773,438 | Trying get the dominant frequency from accelerometer data | <p>I'm working on an app that will return the frequency of vibration that a phone is experiencing using the accelerometer.</p>
<p>It's for my own personal use .. and just to gain experience in DSP and using sensors in my phone.</p>
<p>So, I grabbed some sensor data and wrote the absolute value to an array. My next st... | I'm working on an app that will return the frequency of vibration that a phone is experiencing using the accelerometer. It's for my own personal use .. and just to gain experience in DSP and using sensors in my phone. So, I grabbed some sensor data and wrote the absolute value to an array. My next step was to use an FF... | java|android|signal-processing|fft|android-sensors | 0 | 2015-02-27T20:10:04.680Z | 2,015 | 2 | 20 | 4 | 788 | 1 | 918 | 57 | 5 | 1 | true | false | false | false | false | false | zero |
28,773,447 | Trouble running openCV samples on android eclipse emulator | <p>Where do I even start...</p>
<p>I'm trying to do static initialization for openCV so that I can run ANY OF THE SAMPLES that I have with opencv library 2.4.8</p>
<p>I've followed the steps as outlined <a href="http://docs.opencv.org/trunk/doc/tutorials/introduction/android_binary_package/dev_with_OCV_on_Android.htm... | Where do I even start... I'm trying to do static initialization for openCV so that I can run ANY OF THE SAMPLES that I have with opencv library 2.4.8 I've followed the steps as outlined here , and I've become familiar with the NDK setup. Yet still, when I run, say, Puzzle15 sample, the emulated program immediately asks... | android|eclipse|opencv | 0 | 2015-02-27T20:10:23.953Z | 2,015 | 2 | 20 | 4 | 154 | 1 | 502 | 58 | 3 | 0 | false | false | false | false | false | false | zero |
28,773,515 | How to completely kill the activity? clear all | <pre><code> @Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
MyTimer();
}
//Таймер заставки в 3 секунды.
private void MyTimer() {
final Timer timer = new Timer();
timer.schedule(new TimerTask() {
int t = 3;
... | [CODE] in the book, the finish does not free memory from the pictures. The picture is large, it is necessary to clean it. Check through the IDEA Intelljj in "memory monitor". size is different : run, of memory size 21mb run, of memory size 28mb run, of memory size 28mb run, of memory size 21mb run, of memory size 21mb ... | android|android-layout|android-activity | 0 | 2015-02-27T20:15:59.897Z | 2,015 | 2 | 20 | 4 | 64 | 1 | 400 | 46 | 3 | 1 | true | false | false | false | false | false | zero |
28,773,524 | (Google Maps Android Marker Clustering Utility) Cluster items not being removed when Fragment is paused | <p>I'm trying to implement the Google Maps Android Marker Clustering Utility. The problem I was having was overlapping ClusterItems at max zoom. My solution to this was to: Create a custom Renderer by extending DefaultClusterRenderer. Then prevent clustering at max zoom, and next to allow the ClusterItems to be dragg... | I'm trying to implement the Google Maps Android Marker Clustering Utility. The problem I was having was overlapping ClusterItems at max zoom. My solution to this was to: Create a custom Renderer by extending DefaultClusterRenderer. Then prevent clustering at max zoom, and next to allow the ClusterItems to be draggable ... | android|google-maps|android-maps-utils | 1 | 2015-02-27T20:16:33.607Z | 2,015 | 2 | 20 | 4 | 975 | 1 | 902 | 103 | 3 | 1 | true | false | false | false | false | false | low |
28,773,635 | Up navigation goes to main activity | <p>I have the following Androidmanifest file
</p>
<pre><code><application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app... | I have the following Androidmanifest file [CODE] In main activity's onCreate method i have the following code to launch Second activity [CODE] Other than that every other activities code is what android studio provide as default. But when i press up button from the Second activity it goes directly to main activity and ... | android | 1 | 2015-02-27T20:24:32.567Z | 2,015 | 2 | 20 | 4 | 58 | 2 | 584 | 35 | 1 | 2 | true | false | false | false | false | false | low |
28,773,681 | Combine Facebook login and permission request into one | <p>I am trying to create a dialog that asks users to login with Facebook. In reality I don’t care much for the login per se: all I really want is permission to post photos on behalf of the user; nothing else. Below is my Dialog in its entirety. Will someone please correct the code for me? Right now its crashing with so... | I am trying to create a dialog that asks users to login with Facebook. In reality I don’t care much for the login per se: all I really want is permission to post photos on behalf of the user; nothing else. Below is my Dialog in its entirety. Will someone please correct the code for me? Right now its crashing with some ... | android|facebook|facebook-graph-api|permissions | 0 | 2015-02-27T20:27:55.020Z | 2,015 | 2 | 20 | 4 | 116 | 1 | 1,515 | 54 | 4 | 4 | true | false | false | false | false | false | zero |
28,773,740 | Fragment blank after popBackStack | <p><s>I have this Activity in which I replace the main fragment with a preference fragment. When I click back after looking at the preferences, I get a blank (white) area where my fragment should be. If I rotate the screen then it works just fine. Everything in my fragment appears to be ok except for it is blank. Here ... | I have this Activity in which I replace the main fragment with a preference fragment. When I click back after looking at the preferences, I get a blank (white) area where my fragment should be. If I rotate the screen then it works just fine. Everything in my fragment appears to be ok except for it is blank. Here are my... | android|android-fragments|android-navigation | 4 | 2015-02-27T20:31:12.533Z | 2,015 | 2 | 20 | 4 | 3,939 | 1 | 1,063 | 33 | 3 | 3 | true | false | true | false | false | false | low |
28,773,768 | Error parsing data org.json.JSONException: End of input at character 0 of | <p>Here is my java code:
class UpdateProfile extends AsyncTask {</p>
<pre><code> /**
* Before starting background thread Show Progress Dialog
*/
@Override
protected void onPreExecute() {
super.onPreExecute();
Log.d("UpdateProfile", "pre-execute");
}
/**
* Creating pro... | Here is my java code: class UpdateProfile extends AsyncTask { [CODE] Here is my Php code: [CODE] What's wrong in my code that following error pops up? Error parsing data org.json.JSONException: End of input at character 0 of Please help me. | java|php|android | -1 | 2015-02-27T20:33:18.307Z | 2,015 | 2 | 20 | 4 | 237 | 1 | 240 | 73 | 3 | 2 | true | false | false | false | false | true | negative |
28,773,790 | How does gradle handle settings.gradle files in subdirectories? | <p>I have a android gradle project with the following directory structure:</p>
<pre><code>\ MyProject
- build.gradle
- settings.gradle
\ app
- build.gradle
\ Libs
\ Lib1
- build.gradle
- settings.gradle
</code></pre>
<p><code>MyProject/settings.gradle</code> looks like this:</p>
<pre><cod... | I have a android gradle project with the following directory structure: [CODE] MyProject/settings.gradle looks like this: [CODE] The module app depends on the module Lib1 like so ( MyProject/app/build.gradle ) [CODE] Here's the issue: when I force-sync in Android Studio, the sync fails with an error: [CODE] This messes... | android|android-studio|gradle | 1 | 2015-02-27T20:34:53.533Z | 2,015 | 2 | 20 | 4 | 328 | 0 | 711 | 63 | 3 | 4 | true | true | false | false | false | false | low |
28,773,938 | ShareActionProvider capture before click event? | <p>Is it possible to capture an event BEFORE a ShareActionProvider icon is clicked? For example, once a share icon is clicked, I want to display a dialog box asking the user "Do you really want to share?" and then have the opportunity to cancel the share action. I have tried to put the dialog box into <code>onShareTarg... | Is it possible to capture an event BEFORE a ShareActionProvider icon is clicked? For example, once a share icon is clicked, I want to display a dialog box asking the user "Do you really want to share?" and then have the opportunity to cancel the share action. I have tried to put the dialog box into onShareTargetSelecte... | android | 1 | 2015-02-27T20:44:30.527Z | 2,015 | 2 | 20 | 4 | 59 | 0 | 372 | 47 | 1 | 0 | false | true | false | false | false | false | low |
28,773,991 | How do I tell Android Studio to run assembleDebug and not assembleDebugTest? | <p>In my Android Studio (1.1 RC 1), when I run my app from the Run button, the Gradle console tab shows that the last-run task is assembleDebug. </p>
<p>A colleague who is also running Android Studio 1.1 sees that the task is called assembleDebugTest. The test suites then run. He would like to configure Android Studio... | In my Android Studio (1.1 RC 1), when I run my app from the Run button, the Gradle console tab shows that the last-run task is assembleDebug. A colleague who is also running Android Studio 1.1 sees that the task is called assembleDebugTest. The test suites then run. He would like to configure Android Studio so that whe... | android|android-studio|android-gradle-plugin | 1 | 2015-02-27T20:47:36.840Z | 2,015 | 2 | 20 | 4 | 2,784 | 0 | 466 | 76 | 3 | 0 | false | true | true | false | false | false | low |
28,774,013 | What does "(v) ->" mean in Android Studio? | <p>When in Android Studio I will often see my anonymous inner class for a View.onClickListener compressed to a (v)-> until I click on it, much the same way my code will display as if strings are hard-coded when my code uses a string resource id. Google searches for '"(v) ->" android' are not giving me anything.
Is thi... | When in Android Studio I will often see my anonymous inner class for a View.onClickListener compressed to a (v)-> until I click on it, much the same way my code will display as if strings are hard-coded when my code uses a string resource id. Google searches for '"(v) ->" android' are not giving me anything. Is this so... | android|android-studio|folding | 4 | 2015-02-27T20:49:16.243Z | 2,015 | 2 | 20 | 4 | 3,922 | 2 | 376 | 42 | 3 | 0 | false | false | true | false | false | false | low |
28,774,016 | Paypal MPL Delayed Chained Payment | <p>Does MPL Support DELAYED Chained Payments in Android and iOS? I can't find an example of this.</p>
<p>Any help you can provide is very appreciated.
Thanks.</p> | Does MPL Support DELAYED Chained Payments in Android and iOS? I can't find an example of this. Any help you can provide is very appreciated. Thanks. | android|paypal | 1 | 2015-02-27T20:49:58.753Z | 2,015 | 2 | 20 | 4 | 532 | 3 | 148 | 34 | 2 | 0 | false | false | false | false | false | false | low |
28,774,027 | Android dalvikvm thread still suspended. Can't start debugging | <p>I have the following problem. I had a stable version of my android application and started adding code. When debugging the edited version of the app it threw an illegal argument exception. So i decided to comment out all the new code, <strong>but after that i could not launch the app</strong>.</p>
<p>The logcat sho... | I have the following problem. I had a stable version of my android application and started adding code. When debugging the edited version of the app it threw an illegal argument exception. So i decided to comment out all the new code, but after that i could not launch the app . The logcat shows that the thread is still... | android|debugging|illegalargumentexception|launching | 0 | 2015-02-27T20:50:43.200Z | 2,015 | 2 | 20 | 4 | 350 | 0 | 578 | 62 | 4 | 3 | true | true | false | false | false | false | zero |
28,774,063 | How do I post to a friend's Timeline using the Android SDK using FacebookDialog | <p>I am working with the facebook SDK and attempting to post things to a friend's timeline. I am able to post to my own timeline without any problem, but the minute I choose someone else's it errors out.</p>
<p>After doing some research, it seems like the problem is deprecated API related and now you must "mention" th... | I am working with the facebook SDK and attempting to post things to a friend's timeline. I am able to post to my own timeline without any problem, but the minute I choose someone else's it errors out. After doing some research, it seems like the problem is deprecated API related and now you must "mention" them in your ... | android|facebook|facebook-graph-api | 0 | 2015-02-27T20:52:52.703Z | 2,015 | 2 | 20 | 4 | 497 | 0 | 840 | 79 | 3 | 0 | false | true | false | false | false | false | zero |
28,774,144 | how to create generic java class that extends class and implements interface? | <p>i am using DDD in my android project structure, in some domains, i need to create a new folder named "behavior" to put all screen behavior in this folder, like so "public class profileBehavior { .. }"</p>
<p>project print: <a href="http://tinypic.com/view.php?pic=r1hppi&s=8#.VPDdSlPF_rc" rel="nofollow">http://t... | i am using DDD in my android project structure, in some domains, i need to create a new folder named "behavior" to put all screen behavior in this folder, like so "public class profileBehavior { .. }" project print: http://tinypic.com/view.php?pic=r1hppi&s=8#.VPDdSlPF_rc with the passage of time and the improvement aim... | java|android|interface|type-parameter | 0 | 2015-02-27T20:58:58.953Z | 2,015 | 2 | 20 | 4 | 741 | 2 | 785 | 77 | 4 | 3 | true | false | false | false | false | false | zero |
28,774,180 | Versions to publish the app | <p>I am programming android app and I have one question about the publishing of the app on Play Store. is it possible to publish the app only for the devices who have 1Gb of RAM of more? or is it possible to publish one apk for the devices with more than 1Gb RAM and other to the devices with less than 1Gb of RAM?</p>
... | I am programming android app and I have one question about the publishing of the app on Play Store. is it possible to publish the app only for the devices who have 1Gb of RAM of more? or is it possible to publish one apk for the devices with more than 1Gb RAM and other to the devices with less than 1Gb of RAM? Thank yo... | android|apk | 0 | 2015-02-27T21:01:09.503Z | 2,015 | 2 | 21 | 4 | 26 | 1 | 321 | 27 | 2 | 0 | false | false | false | false | false | false | zero |
28,774,255 | Is it possible to override the home button using a service? | <p>Basically, the back button is broken on my phone and I'd like to replace the home button to actually emulate the back button.</p>
<p>Is there a way to do this in a service so that regardless of what app I'm using, the home button is overridden to act like the back button?</p> | Basically, the back button is broken on my phone and I'd like to replace the home button to actually emulate the back button. Is there a way to do this in a service so that regardless of what app I'm using, the home button is overridden to act like the back button? | android|overriding | 0 | 2015-02-27T21:06:33.413Z | 2,015 | 2 | 21 | 4 | 46 | 2 | 265 | 59 | 2 | 0 | false | false | false | false | false | false | zero |
28,774,476 | Android app start up animation | <p>i just need to know how is it possible to create a start-up animation in your app. When the app is launched I would like it to go through custom animation and then it reaches the content of the app (main activity) ... </p>
<p>Thanks for all your help</p> | i just need to know how is it possible to create a start-up animation in your app. When the app is launched I would like it to go through custom animation and then it reaches the content of the app (main activity) ... Thanks for all your help | android|animation|startup | -2 | 2015-02-27T21:19:51.653Z | 2,015 | 2 | 21 | 4 | 1,774 | 1 | 242 | 30 | 3 | 0 | false | false | false | false | false | true | negative |
28,774,490 | Opencl on android emulator | <p>My android project is about visual feature extraction
In order to reduce keypoint detection and feature extraction time ; I think that GPU computing is may be a solution.
I want to test OpenCl or renderscript functions on Android emulator .
Is that feasible? </p> | My android project is about visual feature extraction In order to reduce keypoint detection and feature extraction time ; I think that GPU computing is may be a solution. I want to test OpenCl or renderscript functions on Android emulator . Is that feasible? | android|android-emulator|opencl|renderscript | 1 | 2015-02-27T21:20:49.567Z | 2,015 | 2 | 21 | 4 | 455 | 1 | 258 | 26 | 4 | 0 | false | false | false | false | false | false | low |
28,774,588 | how write queries in the RealmList? | <p>i have models:</p>
<pre><code>public class Feed extends RealmObject {
@PrimaryKey
private int id;
private boolean active;
private Section section;
private RealmList<Job> jobs;
// getters and setters
......
}
public class Section extends RealmObject {
private String title;
private String subtitle;
private ... | i have models: [CODE] I want get feeds with jobs only remotely. Get feeds with jobs only remotely, this is easy, but I want to the list of vacancies each tape were only job working remotely There are several rss feeds vacancies grouped by type, such as design, backend. I parse and caches them with the Realm. Work can b... | java|android|realm | 0 | 2015-02-27T21:27:07.457Z | 2,015 | 2 | 21 | 4 | 1,215 | 1 | 640 | 35 | 3 | 1 | true | false | false | false | false | false | zero |
28,774,667 | Provided dependencies can only be jars | <p>I have an android projct in Android Studio, was all previously working the last time I used it, however, I've upgraded Android Studio and now I am getting a weird problem. </p>
<p>In the error output in Android Studio I have the following:</p>
<pre><code>Warning: Project MyApp: provided dependencies can only be ja... | I have an android projct in Android Studio, was all previously working the last time I used it, however, I've upgraded Android Studio and now I am getting a weird problem. In the error output in Android Studio I have the following: [CODE] Below is my build.gradle file. [CODE] | android|android-gradle-plugin|build.gradle | 11 | 2015-02-27T21:32:21.123Z | 2,015 | 2 | 21 | 4 | 10,235 | 2 | 276 | 38 | 3 | 2 | true | false | true | false | true | false | medium |
28,774,690 | Change app opening animation | <p>Is there any way to change / disable that animation when an app is opening (e.g. slide up animation in Lolipop).</p>
<p>I have tried this, but without success:</p>
<pre><code><item name="android:windowEnterAnimation">@null</item>
<item name="android:windowExitAnimation">@null</item>
<ite... | Is there any way to change / disable that animation when an app is opening (e.g. slide up animation in Lolipop). I have tried this, but without success: [CODE] | java|android|xml | 0 | 2015-02-27T21:34:03.877Z | 2,015 | 2 | 21 | 4 | 916 | 1 | 159 | 28 | 3 | 1 | true | false | false | false | false | false | zero |
28,774,821 | One bitmap for multiple images...same memory? | <p>If I use the same bitmap for 2 or 3 image views. Does it mean that I am occupying 3 times the bitmap size in the memory? or is it counted as one bitmap?</p>
<p>I am looking to see if I do Bitmap with with tiling, as oppose to ready made image, would it save lots of memory. </p>
<p>Thanks</p> | If I use the same bitmap for 2 or 3 image views. Does it mean that I am occupying 3 times the bitmap size in the memory? or is it counted as one bitmap? I am looking to see if I do Bitmap with with tiling, as oppose to ready made image, would it save lots of memory. Thanks | android | 0 | 2015-02-27T21:43:26.903Z | 2,015 | 2 | 21 | 4 | 60 | 0 | 273 | 45 | 1 | 0 | false | true | false | false | false | false | zero |
28,774,843 | Getting the width of an action bar tab | <p>I want to have an action bar with tabs and a viewPager for the body in order to be able to scroll the tabs.
I also want to have a view to "underline" the selected tab, and have it move when I scroll the viewPager.
Is there a way to get the size of the tab? Since I'm different devices the tabs may be scrollable I ca... | I want to have an action bar with tabs and a viewPager for the body in order to be able to scroll the tabs. I also want to have a view to "underline" the selected tab, and have it move when I scroll the viewPager. Is there a way to get the size of the tab? Since I'm different devices the tabs may be scrollable I can't ... | android|tabs|android-actionbar | 1 | 2015-02-27T21:45:04.243Z | 2,015 | 2 | 21 | 4 | 69 | 0 | 415 | 38 | 3 | 0 | false | true | false | false | false | false | low |
28,774,850 | Finding iBeacon using AltBeacon library | <p>I'm a french student in ingineering and I am learning Android language by myself. My friends and I have to create an Android app which is based on iBeacon technology. I discovered the AltBeacon library few days ago and I found it awesome but I have some questions to ask on it.</p>
<p>Firstly, you must understand I ... | I'm a french student in ingineering and I am learning Android language by myself. My friends and I have to create an Android app which is based on iBeacon technology. I discovered the AltBeacon library few days ago and I found it awesome but I have some questions to ask on it. Firstly, you must understand I am a novice... | android|bluetooth|ibeacon|altbeacon | -1 | 2015-02-27T21:45:31.127Z | 2,015 | 2 | 21 | 4 | 3,332 | 3 | 889 | 39 | 4 | 0 | false | false | true | false | false | true | negative |
28,774,855 | Invalid header range coming from jwplayer used in android webview | <p>I am using, jwplayer in android webview and when I play videos from player I can see invalid range is coming, so for in valid range I am using following code to server videos in jersey,</p>
<pre><code>StreamingOutput output = new StreamingOutput() {
@Override
public void write(OutputStream output) throws IOExceptio... | I am using, jwplayer in android webview and when I play videos from player I can see invalid range is coming, so for in valid range I am using following code to server videos in jersey, [CODE] And for valid range, I am using following code to serve videos . . . . [CODE] But still I am not able to run videos from androi... | javascript|android-webview|jwplayer|jwplayer6 | 1 | 2015-02-27T21:45:48.180Z | 2,015 | 2 | 21 | 4 | 314 | 0 | 521 | 65 | 4 | 2 | true | true | false | false | false | false | low |
28,774,867 | Adding custom footer buttons to Google Maps Marker on Android | <p>When I click on a Marker inside a MapFragment, two buttons appear on the bottom of the map (for route and search). How can I customize those buttons?</p>
<p>I searched for some tips here but only find how to add buttons to the info window...</p>
<p>Thanks.</p> | When I click on a Marker inside a MapFragment, two buttons appear on the bottom of the map (for route and search). How can I customize those buttons? I searched for some tips here but only find how to add buttons to the info window... Thanks. | android|google-maps | 0 | 2015-02-27T21:46:15.693Z | 2,015 | 2 | 21 | 4 | 506 | 1 | 242 | 61 | 2 | 0 | false | false | false | false | false | false | zero |
28,774,868 | Delete All file and sub-folder Except the main folder | <p>I am new android app</p>
<p>In some part of my app , I need to delete all file and sub-folder in /data/data/PACkAGE_NAME/ but keep the main folder</p>
<p>i have root accesses also ! and shell commend </p>
<p>i Have used two methods but at both of them the package folder has deleted</p>
<p>method 1 :</p>
<pre><... | I am new android app In some part of my app , I need to delete all file and sub-folder in /data/data/PACkAGE_NAME/ but keep the main folder i have root accesses also ! and shell commend i Have used two methods but at both of them the package folder has deleted method 1 : [CODE] method 2 : [CODE] tnx EDIT : I found solu... | android | 0 | 2015-02-27T21:46:17.787Z | 2,015 | 2 | 21 | 4 | 149 | 1 | 376 | 53 | 1 | 3 | true | false | false | false | false | false | zero |
28,774,915 | How to get the connected clients information from a network in Android? | <p>Currently I am making an app which requires the MAC addresses of the connected clients on a network.(The app is also connected as a client).
Is it possible to get the informations such as I.P. and MAC Addresses of the connected clients on a network?</p> | Currently I am making an app which requires the MAC addresses of the connected clients on a network.(The app is also connected as a client). Is it possible to get the informations such as I.P. and MAC Addresses of the connected clients on a network? | android|networking|mac-address | 0 | 2015-02-27T21:49:20.557Z | 2,015 | 2 | 21 | 4 | 166 | 0 | 249 | 71 | 3 | 0 | false | true | false | false | false | false | zero |
28,774,954 | How to display ArrayList Strings in TextView | <p>I need to display current values in TextView (after removing String). I'm adding String when button is On and I need to remove it, when it's Off ( I don't know if I do it well), next I need to display Strings in TextView without deleted String. I need to display only Strings from On buttons.I don't know how to displ... | I need to display current values in TextView (after removing String). I'm adding String when button is On and I need to remove it, when it's Off ( I don't know if I do it well), next I need to display Strings in TextView without deleted String. I need to display only Strings from On buttons.I don't know how to display ... | java|android|arraylist | -1 | 2015-02-27T21:51:43.303Z | 2,015 | 2 | 21 | 4 | 583 | 1 | 437 | 44 | 3 | 1 | true | false | false | false | false | true | negative |
28,775,062 | Parse.com "access denied" when importing images - Access denied on images (Request failed: forbidden (403)) | <p>I'm using parse.com and I can't get access to my images after importing a database to a new application in the same account. I have 1 account and in that account I have created 2 apps [1 for production and 1 for development].</p>
<p>The steps I followed:</p>
<ol>
<li><p>I export a table from the production databas... | I'm using parse.com and I can't get access to my images after importing a database to a new application in the same account. I have 1 account and in that account I have created 2 apps [1 for production and 1 for development]. The steps I followed: I export a table from the production database (with images) and get it s... | android|ios|database|facebook|parse-platform | 0 | 2015-02-27T21:59:39.317Z | 2,015 | 2 | 21 | 4 | 353 | 1 | 960 | 107 | 5 | 0 | false | false | false | false | false | false | zero |
28,775,109 | Proper way to periodically poll location on Android? | <p>I'm looking to build something similar to Google's field trip application. The key attributes that I'm looking to prove out are:</p>
<ul>
<li>A background "job" that runs every X minutes and checks the user's location and make a webservice call(this question doesn't really concern the location part)</li>
<li>The j... | I'm looking to build something similar to Google's field trip application. The key attributes that I'm looking to prove out are: A background "job" that runs every X minutes and checks the user's location and make a webservice call(this question doesn't really concern the location part) The job should run even if the u... | android|android-intent|android-service | 2 | 2015-02-27T22:02:35.397Z | 2,015 | 2 | 22 | 4 | 398 | 2 | 780 | 52 | 3 | 0 | false | false | false | false | false | false | low |
28,775,114 | How to Accessing the Tesseract Cloud-Service from Android | <p>As the question title suggests, I am trying to implement Tesseract Cloud-Service into my app. <a href="http://wolfpaulus.com/jounal/android-journal/android-and-ocr/" rel="nofollow">This</a> is the tutorial I am currently using. For the type of app I am making, the best way to implement this into my app is through th... | As the question title suggests, I am trying to implement Tesseract Cloud-Service into my app. This is the tutorial I am currently using. For the type of app I am making, the best way to implement this into my app is through the Cloud Service. I am VERY new to the world of OCR, in any form. Can anybody provide like an e... | javascript|android|ocr|tesseract | 0 | 2015-02-27T22:03:00.720Z | 2,015 | 2 | 22 | 4 | 457 | 0 | 979 | 57 | 4 | 0 | false | true | false | false | false | false | zero |
28,775,144 | Setting a click listenner to markushi/android-circlebutton | <p>I want to set a click listener to <a href="https://github.com/markushi/android-circlebutton" rel="nofollow">this circular button</a>.</p>
<p>I am using Android Studio 1.1.0 and the app runs, but throws an exception and crashes, both on an emulator and on a Nexus 5 (using API 21).</p>
<p>Any idea what is causing th... | I want to set a click listener to this circular button . I am using Android Studio 1.1.0 and the app runs, but throws an exception and crashes, both on an emulator and on a Nexus 5 (using API 21). Any idea what is causing this? The button is inside a frame and the entire screen is a fragment. activity_main.xml: [CODE] ... | android|onclicklistener | 0 | 2015-02-27T22:04:40.600Z | 2,015 | 2 | 22 | 4 | 500 | 1 | 402 | 58 | 2 | 4 | true | false | false | false | false | false | zero |
28,775,159 | Adding Overlap2D library as a dependency in Android Studio | <p>I carefully followed the steps that were listed here:
<a href="http://overlap2d.com/making-physics-based-side-scroller-project-setup-part-1/" rel="nofollow">http://overlap2d.com/making-physics-based-side-scroller-project-setup-part-1/</a></p>
<pre><code>include 'desktop', 'core', 'Overlap2dRuntime'
project(':Overla... | I carefully followed the steps that were listed here: http://overlap2d.com/making-physics-based-side-scroller-project-setup-part-1/ [CODE] and this: [CODE] After syncing gradle, I got BUILD SUCCESSFUL. My folder: overlap2d-runtime-libgdx-master is located in the same parent directory as my folder for my project. Howeve... | android|libgdx|overlap2d | 1 | 2015-02-27T22:05:34.237Z | 2,015 | 2 | 22 | 4 | 709 | 1 | 498 | 58 | 3 | 2 | true | false | false | false | false | false | low |
28,775,174 | BaseAdapter containing TextureView and MediaPlayer doesn't work | <p>What I'm trying to do is to populate a ListView with a BaseAdapter which has a TextureView in it. The problem is i don't see any video playing before waiting at least 2 mins, and its not about my internet connection speed. When i set the width of TextureView to 300dp, my ListView starts containing more than one view... | What I'm trying to do is to populate a ListView with a BaseAdapter which has a TextureView in it. The problem is i don't see any video playing before waiting at least 2 mins, and its not about my internet connection speed. When i set the width of TextureView to 300dp, my ListView starts containing more than one view an... | android|android-listview|android-mediaplayer|baseadapter|textureview | 3 | 2015-02-27T22:06:54.320Z | 2,015 | 2 | 22 | 4 | 920 | 0 | 701 | 63 | 5 | 2 | true | true | false | false | false | false | low |
28,775,265 | Android onUpgrade, database structure change and data handling | <p>Got some problems that I don't really know how to solve. I have stored a TimeStamp in my SQLite Database as a String(not very clever;-)), and know I need to convert that to a millisecond represantation as a long in the database. The reason for this is that I want to fetch the TimeStamp and represent it correctly acc... | Got some problems that I don't really know how to solve. I have stored a TimeStamp in my SQLite Database as a String(not very clever;-)), and know I need to convert that to a millisecond represantation as a long in the database. The reason for this is that I want to fetch the TimeStamp and represent it correctly accord... | java|android|android-sqlite | 0 | 2015-02-27T22:15:18.417Z | 2,015 | 2 | 22 | 4 | 173 | 1 | 1,258 | 62 | 3 | 0 | false | false | false | false | false | false | zero |
28,775,272 | Android Gradle stop dependencies' tests from running | <p>I have a project which I am using Android Gradle 1.1 and Android Studio 1.1. I have 2 modules (A, which is dependent on B). The relevant parts of A's build.gradle file looks like so:</p>
<pre><code>dependencies {
compile project(':B') // the bad line
testCompile 'junit:junit:4.11'
testCompile 'org.robolectric... | I have a project which I am using Android Gradle 1.1 and Android Studio 1.1. I have 2 modules (A, which is dependent on B). The relevant parts of A's build.gradle file looks like so: [CODE] However this has side effect of running the unit tests within B when I run the tests for A. I've tried a number of exclude syntaxe... | android-studio|gradle|android-gradle-plugin | 2 | 2015-02-27T22:16:28.777Z | 2,015 | 2 | 22 | 4 | 50 | 0 | 391 | 52 | 3 | 1 | true | true | false | false | false | false | low |
28,775,312 | Android Java Widget showing no icon on list | <p>This is my first attempt at writing an Android Java Widget. Currently once the APK is installed I see the main app icon ok but the widget list shows the widget with icon at all, just the text! I have been reading of similar problems and followed the proposed solutions but nothing has helped so far. The main app work... | This is my first attempt at writing an Android Java Widget. Currently once the APK is installed I see the main app icon ok but the widget list shows the widget with icon at all, just the text! I have been reading of similar problems and followed the proposed solutions but nothing has helped so far. The main app works o... | android|widget|icons | 1 | 2015-02-27T22:19:11.113Z | 2,015 | 2 | 22 | 4 | 96 | 0 | 507 | 43 | 3 | 4 | true | true | false | false | false | false | low |
28,775,317 | horizontalscrollview click event not working | <p>I implement HorizontalScrollView using this sample <a href="https://github.com/krishnalalstha/Android-HorizontalScrollView" rel="nofollow">code</a> and <a href="http://www.wingnity.com/blog/android-json-parsing-and-image-loading-tutorial/" rel="nofollow">this</a> . I have fetch data from server but i cant find way t... | I implement HorizontalScrollView using this sample code and this . I have fetch data from server but i cant find way to implement onclick listener , How can I make horizontalscrollview click event ? [CODE] getView method : [CODE] CenterLockHorizontalScrollview class [CODE] | javascript|android|click|horizontalscrollview | 1 | 2015-02-27T22:19:23.967Z | 2,015 | 2 | 22 | 4 | 124 | 0 | 273 | 44 | 4 | 3 | true | true | false | false | false | false | low |
28,775,360 | How to control what happens when a view's wrap_content exceeds its parent's width/height? | <p>In Android, given any <code>View</code> - I want its height/width to both be <strong>wrap_content</strong> - but I don't want this value to ever exceed its parent. How do I achieve this in XML?</p> | In Android, given any View - I want its height/width to both be wrap_content - but I don't want this value to ever exceed its parent. How do I achieve this in XML? | android|android-layout|android-xml | 0 | 2015-02-27T22:21:55.080Z | 2,015 | 2 | 22 | 4 | 107 | 1 | 163 | 89 | 3 | 0 | false | false | false | false | false | false | zero |
28,775,366 | ListView not updating after web service Sync | <p>I have impelmented <code>SyncAdapter</code> that calls webservice and insert/update database. I would like to show some of this data in <code>ListView</code> so i implemented <code>ListFragment</code> in witch the data is displayed via <code>CursorAdapter</code>. And everything works ok, except when I get new data f... | I have impelmented SyncAdapter that calls webservice and insert/update database. I would like to show some of this data in ListView so i implemented ListFragment in witch the data is displayed via CursorAdapter . And everything works ok, except when I get new data from web and insert it into database, the CursorAdapter... | android|android-listview|android-listfragment|android-syncadapter|android-webservice | 0 | 2015-02-27T22:22:22.857Z | 2,015 | 2 | 22 | 4 | 654 | 2 | 593 | 44 | 5 | 2 | true | false | false | false | false | false | zero |
28,775,377 | Android Html.fromHtml tag "strike" does not works | <p>I found <a href="https://stackoverflow.com/a/4062318/4145376">this solution</a></p>
<p>and it doesn't works for me.
What I am doing wrong?
I used it: </p>
<pre><code>tv.setText(Html.fromHtml("<strike>111</strike> 222", null, new MyHtmlTagHandler());
</code></pre>
<p>but "111" showing as not strike out... | I found this solution and it doesn't works for me. What I am doing wrong? I used it: [CODE] but "111" showing as not strike out( sorry if I am wrong, I am nub here) | android|html|strikethrough|fromhtml | 1 | 2015-02-27T22:23:13.213Z | 2,015 | 2 | 22 | 4 | 1,852 | 1 | 164 | 49 | 4 | 1 | true | false | false | false | false | false | low |
28,775,411 | ViewFlipper causing application to crash on Back Pressed | <p>I have a two view flippers in my fragment, in one I flip 3 views and in the other 2. I flip all views and then proceed to the next fragment. If on this next fragment I hit the back button, the app crashes with this in the logcat:</p>
<pre><code>Activity has leaked IntentReceiver android.widget.ViewFlipper$1@41e58... | I have a two view flippers in my fragment, in one I flip 3 views and in the other 2. I flip all views and then proceed to the next fragment. If on this next fragment I hit the back button, the app crashes with this in the logcat: [CODE] I have researched this a lot and the common solution is to implement a custom view ... | android|android-fragments|viewflipper | 0 | 2015-02-27T22:26:51.370Z | 2,015 | 2 | 22 | 4 | 301 | 1 | 525 | 56 | 3 | 2 | true | false | false | false | false | false | zero |
28,775,412 | How to identify an instance of a class for uniqueness | <p>I've got a class running on a Android wearable which and there is supposed to be only one instance of it, however I'm very occasionally observing some unexpected behavior which is leading me to speculate if under some circumstances perhaps two instances are being created.</p>
<p>If I was in the C or C++ world I wou... | I've got a class running on a Android wearable which and there is supposed to be only one instance of it, however I'm very occasionally observing some unexpected behavior which is leading me to speculate if under some circumstances perhaps two instances are being created. If I was in the C or C++ world I would just add... | java|android | 1 | 2015-02-27T22:27:02.463Z | 2,015 | 2 | 22 | 4 | 1,496 | 2 | 588 | 53 | 2 | 0 | false | false | false | false | false | false | low |
28,775,453 | Android service stopped but bluetoothChatService continues | <p>I have implemented the <a href="https://developer.android.com/samples/BluetoothChat/src/com.example.android.bluetoothchat/BluetoothChatService.html" rel="nofollow">Android BluetoothChatService</a> in a service, but haven't found a way to stop it when I want to stop the service.
The service is started with an intent:... | I have implemented the Android BluetoothChatService in a service, but haven't found a way to stop it when I want to stop the service. The service is started with an intent: [CODE] and stopped with [CODE] which reports the service is stopped, but the bluetooth continues - the handler in the service continues to receive ... | android|android-intent|service|bluetooth | 0 | 2015-02-27T22:29:57.597Z | 2,015 | 2 | 22 | 4 | 152 | 0 | 580 | 58 | 4 | 3 | true | true | false | false | false | false | zero |
28,775,483 | Android Studio reading data from excel? | <p>i was wondering if there is any effecient way to read data from an Excel file in Android Studio. I have tried aspose - cells but it dosn't seem to work for me...</p> | i was wondering if there is any effecient way to read data from an Excel file in Android Studio. I have tried aspose - cells but it dosn't seem to work for me... | android-studio|import-from-excel | 0 | 2015-02-27T22:32:17.240Z | 2,015 | 2 | 22 | 4 | 1,626 | 1 | 161 | 39 | 2 | 0 | false | false | false | false | false | false | zero |
28,775,503 | Send an E-Mail in Android (In background without using intent_send) | <p>i am beginner in android !!
I am trying to send an email.
I am taking name, email and feedback from user; i want to send an email to emample@xyz.com with name email and feedback.</p>
<p>I DO NOT WANT TO USE INTENT_SEND or Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);</p>
<p>I want to send in... | i am beginner in android !! I am trying to send an email. I am taking name, email and feedback from user; i want to send an email to emample@xyz.com with name email and feedback. I DO NOT WANT TO USE INTENT_SEND or Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); I want to send in background without... | android|email|android-intent|intentfilter | 0 | 2015-02-27T22:34:19.653Z | 2,015 | 2 | 22 | 4 | 3,149 | 1 | 365 | 67 | 4 | 0 | false | false | true | false | false | false | zero |
28,775,557 | Android Studio import shortcuts from Eclipse | <p>From someone who has used Eclipse for awhile I Prefer keeping the same shortcuts in Android studio. Is it possible to import shortcuts in Android Studio from Eclipse ?</p> | From someone who has used Eclipse for awhile I Prefer keeping the same shortcuts in Android studio. Is it possible to import shortcuts in Android Studio from Eclipse ? | android-studio|keyboard-shortcuts | 1 | 2015-02-27T22:39:24.037Z | 2,015 | 2 | 22 | 4 | 64 | 1 | 167 | 44 | 2 | 0 | false | false | false | false | false | false | low |
28,775,632 | getRuntime Android show process | <p>I'm doing a simple app that show the currently process in android, like a shell.</p>
<p>My app execute ls, cd, makedir and other commands, but top or htop command doesnt. (htop doesn't recognize, and top, the app freeze). I need root to this? I've downloaded the terminal app in unrooted android and top command work... | I'm doing a simple app that show the currently process in android, like a shell. My app execute ls, cd, makedir and other commands, but top or htop command doesnt. (htop doesn't recognize, and top, the app freeze). I need root to this? I've downloaded the terminal app in unrooted android and top command works. my app h... | android|shell|process | 0 | 2015-02-27T22:45:37.647Z | 2,015 | 2 | 22 | 4 | 332 | 2 | 459 | 31 | 3 | 2 | true | false | false | false | false | false | zero |
28,775,800 | How can I improve my android studio installation? | <p>I decided to check Android Studio since it seems that Eclipse is being phased out. When I installed it in my Mac and opened it, I was surprised at how bad the editor looks.
I was wondering are there any settings/plugins to improve the look and feel of the IDE so that it is as nice as Eclipse?
Also I can not seem to... | I decided to check Android Studio since it seems that Eclipse is being phased out. When I installed it in my Mac and opened it, I was surprised at how bad the editor looks. I was wondering are there any settings/plugins to improve the look and feel of the IDE so that it is as nice as Eclipse? Also I can not seem to fin... | java|android|android-studio | -1 | 2015-02-27T23:00:00.487Z | 2,015 | 2 | 23 | 4 | 106 | 4 | 446 | 49 | 3 | 0 | false | false | false | false | false | true | negative |
28,775,831 | Android gap above PagerTitleStrip | <p>I'm having an issue with my layout where there is a gap between the PagerTitleStrip and the ActionBar. Here's my layout and how it looks, it seems to display fine in the preview window but not on my device.</p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<android.support.v4.view.ViewPager xmlns:a... | I'm having an issue with my layout where there is a gap between the PagerTitleStrip and the ActionBar. Here's my layout and how it looks, it seems to display fine in the preview window but not on my device. [CODE] Gap.. | android|android-viewpager|pagertitlestrip | 0 | 2015-02-27T23:03:37.840Z | 2,015 | 2 | 23 | 4 | 329 | 1 | 219 | 33 | 3 | 1 | true | false | false | false | false | false | zero |
28,775,860 | RecyclerView save position on device orientation change | <p>In my App I have a RecyclerView connected with an adapter but everytime my device changes from landscape to portrait or something else, the view get reloaded and I'll get to the top again. I want to save my scroll position to the last <strong>item</strong> I saw.</p>
<p>Here is what I tried:</p>
<p>I have a Fragm... | In my App I have a RecyclerView connected with an adapter but everytime my device changes from landscape to portrait or something else, the view get reloaded and I'll get to the top again. I want to save my scroll position to the last item I saw. Here is what I tried: I have a Fragment that extends from another fragmen... | android|android-fragments|savestate|android-recyclerview | 6 | 2015-02-27T23:06:25.617Z | 2,015 | 2 | 23 | 4 | 1,200 | 1 | 593 | 55 | 4 | 3 | true | false | false | false | false | false | medium |
28,775,871 | Cant pick picture from gallery. Result code always cancelled | <p>The complete code of my <code>Fragment</code>:</p>
<pre><code> public class ProfileEditPictureFragment extends BaseFragment implements OnClickListener {
private ImageView imageView = null;
private Button buttonPick = null;
private Button buttonSave = null;
private Button buttonCancel = null;
... | The complete code of my Fragment : [CODE] But the resultCode is always 0 and the data is always null . Permissions are set ofcourse. So how can i pick images from the gallery? I test it on Nexus 4 with Android 5.0.1 | android | 0 | 2015-02-27T23:07:15.350Z | 2,015 | 2 | 23 | 4 | 4,014 | 2 | 215 | 60 | 1 | 1 | true | false | true | false | false | false | zero |
28,775,907 | Use custom viewgroup to control click event flows | <p>I have a custom <code>ViewGroup</code> which can scale on double tap. I want to make sure that the children of this ViewGroup receive their click events only after I make sure that touch was intended to be a single tap & not the first tap of a double tap gesture, via my <code>GestureListener</code>'s <code>onSin... | I have a custom ViewGroup which can scale on double tap. I want to make sure that the children of this ViewGroup receive their click events only after I make sure that touch was intended to be a single tap & not the first tap of a double tap gesture, via my GestureListener 's onSingleTapConfirmed method. I could find a... | android|viewgroup | 0 | 2015-02-27T23:10:06.520Z | 2,015 | 2 | 23 | 4 | 502 | 1 | 656 | 49 | 2 | 3 | true | false | false | false | false | false | zero |
28,775,931 | Muxing Android MediaCodec encoded H264 packets into RTMP | <p>I am coming from a thread <a href="https://stackoverflow.com/questions/13458289/encoding-h-264-from-camera-with-android-mediacodec">Encoding H.264 from camera with Android MediaCodec</a>. My setup is very similar. However, I attempt to write mux the encoded frames and with javacv and broadcast them via rtmp.</p>
<p... | I am coming from a thread Encoding H.264 from camera with Android MediaCodec . My setup is very similar. However, I attempt to write mux the encoded frames and with javacv and broadcast them via rtmp. RtmpClient.java [CODE] VideoStream.java [CODE] FFmpegFrameRecorder.java [CODE] When I try to stream the video and run f... | android|ffmpeg|video-streaming|h.264|javacv | 5 | 2015-02-27T23:12:07.013Z | 2,015 | 2 | 23 | 4 | 5,088 | 1 | 2,320 | 56 | 5 | 5 | true | false | true | false | false | false | low |
28,775,949 | What path does "getApplicationContext().getFilesDir()" return? | <p>I'm doing a simple app in Android and in a certain part of the app I would like to create an Excel file and write in it. I've already prepared everything to use jexcel library to edit an excel using Java, but the thing is I can't find the Excel file I created. I've tried to find it in my own device executing the app... | I'm doing a simple app in Android and in a certain part of the app I would like to create an Excel file and write in it. I've already prepared everything to use jexcel library to edit an excel using Java, but the thing is I can't find the Excel file I created. I've tried to find it in my own device executing the app, b... | android|eclipse | 10 | 2015-02-27T23:13:37.253Z | 2,015 | 2 | 23 | 4 | 25,948 | 5 | 390 | 62 | 2 | 1 | true | false | true | true | true | false | medium |
28,775,950 | Facebook SDK instruction not making sense about app id | <p>I have taken a picture of the Facebook instruction below. What is wrong with it? My app keeps crashing with exception concerning ApplicationId should not be null. But I have added my app id as <code><meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/></code> in the... | I have taken a picture of the Facebook instruction below. What is wrong with it? My app keeps crashing with exception concerning ApplicationId should not be null. But I have added my app id as <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/> in the manifest; that is aft... | android|facebook|facebook-graph-api | 0 | 2015-02-27T23:13:40.663Z | 2,015 | 2 | 23 | 4 | 1,156 | 2 | 707 | 54 | 3 | 0 | false | false | false | false | false | false | zero |
28,775,961 | Android AVD Creation | <p>I'm having serious problems creating an Android Virtual Device using Android Studio. I have tried using the AVD Manager within the Android Studio IDE, but I keep getting this message in a small dialog box: "studio quit unexpectedly." What could this mean. I've seen other discussions about this same problem that say ... | I'm having serious problems creating an Android Virtual Device using Android Studio. I have tried using the AVD Manager within the Android Studio IDE, but I keep getting this message in a small dialog box: "studio quit unexpectedly." What could this mean. I've seen other discussions about this same problem that say to ... | android|android-studio|avd | 0 | 2015-02-27T23:14:28.737Z | 2,015 | 2 | 23 | 4 | 101 | 2 | 634 | 20 | 3 | 0 | false | false | false | false | false | false | zero |
28,775,971 | Refresh button in action bar of android app | <p>i m very new into android app. I m trying to execute an app that should contain a refresh button in the action bar. While compiling a code, the studio is prompting this error</p>
<p>"Error:(50, 20) error: non-static method reload() cannot be referenced from a static context"</p>
<p>I have written this uptil now</p... | i m very new into android app. I m trying to execute an app that should contain a refresh button in the action bar. While compiling a code, the studio is prompting this error "Error:(50, 20) error: non-static method reload() cannot be referenced from a static context" I have written this uptil now [CODE] menu_main.xml ... | android|android-actionbar | 0 | 2015-02-27T23:15:48.037Z | 2,015 | 2 | 23 | 4 | 14,723 | 1 | 326 | 43 | 2 | 2 | true | false | true | true | false | false | zero |
28,776,143 | how to work with vtiger library java? | <p>VTiger lib for java is not working properly, I used the documentation for <code>vtwsclib.jar</code>, and implemented the examples given in documentation but I always get <code>false</code>. </p>
<p>Is there an alternative way to use vtiger for android?
I also used libray developed by @Vitaly, <a href="https://git... | VTiger lib for java is not working properly, I used the documentation for vtwsclib.jar , and implemented the examples given in documentation but I always get false . Is there an alternative way to use vtiger for android? I also used libray developed by @Vitaly, https://github.com/vitalidze/vtiger-client , but it gave t... | java|android|vtiger | 0 | 2015-02-27T23:35:46.337Z | 2,015 | 2 | 23 | 4 | 280 | 2 | 337 | 37 | 3 | 1 | true | false | false | false | false | false | zero |
28,776,161 | How to get a list of users for the current device, even before Lollipop? | <h2>Background</h2>
<p>Since API 17 (Jelly Bean), it's possible for Android users to have multiple-users using the same device. In the beginning it was only for tablets, but on Lollipop (API 21) it's available for smartphones too.</p>
<p>I'm trying to check out which apps the current user have that are shared amongst... | Background Since API 17 (Jelly Bean), it's possible for Android users to have multiple-users using the same device. In the beginning it was only for tablets, but on Lollipop (API 21) it's available for smartphones too. I'm trying to check out which apps the current user have that are shared amongst other users of the c... | android|android-package-managers|multi-user|usermanager | 0 | 2015-02-27T23:37:00.670Z | 2,015 | 2 | 23 | 4 | 5,407 | 1 | 1,315 | 72 | 4 | 1 | true | false | true | false | false | false | zero |
28,776,188 | Hiding/showing Status Bar without animation | <p>I need to show / hide status bar in the same Activity(Fragment) for API 17+. Let's say one button will hide it, the other one will show it:</p>
<p>Show:</p>
<pre><code>getActivity().getWindow().setFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN,WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN);
</co... | I need to show / hide status bar in the same Activity(Fragment) for API 17+. Let's say one button will hide it, the other one will show it: Show: [CODE] Hide: [CODE] This works fine, but there is a "slide up-down" animation when it changes for full screen - not fullscreen. How to remove this animation? I want status ba... | android | 9 | 2015-02-27T23:39:42.477Z | 2,015 | 2 | 23 | 4 | 2,676 | 1 | 592 | 43 | 1 | 3 | true | false | true | false | false | false | medium |
28,776,268 | Client-Server HTTPS communication, servercertificats | <p>I'm trying to connect my Android App with a server, where i installed self signed certificate. So i used the follwoing instruction (1) to connect my App with the server, by storing the servercertficate (crt. file) into the /raw folder in /res. </p>
<p>(1):
<a href="https://stackoverflow.com/questions/2012497/accep... | I'm trying to connect my Android App with a server, where i installed self signed certificate. So i used the follwoing instruction (1) to connect my App with the server, by storing the servercertficate (crt. file) into the /raw folder in /res. (1): Accepting a certificate for HTTPs on Android --> "If you have a custom/... | android|ubuntu|https|client-server|ssl-certificate | 0 | 2015-02-27T23:49:06.497Z | 2,015 | 2 | 23 | 4 | 109 | 1 | 904 | 52 | 5 | 0 | false | false | false | false | false | false | zero |
28,776,325 | Partially transparent Android Actionbar in my xml | <p>In my project I need to set the actionbar partially transparent in every my activity.</p>
<p>I use this code that works well:</p>
<pre><code>getSupportActionBar().setBackgroundDrawable(new android.graphics.drawable.ColorDrawable(android.graphics.Color.argb(128, 27, 56, 100)));
</code></pre>
<p>But I would to set ... | In my project I need to set the actionbar partially transparent in every my activity. I use this code that works well: [CODE] But I would to set this 'configuration' in my custom actionbar xml style to avoid duplicating this code for each activity. Is possible this? The current actionBar xml style is this: [CODE] | android|xml|android-activity|android-actionbar | 0 | 2015-02-27T23:55:13.047Z | 2,015 | 2 | 23 | 4 | 42 | 2 | 314 | 49 | 4 | 2 | true | false | false | false | false | false | zero |
28,776,338 | Global scoreboard for phone game | <p>I want to implement a global scoreboard for an android game. I am using c# and mysql. I can not figure out what exactly to use as an ID (primary key) for
my table to identify the users. Is there a unique number which phones have which i can use as a primary key for my mysql database ? I guess i could use informatio... | I want to implement a global scoreboard for an android game. I am using c# and mysql. I can not figure out what exactly to use as an ID (primary key) for my table to identify the users. Is there a unique number which phones have which i can use as a primary key for my mysql database ? I guess i could use information li... | c#|android|mysql|database | 0 | 2015-02-27T23:56:01.950Z | 2,015 | 2 | 23 | 4 | 42 | 1 | 473 | 32 | 4 | 0 | false | false | false | false | false | false | zero |
28,776,352 | textChangedListener not executing asynctask | <p>I'm writing this app that fetches movie information from rottentomatoes API. I'm using a client to do the parsing and httprequests.</p>
<p>First i tried setting up a searchview, but since im using framents (FragmentNavigationDrawer) it's not an option.</p>
<p>The next best thing. EditText with a ListPopupWindow.</... | I'm writing this app that fetches movie information from rottentomatoes API. I'm using a client to do the parsing and httprequests. First i tried setting up a searchview, but since im using framents (FragmentNavigationDrawer) it's not an option. The next best thing. EditText with a ListPopupWindow. I set up textchangel... | android|android-asynctask|fragment|textchanged | 0 | 2015-02-27T23:57:40.933Z | 2,015 | 2 | 23 | 4 | 563 | 1 | 673 | 43 | 4 | 1 | true | false | false | false | false | false | zero |
28,776,381 | Adding duplicate parameters with Retrofit v1.9.0 | <p>There's a similar question asked <a href="https://stackoverflow.com/questions/21891148/how-to-add-multiple-of-the-same-parameter-using-retrofit-android">here</a>, but my case is a bit different.</p>
<p>I'm trying to make a request similar to the following:</p>
<p><a href="http://www.example.com/abc?foo=def&foo... | There's a similar question asked here , but my case is a bit different. I'm trying to make a request similar to the following: http://www.example.com/abc?foo=def&foo=ghi&foo=jkl&bar=xyz I have two issues that are making things difficult. First, the repeated parameter (setting values for "foo" multiple times) is prevent... | android|retrofit | 7 | 2015-02-28T00:00:33.020Z | 2,015 | 2 | 0 | 5 | 2,732 | 4 | 1,219 | 48 | 2 | 0 | false | false | true | false | false | false | medium |
28,776,433 | 403 error: The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console | <p>I'm using v2 of the Google Play Developer Console account.</p>
<p>I go to the <a href="https://developers.google.com/apis-explorer/#p/androidpublisher/v2/androidpublisher.edits.insert" rel="noreferrer">online API explorer</a> to make a new edit.</p>
<p>I type in my package name (com.companyname.appname) in the <co... | I'm using v2 of the Google Play Developer Console account. I go to the online API explorer to make a new edit. I type in my package name (com.companyname.appname) in the packageName field, hit "Execute," and get this 403 error in response: [CODE] I actually do have my Google Play Developer API project linked: Why does ... | android|google-api|google-play | 5 | 2015-02-28T00:06:28.607Z | 2,015 | 2 | 0 | 5 | 6,855 | 1 | 353 | 125 | 3 | 1 | true | false | true | false | false | false | low |
28,776,439 | How is the name of foliage in this field ScrollView? | <p><img src="https://i.stack.imgur.com/HyEML.png" alt="enter image description here"></p>
<p>How is the name of foliage in this field?
I want to change the color, but do not know the name of the field to find in google, so I am here, I know it stupid on my part ((ScrollView</p> | How is the name of foliage in this field? I want to change the color, but do not know the name of the field to find in google, so I am here, I know it stupid on my part ((ScrollView | android|android-layout|layout | 1 | 2015-02-28T00:07:26.627Z | 2,015 | 2 | 0 | 5 | 35 | 1 | 181 | 52 | 3 | 0 | false | false | false | false | false | false | low |
28,776,445 | Camera crashes after taking picture and hitting ok | <p>I am developing an app which sends an intent to take a picture. I am using a Galaxy S5 but this problem is confirmed on 3 different devices.</p>
<p>First the camera started doing a loop where hitting OK just returned back to take another photo. I refactored the code and fixed that problem but had others. Now, afte... | I am developing an app which sends an intent to take a picture. I am using a Galaxy S5 but this problem is confirmed on 3 different devices. First the camera started doing a loop where hitting OK just returned back to take another photo. I refactored the code and fixed that problem but had others. Now, after bringing u... | java|android|android-camera | 1 | 2015-02-28T00:08:29.393Z | 2,015 | 2 | 0 | 5 | 2,910 | 1 | 2,173 | 50 | 3 | 3 | true | false | true | false | false | false | low |
28,776,473 | Not receiving push notification on android with parse.com | <p>I am very new to android app development. I am using parse.com for my backend, and I have followed the tutorial <a href="https://www.parse.com/tutorials/android-push-notifications" rel="nofollow">https://www.parse.com/tutorials/android-push-notifications</a> to set up push notifications. However, whenever I send a n... | I am very new to android app development. I am using parse.com for my backend, and I have followed the tutorial https://www.parse.com/tutorials/android-push-notifications to set up push notifications. However, whenever I send a notification using parse notification console (on the website) or from an android device, I ... | android|parse-platform|push-notification | 0 | 2015-02-28T00:11:36.177Z | 2,015 | 2 | 0 | 5 | 3,365 | 1 | 840 | 57 | 3 | 1 | true | false | true | false | false | false | zero |
28,776,492 | Always starting with first item of an android navigation drawer | <p>I am using a navigation drawer that I fill from a string-array. Now I want that the first item of the navigation drawer will be always opened, when the activity of the navigation drawer is starting. </p>
<p>My activity with the navigation drawer (It is almost the same of the official documentation) :</p>
<pre><cod... | I am using a navigation drawer that I fill from a string-array. Now I want that the first item of the navigation drawer will be always opened, when the activity of the navigation drawer is starting. My activity with the navigation drawer (It is almost the same of the official documentation) : [CODE] The layout: [CODE] ... | android|android-activity|navigation-drawer | 3 | 2015-02-28T00:13:32.610Z | 2,015 | 2 | 0 | 5 | 3,084 | 1 | 533 | 63 | 3 | 3 | true | false | true | false | false | false | low |
28,776,535 | onTextContextMenuItem not called for EditText on Xiaomi devices | <p>I have a class that inherits from EditText. I override the behavior of the onTextContextMenuItem to handle clicks to the edit text context menu (i.e. menu that has cut, paste, copy).</p>
<p>On most devices, this callback is called when a user selects one of those options:</p>
<pre><code>// id can be android.R.id.p... | I have a class that inherits from EditText. I override the behavior of the onTextContextMenuItem to handle clicks to the edit text context menu (i.e. menu that has cut, paste, copy). On most devices, this callback is called when a user selects one of those options: [CODE] Except on Xiaomi devices. It seems they overrid... | android | 0 | 2015-02-28T00:19:31.017Z | 2,015 | 2 | 0 | 5 | 1,151 | 1 | 430 | 63 | 1 | 1 | true | false | false | false | false | false | zero |
28,776,636 | Android Camera2 Parameters Flatten | <p>Is there anything similar to Camera Parameters <a href="http://developer.android.com/reference/android/hardware/Camera.Parameters.html#flatten()" rel="nofollow">flatten</a> but for the camera2 API? I saw a <a href="https://developer.android.com/reference/android/hardware/camera2/CaptureRequest.html#writeToParcel(and... | Is there anything similar to Camera Parameters flatten but for the camera2 API? I saw a WritetoParcel on CaptureRequest but cannot get it to work. | java|android|android-camera | 0 | 2015-02-28T00:31:47.640Z | 2,015 | 2 | 0 | 5 | 1,011 | 1 | 146 | 34 | 3 | 0 | false | false | false | false | false | false | zero |
28,776,640 | Button overlayed on a GridView does not respond to OnClick events | <p>I have a screen in my app which displays some categories for the users to select, in a GridView, as following:</p>
<p><img src="https://i.stack.imgur.com/C3nm3.png" alt="enter image description here"></p>
<p>When a user clicks on a category, a button appears for the user to continue, as following:</p>
<p><img src... | I have a screen in my app which displays some categories for the users to select, in a GridView, as following: When a user clicks on a category, a button appears for the user to continue, as following: The problem is, that the green button that appeared does not respond to @OnClick (I am using ButterKnife for views). H... | android|animation|button|gridview|alpha | 0 | 2015-02-28T00:32:01.547Z | 2,015 | 2 | 0 | 5 | 375 | 1 | 1,101 | 65 | 5 | 4 | true | false | false | false | false | false | zero |
28,776,659 | Android ViewPagerTabStrip Fragments | <p>I am not familiar with fragments and I have created a ViewPagerTabStrip for my fragments however I have some mismatch and I dont know what to call.</p>
<p>PROBLEM
In the MainActivity</p>
<pre><code>viewPager.setAdapter(new ViewPager(getSupportFragmentManager()));
</code></pre>
<p>I cannot apply android.content.co... | I am not familiar with fragments and I have created a ViewPagerTabStrip for my fragments however I have some mismatch and I dont know what to call. PROBLEM In the MainActivity [CODE] I cannot apply android.content.context to android.support.v4.app.FragmentManager How can I fix this issue? | android|android-fragments|android-viewpager|android-support-library | 0 | 2015-02-28T00:33:49.517Z | 2,015 | 2 | 0 | 5 | 117 | 1 | 289 | 35 | 4 | 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.