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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
37,745,886 | Handling orientation changes of other UI components when using android WebView. | <p>I am using Webview and therefore I let the webviews to take care of any changes in state </p>
<pre><code><activity android:name=".activity.MainActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/app_name"
android:theme="@style/AppTheme">
... | I am using Webview and therefore I let the webviews to take care of any changes in state [CODE] This works fine but the problem is that I also have other UI components (TabLayout). These don't resize on orientation change. I know that I should handle this manually in onConfigurationChanged but I am not sure how to forc... | android|android-layout|webview|android-tablayout | 1 | 2016-06-10T10:26:00.610Z | 2,016 | 6 | 10 | 4 | 29 | 0 | 456 | 79 | 4 | 2 | true | true | false | false | false | false | low |
37,918,905 | Unable to execute dex: Multiple dex files define Lcom/google/gdata/util/common/base/Escaper | <p>I'm using "core-1.47.1.jar" and "signpost-core-1.2.1.2.jar" in my project. Both the jar file has "Escaper" class with same package hierarchy, that's why I'm getting the above error, plz see the image below <a href="https://i.stack.imgur.com/XV0Ou.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XV0... | I'm using "core-1.47.1.jar" and "signpost-core-1.2.1.2.jar" in my project. Both the jar file has "Escaper" class with same package hierarchy, that's why I'm getting the above error, plz see the image below I tried solution posted here but when I removes/rename package in one of conflicting jar, it flags this error " Co... | android | 1 | 2016-06-20T09:25:41.353Z | 2,016 | 6 | 9 | 0 | 29 | 0 | 428 | 91 | 1 | 0 | false | true | false | false | false | false | low |
37,632,348 | Progress Dialog dont open inside Asynctask | <p>During my API interation that last 5secs, i nees to use a Progress Dialog.</p>
<p>My code:</p>
<pre><code>public class finalizaPedido extends AsyncTask<Object, Void, Integer> {
private String retorno;
private String url;
private String param = "?";
private View view;
public finalizaPedido(View v) {
vie... | During my API interation that last 5secs, i nees to use a Progress Dialog. My code: [CODE] } When i click on Button that calls task, Progress dialog doesn't appear. It just appear when requisition is ended(just blink). Any help? | android|android-asynctask|dialog|progressdialog | 2 | 2016-06-04T16:08:02.960Z | 2,016 | 6 | 16 | 5 | 30 | 0 | 228 | 42 | 4 | 1 | true | true | false | false | false | false | low |
37,789,087 | Feedback on sliding through keys in android keyboard | <p>I am using lift-to-type custom keyboard for android. I added vibration feedback in the 'onPress' method. But it gives the feedback only for the first key pressed, and not when I scroll/slide through the neighbouring keys without lifting the finger. How should I get the feedback for the subsequent keys pressed?</p> | I am using lift-to-type custom keyboard for android. I added vibration feedback in the 'onPress' method. But it gives the feedback only for the first key pressed, and not when I scroll/slide through the neighbouring keys without lifting the finger. How should I get the feedback for the subsequent keys pressed? | android|keyboard | 1 | 2016-06-13T11:49:38.830Z | 2,016 | 6 | 11 | 0 | 31 | 0 | 311 | 52 | 2 | 0 | false | true | false | false | false | false | low |
37,936,669 | Connect webservice with android | <p>I would like to connect my android with my own web service with nested like wsdl SOAP request
Using SOAPUI tool i found the method name is login .but unable to pass params user ,pass under Userlogin. how does specifically call the User login in android (Web service).</p>
<p>androidHttpTransport.responseDump re... | I would like to connect my android with my own web service with nested like wsdl SOAP request Using SOAPUI tool i found the method name is login .but unable to pass params user ,pass under Userlogin. how does specifically call the User login in android (Web service). androidHttpTransport.responseDump returns error as r... | android|soap | 1 | 2016-06-21T06:03:34.077Z | 2,016 | 6 | 6 | 1 | 31 | 0 | 396 | 31 | 2 | 0 | false | true | false | false | false | false | low |
38,046,682 | Parse push notification on lollipop powered Android device | <p>I am new to Parse Push notification. I have integrated Parse push notification and I am receiving this notification on all the Android devices except on Lollipop. I can't identify the issue. Here is my Parse push receiver class </p>
<pre><code>public class ParsePushReceiver extends ParsePushBroadcastReceiver {
... | I am new to Parse Push notification. I have integrated Parse push notification and I am receiving this notification on all the Android devices except on Lollipop. I can't identify the issue. Here is my Parse push receiver class [CODE] | android|parsing|push-notification | 1 | 2016-06-27T05:50:33.670Z | 2,016 | 6 | 5 | 0 | 31 | 0 | 234 | 58 | 3 | 1 | true | true | false | false | false | false | low |
37,781,921 | Is this is a correct way to call wcf service in android? | <p>I am getting network error while calling wcf service in android.Actually in this i am using zxing library for barcode scan,and i want that the email what i am getting after scan should go to the service and give me the details of that email id..</p>
<pre><code>import android.support.v7.app.AppCompatActivity;
import... | I am getting network error while calling wcf service in android.Actually in this i am using zxing library for barcode scan,and i want that the email what i am getting after scan should go to the service and give me the details of that email id.. [CODE] } | java|android-studio | 1 | 2016-06-13T04:41:18.997Z | 2,016 | 6 | 4 | 0 | 32 | 0 | 254 | 56 | 2 | 1 | true | true | false | false | false | false | low |
37,949,810 | CursorLoader, Cursor and Sqlite database | <p>i have a question, I write my sqlite db class, my sqlite db helper class, and a main activity where i insert fragment. In my fragment i populate listview with this code:</p>
<pre><code>databaseHelper = new DBTicketHelper(this.getActivity());
cursor = databaseHelper.getTicket("Draft", param1, param2);
mListView = (... | i have a question, I write my sqlite db class, my sqlite db helper class, and a main activity where i insert fragment. In my fragment i populate listview with this code: [CODE] where getTicket is a methode that executa a query like this: [CODE] It works fine and the listview is populate perfectly. My listview is swipel... | android|sqlite|cursor|android-cursorloader | 2 | 2016-06-21T16:26:37.413Z | 2,016 | 6 | 16 | 1 | 32 | 0 | 937 | 40 | 4 | 2 | true | true | false | false | false | false | low |
38,053,611 | Editing items in list view after selecting edit from menu of OncontextItemSelected | <p>This is the code of my project where in I have a listview of objects 'mProductList'. I have set an onclickListener on each item of list view which will open a menu with three options. Now on edit i want to change the variable amount in my selected item and display it on the screen. I am new at this so please dont do... | This is the code of my project where in I have a listview of objects 'mProductList'. I have set an onclickListener on each item of list view which will open a menu with three options. Now on edit i want to change the variable amount in my selected item and display it on the screen. I am new at this so please dont downv... | java|android | 1 | 2016-06-27T12:09:19.320Z | 2,016 | 6 | 12 | 0 | 32 | 0 | 519 | 82 | 2 | 2 | true | true | false | false | false | false | low |
37,981,572 | Android - Set SearchView MenuItem width on expansion and iconified | <p>I have menu which contains 4 items with different width from the default width of Android's menu item.. Here's the code of the <code>SearchView</code> in <code>res/menu</code></p>
<pre><code><item
android:id="@+id/menu_toolbar_top_searchBtn"
android:orderInCategory="3"
android:title="@string/search"
... | I have menu which contains 4 items with different width from the default width of Android's menu item.. Here's the code of the SearchView in res/menu [CODE] My menu_layout_search : [CODE] As the width is set to menuitem_width which is the same as the other menus' width, when it is pressed, it stays on that width. I've ... | android|searchview | 1 | 2016-06-23T02:56:38.907Z | 2,016 | 6 | 2 | 3 | 288 | 0 | 669 | 66 | 2 | 3 | true | true | false | false | false | false | low |
37,709,715 | Cannot resolve symbol (after Android Studio update) but the project builds for app/library project | <p>I have an an Android Studio project A which is an app, and a project B which is a library project. I have included project B in project A. Project B has some dependencies (android async http, and org.json) that are used in both project B and project A. I upgraded Android Studio to 2.2 Preview 2, and am now having an... | I have an an Android Studio project A which is an app, and a project B which is a library project. I have included project B in project A. Project B has some dependencies (android async http, and org.json) that are used in both project B and project A. I upgraded Android Studio to 2.2 Preview 2, and am now having an is... | android|dependencies|project|upgrade|resolve | 2 | 2016-06-08T18:01:20.087Z | 2,016 | 6 | 18 | 2 | 544 | 0 | 1,007 | 98 | 5 | 2 | true | true | false | false | false | false | low |
37,917,873 | How can android studio execute linux shell commands on windows? | <p>I have issued something weird that I do not understand, I'm trying to launch cmd.exe from android studio but it's not working, this is my piece of code </p>
<pre><code>StringBuffer output = new StringBuffer();
Process p;
try {
p = Runtime.getRuntime().exec("cmd.exe");
p.waitFor();
Bu... | I have issued something weird that I do not understand, I'm trying to launch cmd.exe from android studio but it's not working, this is my piece of code [CODE] however, I tried putting shell commands like [CODE] and it works! I don't know why, it executes linux commands like (pwd) and (ls), for pwd it gives (/n), but ho... | java|linux|android-studio|cmd | 1 | 2016-06-20T08:35:35.093Z | 2,016 | 6 | 8 | 0 | 544 | 0 | 400 | 63 | 4 | 2 | true | true | false | false | false | false | low |
37,711,059 | Does the android mobile application contains "Dalvik" as "User - Agent" | <p>Hi I'm new to <strong>Android</strong> , I m developing native android application to interact with <strong>REST API</strong>.</p>
<p>I would like to <strong>secure</strong> my REST API .i.e, The REST API must only allows the requests from my <strong>native android application</strong> not from <strong>android brow... | Hi I'm new to Android , I m developing native android application to interact with REST API . I would like to secure my REST API .i.e, The REST API must only allows the requests from my native android application not from android browser . So as to achieve the above result I have processed the User Agent string with PH... | android|user-agent|mozilla|dalvik|android-runtime | 1 | 2016-06-08T19:17:03.190Z | 2,016 | 6 | 19 | 2 | 1,568 | 0 | 742 | 71 | 5 | 2 | true | true | false | false | false | false | low |
37,715,253 | Android Studio - How to apply update patch 2.0 when no JVM is found on a 64bit windowns 10? | <p>I recently tried to update my IDE from 1.1 to 2.2 Preview 3 and even though I had the newest 64bit jdk (jdk1.8.0.92) installed and referenced over the JAVA_HOME environment variable on my windows 10, as soon as i I opened the patch zip-file and ran the studio.exe, the program said that I did not have the right versi... | I recently tried to update my IDE from 1.1 to 2.2 Preview 3 and even though I had the newest 64bit jdk (jdk1.8.0.92) installed and referenced over the JAVA_HOME environment variable on my windows 10, as soon as i I opened the patch zip-file and ran the studio.exe, the program said that I did not have the right version ... | java|android|windows|android-studio | 1 | 2016-06-09T00:53:08.290Z | 2,016 | 6 | 0 | 3 | 33 | 0 | 810 | 91 | 4 | 0 | false | true | false | false | false | false | low |
37,742,191 | Text is getting Meshed up in NestedScrollView | <p>I am facing this weird issue, where textview text is being meshed up. I have this screen under <code>NestedScrollView</code> with <code>match_parent</code> as width of <code>textview</code>. It happens when I switch between fragments.</p>
<p><a href="https://i.stack.imgur.com/ivgjd.png" rel="nofollow noreferrer"><i... | I am facing this weird issue, where textview text is being meshed up. I have this screen under NestedScrollView with match_parent as width of textview . It happens when I switch between fragments. Buggy Screen Did anybody face similar issue? | android|android-layout | 1 | 2016-06-10T07:18:36.643Z | 2,016 | 6 | 7 | 4 | 33 | 0 | 241 | 45 | 2 | 0 | false | true | false | false | false | false | low |
37,806,571 | dose not get header info at server. i used retrofit 1.9.0 and the method for putting header is | <pre><code> OkHttpClient httpClient = new OkHttpClient();
httpClient.networkInterceptors().add(new Interceptor() {
@Override
public com.squareup.okhttp.Response intercept(Chain chain) throws IOException {
Request request = chain.request().newBuilder().addHeader("id",id).... | [CODE] and in server side i use the method ... [CODE] | android|retrofit|okhttp | 1 | 2016-06-14T08:17:53.230Z | 2,016 | 6 | 8 | 1 | 33 | 0 | 53 | 94 | 3 | 2 | true | true | false | false | false | false | low |
37,917,884 | Mailto display nothing in Android but work in iOS using IntelXDK | <p>I currently developing one mobile applications using IntelXDK .
I code the mailto function like this : </p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code><script>
function openExternal... | I currently developing one mobile applications using IntelXDK . I code the mailto function like this : [CODE] [CODE] Unfortunatelly , its display different result for android and iOS platform . Android display iOS display I hope someone can help me figure out this problem because i already do some research and untill n... | android|ios|intel-xdk | 1 | 2016-06-20T08:35:54.577Z | 2,016 | 6 | 8 | 0 | 33 | 0 | 375 | 64 | 3 | 2 | true | true | false | false | false | false | low |
37,988,528 | Update ViewPager views on page scrolling | <p>My ViewPager has 5 pages (which I try to make reusable), its custom PagerAdapter has a backing array with views, I initially add (inflate) them on startup, setting current page to middle page:</p>
<pre><code>0 1 |2| 3 4
</code></pre>
<p>Now, on page scrolling I reuse one view from opposite end of the array populat... | My ViewPager has 5 pages (which I try to make reusable), its custom PagerAdapter has a backing array with views, I initially add (inflate) them on startup, setting current page to middle page: [CODE] Now, on page scrolling I reuse one view from opposite end of the array populating it with new data (based on calendar da... | java|android|android-viewpager | 1 | 2016-06-23T10:07:20.860Z | 2,016 | 6 | 10 | 3 | 34 | 0 | 962 | 40 | 3 | 2 | true | true | false | false | false | false | low |
37,673,366 | Google App Engine Unable to Send GCM Token | <p>I am working with Google App Engine .I want to Send GCM toke(RegID) to App Engine Server.But Problem is that when i pass RegId as a parameter Nothing happen and when i pass normal string like"abcefghi" the string is passed to server<br>
my code is shown below</p>
<pre><code>public class SendInstanceidAsync extends... | I am working with Google App Engine .I want to Send GCM toke(RegID) to App Engine Server.But Problem is that when i pass RegId as a parameter Nothing happen and when i pass normal string like"abcefghi" the string is passed to server my code is shown below [CODE] | android | 1 | 2016-06-07T07:43:31.720Z | 2,016 | 6 | 7 | 1 | 35 | 0 | 262 | 42 | 1 | 1 | true | true | false | false | false | false | low |
37,705,656 | BitmapFactory : EACCS | <p>I have nearly spent 1 week for this problem but since i cant solve it, i will post it here. My goal is to save a taken picture as bitmap and set it to an <code>ImageView</code>.</p>
<p>The <code>OnactivityResult</code>-Method :</p>
<pre><code>if (requestCode == CAMERA_CODE && resultCode == Activity.RESULT_... | I have nearly spent 1 week for this problem but since i cant solve it, i will post it here. My goal is to save a taken picture as bitmap and set it to an ImageView . The OnactivityResult -Method : [CODE] The readCardImage -Method: [CODE] And the createCardImage -Method: [CODE] What error do i get? [CODE] What have i tr... | android|android-permissions|android-bitmap | 1 | 2016-06-08T14:38:59.290Z | 2,016 | 6 | 14 | 2 | 35 | 0 | 624 | 21 | 3 | 4 | true | true | false | false | false | false | low |
37,806,645 | How to synchronize CRM for Phone with CRM 2016 Online Update 1 | <p>I've requested a Demo CRM Online environment to test the FieldOne Solution. I've successfully synchronized the CRM with the FieldOne Sky app, but I am requested to synchronize the CRM with the native CRM for Phones app and display the custom entities from the FieldOne Solution on the app.</p>
<p>The problem is that... | I've requested a Demo CRM Online environment to test the FieldOne Solution. I've successfully synchronized the CRM with the FieldOne Sky app, but I am requested to synchronize the CRM with the native CRM for Phones app and display the custom entities from the FieldOne Solution on the app. The problem is that when I try... | android|ios|ipad|synchronization|dynamics-crm-online | 1 | 2016-06-14T08:21:27.503Z | 2,016 | 6 | 8 | 1 | 35 | 0 | 947 | 62 | 5 | 0 | false | true | false | false | false | false | low |
37,717,641 | Unable to understand android location feature | <p>In my app I need to determine user location. So I am using location manager. In my code, I first check for availability of network provider and GPS provider. I prefer networkprovider first, else I use GPS provider to get the location.</p>
<p>In an android device, there are three options available for location setti... | In my app I need to determine user location. So I am using location manager. In my code, I first check for availability of network provider and GPS provider. I prefer networkprovider first, else I use GPS provider to get the location. In an android device, there are three options available for location setting: high ac... | android|locationmanager | 2 | 2016-06-09T05:37:14.757Z | 2,016 | 6 | 5 | 3 | 36 | 0 | 1,078 | 45 | 2 | 0 | false | true | false | false | false | false | low |
37,770,517 | Gradle Error:Cause: org.gradle.api.internal.NamedDomainObjectContainerConfigureDelegate while trying NDK | <p>Gradle Error while adding library using NDK. it shows Error:Cause: org.gradle.api.internal.NamedDomainObjectContainerConfigureDelegate while syncing project.</p>
<p><strong>build.gradle(app)</strong></p>
<pre><code>apply plugin: 'com.android.model.application'
Properties properties = new Properties()
properties.l... | Gradle Error while adding library using NDK. it shows Error:Cause: org.gradle.api.internal.NamedDomainObjectContainerConfigureDelegate while syncing project. build.gradle(app) [CODE] build.gradle(MyApplication) [CODE] local.properties [CODE] gradle-wrapper.properties [CODE] | android|android-ndk|java-native-interface | 1 | 2016-06-12T03:40:14.603Z | 2,016 | 6 | 3 | 6 | 292 | 0 | 274 | 104 | 3 | 4 | true | true | false | false | false | false | low |
37,737,583 | Expandable Listview slow performance in Android | <p>I want to make my expandable list smooth.</p>
<p>After looking a lot in the internet,
I added a viewHolder and changed my method where I load the data to be asynchronously. But my list is still slow!!!.</p>
<p>Can you take a look? I added the activity where I load asynchronously the data with my DataProvider and ... | I want to make my expandable list smooth. After looking a lot in the internet, I added a viewHolder and changed my method where I load the data to be asynchronously. But my list is still slow!!!. Can you take a look? I added the activity where I load asynchronously the data with my DataProvider and then I init my adapt... | android|performance|android-studio|expandablelistview|expandablelistadapter | 5 | 2016-06-09T23:07:27.030Z | 2,016 | 6 | 23 | 3 | 804 | 0 | 735 | 47 | 5 | 3 | true | true | false | false | false | false | low |
37,693,653 | NoClassDef error after adding in Jar to send email | <p>I've been troubleshooting for a while and may be suffering from the <a href="https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem">XY problem</a> so this will be fairly descriptive.</p>
<p><strong>Goal:</strong> Send a simple email message on the click of a button without leveraging external mail a... | I've been troubleshooting for a while and may be suffering from the XY problem so this will be fairly descriptive. Goal: Send a simple email message on the click of a button without leveraging external mail app. Research led to the JavaMail API , which was successfully compiled, tested, and executed on a personal compu... | java|android|email|android-studio|classpath | 1 | 2016-06-08T05:04:59.853Z | 2,016 | 6 | 5 | 2 | 37 | 0 | 1,270 | 50 | 5 | 2 | true | true | false | false | false | false | low |
37,831,569 | how to iterate priority queue for custom classes | <p>Hi i am developing a snake game and i want to store the snake movement points in a priority queue but i am not getting how to iterate through that priority queue
below is my Priority Queue class and Point class to store points </p>
<p>Priority Queue class:</p>
<pre><code> public class PriorityQueue {
privat... | Hi i am developing a snake game and i want to store the snake movement points in a priority queue but i am not getting how to iterate through that priority queue below is my Priority Queue class and Point class to store points Priority Queue class: [CODE] Point Class: [CODE] please guide me to how iterate through this ... | android | 1 | 2016-06-15T09:34:16.430Z | 2,016 | 6 | 9 | 2 | 37 | 0 | 353 | 48 | 1 | 2 | true | true | false | false | false | false | low |
37,690,988 | google-search autocomplete dialog background is showing previous view elements | <p>I'm implementing an embedded autocomplete google dialog for google places and when I click on it, it shows the background like described in the picture, is it possible to set a background to the pop-ed up window so the user doesn't see the duplicate? </p>
<p><a href="https://i.stack.imgur.com/XDYC6.jpg" rel="nofol... | I'm implementing an embedded autocomplete google dialog for google places and when I click on it, it shows the background like described in the picture, is it possible to set a background to the pop-ed up window so the user doesn't see the duplicate? The code is taken from GitHub example | android | 1 | 2016-06-07T23:21:49.583Z | 2,016 | 6 | 23 | 1 | 38 | 0 | 288 | 78 | 1 | 0 | false | true | false | false | false | false | low |
37,853,372 | Parse Server Linking Existing User with Facebook in Android Gives No Result | <p>I need help about an issue that I am looking for hours and still not solved.</p>
<p>I am trying to use the linking current user with facebook property of parse server using android. I am also using the singin with facebook property, but have no problems there. However, when I use the linking property with the code ... | I need help about an issue that I am looking for hours and still not solved. I am trying to use the linking current user with facebook property of parse server using android. I am also using the singin with facebook property, but have no problems there. However, when I use the linking property with the code below, the ... | android|android-studio|facebook-login|parse-server | 1 | 2016-06-16T08:08:00.673Z | 2,016 | 6 | 8 | 3 | 38 | 0 | 884 | 75 | 4 | 2 | true | true | false | false | false | false | low |
37,855,767 | Thread read video | <p>I have two threads one : the first receives a video packet by packet from a server and the second that reads the video.</p>
<p>When the VLC player launches after 5s, only previously received packets are read. The newly received packets are not read...</p>
<pre><code>public void test2(){
Thread t1 = new Thr... | I have two threads one : the first receives a video packet by packet from a server and the second that reads the video. When the VLC player launches after 5s, only previously received packets are read. The newly received packets are not read... [CODE] Thank you. | android|multithreading | 1 | 2016-06-16T09:53:29.963Z | 2,016 | 6 | 9 | 3 | 38 | 0 | 262 | 17 | 2 | 1 | true | true | false | false | false | false | low |
37,873,181 | AndEngine GLES 1 SpritedDisappearing when attaching to another sprite | <p>I am using AndEngine GLES1. I have created 2 sprites one is called sphere and the other is called user_sphere.</p>
<p>In the beginning, both are simply attached to the scene. When a certain condition arises, I want to attach the user_sphere as a child to the sphere.</p>
<p>Here is the code that runs to do it:</p... | I am using AndEngine GLES1. I have created 2 sprites one is called sphere and the other is called user_sphere. In the beginning, both are simply attached to the scene. When a certain condition arises, I want to attach the user_sphere as a child to the sphere. Here is the code that runs to do it: [CODE] However, when th... | android|andengine | 1 | 2016-06-17T04:32:30.947Z | 2,016 | 6 | 4 | 4 | 38 | 0 | 443 | 69 | 2 | 1 | true | true | false | false | false | false | low |
37,909,255 | i can't log in and get information if facebook app installed on android | <p>I have following problem with facebook app.</p>
<p>I have a simple application 'myapp' where you find a simple button 'log in to facebook'</p>
<p>It displays a pop-up where you can type your email/password to log in.</p>
<p>After that, button changes his text to 'log out'</p>
<p>This code works fine if the user ... | I have following problem with facebook app. I have a simple application 'myapp' where you find a simple button 'log in to facebook' It displays a pop-up where you can type your email/password to log in. After that, button changes his text to 'log out' This code works fine if the user does not have facebook app installe... | android|facebook | 1 | 2016-06-19T16:14:19.670Z | 2,016 | 6 | 16 | 6 | 38 | 0 | 580 | 71 | 2 | 2 | true | true | false | false | false | false | low |
37,615,710 | Setting CollapsingMode to OFF in xml | <p>How do I set <code>CollapsingMode</code> of view in <code>CollapsingToolbarLayout</code> to "OFF" in xml?</p>
<pre><code>app:layout_collapseMode="off"
</code></pre>
<p>is not working.</p>
<p>There's nothing about it in <a href="https://developer.android.com/reference/android/support/design/widget/CollapsingToolb... | How do I set CollapsingMode of view in CollapsingToolbarLayout to "OFF" in xml? [CODE] is not working. There's nothing about it in developer references | android|android-collapsingtoolbarlayout | 1 | 2016-06-03T13:28:51.270Z | 2,016 | 6 | 13 | 4 | 39 | 0 | 151 | 36 | 2 | 1 | true | true | false | false | false | false | low |
38,034,765 | Is it possible to bypass Android lock screen using accessibility service programmatically? | <p>I am developing a scheduling application. I am using accessibility services to accomplish the task. After a certain duration of time, the phone wakes up with the desired activity and using accessibility services, the task is accomplished. </p>
<p>My code works fine when there is no pattern/pin lock, i.e. there is o... | I am developing a scheduling application. I am using accessibility services to accomplish the task. After a certain duration of time, the phone wakes up with the desired activity and using accessibility services, the task is accomplished. My code works fine when there is no pattern/pin lock, i.e. there is only a slide ... | android|lockscreen | 4 | 2016-06-26T02:40:19.983Z | 2,016 | 6 | 2 | 6 | 1,063 | 0 | 668 | 90 | 2 | 0 | false | true | false | false | false | false | low |
37,810,947 | Check and get user's postcode once on start of app | <p>I just want to get user's <strong>postcode</strong> once. I am looking to start my app, check the user's current position once and stop checking. In the event I am unable to get it due to no connection, then I want to just use last known position provided it exists. Can I get some advice on this please. </p>
<p>My ... | I just want to get user's postcode once. I am looking to start my app, check the user's current position once and stop checking. In the event I am unable to get it due to no connection, then I want to just use last known position provided it exists. Can I get some advice on this please. My following code keeps showing ... | java|android | 1 | 2016-06-14T11:39:02.377Z | 2,016 | 6 | 11 | 1 | 40 | 0 | 522 | 50 | 2 | 1 | true | true | false | false | false | false | low |
37,847,685 | Why my view does not get my touch event | <p>I have the following code:</p>
<pre><code>package com.teste;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.... | I have the following code: [CODE] In a near future i want make the ball moves to a place when i swipe my finger across the screen. But for the start, my goal is make the LittleBall (created using canvas and bitmap) change its position when i touch at the screen. I am using onTouch and a gestureListener. Searching on th... | java|android|canvas|touch-event | 1 | 2016-06-15T23:56:19.190Z | 2,016 | 6 | 23 | 2 | 40 | 0 | 611 | 39 | 4 | 1 | true | true | false | false | false | false | low |
37,861,204 | Notification LargeIcon with text and round background | <p>I'm trying to create a bitmap to put in a notification's LargeIcon, I set the text but I can't get to set a rounded background color.</p>
<pre><code>public Bitmap textAsBitmap(String text, float textSize, int textColor) {
Paint paint = new Paint(Paint.ANTI_ALIAS_FLAG);
paint.setTextSize(textSize);
paint... | I'm trying to create a bitmap to put in a notification's LargeIcon, I set the text but I can't get to set a rounded background color. [CODE] A diffrent aproach to the same result is welcome | java|android|canvas | 1 | 2016-06-16T13:48:04.927Z | 2,016 | 6 | 13 | 3 | 40 | 0 | 189 | 53 | 3 | 1 | true | true | false | false | false | false | low |
37,914,455 | Including map in open graph post [Android] | <p>This has really been confusing me. I have a object which inherits from 'Place' and I add geo location, yet when I post I see no map appear. If anyone could link to a tutorial or give me an answer it would be greatly appreciate. Here is my current code for my object, thanks</p>
<pre><code> ShareOpenGraphObject o... | This has really been confusing me. I have a object which inherits from 'Place' and I add geo location, yet when I post I see no map appear. If anyone could link to a tutorial or give me an answer it would be greatly appreciate. Here is my current code for my object, thanks [CODE] | facebook-android-sdk | 1 | 2016-06-20T03:59:40.793Z | 2,016 | 6 | 3 | 0 | 40 | 0 | 280 | 42 | 1 | 1 | true | true | false | false | false | false | low |
37,991,817 | Scaling animation on different screen size | <p>Hey I have the following problem whan I animate my floating buttons - namely they are scaling badly. First of all, fab buttons on the second Image are higher than they should. Event main floating button with "+" is not rotating. I anyone know how to deal with it please answer me.</p>
<p>Image left HTC One MAX, scre... | Hey I have the following problem whan I animate my floating buttons - namely they are scaling badly. First of all, fab buttons on the second Image are higher than they should. Event main floating button with "+" is not rotating. I anyone know how to deal with it please answer me. Image left HTC One MAX, screen HD - SKD... | android|animation | 1 | 2016-06-23T12:36:49.493Z | 2,016 | 6 | 12 | 3 | 40 | 0 | 480 | 42 | 2 | 3 | true | true | false | false | false | false | low |
37,845,233 | Android, using Zxing into a webview, into back button, shows blank activity | <p>Okay, so I have an app that scans qr codes, verifies that it is a qr_code, and then opens the link stored in the code. What I need help with is where to go from here as far as the back button. When you push the back button it goes back to the app, which is fine, but it's a white screen (probably since there is not... | Okay, so I have an app that scans qr codes, verifies that it is a qr_code, and then opens the link stored in the code. What I need help with is where to go from here as far as the back button. When you push the back button it goes back to the app, which is fine, but it's a white screen (probably since there is nothing ... | android|webview|zxing|back-button | 2 | 2016-06-15T20:31:55.503Z | 2,016 | 6 | 20 | 2 | 296 | 0 | 670 | 75 | 4 | 1 | true | true | false | false | false | false | low |
37,634,248 | android get DuplicateFileException error when i use Retrofit and Realm | <p>in my application i try to use <code>Retrofit</code> and <code>Realm</code> database solution but after compile project to create <code>apk</code> i get this below error:</p>
<pre><code> Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug'.
> com.android.build.api.transform.Tra... | in my application i try to use Retrofit and Realm database solution but after compile project to create apk i get this below error: [CODE] My gradle dependencies: [CODE] | android | 1 | 2016-06-04T19:34:41.450Z | 2,016 | 6 | 19 | 5 | 41 | 0 | 169 | 70 | 1 | 2 | true | true | false | false | false | false | low |
37,611,414 | How to set iBeacon scanning time in manuvally | <p>I am using AltBeacon Library. I want to scan beacon in 5 min and 1 sec like that. My code not scanning properly on first time and second time scanning properly. please help me?</p>
<p>//this is my fragment class</p>
<pre><code>public class LocationIdFragment extends Fragment {
@Override
public void onStart()... | I am using AltBeacon Library. I want to scan beacon in 5 min and 1 sec like that. My code not scanning properly on first time and second time scanning properly. please help me? //this is my fragment class [CODE] } //this is my service class [CODE] } | android|android-ibeacon | 1 | 2016-06-03T10:03:18.977Z | 2,016 | 6 | 10 | 4 | 42 | 0 | 249 | 45 | 2 | 2 | true | true | false | false | false | false | low |
37,847,663 | ImageView Intersect Not being detected | <p>I am trying two different ways to detect an intersection and neither is working. I followed other threads but for some reason neither way is working! Can anyone help? This is my first attempt at this.</p>
<p>Activity.java:</p>
<pre><code>import android.content.Intent;
import android.graphics.Typeface;
import andro... | I am trying two different ways to detect an intersection and neither is working. I followed other threads but for some reason neither way is working! Can anyone help? This is my first attempt at this. Activity.java: [CODE] | java|android|android-imageview|rect|intersect | 1 | 2016-06-15T23:53:27.230Z | 2,016 | 6 | 23 | 2 | 42 | 0 | 222 | 38 | 5 | 1 | true | true | false | false | false | false | low |
37,987,665 | KNOX ODE vs protected data vs sensitive data | <p>Does anyone have a clear idea of the differences among KNOX on device encryption (ODE), protected data(within container) and sensitive data(via SDP)?</p>
<p>Thanks.</p> | Does anyone have a clear idea of the differences among KNOX on device encryption (ODE), protected data(within container) and sensitive data(via SDP)? Thanks. | android|security|samsung-knox | 1 | 2016-06-23T09:33:04.787Z | 2,016 | 6 | 9 | 3 | 42 | 0 | 157 | 44 | 3 | 0 | false | true | false | false | false | false | low |
37,722,052 | Disable Chrome "Open with" dialog when redirecting to PayPal payment page | <p>On a website there is a "Submit order" button, which supposed to redirect users to PayPal payment page via <code>window.location.href</code>. When a user who has PayPal App installed on his Android clicks on this button in Mobile Chrome then a system "Open with Paypal, Chrome, etc" popup appears, which prevents redi... | On a website there is a "Submit order" button, which supposed to redirect users to PayPal payment page via window.location.href . When a user who has PayPal App installed on his Android clicks on this button in Mobile Chrome then a system "Open with Paypal, Chrome, etc" popup appears, which prevents redirecting until t... | javascript|android-intent|paypal | 1 | 2016-06-09T09:31:50.253Z | 2,016 | 6 | 9 | 3 | 298 | 0 | 821 | 73 | 3 | 0 | false | true | false | false | false | false | low |
37,915,824 | Posting String parameter while uploading audio (Android) | <p>I am using following class to upload audio, and its working well. But i want to post one string along with audio file . So please tell me how to do thanks</p>
<p>Uploading class :</p>
<pre><code>// open a URL connection to the Servlet
FileInputStream fileInputStream = new FileInputStream(sourceFile);
URL url = new... | I am using following class to upload audio, and its working well. But i want to post one string along with audio file . So please tell me how to do thanks Uploading class : [CODE] | android|file|file-upload|http-post | 1 | 2016-06-20T06:27:50.877Z | 2,016 | 6 | 6 | 0 | 43 | 0 | 179 | 56 | 4 | 1 | true | true | false | false | false | false | low |
37,756,258 | Android Studio Tool Scaling | <p>Please refer to this
<a href="http://i.stack.imgur.com/QMcur.png" rel="nofollow">picture of the issue</a>. I am fine with the code font. I can make the specific code in the editor whatever size I want, but I am really suffering with this laughably huge pop up boxes and toolbars (the windows taskbar on the bottom is ... | Please refer to this picture of the issue . I am fine with the code font. I can make the specific code in the editor whatever size I want, but I am really suffering with this laughably huge pop up boxes and toolbars (the windows taskbar on the bottom is regular size, for scale). Is there a way to turn down the scaling ... | android|android-studio | 1 | 2016-06-10T19:58:13.857Z | 2,016 | 6 | 19 | 4 | 44 | 0 | 499 | 27 | 2 | 0 | false | true | false | false | false | false | low |
37,998,785 | Animation that does not work fluidly | <p>i have issues with my code, when I try to run the first animation which consists of resizing the image to about 50% whilst making it a circle and then a shared preference to another activity which has a ripple reveal effect, it all kind of happens at the same time and the shared element mostly doesn't work.</p>
<p>... | i have issues with my code, when I try to run the first animation which consists of resizing the image to about 50% whilst making it a circle and then a shared preference to another activity which has a ripple reveal effect, it all kind of happens at the same time and the shared element mostly doesn't work. My second i... | android|android-animation | 2 | 2016-06-23T18:04:27.873Z | 2,016 | 6 | 18 | 3 | 44 | 0 | 756 | 36 | 2 | 5 | true | true | false | false | false | false | low |
38,010,301 | How to display content in place of ImageView | <p>I am new to Android and using source that makes an image float. But I want content, such as an entire layout, to float instead of image. I think I need to replace ImageView with something else and searched for some possibilities on Android Developers site but couldn't find one.<br>
What should I use in place of Ima... | I am new to Android and using source that makes an image float. But I want content, such as an entire layout, to float instead of image. I think I need to replace ImageView with something else and searched for some possibilities on Android Developers site but couldn't find one. What should I use in place of ImageView a... | android | 1 | 2016-06-24T09:42:34.373Z | 2,016 | 6 | 9 | 4 | 44 | 0 | 372 | 44 | 1 | 1 | true | true | false | false | false | false | low |
37,848,019 | Onsen UI with JQuery ons.ready() and onResume | <p>Hi have an app that's close to done but I am unsure if I have the onResume and ons.ready events registered/firing properly. Sometimes the onResume fires, sometimes not. As well on Android I am getting "Argument DOM element must be attached in DOM document." errors on occasion.</p>
<p>Here is my code in app.js:</p>
... | Hi have an app that's close to done but I am unsure if I have the onResume and ons.ready events registered/firing properly. Sometimes the onResume fires, sometimes not. As well on Android I am getting "Argument DOM element must be attached in DOM document." errors on occasion. Here is my code in app.js: [CODE] In my in... | android|jquery|ios|cordova|onsen-ui | 2 | 2016-06-16T00:36:28.720Z | 2,016 | 6 | 0 | 3 | 300 | 0 | 587 | 45 | 5 | 2 | true | true | false | false | false | false | low |
37,923,271 | Is there a way to get all permission granted to an application | <p>I am trying to request all permissions recently granted to an application by a user. That means all granted with installation and requested by runtime. I mean something like</p>
<pre><code>String[] grantedPermissions = getAlreadyGrantedPermission(context)
</code></pre>
<p>or something else</p> | I am trying to request all permissions recently granted to an application by a user. That means all granted with installation and requested by runtime. I mean something like [CODE] or something else | android|permissions|runtime | 1 | 2016-06-20T13:00:23.560Z | 2,016 | 6 | 13 | 0 | 812 | 0 | 198 | 62 | 3 | 1 | true | true | false | false | false | false | low |
37,831,797 | Is there a way in android to execute an action when the user double clicks the power button? | <p>In general there are three ways to interact with buttons in android. Normal click, long click and double click. Android by default assigns actions to normal click and double click of the power button. </p>
<p>In there a way to assign an action when the user double clicks the power button?</p> | In general there are three ways to interact with buttons in android. Normal click, long click and double click. Android by default assigns actions to normal click and double click of the power button. In there a way to assign an action when the user double clicks the power button? | android | 1 | 2016-06-15T09:45:03.817Z | 2,016 | 6 | 9 | 2 | 45 | 0 | 281 | 92 | 1 | 0 | false | true | false | false | false | false | low |
37,926,682 | Layouts being retained through a fragment orientation change | <p>I have two layouts for a fragment called InfoFragment: info_layout.xml (land) and info_layout.xml (port). When I start an orientation change, Android changes the layout as appropriate. However, it creates a new view (as it is supposed to I believe), but retains the old view. The result is that every time you switch ... | I have two layouts for a fragment called InfoFragment: info_layout.xml (land) and info_layout.xml (port). When I start an orientation change, Android changes the layout as appropriate. However, it creates a new view (as it is supposed to I believe), but retains the old view. The result is that every time you switch ori... | java|android|xml|android-layout|android-fragments | 1 | 2016-06-20T15:48:00.743Z | 2,016 | 6 | 15 | 0 | 45 | 0 | 658 | 60 | 5 | 2 | true | true | false | false | false | false | low |
37,634,702 | curl --data-binary with retrofit | <p>I am trying to use <a href="http://pastec.io/" rel="nofollow">http://pastec.io/</a> with Retrofit for an Android application </p>
<p>My question is how is the equivalent of curl</p>
<p><code>curl -X POST --data-binary @/home/test/img/request.jpg http://localhost:4212/index/searcher</code></p>
<p>in retrofit</p> | I am trying to use http://pastec.io/ with Retrofit for an Android application My question is how is the equivalent of curl curl -X POST --data-binary @/home/test/img/request.jpg http://localhost:4212/index/searcher in retrofit | android|curl|retrofit | 2 | 2016-06-04T20:28:06.917Z | 2,016 | 6 | 20 | 5 | 301 | 0 | 226 | 32 | 3 | 0 | false | true | false | false | false | false | low |
37,852,727 | Xamarin Android RecyclerView with CardView button clicked multiple times | <p>I’m trying to make a <code>RecyclerView</code> with <code>CardViews</code>. Each <code>CardView</code> has multiple (4) buttons. The app runs fine but if I scroll in the <code>RecyclerView</code> when I press the button once it clicks/runs the code multiple times. </p>
<p>I know what the problem is but I can’t solv... | I’m trying to make a RecyclerView with CardViews . Each CardView has multiple (4) buttons. The app runs fine but if I scroll in the RecyclerView when I press the button once it clicks/runs the code multiple times. I know what the problem is but I can’t solve it. The buttons get delegated multiple times. So how do I nee... | onclick|xamarin.android|android-recyclerview|android-cardview|delegation | 2 | 2016-06-16T07:36:23.903Z | 2,016 | 6 | 7 | 3 | 1,069 | 0 | 694 | 72 | 5 | 2 | true | true | false | false | false | false | low |
37,695,461 | Received SMS not being shown when my activity is in foreground. But, when I reopen the app, it gets displayed | <p>I have used a handler that runs every 1000 milliseconds in my activity but nothing has changed.
When I use the same handler in my <strong>SMSReceiver</strong> broadcast receiver class, the activity and its adapter are facing a null pointer problem.</p>
<pre><code>public void update(){
Handler handler = new Han... | I have used a handler that runs every 1000 milliseconds in my activity but nothing has changed. When I use the same handler in my SMSReceiver broadcast receiver class, the activity and its adapter are facing a null pointer problem. [CODE] And then, I have called this method in onReceive method of my broadcast receiver ... | android|sms|receiver | 1 | 2016-06-08T07:05:47.813Z | 2,016 | 6 | 7 | 2 | 46 | 0 | 466 | 109 | 3 | 2 | true | true | false | false | false | false | low |
37,718,997 | Is it impossible to add in layout to new empty xml file through android studio's design window's layout palette? | <p>As you all know android studio offers an easy way to generate layout xml files through drag and dropping design palette's items. But if you try to do this on an empty xml file, the drag and drop won't work. It seem that this function is only operational on automatically generated layout file, or at least layout tag ... | As you all know android studio offers an easy way to generate layout xml files through drag and dropping design palette's items. But if you try to do this on an empty xml file, the drag and drop won't work. It seem that this function is only operational on automatically generated layout file, or at least layout tag wri... | android-studio | 1 | 2016-06-09T07:04:56.850Z | 2,016 | 6 | 7 | 3 | 46 | 0 | 506 | 112 | 1 | 0 | false | true | false | false | false | false | low |
37,874,751 | How do libraries like Firebase catch exceptions without adding one line of code? | <p>I was installing Firebase today, and their documentation basically says, add the firebase-crash dependency to your app dependencies, and then it works out of the box without adding any line of code. It will automatically catch all the uncaught exceptions by itself.</p>
<p>Now I know that I would have to use <code>T... | I was installing Firebase today, and their documentation basically says, add the firebase-crash dependency to your app dependencies, and then it works out of the box without adding any line of code. It will automatically catch all the uncaught exceptions by itself. Now I know that I would have to use Thread.setDefaultU... | android|firebase|firebase-crash-reporting | 2 | 2016-06-17T06:39:05.463Z | 2,016 | 6 | 6 | 4 | 46 | 0 | 578 | 80 | 3 | 0 | false | true | false | false | false | false | low |
37,724,016 | writeCharacteristic always return false | <p>I would like to send data to Bluetooth device from android then get response on clicking the button, but always return false. Please anyone help me.</p>
<p>//// On DeviceControlActivity.java</p>
<pre><code>public void onGetButtonStatus(View v) {
if(mBluetoothLeService != null) {
mBluetoothLeService.wri... | I would like to send data to Bluetooth device from android then get response on clicking the button, but always return false. Please anyone help me. //// On DeviceControlActivity.java [CODE] //// On BluetoothLeService.java [CODE] | java|android|bluetooth | 3 | 2016-06-09T10:57:38.273Z | 2,016 | 6 | 10 | 3 | 558 | 0 | 229 | 39 | 3 | 2 | true | true | false | false | false | false | low |
37,735,194 | Android: View transition animation with view.setY() wouldn't work | <p>I'm trying to animate a view by changing it's y position (startY to endY) using valueAnimator. This is my code</p>
<pre><code> ValueAnimator valueAnimator = ValueAnimator.ofFloat(startY, endY);
valueAnimator.setDuration(150);
valueAnimator.setInterpolator(new DecelerateInterpolator());
valueAnimator... | I'm trying to animate a view by changing it's y position (startY to endY) using valueAnimator. This is my code [CODE] This code works on some newer android versions. But, it doesn't work with many other android versions. So, the view's y position never gets updated. The view will continue to stay the same. I know, I ca... | android|animation|android-appbarlayout | 1 | 2016-06-09T20:03:46.700Z | 2,016 | 6 | 20 | 3 | 47 | 0 | 978 | 65 | 3 | 1 | true | true | false | false | false | false | low |
37,804,754 | RSS reader in android not supporting other languages | <p>I am working with RSS parser. I am trying to read RSS items. It is working fine with English language but if I read from the xml containing other than English I am getting junk values. Below is my code</p>
<pre><code> package com.medic.online;
import java.io.IOException;
import java.io.StringReader;
import java.io... | I am working with RSS parser. I am trying to read RSS items. It is working fine with English language but if I read from the xml containing other than English I am getting junk values. Below is my code [CODE] } | android|xml|rss-reader | 1 | 2016-06-14T06:44:08.577Z | 2,016 | 6 | 6 | 1 | 48 | 0 | 210 | 52 | 3 | 1 | true | true | false | false | false | false | low |
38,056,770 | Preference Tag Extra Padding In Android Pre Lolllipop | <p>I'm having a problem with my <code>Preference</code> in pre-L device. There is an extra padding/ margin that took place. I came across this <a href="https://stackoverflow.com/questions/9314845/android-how-to-maximize-preferencefragment-width-or-get-rid-of-margin">link</a> but doesn't work. The 1st picture is pre-L a... | I'm having a problem with my Preference in pre-L device. There is an extra padding/ margin that took place. I came across this link but doesn't work. The 1st picture is pre-L and the other below is running Android L. Here's my xml layouts: activity_settings.xml [CODE] SettingsActivity.java [CODE] Is there any alternati... | android|android-layout|android-preferences|preference | 1 | 2016-06-27T14:37:03.273Z | 2,016 | 6 | 14 | 0 | 48 | 0 | 393 | 53 | 4 | 2 | true | true | false | false | false | false | low |
37,783,642 | how does android implement the inPurgeable of BitmapFactory.Options? | <p>Android has deprecated <a href="https://developer.android.com/reference/android/graphics/BitmapFactory.Options.html#inPurgeable" rel="nofollow noreferrer">Options.inPurgeable</a> from api 11. I know the usage and effect of inPurgeable:</p>
<blockquote>
<p>As of LOLLIPOP, this is ignored. In KITKAT and below, if t... | Android has deprecated Options.inPurgeable from api 11. I know the usage and effect of inPurgeable: As of LOLLIPOP, this is ignored. In KITKAT and below, if this is set to true, then the resulting bitmap will allocate its pixels such that they can be purged if the system needs to reclaim memory. In that instance, when ... | android | 1 | 2016-06-13T07:05:50.553Z | 2,016 | 6 | 7 | 0 | 560 | 0 | 751 | 68 | 1 | 0 | false | true | false | false | false | false | low |
37,901,474 | Can an Android application hide Window controls in ChromeOS | <p>Is possible for an Android application to hide or disable window controls (for itself) such as orientation, minimize, close when running on ChromeOS?</p> | Is possible for an Android application to hide or disable window controls (for itself) such as orientation, minimize, close when running on ChromeOS? | androidappsonchromeos | 4 | 2016-06-18T20:45:24.347Z | 2,016 | 6 | 20 | 5 | 49 | 0 | 149 | 59 | 1 | 0 | false | true | false | false | false | false | low |
37,916,031 | why android Actionbar backbutton shows highlighted selected state without pressing it | <p>I am using </p>
<pre><code> getSupportActionBar().setDisplayShowCustomEnabled(true);
getSupportActionBar().setCustomView(actionView, actionBarLayoutParam);
</code></pre>
<p>so the problem is my back button always shows highlighted box around it like it is pressed, but i did not pressed the button</p> | I am using [CODE] so the problem is my back button always shows highlighted box around it like it is pressed, but i did not pressed the button | android | 1 | 2016-06-20T06:39:46.857Z | 2,016 | 6 | 6 | 0 | 49 | 0 | 142 | 85 | 1 | 1 | true | true | false | false | false | false | low |
37,732,617 | Adding user locations to live map using GeoFire and Firebase | <p>I have developed an Android application with a user login and registraion linked to a Firebase database, I also added a list view to store the information added into the textView.</p>
<p>I have looked into using GeoFire as I want the current users logged in to display on a map.</p>
<p>I have taking a look at an ex... | I have developed an Android application with a user login and registraion linked to a Firebase database, I also added a list view to store the information added into the textView. I have looked into using GeoFire as I want the current users logged in to display on a map. I have taking a look at an example provided by F... | java|android|google-maps|firebase|geofire | 1 | 2016-06-09T17:29:13.303Z | 2,016 | 6 | 17 | 3 | 1,073 | 0 | 743 | 60 | 5 | 1 | true | true | false | false | false | false | low |
37,629,895 | How to check if recipient accepted Facebook Game Request sender-side only? | <p>I want to reward users who invite friends into the game. I want to keep everything sender-side only, without any involvement of back-end server. After each sent request, I can store request ID and recipients list.</p>
<p>Once a recipient accepts Game Request, I call delete method on it, so I thought I could somehow... | I want to reward users who invite friends into the game. I want to keep everything sender-side only, without any involvement of back-end server. After each sent request, I can store request ID and recipients list. Once a recipient accepts Game Request, I call delete method on it, so I thought I could somehow check if t... | android|facebook|facebook-graph-api|android-facebook|facebook-requests | 1 | 2016-06-04T11:50:38.653Z | 2,016 | 6 | 11 | 5 | 50 | 0 | 472 | 74 | 5 | 0 | false | true | false | false | false | false | low |
37,980,125 | Does Meteor 1.3 and Cordova 5.1.1 only support Android SDK 23+? | <p>We have an iOS and Android app built using Meteor 1.2.
We tried updating our app to use Meteor 1.3.
We uploaded the built APK to Google Play. Then, for unrelated reasons, we had to roll back to Meteor 1.2. We built again and uploaded to GooglePlay and saw a very ugly error telling us:</p>
<p>"This configuration can... | We have an iOS and Android app built using Meteor 1.2. We tried updating our app to use Meteor 1.3. We uploaded the built APK to Google Play. Then, for unrelated reasons, we had to roll back to Meteor 1.2. We built again and uploaded to GooglePlay and saw a very ugly error telling us: "This configuration cannot be publ... | android|cordova|meteor|google-play | 1 | 2016-06-22T23:59:45.937Z | 2,016 | 6 | 23 | 2 | 50 | 0 | 1,171 | 63 | 4 | 0 | false | true | false | false | false | false | low |
38,007,135 | android 6.0 kernel log time is error | <p>in android 6.0:
kernel log had add to logd, but usually, the time is error, display utc time and less or bigger than the main log time. in the case,cannot get the correct time flow.</p>
<p>not correct:</p>
<pre><code>06-22 20:48:06.711353 1588 1732 D PowerManagerService:
06-22 20:48:06.712008 1588 1732 D Power... | in android 6.0: kernel log had add to logd, but usually, the time is error, display utc time and less or bigger than the main log time. in the case,cannot get the correct time flow. not correct: [CODE] the kernel time still not correct. whether have another way to correct the time? | android | 1 | 2016-06-24T06:43:53.540Z | 2,016 | 6 | 6 | 4 | 50 | 0 | 282 | 36 | 1 | 1 | true | true | false | false | false | false | low |
38,052,090 | Comparing hash function doesn't compare accurately | <p>i want to compare two hash function with user input. If both equals then Toast me. The purpose of this, i want to use this methodology in future for storing my hash password to database and compare with user input password for login. </p>
<p>I making two input types in which i give string value by input and convert... | i want to compare two hash function with user input. If both equals then Toast me. The purpose of this, i want to use this methodology in future for storing my hash password to database and compare with user input password for login. I making two input types in which i give string value by input and convert it to hash ... | android | 1 | 2016-06-27T10:52:45.127Z | 2,016 | 6 | 10 | 0 | 50 | 0 | 693 | 50 | 1 | 2 | true | true | false | false | false | false | low |
37,691,846 | Using Xamarin in VS2015, "No resource identifier found for attribute 'cardCornerRadius' in package ' | <p>I am trying to use recyclerView in my android App with Xamarin in Visual Studio 2015 . And I have added those 3 Nuget packages: Xamarin.Android.Support.v4 Xamarin.Android.Support.v7.CardView Xamarin.Android.Support.v7.RecyclerView Packages
<a href="https://i.stack.imgur.com/tTSvb.png" rel="nofollow noreferrer"><im... | I am trying to use recyclerView in my android App with Xamarin in Visual Studio 2015 . And I have added those 3 Nuget packages: Xamarin.Android.Support.v4 Xamarin.Android.Support.v7.CardView Xamarin.Android.Support.v7.RecyclerView Packages But when I build the project, I encountered these mistakes: RecyclerViewTutorial... | xamarin.android | 1 | 2016-06-08T01:20:41.627Z | 2,016 | 6 | 1 | 2 | 562 | 0 | 598 | 100 | 1 | 1 | true | true | false | false | false | false | low |
37,791,693 | Scroll to the bottom of a CoordinatorLayout that contains a NestedScrollView and an AppBarLayout | <p>Is there a way (programatically or by xml) to scroll to the bottom of the following CoordinatorLayout (see below), so the last element in the NestedScrollView is visible when the screen is displayed?</p>
<p>Attached are the actual screen displayed and the desired screen to display. As you can note comparing both im... | Is there a way (programatically or by xml) to scroll to the bottom of the following CoordinatorLayout (see below), so the last element in the NestedScrollView is visible when the screen is displayed? Attached are the actual screen displayed and the desired screen to display. As you can note comparing both images, when ... | android|parallax|android-coordinatorlayout|android-appbarlayout|nestedscrollview | 6 | 2016-06-13T13:59:20.793Z | 2,016 | 6 | 13 | 0 | 818 | 0 | 670 | 96 | 5 | 1 | true | true | false | false | false | false | medium |
37,695,447 | WCF Multipart Custom Class | <p>I send a POST request from an Android App using the ION library. The request has some multipart parameters and an attachment file. </p>
<p>Something like this:</p>
<pre><code> .setMultipartParameter("Message", message)
.setMultipartParameter("TextFileName", textFileName)
.setMult... | I send a POST request from an Android App using the ION library. The request has some multipart parameters and an attachment file. Something like this: [CODE] The problem is that server side(WCF), we have a custom class used for parsing this request that has a Stream for the attachment file, and 3 Strings for other par... | android|wcf|request|multipart | 3 | 2016-06-08T07:05:03.557Z | 2,016 | 6 | 7 | 2 | 51 | 0 | 597 | 26 | 4 | 1 | true | true | false | false | false | false | low |
37,792,396 | Android intent filters to catch app crashes | <p>Does somebody know intent filter for Android app crashes or even system log?
I want to catch up any crashes that happen on device by broadcast listener and save it to database.
Any other ideas how to catch up in my app any other apps crashes will be also very helpful.
Thank you!</p> | Does somebody know intent filter for Android app crashes or even system log? I want to catch up any crashes that happen on device by broadcast listener and save it to database. Any other ideas how to catch up in my app any other apps crashes will be also very helpful. Thank you! | android|android-intent|intentfilter | 1 | 2016-06-13T14:29:54.700Z | 2,016 | 6 | 14 | 0 | 51 | 0 | 279 | 43 | 3 | 0 | false | true | false | false | false | false | low |
37,879,999 | GMS says wrong app signature | <p>I faced an odd issue.</p>
<p>I'm implementing google login for Android app. There are two OAuth2 clientIds generated for both debug and production certificates which are used for different targets. </p>
<p>The debug build works just fine but signed release apk has following error
(and google login doesn't work in ... | I faced an odd issue. I'm implementing google login for Android app. There are two OAuth2 clientIds generated for both debug and production certificates which are used for different targets. The debug build works just fine but signed release apk has following error (and google login doesn't work in this case) [CODE] I'... | android|google-plus|apk|sign | 1 | 2016-06-17T11:05:07.243Z | 2,016 | 6 | 11 | 4 | 51 | 0 | 482 | 28 | 4 | 2 | true | true | false | false | false | false | low |
38,038,501 | TurnBasedGame with libGDX + Google Play Services | <p>I'm trying to write a small card game for Android using libgdx framework. My game is turn-based. I wrote to interface with the necessary methods to access the API interface from Google. I faced the problem after I called <code>Games.TurnBasedMultiplayer.createMatch(gameHelper.getApiClient(), tbmc)</code> I got the r... | I'm trying to write a small card game for Android using libgdx framework. My game is turn-based. I wrote to interface with the necessary methods to access the API interface from Google. I faced the problem after I called Games.TurnBasedMultiplayer.createMatch(gameHelper.getApiClient(), tbmc) I got the result of the cal... | android|libgdx|google-play-services | 1 | 2016-06-26T12:24:02.363Z | 2,016 | 6 | 12 | 6 | 51 | 0 | 922 | 48 | 3 | 2 | true | true | false | false | false | false | low |
37,792,928 | MultiDex Error AllDebugClassesForMultiDex | <p>Unable to build project while we using the </p>
<blockquote>
<p>PayPalHereSDK-1.6.1.1-release and
Volley</p>
</blockquote>
<p>libraries.</p>
<p>Am using the Android Studio to 1.5.1 version. I found in project gradle file error in line</p>
<p>**Error:Execution failed for task ':app:packageAllDebugClassesForM... | Unable to build project while we using the PayPalHereSDK-1.6.1.1-release and Volley libraries. Am using the Android Studio to 1.5.1 version. I found in project gradle file error in line **Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'. java.util.zip.ZipException: duplicate entry: com/android/v... | android-studio|android-gradle-plugin|android-volley|build.gradle|gradlew | 2 | 2016-06-13T14:53:25.260Z | 2,016 | 6 | 14 | 0 | 52 | 0 | 374 | 41 | 5 | 0 | false | true | false | false | false | false | low |
37,898,388 | External Image loads on ListView intermittently | <p>I am using Volley trying to populate my ListView with data from an external server. I am retrieiving an image and a String for each line on the ListView.</p>
<p>For testing, all I have is 3 sets of image and String which would appear on the ListView as follows: </p>
<p><a href="https://i.stack.imgur.com/zKNqz.jpg"... | I am using Volley trying to populate my ListView with data from an external server. I am retrieiving an image and a String for each line on the ListView. For testing, all I have is 3 sets of image and String which would appear on the ListView as follows: Problem is this doesn't always load. Sometimes its instant. Other... | java|php|android | 3 | 2016-06-18T15:03:29.917Z | 2,016 | 6 | 15 | 5 | 52 | 0 | 1,492 | 47 | 3 | 4 | true | true | false | false | false | false | low |
38,021,332 | Is a ContentResolver's sync frequency based on device time? | <p>When using a <code>ContentResolver</code>, you can set it up to sync periodically using the following call:</p>
<p><code>addPeriodicSync(Account account, String authority, Bundle extras, long pollFrequency)</code></p>
<p><code>pollFrequency</code> determines how frequently it is allowed to sync. Is this based on t... | When using a ContentResolver , you can set it up to sync periodically using the following call: addPeriodicSync(Account account, String authority, Bundle extras, long pollFrequency) pollFrequency determines how frequently it is allowed to sync. Is this based on the device's clock or does it use some timer that is agnos... | android|time|synchronization|android-contentresolver|android-syncadapter | 1 | 2016-06-24T20:08:27.400Z | 2,016 | 6 | 20 | 4 | 53 | 0 | 349 | 59 | 5 | 0 | false | true | false | false | false | false | low |
37,608,649 | Blank fragment pattern in Android Studio 2.1.1 | <p>Do we really need these lines?</p>
<pre><code>public MyFragment() {
// Required empty public constructor
}
...
@Override
public void onDetach() {
super.onDetach();
mListener = null;
}
</code></pre>
<p>If android complies to java and we don't have any constructor with parameters an empty one will be ge... | Do we really need these lines? [CODE] If android complies to java and we don't have any constructor with parameters an empty one will be generated automatically. Anyway we should use factory method newInstance() . Is it just as a precaution? Why do we bother about listener? As far as I understand in this case fragment ... | java|android|android-fragments | 1 | 2016-06-03T07:39:22.753Z | 2,016 | 6 | 7 | 4 | 54 | 0 | 498 | 46 | 3 | 1 | true | true | false | false | false | false | low |
37,875,442 | Custom font not showing proper in android ice cream sandwich version | <p><a href="https://i.stack.imgur.com/nIpEy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nIpEy.png" alt="enter image description here"></a></p>
<p><a href="https://i.stack.imgur.com/IGQTu.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IGQTu.jpg" alt="enter image description he... | Hi Guys, In my app I have set a custom font, but the problem is android ice cream sandwich version not showing proper text or getting blurry, but In lollipop version its working fine. what is the problem in ice cream sandwich version any one knows? For custom font I have used TypefaceManager class and below code [CODE] | android|fonts | 1 | 2016-06-17T07:20:49.917Z | 2,016 | 6 | 7 | 4 | 55 | 0 | 320 | 68 | 2 | 1 | true | true | false | false | false | false | low |
38,047,300 | App installed from PlayStore displayed with inverted color | <p>Application Tester is facing an issue with my Android App:</p>
<p>The App after installation from PlayStore displayed the whole UI with inverted colors.</p>
<p>His device has not that feature enabled in settings, all other apps on his device works pretty fine.</p>
<p><strong>PlayStore Country:</strong> United Sta... | Application Tester is facing an issue with my Android App: The App after installation from PlayStore displayed the whole UI with inverted colors. His device has not that feature enabled in settings, all other apps on his device works pretty fine. PlayStore Country: United States Device: Samsung Galaxy S4 What I tried: ... | android | 1 | 2016-06-27T06:35:31.350Z | 2,016 | 6 | 6 | 0 | 55 | 0 | 878 | 58 | 1 | 0 | false | true | false | false | false | false | low |
37,657,179 | Adding a separation line in Rajawali cardboard | <p>I got my full virtual reality app working with the rajawali 3D but would like to have a separation line just between the 2 images.</p>
<p>Is there any way or setting how i could achieve this ?</p> | I got my full virtual reality app working with the rajawali 3D but would like to have a separation line just between the 2 images. Is there any way or setting how i could achieve this ? | android|google-cardboard|rajawali|virtual-reality | 2 | 2016-06-06T12:14:13.943Z | 2,016 | 6 | 12 | 0 | 56 | 0 | 185 | 46 | 4 | 0 | false | true | false | false | false | false | low |
37,780,064 | Calling MediaPlayer and AudioData between activity and Fragment | <p>I have some problem when using MediaPlayer between Activity and Fragment. So, for today project, I've got to play audio data. I put audio definition on a Fragment like this:</p>
<pre><code>@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
super.onViewCreated(view, savedInstan... | I have some problem when using MediaPlayer between Activity and Fragment. So, for today project, I've got to play audio data. I put audio definition on a Fragment like this: [CODE] Using OnClick(), I call a method from its parent activity using its code. [CODE] This is the method to play audio using MediaPlayer at its ... | android|android-fragments|android-activity|android-mediaplayer | 1 | 2016-06-12T23:23:14.923Z | 2,016 | 6 | 23 | 6 | 56 | 0 | 830 | 63 | 4 | 5 | true | true | false | false | false | false | low |
38,014,719 | Calculating audio gain on Android | <p>I'm trying to calculate audio gain for different Android samples in real-time. Are there any libraries that can actually achieve what GainNode in Javascript does
(<a href="https://developer.mozilla.org/de/docs/Web/API/GainNode" rel="nofollow">https://developer.mozilla.org/de/docs/Web/API/GainNode</a>)?</p>
<p>I'm ... | I'm trying to calculate audio gain for different Android samples in real-time. Are there any libraries that can actually achieve what GainNode in Javascript does ( https://developer.mozilla.org/de/docs/Web/API/GainNode )? I'm working with the Android visualizer so I have time domain as well as frequency domain samples ... | android|audio|signal-processing | 1 | 2016-06-24T13:33:47.347Z | 2,016 | 6 | 13 | 4 | 56 | 0 | 330 | 33 | 3 | 0 | false | true | false | false | false | false | low |
37,824,141 | How to control an image from getting off the screen (Using Timer & Random) Android | <p>I am trying to make the ball image to move randomly within the relativeLayoutGame layout using Timer and Random class. Please would you mind help me How to make sure the ball stay moving within the layout ( Not going off it ). </p>
<p><img src="https://i.stack.imgur.com/h4kdz.png" alt="enter image description here"... | I am trying to make the ball image to move randomly within the relativeLayoutGame layout using Timer and Random class. Please would you mind help me How to make sure the ball stay moving within the layout ( Not going off it ). [CODE] | java|android|android-studio|random|timer | 2 | 2016-06-15T00:12:06.490Z | 2,016 | 6 | 0 | 2 | 57 | 0 | 233 | 82 | 5 | 1 | true | true | false | false | false | false | low |
38,051,072 | Google API, Facebook API,YouTube API not working with Android Studio 2.1.2 | <p>I recently updated my android Studio from version 1.5.1 to version 2.1.2. But ever since I've done that, my app no longer seems to be able to login with google or facebook. Neither would the Youtube API work. Is there a way around this problem or should i be looking to revert back to Android Studio 1.5.1 till 2.1.2 ... | I recently updated my android Studio from version 1.5.1 to version 2.1.2. But ever since I've done that, my app no longer seems to be able to login with google or facebook. Neither would the Youtube API work. Is there a way around this problem or should i be looking to revert back to Android Studio 1.5.1 till 2.1.2 bec... | android-studio|android-studio-2.1 | 1 | 2016-06-27T10:03:16.113Z | 2,016 | 6 | 10 | 0 | 57 | 0 | 511 | 74 | 2 | 0 | false | true | false | false | false | false | low |
37,913,092 | ZXing: Camera not reopening when app is reopened (MainActivity blank)? | <p>Basically, what I am trying to do is switch activities (a history list), and be able to resume scanning. It switches activities, resumes the scanner view but no longer scans. When I close the app and reopen it, all I get us a blank white screen with the app name on top and a:</p>
<p><code>W/CameraBase: An error occ... | Basically, what I am trying to do is switch activities (a history list), and be able to resume scanning. It switches activities, resumes the scanner view but no longer scans. When I close the app and reopen it, all I get us a blank white screen with the app name on top and a: W/CameraBase: An error occurred while conne... | java|android|zxing | 1 | 2016-06-20T00:02:30.417Z | 2,016 | 6 | 0 | 0 | 314 | 0 | 758 | 70 | 3 | 1 | true | true | false | false | false | false | low |
37,971,656 | How to draw a floating resizable rectangle over any other application using a service? | <p>I have created am overlay floating icon using a service which is visible over any application. I have implemented it as follow: <a href="http://www.piwai.info/chatheads-basics/" rel="nofollow noreferrer">http://www.piwai.info/chatheads-basics/</a></p>
<p>Now what I want is that when a user drags this overlay icon i... | I have created am overlay floating icon using a service which is visible over any application. I have implemented it as follow: http://www.piwai.info/chatheads-basics/ Now what I want is that when a user drags this overlay icon in any direction a rectangle should be drawn along with it starting from the initial positon... | android|android-service|android-canvas|floating-action-button|android-windowmanager | 2 | 2016-06-22T14:54:46.427Z | 2,016 | 6 | 14 | 2 | 571 | 0 | 852 | 86 | 5 | 2 | true | true | false | false | false | false | low |
37,750,000 | Declaring getParams() not allowed before jsonobject | <p>I am having problem while declaring <code>Map<String, String> getParams()</code> before final <code>JsonObjectRequest</code>.</p>
<p>It shows error. I am using this code to post using volley library. When I went through <a href="https://stackoverflow.com/questions/28135008/unexpected-response-code-500-for-pos... | I am having problem while declaring Map<String, String> getParams() before final JsonObjectRequest . It shows error. I am using this code to post using volley library. When I went through Unexpected response code 500 for POST method , the answer didn't worked for me. [CODE] | android|android-volley | 1 | 2016-06-10T13:50:41.197Z | 2,016 | 6 | 13 | 4 | 61 | 0 | 274 | 51 | 2 | 1 | true | true | false | false | false | false | low |
37,800,551 | Extending Library - "Didn't find class on path: DexPathList" | <p>I am extending a class imported into my library successfully. Everything works perfectly until I try to extend it using a custom class which errors out when requesting the BasicNameValuePair. The file is near a direct copy paste of </p>
<p><a href="https://github.com/koush/AndroidAsync/blob/8120535ef5cb053059b55f8e... | I am extending a class imported into my library successfully. Everything works perfectly until I try to extend it using a custom class which errors out when requesting the BasicNameValuePair. The file is near a direct copy paste of https://github.com/koush/AndroidAsync/blob/8120535ef5cb053059b55f8e1c4fbe6c627ab160/Andr... | java|android|android-ion | 1 | 2016-06-13T23:10:28.497Z | 2,016 | 6 | 23 | 0 | 61 | 0 | 400 | 60 | 3 | 2 | true | true | false | false | false | false | low |
37,811,422 | Dynamically added views not overlapping each other in relativelayout after dragged | <p>I have a relativelayout consisting a button</p>
<p><strong>my layout</strong></p>
<pre><code><RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#CDC2C0"
android:id="@+id/ondraglayout">
<Butt... | I have a relativelayout consisting a button my layout [CODE] This button add text views which cand be dragged and dropped when clicked My problem is how to prevent these textvies from overlapping each other when dragged and dropped on one another Dynamic adding and dragging of textviews i said looks like this my main a... | android|drag-and-drop|android-relativelayout | 1 | 2016-06-14T12:01:06.457Z | 2,016 | 6 | 12 | 1 | 61 | 0 | 442 | 82 | 3 | 6 | true | true | false | false | false | false | low |
37,994,250 | This code push Null notification | <p>I have this code to push notification (GCM) but when i am trying to push notification i got null notification (the string of my message is missing)</p>
<p>index.php</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" cont... | I have this code to push notification (GCM) but when i am trying to push notification i got null notification (the string of my message is missing) index.php [CODE] send_message.php [CODE] GcmIntentService.java [CODE] Any idea would be appreciated. | php|android|ajax|google-cloud-messaging | 1 | 2016-06-23T14:16:33.393Z | 2,016 | 6 | 14 | 3 | 61 | 0 | 248 | 32 | 4 | 3 | true | true | false | false | false | false | low |
37,741,040 | How to detect internet call, voip call, WhatsApp, Skype etc.. on Android? | <p>The similar question is posted <a href="https://stackoverflow.com/questions/34566879/detect-incoming-voip-call-android">here</a> but no answers yet.. </p> | The similar question is posted here but no answers yet.. | android|call|voip|whatsapp|skype | 2 | 2016-06-10T06:10:45.977Z | 2,016 | 6 | 6 | 4 | 573 | 0 | 56 | 73 | 5 | 0 | false | true | false | false | false | false | low |
37,868,305 | Android default drawer activity/layout is laggy on my app | <p>In my app i am using the drawer layout, the default one that you can take when you are creating a new activity.</p>
<p>However, its not smooth, its has a pretty big lag/breaks opening/closing the menu, im including here my MainActivity.java. I have searched around but didntt find anything.</p>
<p>This is my drawer... | In my app i am using the drawer layout, the default one that you can take when you are creating a new activity. However, its not smooth, its has a pretty big lag/breaks opening/closing the menu, im including here my MainActivity.java. I have searched around but didntt find anything. This is my drawer layout: Can this b... | java|android|layout|drawerlayout | 1 | 2016-06-16T19:55:10.307Z | 2,016 | 6 | 19 | 3 | 62 | 0 | 336 | 57 | 4 | 1 | true | true | false | false | false | false | low |
37,760,789 | how to redirect stderr with: android adb exec-out run-as cat foo.log 2>foo.error > foo.log | <p>i am using the script below on unrooted 2013 nexus 7's with android 6.0.1 and may patches. if the log files exists, all is well. if not, stderr goes to the local foo.log file on my pc.</p>
<p>is there a way to fix this?</p>
<p>tried a shell here doc, but that does not seem to work with exec-out.</p>
<pre><code> ... | i am using the script below on unrooted 2013 nexus 7's with android 6.0.1 and may patches. if the log files exists, all is well. if not, stderr goes to the local foo.log file on my pc. is there a way to fix this? tried a shell here doc, but that does not seem to work with exec-out. [CODE] | android|adb|stderr | 1 | 2016-06-11T06:42:53.683Z | 2,016 | 6 | 6 | 5 | 318 | 0 | 289 | 90 | 3 | 1 | true | true | false | false | false | false | low |
37,863,364 | Android VideoView - video plays after “Can't Play Video” error message | <p>I'm trying to play different type of videos in Android VideoView but there is an strange behaviour occurs if the media is an unsupported like .wmv or .avi files.
.mp4 files play without error. but if the media type is an .wmv or .avi, VideoWiew shows “Can't Play Video” and after this message, video starts playing.</... | I'm trying to play different type of videos in Android VideoView but there is an strange behaviour occurs if the media is an unsupported like .wmv or .avi files. .mp4 files play without error. but if the media type is an .wmv or .avi, VideoWiew shows “Can't Play Video” and after this message, video starts playing. [COD... | android|android-videoview | 1 | 2016-06-16T15:25:01.017Z | 2,016 | 6 | 15 | 3 | 318 | 0 | 415 | 70 | 2 | 1 | true | true | false | false | false | false | low |
37,837,649 | Save ringtone and get it again | <p>I'm working on an app in which I get the current ringtone and save it in sharedprefrences and get it again. I'm trying like this, but its not working. Please tell me where the mistake is? I am new to android. Please tell me with code. </p>
<pre><code>Uri currentRintoneUri = RingtoneManager.getActualDefaultRington... | I'm working on an app in which I get the current ringtone and save it in sharedprefrences and get it again. I'm trying like this, but its not working. Please tell me where the mistake is? I am new to android. Please tell me with code. [CODE] | android|android-sharedpreferences | 1 | 2016-06-15T13:59:33.053Z | 2,016 | 6 | 13 | 2 | 63 | 0 | 241 | 30 | 2 | 1 | true | true | false | false | false | false | low |
37,863,656 | adding action bar to map - AppBarLayout error | <p>I'm trying to add contextual action bar menu to my GoogleMap activity but it shows error. I've already tried to search numerous questions but I've had no luck
Hera is logcat output:</p>
<pre><code>Process: com.example.lowrider.myapplication, PID: 4143
... | I'm trying to add contextual action bar menu to my GoogleMap activity but it shows error. I've already tried to search numerous questions but I've had no luck Hera is logcat output: [CODE] Here is my .xml layout file for this activity [CODE] [CODE] | android|android-fragments|layout|android-actionbar | 2 | 2016-06-16T15:38:12.593Z | 2,016 | 6 | 15 | 3 | 63 | 0 | 248 | 45 | 4 | 3 | true | true | false | false | false | false | low |
37,933,944 | How do you wait until multiple onReady/services are ready until executing method | <p>I have a onReady (to wait for google maps to be ready) and an onConnected (to wait for the Google Api Client/Service to be connected). I want to run some code after both of those services are ready/connected (wait for the google map to be ready so I can display the user's last location on the map. The last location ... | I have a onReady (to wait for google maps to be ready) and an onConnected (to wait for the Google Api Client/Service to be connected). I want to run some code after both of those services are ready/connected (wait for the google map to be ready so I can display the user's last location on the map. The last location nee... | android | 1 | 2016-06-21T00:43:17.827Z | 2,016 | 6 | 0 | 1 | 63 | 0 | 443 | 80 | 1 | 0 | false | true | false | false | false | false | low |
38,037,892 | Android Jetty Framework: "Parse Error: Unsupported class file version 52.0" | <p>I am working on an android application in android studio as a university project. We have just started android developement this week so I quite new to it.</p>
<p>We have the following error when we try to compile our app:</p>
<blockquote>
<p>Error:PARSE ERROR:
Error:unsupported class file version 52.0
Error... | I am working on an android application in android studio as a university project. We have just started android developement this week so I quite new to it. We have the following error when we try to compile our app: Error:PARSE ERROR: Error:unsupported class file version 52.0 Error:...while parsing org/eclipse/jetty/we... | android|import | 1 | 2016-06-26T11:09:02.170Z | 2,016 | 6 | 11 | 6 | 831 | 0 | 1,328 | 75 | 2 | 0 | false | true | false | false | false | false | low |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.