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,816,967 | Add animation to buttons in android | <p>So this is the main activity of my app:</p>
<p><img src="https://i.stack.imgur.com/snp19.jpg" alt="enter image description here"></p>
<p>As u can see, there are 6 buttons.</p>
<ol>
<li><p>I thought about the idea of setting the animation of them to be like when a bubble pops up...i mean whenever the main activity... | So this is the main activity of my app: As u can see, there are 6 buttons. I thought about the idea of setting the animation of them to be like when a bubble pops up...i mean whenever the main activity shows up i want the button to "bubble up"+ i don't want them to bubble up all together, i want a Interval of approxima... | android|animation|android-activity|android-imagebutton | 2 | 2015-03-02T18:34:45.117Z | 2,015 | 3 | 18 | 0 | 288 | 1 | 586 | 35 | 4 | 0 | false | false | false | false | false | false | low |
28,817,034 | SAPUI5 navigation between apps definitions | <p>I'm new in SAPUI5 development and I'd like to know how can I navigate through different apps definitions.</p>
<p>In my case, I'm developing a mobile app that uses the sap.m.App and in some views I'd like to use sap.m.splitApp.</p>
<p>First, I have a login page and a tile container with some options. Depending on t... | I'm new in SAPUI5 development and I'd like to know how can I navigate through different apps definitions. In my case, I'm developing a mobile app that uses the sap.m.App and in some views I'd like to use sap.m.splitApp. First, I have a login page and a tile container with some options. Depending on the user's choice, I... | android|navigation|sapui5 | 0 | 2015-03-02T18:38:03.580Z | 2,015 | 3 | 18 | 0 | 2,686 | 3 | 1,065 | 42 | 3 | 4 | true | false | true | false | false | false | zero |
28,817,109 | Toolbar with Gradient Background set title background transparent | <p>I defined a Gradient Drawable:</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient
android:endColor="#2F3F59"
android:startColor="#4078A7"
android:type="linear"
... | I defined a Gradient Drawable: [CODE] And I set it on my Toolbar: [CODE] This is working! BUT : This is what happens with the title. It gets the same gradient. This looks really ugly so I have to change this. How can I set the background of that info text to be transparent? | android | 4 | 2015-03-02T18:42:28.497Z | 2,015 | 3 | 18 | 0 | 3,000 | 4 | 274 | 65 | 1 | 2 | true | false | true | false | false | false | low |
28,817,147 | How to get image from video played on a surface view? | <p>I'm trying to catch the last frame of a video played on a surface view. The video is playing from http and I can not use mediaMetaDataRetriever because mediaplayer already uses the http connection and mediaMetaDataRetriever returns null. </p>
<p>Are there any solutions for the "capture" of the current frame on a su... | I'm trying to catch the last frame of a video played on a surface view. The video is playing from http and I can not use mediaMetaDataRetriever because mediaplayer already uses the http connection and mediaMetaDataRetriever returns null. Are there any solutions for the "capture" of the current frame on a surfaceView? | android|video|android-mediaplayer|surfaceview | 1 | 2015-03-02T18:44:16.690Z | 2,015 | 3 | 18 | 0 | 1,098 | 1 | 318 | 53 | 4 | 0 | false | false | false | false | false | false | low |
28,817,160 | Applying some styles to control | <p>As you know in html/css you may apply some classes (and hence some styles) to the tag. It is cery convenient and i would like to have tgis opportunity in android development. Is there a way to apply some styles to one control?</p> | As you know in html/css you may apply some classes (and hence some styles) to the tag. It is cery convenient and i would like to have tgis opportunity in android development. Is there a way to apply some styles to one control? | java|android|xml|styles | 0 | 2015-03-02T18:45:23.297Z | 2,015 | 3 | 18 | 0 | 27 | 1 | 226 | 31 | 4 | 0 | false | false | false | false | false | false | zero |
28,817,176 | Google InAppBilling returns null | <p>I am developing a hybrid mobile app by <code>Cordova 3</code>. For <code>InAppBiling</code> I have used this plugin <a href="https://github.com/poiuytrez/AndroidInAppBilling" rel="nofollow">https://github.com/poiuytrez/AndroidInAppBilling</a>.</p>
<p>I have made a sample just like what is introduced in the site. Bu... | I am developing a hybrid mobile app by Cordova 3 . For InAppBiling I have used this plugin https://github.com/poiuytrez/AndroidInAppBilling . I have made a sample just like what is introduced in the site. But in my app when I call inappbilling.init(successHandler, errorHandler, { showLog: true }); the errorHandler is c... | android|cordova|phonegap-plugins|in-app-billing | 0 | 2015-03-02T18:46:14.953Z | 2,015 | 3 | 18 | 0 | 163 | 1 | 342 | 32 | 4 | 0 | false | false | false | false | false | false | zero |
28,817,185 | Android how to create ripple effect in Java | <p>I have the ripple xml. But I am not sure how to get same effect in Java. </p>
<pre><code><ripple
xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/blue_1"
/>
</code></pre>
<p>I would like to define / create / load a ripple, or even set a color in Java.
That means, in java, I ca... | I have the ripple xml. But I am not sure how to get same effect in Java. [CODE] I would like to define / create / load a ripple, or even set a color in Java. That means, in java, I can load the XML ripple, then assign a color. or can i do do everything in java: Ripple = new Ripple ? I tried the code from this link: htt... | java|android|xml|android-5.0-lollipop|ripple | 2 | 2015-03-02T18:46:36.410Z | 2,015 | 3 | 18 | 0 | 3,155 | 2 | 526 | 43 | 5 | 2 | true | false | true | false | false | false | low |
28,817,190 | AdbCommandRejectedException getting properties when testing on emulator | <p>It's getting really frustrating to test any apps at all.
I start up the emulator and run the app the first time and it works and immediately starts throwing this in the ADB Logs </p>
<pre><code>DeviceMonitor: Failed to connect to client '2560': EOF
PropertyFetcher: AdbCommandRejectedException getting properties fo... | It's getting really frustrating to test any apps at all. I start up the emulator and run the app the first time and it works and immediately starts throwing this in the ADB Logs [CODE] Logcat displays nothing. I've tried everything to stop this. Killing and starting the adb server does not solve the problem. I have to ... | android|android-studio|adb | 13 | 2015-03-02T18:46:46.177Z | 2,015 | 3 | 18 | 0 | 12,304 | 6 | 373 | 71 | 3 | 1 | true | false | true | true | true | false | medium |
28,817,257 | Android Studio Release build gives me: Unfortunately, “App Name” has stopped | <p>I'm working on Android Studio 1.1.0.
The build variant <code>debug</code> works perfectly but when I tried to run the <code>release</code> build variant the app starts but gives me an "Unfortunately, “App Name” has stopped."</p>
<p>I already signed my apps in the past, maybe I'm missing a simple step which I comple... | I'm working on Android Studio 1.1.0. The build variant debug works perfectly but when I tried to run the release build variant the app starts but gives me an "Unfortunately, “App Name” has stopped." I already signed my apps in the past, maybe I'm missing a simple step which I completely forgot, what have I missed? This... | android|build|android-studio|release|signing | 1 | 2015-03-02T18:49:50.410Z | 2,015 | 3 | 18 | 0 | 2,143 | 1 | 413 | 76 | 5 | 4 | true | false | false | false | false | false | low |
28,817,287 | PopupWindow won't dismiss | <p>I have a PopupWindow declared at the class level:</p>
<pre><code>private PopupWindow dialogScanBadge;
</code></pre>
<p>I create the window upon a user action:</p>
<pre><code>ViewGroup viewGroup = (ViewGroup)getWindow().getDecorView();
LayoutInflater layoutInflater = (LayoutInflater)getBaseContext().getSystemServi... | I have a PopupWindow declared at the class level: [CODE] I create the window upon a user action: [CODE] and add it to the current ViewGroup. I only want to display the pop up for 7 seconds and then have it removed: [CODE] which calls (on UI thread): [CODE] But the pop up remains displayed. There are no errors encounter... | android|popupwindow | 0 | 2015-03-02T18:51:13.100Z | 2,015 | 3 | 18 | 0 | 85 | 0 | 542 | 25 | 2 | 5 | true | true | false | false | false | false | zero |
28,817,347 | How do I use sqlite with cordova while testing in a normal desktop browser? | <p>While developing my Cordova hybrid application, I have grown very accustomed to testing my application in a regular desktop browser, and this has worked out very well so far.</p>
<p>Now I'd like to add sqlite functionality to my application. I see that there is a plugin for cordova, but I am curious, how can I writ... | While developing my Cordova hybrid application, I have grown very accustomed to testing my application in a regular desktop browser, and this has worked out very well so far. Now I'd like to add sqlite functionality to my application. I see that there is a plugin for cordova, but I am curious, how can I write a fallbac... | javascript|android|angularjs|sqlite|cordova | 8 | 2015-03-02T18:54:23.780Z | 2,015 | 3 | 18 | 0 | 6,337 | 2 | 748 | 75 | 5 | 0 | false | false | true | false | false | false | medium |
28,817,355 | Number range on an edittext - only want numbers between 1 and 10 | <p>I'm trying to make an app that only allows a user to enter between 1 and 10, I've tried writing my own method where if the number is out of that range, it changes the text views to ERROR and clears what's in the edit text, however it crashes the app. Does anyone know what's wrong with it? New to android.</p>
<p>Cod... | I'm trying to make an app that only allows a user to enter between 1 and 10, I've tried writing my own method where if the number is out of that range, it changes the text views to ERROR and clears what's in the edit text, however it crashes the app. Does anyone know what's wrong with it? New to android. Code: [CODE] | android|button|onclick|range | 0 | 2015-03-02T18:54:42.653Z | 2,015 | 3 | 18 | 0 | 557 | 2 | 318 | 64 | 4 | 1 | true | false | false | false | false | false | zero |
28,817,365 | Sony remote camera API QX 10, Response Code Error: 403 | <p>I am trying to add support of Sony remote camera API to Open camera project (<a href="https://github.com/almalence/OpenCamera" rel="nofollow">https://github.com/almalence/OpenCamera</a>)</p>
<p>To begin with I download sample application and try to integrate it to Open camera. So, I can search for device and even l... | I am trying to add support of Sony remote camera API to Open camera project ( https://github.com/almalence/OpenCamera ) To begin with I download sample application and try to integrate it to Open camera. So, I can search for device and even launch Liveview. But I want to take more control of camera parameters. So, I im... | android|sony-camera-api | 0 | 2015-03-02T18:55:40.190Z | 2,015 | 3 | 18 | 0 | 680 | 1 | 2,072 | 54 | 2 | 4 | true | false | false | false | false | false | zero |
28,817,456 | Scroll programmatically to the bottom of an expandablelistview with big content in last item | <p>I'm trying to scroll to the bottom of an expandablelistview programmatically. Every other thread in SO points to either:</p>
<pre><code>var groupPosition = listView.ExpandableListAdapter.GroupCount - 1;
var childCount = (listView.ExpandableListAdapter as MyAdapter).GetChildrenCount (groupPosition);
listView.SetSele... | I'm trying to scroll to the bottom of an expandablelistview programmatically. Every other thread in SO points to either: [CODE] or: [CODE] These work great if your list items aren't taller than the height of the screen, however in my scenario the data in the last item of the expandablelistview can sometimes be taller t... | android|android-listview|xamarin|xamarin.android|expandablelistview | 0 | 2015-03-02T19:00:44.197Z | 2,015 | 3 | 19 | 0 | 1,942 | 1 | 576 | 92 | 5 | 2 | true | false | false | false | false | false | zero |
28,817,484 | Android content resolver query placeholder integer | <p>I am trying to run a simple query on the android Browser Content Provider. The bookmarks are mixed with history items, so to get the bookmarks only one needs to select "Browser.BookmarkColumns.BOOKMARK = 1". Using </p>
<pre><code>String mSelectionClause = Browser.BookmarkColumns.BOOKMARK + " = 1";
</code></pre>
<p... | I am trying to run a simple query on the android Browser Content Provider. The bookmarks are mixed with history items, so to get the bookmarks only one needs to select "Browser.BookmarkColumns.BOOKMARK = 1". Using [CODE] with [CODE] works fine. But all my attempts to get the same result with a placeholder fail: [CODE] ... | android|arguments|selection | 3 | 2015-03-02T19:02:26.317Z | 2,015 | 3 | 19 | 0 | 521 | 1 | 476 | 50 | 3 | 5 | true | false | false | false | false | false | low |
28,817,488 | FireMonkey TListView: How to color items at runtime? | <p>It is possible to use custom drawing for the VCL TListView, which allows you to colour individual items (<a href="https://stackoverflow.com/questions/9430797/listview-color-items-at-runtime">here is an example</a> using the rather dodgy approach of putting a <code>TColor</code> in the <code>Data</code> of an item.)<... | It is possible to use custom drawing for the VCL TListView, which allows you to colour individual items ( here is an example using the rather dodgy approach of putting a TColor in the Data of an item.) However, in the XE7 FMX version of the TListVew control, there is no OnCustomDraw event. I tried some options, but not... | android|delphi|listview|firemonkey | 3 | 2015-03-02T19:02:44.307Z | 2,015 | 3 | 19 | 0 | 9,397 | 3 | 370 | 52 | 4 | 0 | false | false | true | false | false | false | low |
28,817,494 | bindChildView and bindGroupView same cursor | <p>using <code>getChildrenCursor</code> how to make <code>bindChildView</code> receive the same cursor as <code>bindGroupView</code>?</p>
<pre><code> @Override
protected Cursor getChildrenCursor(Cursor groupCursor) {
Cursor childCursor = groupCursor;//bd.ReadData("select * from images wher... | using getChildrenCursor how to make bindChildView receive the same cursor as bindGroupView ? [CODE] this way returns the Cursor of all groups and not specific to one Group... | android|expandablelistview | 0 | 2015-03-02T19:03:16.703Z | 2,015 | 3 | 19 | 0 | 198 | 1 | 174 | 43 | 2 | 1 | true | false | false | false | false | false | zero |
28,817,590 | calling connect(), while I am connected, DriveApi | <p>I have a problem, when I am trying connect to Drive api, I have got the following error log:</p>
<pre><code>Calling connect() while still connected, missing disconnect() for com.google.android.gms.drive.ApiService.Start
</code></pre>
<p>A month ago it worked...
I tried check <code>if(mGoogleApiClient.isconnected()... | I have a problem, when I am trying connect to Drive api, I have got the following error log: [CODE] A month ago it worked... I tried check if(mGoogleApiClient.isconnected()) , but same problem. Tried Api 16-21, google-play-services_lib from official source (up-to-date a month ago). Does anyone know, where the problem i... | android|google-drive-api | 0 | 2015-03-02T19:09:26.507Z | 2,015 | 3 | 19 | 0 | 88 | 1 | 329 | 49 | 2 | 2 | true | false | false | false | false | false | zero |
28,817,595 | Do I need to make my "app" public to use FB SDK | <p>In order to use Facebook SDK in my mobile app, I have had to create an "app" (i.e. Facebook Registration) on <a href="https://developers.facebook.com" rel="nofollow">https://developers.facebook.com</a>. Right now I am done and my users are happy. But there is a note that says <code>This app is in development mode</c... | In order to use Facebook SDK in my mobile app, I have had to create an "app" (i.e. Facebook Registration) on https://developers.facebook.com . Right now I am done and my users are happy. But there is a note that says This app is in development mode on the Facebook Dashboard. Do I need to change it so to make the app pu... | android|facebook|facebook-graph-api | -3 | 2015-03-02T19:09:45.717Z | 2,015 | 3 | 19 | 0 | 639 | 1 | 368 | 47 | 3 | 0 | false | false | false | false | false | true | negative |
28,817,603 | Is making network call safe in ArrayAdapter? | <p>I have developed AutoCompleteTextView with Google Places API. When the user enters address, I'm making network call to API. I tried to simulate crash, but the request completes before I'm able to change the configuration.</p>
<pre><code> public class PlacesAutoCompleteAdapter extends ArrayAdapter<Prediction&g... | I have developed AutoCompleteTextView with Google Places API. When the user enters address, I'm making network call to API. I tried to simulate crash, but the request completes before I'm able to change the configuration. [CODE] EDIT: Can you please elaborate what actually happens during a network call when I rotate th... | java|android|android-adapter|retrofit | 5 | 2015-03-02T19:10:26.160Z | 2,015 | 3 | 19 | 0 | 264 | 2 | 417 | 44 | 4 | 1 | true | false | false | false | false | false | low |
28,817,716 | RecyclerView TextView color of text changed | <p>Making some soccer app, I have few <code>Activities</code>, <code>Fragments</code> and <code>RecyclerViews</code>, but just in this one case colour of my text changed:
<img src="https://i.stack.imgur.com/P03Th.png" alt="enter image description here"></p>
<p>The fragment is displaying logo and name appropriately.</... | Making some soccer app, I have few Activities , Fragments and RecyclerViews , but just in this one case colour of my text changed: The fragment is displaying logo and name appropriately. But in RecyclerView , you can barely see name of players because it's so white, and 3 other small text are also hard to read. It is l... | android | 10 | 2015-03-02T19:16:16.163Z | 2,015 | 3 | 19 | 0 | 8,064 | 2 | 787 | 43 | 1 | 3 | true | false | true | false | true | false | medium |
28,817,856 | Download(copy?) a file from my res/raw folder to the default Android download location? | <p>I am making a soundboard for practice and I want to give the user the ability to download the sound (that I have included in the app in the <code>res/raw</code> folder) onClick of a menu item but I can only find information about downloading from an internet url, not something that I already included in the apk.</p>... | I am making a soundboard for practice and I want to give the user the ability to download the sound (that I have included in the app in the res/raw folder) onClick of a menu item but I can only find information about downloading from an internet url, not something that I already included in the apk. What is the best wa... | android | 2 | 2015-03-02T19:25:03.947Z | 2,015 | 3 | 19 | 0 | 2,578 | 2 | 536 | 87 | 1 | 0 | false | false | false | false | false | false | low |
28,817,858 | Change second Listpreference values in preference fragment when first Listpreference value selected | <p>I have two Listprefence in a preference fragment and I want to refresh second Listpreference values when in first is selected something.
The Listpreferences are filled over the internet.</p>
<pre><code>public class array extends PreferenceFragment {
public static String apref;
@Override
public void onCreate(Bundle... | I have two Listprefence in a preference fragment and I want to refresh second Listpreference values when in first is selected something. The Listpreferences are filled over the internet. [CODE] } | android|android-fragments|listpreference|preferencefragment|onpreferenceclicklistener | 0 | 2015-03-02T19:25:10.920Z | 2,015 | 3 | 19 | 0 | 588 | 1 | 195 | 99 | 5 | 1 | true | false | false | false | false | false | zero |
28,817,893 | cwac-camera "... supported only in landscape" exception | <p>I'm trying to record video using the <em>cwac-camera</em> android library. I know that the library only supports recording in landscape, but I can't seem to get it to stop throwing the <code>UnsupportedOperationException: Video recording supported only in landscape</code>. I've tried using CameraView's <code>lockToL... | I'm trying to record video using the cwac-camera android library. I know that the library only supports recording in landscape, but I can't seem to get it to stop throwing the UnsupportedOperationException: Video recording supported only in landscape . I've tried using CameraView's lockToLandscape() method, and forced ... | android|cwac-camera | 0 | 2015-03-02T19:27:25.160Z | 2,015 | 3 | 19 | 0 | 141 | 0 | 736 | 55 | 2 | 2 | true | true | false | false | false | false | zero |
28,817,931 | How to select multiple tables with a query | <p>i have a android database(sqlite) within several tables.
now i want to return records with a query;
my query for single table is : </p>
<pre><code> Cursor c = db.rawQuery("SELECT * FROM Table1;", null);
</code></pre> | i have a android database(sqlite) within several tables. now i want to return records with a query; my query for single table is : [CODE] | android|sqlite | -4 | 2015-03-02T19:29:31.940Z | 2,015 | 3 | 19 | 0 | 81 | 1 | 137 | 42 | 2 | 1 | true | false | false | false | false | true | negative |
28,817,982 | XMLPullParser returning blank results | <p>I am trying to pull and parse and XML file i have been fiddling with. I am trying to pull it down and display it in a list view.</p>
<p>i cant figure out why its returning no results?</p>
<p>See Activity below:</p>
<blockquote>
<p>MainActivity.java</p>
</blockquote>
<pre><code>package com.ryan.bobxmlpullprojec... | I am trying to pull and parse and XML file i have been fiddling with. I am trying to pull it down and display it in a list view. i cant figure out why its returning no results? See Activity below: MainActivity.java [CODE] row_site.xml [CODE] SitesXmlPullParser.Java package com.ryan.bobxmlpullproject; [CODE] SitesAdapte... | java|android|xml | 0 | 2015-03-02T19:31:36.633Z | 2,015 | 3 | 19 | 0 | 261 | 1 | 567 | 37 | 3 | 7 | true | false | false | false | false | false | zero |
28,818,061 | Android kills my Threads/AsyncTasks | <p>I run my asynctask class of activity, then finish the activity, and asynctask still works. Android after some time killing my asynctask. I tried to add to the function run <code>"Process.setThreadPriority (Process.THREAD_PRIORITY_FOREGROUND);"</code> or <code>"Process.setThreadPriority (Process.THREAD_PRIORITY_BACKG... | I run my asynctask class of activity, then finish the activity, and asynctask still works. Android after some time killing my asynctask. I tried to add to the function run "Process.setThreadPriority (Process.THREAD_PRIORITY_FOREGROUND);" or "Process.setThreadPriority (Process.THREAD_PRIORITY_BACKGROUND);" but asynctask... | java|android|android-asynctask | -1 | 2015-03-02T19:35:49.263Z | 2,015 | 3 | 19 | 0 | 140 | 1 | 482 | 35 | 3 | 0 | false | false | false | false | false | true | negative |
28,818,072 | alignParentBottom makes parent height match parent | <p>Here's the problem parent and it's contents from my xml file:</p>
<pre><code><RelativeLayout
android:id="@+id/group_chat_form"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_marginTop="5dp"
android:background... | Here's the problem parent and it's contents from my xml file: [CODE] The parent is clearly not wrapping the contents. If I remove the alignParentBottom="true" attribute from the child, it looks perfect. However I need this particular child to stay anchored to the bottom because I have a multiline edittext view in this ... | android|xml | 4 | 2015-03-02T19:37:08.820Z | 2,015 | 3 | 19 | 0 | 1,513 | 1 | 619 | 50 | 2 | 1 | true | false | false | false | false | false | low |
28,818,273 | List view (fragment) with swipe view with arrays | <p>I have a project in mind but do not know if it's possible realization, I need to have 3 tabs with swipe view. In the first i have a list view where it should be possible to make a long click and add, delete or edit records in an array . I see this a little complicated , just need some lights on how 'll add a list vi... | I have a project in mind but do not know if it's possible realization, I need to have 3 tabs with swipe view. In the first i have a list view where it should be possible to make a long click and add, delete or edit records in an array . I see this a little complicated , just need some lights on how 'll add a list view ... | android|android-layout|android-activity|android-fragments|android-studio | 0 | 2015-03-02T19:47:58.390Z | 2,015 | 3 | 19 | 0 | 84 | 0 | 354 | 48 | 5 | 0 | false | true | false | false | false | false | zero |
28,818,288 | Display list in RecyclerView | <p>I'm using Android Studio to make my Android app. </p>
<p>I have this code which outputs to console all the apps installed on my Android phone. </p>
<p>How can I change this so that it outputs the list to a RecyclerView on my Android app instead of outputting it to console? </p>
<pre><code>package com.example.laun... | I'm using Android Studio to make my Android app. I have this code which outputs to console all the apps installed on my Android phone. How can I change this so that it outputs the list to a RecyclerView on my Android app instead of outputting it to console? [CODE] | java|android|list|android-studio|android-recyclerview | 1 | 2015-03-02T19:48:56.840Z | 2,015 | 3 | 19 | 0 | 3,860 | 1 | 264 | 28 | 5 | 1 | true | false | true | false | false | false | low |
28,818,291 | Applying an event based on whether a button is pressed or not via touch input | <p>I am planning to develop an Android application for blind people. The application will interact with the user only after they touch any part of screen. The application will start with a voice (I am going to use Text to Speech) and will wait for touch input; if the user don't touch the screen, the next option will be... | I am planning to develop an Android application for blind people. The application will interact with the user only after they touch any part of screen. The application will start with a voice (I am going to use Text to Speech) and will wait for touch input; if the user don't touch the screen, the next option will be vo... | android|accessibility|text-to-speech | 1 | 2015-03-02T19:49:06.640Z | 2,015 | 3 | 19 | 0 | 84 | 2 | 929 | 77 | 3 | 0 | false | false | false | false | false | false | low |
28,818,311 | Android Studio breakpoint system seems broken | <p>So, I'm getting started with Android Studio targeting a Nexus 9, and so far its been great with the major annoyance being the debugging, setting breakpoints and stepping in/out.</p>
<p>I find my breakpoints are routinely ignored, to the point that I wonder if I'm doing something wrong. As one example, in my contou... | So, I'm getting started with Android Studio targeting a Nexus 9, and so far its been great with the major annoyance being the debugging, setting breakpoints and stepping in/out. I find my breakpoints are routinely ignored, to the point that I wonder if I'm doing something wrong. As one example, in my contour plot class... | android|debugging | 4 | 2015-03-02T19:50:12.793Z | 2,015 | 3 | 19 | 0 | 939 | 1 | 1,140 | 45 | 2 | 0 | false | false | false | false | false | false | low |
28,818,338 | java.lang.InstantiationException: class com.example.camera.MainActivity has no zero argument constructor | <p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>03-02 12:03:23.564: D/AndroidRuntime(9302): Shutting down VM
03-02 12:03:23.570: E/AndroidRuntime(9302): FATAL EXCEPTION: main
03-02 12:03:23.570: E/AndroidRuntime(930... | [CODE] public class MainActivity extends SurfaceView implements SurfaceHolder.Callback, PreviewCallback { [CODE] While running this code i received an error stating java.lang.InstantiationException: class com.example.camera.MainActivity has no zero argument constructor... | android|camera | 0 | 2015-03-02T19:52:09.590Z | 2,015 | 3 | 19 | 0 | 8,437 | 2 | 272 | 104 | 2 | 2 | true | false | true | false | false | false | zero |
28,818,359 | how to set image to image view by image name that stored in database in android? | <p>i have a class that get two field(name and image) in database and set name to Text View and image set to image view
now i have problem with image , how to should set image to image view by image name that stored in database ?
Please Help me!</p>
<p><strong>my source code:</strong></p>
<hr>
<pre><code>public class... | i have a class that get two field(name and image) in database and set name to Text View and image set to image view now i have problem with image , how to should set image to image view by image name that stored in database ? Please Help me! my source code: [CODE] | android|image|android-imageview | 0 | 2015-03-02T19:53:54.030Z | 2,015 | 3 | 19 | 0 | 2,718 | 2 | 264 | 80 | 3 | 1 | true | false | true | false | false | false | zero |
28,818,367 | How to send post request to tt-rss api using retrofit | <p>I have read a lot about Retrofit but really have dough on how to implement post request to tt-rss api using retrofit.</p>
<p>in the tt-rss api documentations, it says that to test login request using curl, it should be something like this:</p>
<pre><code>$ curl -d '{"op":"login","user":"you","password":"xxx"}' htt... | I have read a lot about Retrofit but really have dough on how to implement post request to tt-rss api using retrofit. in the tt-rss api documentations, it says that to test login request using curl, it should be something like this: [CODE] I have used the following call but gives me "NOT_LOGGED_IN"error message [CODE] ... | android|curl|retrofit | 2 | 2015-03-02T19:54:35.750Z | 2,015 | 3 | 19 | 0 | 243 | 1 | 367 | 53 | 3 | 2 | true | false | false | false | false | false | low |
28,818,535 | Loading https page in webview | <p>I am trying to display <code>https://plus.google.com/myprofilepage</code>(ignore myprofilepage part I just made it up, in code its substituted with my actual profile page) page in my app within a <code>webview</code>. The problem is the app is not displaying anything, earlier I tried with just <code>http://www.googl... | I am trying to display https://plus.google.com/myprofilepage (ignore myprofilepage part I just made it up, in code its substituted with my actual profile page) page in my app within a webview . The problem is the app is not displaying anything, earlier I tried with just http://www.google.com and https://www.google.co.i... | android|webview|https|android-webview|webviewclient | 0 | 2015-03-02T20:05:46.390Z | 2,015 | 3 | 20 | 0 | 991 | 2 | 689 | 29 | 5 | 1 | true | false | false | false | false | false | zero |
28,818,621 | Detecting changes in altitude over time using android accelerometer/gyroscope | <p>I would like to know if its possible to use the android phone's accelerometer and/or gyroscope to detect changes in altitude. For example, would I be able to detect if I am driving/walking up a hill or down a hill?
I am thinking of recording any slight phone motions over some period of time and then using that data ... | I would like to know if its possible to use the android phone's accelerometer and/or gyroscope to detect changes in altitude. For example, would I be able to detect if I am driving/walking up a hill or down a hill? I am thinking of recording any slight phone motions over some period of time and then using that data to ... | android | 0 | 2015-03-02T20:10:24.317Z | 2,015 | 3 | 20 | 0 | 1,195 | 1 | 714 | 77 | 1 | 0 | false | false | false | false | false | false | zero |
28,818,647 | Implementing LayoutAlgorithm.SINGLE_COLUMN algorithm? | <p>I need to display the html content as in gmail app showing the message content with more readability. </p>
<p>The first step I tried is applying custom and common css to all the message contents. But it did not respond well for media queries and it varied among variety of contents. Moreover image was not in right p... | I need to display the html content as in gmail app showing the message content with more readability. The first step I tried is applying custom and common css to all the message contents. But it did not respond well for media queries and it varied among variety of contents. Moreover image was not in right proportions. ... | android|css|webview | 0 | 2015-03-02T20:12:17.480Z | 2,015 | 3 | 20 | 0 | 319 | 3 | 650 | 53 | 3 | 0 | false | false | false | false | false | false | zero |
28,818,687 | starting activity from non main thread in Android | <p>Please take a look at this code i found on android weekly <a href="http://www.andreas-schrade.de/2015/02/16/android-tutorial-how-to-create-a-kiosk-mode-in-android/" rel="nofollow">here</a> </p>
<p>there is one method in that article and its called from a non-UI thread. The author spawned another child thread and ... | Please take a look at this code i found on android weekly here there is one method in that article and its called from a non-UI thread. The author spawned another child thread and started an activity: [CODE] My question is how is this possible to startActivity from a non-uiThread ? I thought this was discouraged or imp... | android|thread-safety | 1 | 2015-03-02T20:15:01.807Z | 2,015 | 3 | 20 | 0 | 811 | 2 | 339 | 49 | 2 | 1 | true | false | false | false | false | false | low |
28,818,705 | i want to display image in image view from this image tag in android | <p><strong>How to display images from this HREF in android.</strong></p>
<p>http://www.sandesh.com/article.aspx?newsid=3048433'>http://www.sandesh.com/uploadimages/national/News2_20150302194317737.jpg' /></p> | How to display images from this HREF in android. http://www.sandesh.com/article.aspx?newsid=3048433'>http://www.sandesh.com/uploadimages/national/News2_20150302194317737.jpg' /> | android | -1 | 2015-03-02T20:16:24.693Z | 2,015 | 3 | 20 | 0 | 51 | 2 | 177 | 68 | 1 | 0 | false | false | false | false | false | true | negative |
28,818,735 | Is it bad practice to make a method package or private for the sake of testing? | <p>In Java (in an Android specific context, but this should apply across the board), is it considered bad practice to remove a <code>private</code> modifier - and thus be <code>package</code> specific - for the sake of unit testing?</p>
<p>Say I have something like the following:</p>
<pre><code>public void init(long ... | In Java (in an Android specific context, but this should apply across the board), is it considered bad practice to remove a private modifier - and thus be package specific - for the sake of unit testing? Say I have something like the following: [CODE] In this case, I have 2 public methods that should definitely be test... | java|android|unit-testing|junit|mockito | 1 | 2015-03-02T20:18:34.350Z | 2,015 | 3 | 20 | 0 | 714 | 2 | 911 | 79 | 5 | 1 | true | false | false | false | false | false | low |
28,818,769 | Is it possible to manupulate ActivityManager or PackageManager with root permission? | <p>I'd like to manipulate <code>Intent</code> routing without modifying the Android platform.</p>
<p>Is it possible to manipulate <code>ActivityManager</code> or <code>PackageManager</code> if we have root permission (superuser)?</p> | I'd like to manipulate Intent routing without modifying the Android platform. Is it possible to manipulate ActivityManager or PackageManager if we have root permission (superuser)? | android|android-activity|android-package-managers | 1 | 2015-03-02T20:21:09.567Z | 2,015 | 3 | 20 | 0 | 116 | 0 | 180 | 84 | 3 | 0 | false | true | false | false | false | false | low |
28,818,782 | debugging methods in android atudio | <p>I started to write code for android. I'm a beginner in this field.</p>
<p>I'm using Android Studio and using the emulator for debugging.
I have a very basic question:
Is there a convenient way to click buttons, write text etc.
in the emulator (like it is done on the device) and set breakpoints inside the callback f... | I started to write code for android. I'm a beginner in this field. I'm using Android Studio and using the emulator for debugging. I have a very basic question: Is there a convenient way to click buttons, write text etc. in the emulator (like it is done on the device) and set breakpoints inside the callback functions to... | android-studio | 0 | 2015-03-02T20:21:59.373Z | 2,015 | 3 | 20 | 0 | 26 | 0 | 486 | 35 | 1 | 0 | false | true | false | false | false | false | zero |
28,818,926 | Prevent clicking on a button in an Activity while showing a Fragment | <p>I am having a problem with the interaction between an <code>Activity</code> and a <code>Fragment</code>.</p>
<p>I have a <code>main</code> <code>Activity</code> and an <code>into</code> <code>Activity</code> with layout buttons and text inputs. When I open the <code>Fragment</code> in the <code>main</code> <code>Ac... | I am having a problem with the interaction between an Activity and a Fragment . I have a main Activity and an into Activity with layout buttons and text inputs. When I open the Fragment in the main Activity , I can still click on a button in the Activity and open the Fragment again , or enter text in the text inputs. I... | android|fragment | 2 | 2015-03-02T20:31:08.173Z | 2,015 | 3 | 20 | 0 | 1,734 | 2 | 478 | 68 | 2 | 1 | true | false | false | false | false | false | low |
28,818,984 | css-fix for screen jumping up and down when scroll on android-devices | <p>Some bootstrap themes(not sure if it's just bootstrap) have the annoying issue when scrolling upp and down on a android-device, the screen is jumping up or down a few pixels. </p>
<p>If you have a android-device and for example goes to this adress: <a href="http://clapat.ro/themes/newave/">http://clapat.ro/themes/n... | Some bootstrap themes(not sure if it's just bootstrap) have the annoying issue when scrolling upp and down on a android-device, the screen is jumping up or down a few pixels. If you have a android-device and for example goes to this adress: http://clapat.ro/themes/newave/ and do some scrolling, you will see what I mean... | android|css|twitter-bootstrap | 5 | 2015-03-02T20:34:57.280Z | 2,015 | 3 | 20 | 0 | 961 | 1 | 810 | 69 | 3 | 0 | false | false | false | false | false | false | low |
28,819,011 | Can't touch a visible button while the soft-keyboard is active | <p>I'm doing a simple chat-client and wish to be able to write a message in my editText and without closing the soft-keyboard click the "Send"-button which is right next to the editText and is fully visible. This cannot be done currently.</p>
<p><strong>MY XML</strong>
</p>
<pre><code> <FrameLayout
... | I'm doing a simple chat-client and wish to be able to write a message in my editText and without closing the soft-keyboard click the "Send"-button which is right next to the editText and is fully visible. This cannot be done currently. MY XML [CODE] RELEVANT CLASS CODE [CODE] A link to my java- and xml-files as well as... | android|keyboard | 1 | 2015-03-02T20:36:45.967Z | 2,015 | 3 | 20 | 0 | 295 | 0 | 801 | 62 | 2 | 2 | true | true | false | false | false | false | low |
28,819,065 | Layout won't expand with EditText | <p>When I type into the EditText box, the RelativeLayout containing it does not expand. The problem is I want it to.</p>
<p>Here's a visual display of the problem:</p>
<p><img src="https://i.stack.imgur.com/cNnvs.jpg" alt="enter image description here"></p>
<p>There's about 5 lines of gibberish typed in there and y... | When I type into the EditText box, the RelativeLayout containing it does not expand. The problem is I want it to. Here's a visual display of the problem: There's about 5 lines of gibberish typed in there and you can see the 2nd to last line cut off. Up to a maximum of 5 lines should be showing, but they're not, most li... | android|xml|android-layout | 1 | 2015-03-02T20:41:22.663Z | 2,015 | 3 | 20 | 0 | 1,076 | 1 | 547 | 33 | 3 | 1 | true | false | false | false | false | false | low |
28,819,071 | I want to do a calculator for android wear, how can i do the button click event? | <p>I was using this method (the same for normal devices), but doesn't work </p>
<pre><code>btn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
// TODO Auto-generated method stub
}
});`
</code></pre>
<p>How i can do t... | I was using this method (the same for normal devices), but doesn't work [CODE] How i can do the button click? | java|android|eclipse|button|android-activity | -2 | 2015-03-02T20:41:54.120Z | 2,015 | 3 | 20 | 0 | 277 | 2 | 109 | 80 | 5 | 1 | true | false | false | false | false | true | negative |
28,819,131 | WindowManager.addView() crashes | <p>Here is my code :</p>
<pre><code>protected window_fly (Context context) {
WindowManager.LayoutParams params = new WindowManager.LayoutParams (
WindowManager.LayoutParams.TYPE_SYSTEM_OVERLAY,
WindowManager.LayoutParams.FLAG_WATCH_OUTSIDE_TOUCH,
PixelFormat.TRANSLUCENT ) ;
... | Here is my code : [CODE] all in Service context. window_fly is the constructor. If I uncomment wm.addView() and run it, app will fall. Please, tell me possible reasons of it. Sorry for poor English. | android|sdk | 0 | 2015-03-02T20:46:21.210Z | 2,015 | 3 | 20 | 0 | 1,320 | 1 | 198 | 31 | 2 | 1 | true | false | false | false | false | false | zero |
28,819,134 | LibGDX - touchUp event not being handled by another Actor | <p>I have a mobile game which has a level select menu. The menu consists of 15 level buttons per page and of 4 pages. Page can be changed by swiping the screen. Swiping can be done over the buttons (it can start and end on a button) without triggering any of them. Buttons can be tapped which should activate their touch... | I have a mobile game which has a level select menu. The menu consists of 15 level buttons per page and of 4 pages. Page can be changed by swiping the screen. Swiping can be done over the buttons (it can start and end on a button) without triggering any of them. Buttons can be tapped which should activate their touchUp(... | java|android|user-interface|libgdx | 1 | 2015-03-02T20:46:22.703Z | 2,015 | 3 | 20 | 0 | 372 | 0 | 2,305 | 57 | 4 | 1 | true | true | false | false | false | false | low |
28,819,180 | How to protect against automated scans and calls of non-exported activities | <p>My company has some android apps on Google Play that are occasionally targeted by malicious automated tools that scan and launch all activities in the apps. (I was able to detect these scans because they generate a lot of crash reports.) What I find most worrisome about these scans is that they are able to make ex... | My company has some android apps on Google Play that are occasionally targeted by malicious automated tools that scan and launch all activities in the apps. (I was able to detect these scans because they generate a lot of crash reports.) What I find most worrisome about these scans is that they are able to make explici... | android|android-intent | 0 | 2015-03-02T20:49:05.733Z | 2,015 | 3 | 20 | 0 | 42 | 0 | 900 | 75 | 2 | 0 | false | true | false | false | false | false | zero |
28,819,219 | ImageView is not loading correctly | <p>In my Activity I have one ImageView </p>
<p>XML Code:
</p>
<pre><code><!-- FOTO LATERAL! -->
<ImageView
android:id="@+id/simbolo_raca"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
... | In my Activity I have one ImageView XML Code: [CODE] This is the Activity: [CODE] The first time I call this method, (position = 0) the image doesnt loads. After that, the image is loading correctly. How I have to do to load the image the first time? (I can not load the image in the XML using android:src="@drawable/x" ... | android|image | 0 | 2015-03-02T20:51:50.790Z | 2,015 | 3 | 20 | 0 | 86 | 2 | 375 | 34 | 2 | 2 | true | false | false | false | false | false | zero |
28,819,258 | How to add a sqlite library in Eclipse java edition? | <p>I'm working with a cocos2dx c++ android project that I compile with Eclipse (java edition).
Everything has worked great until I try to use sqlite3.</p>
<p>I'm pretty sure the code is correct.</p>
<pre><code>sqlite3 *pdb = NULL;
int result;
std::string path = FileUtils::getInstance()->getWritablePath();
path.ap... | I'm working with a cocos2dx c++ android project that I compile with Eclipse (java edition). Everything has worked great until I try to use sqlite3. I'm pretty sure the code is correct. [CODE] I get these errors "undefined reference to 'sqlite3_get_table'" "undefined reference to 'sqlite3_open'" I had a similar problem ... | android|c++|eclipse|cocos2d-x|undefined-reference | 0 | 2015-03-02T20:55:05.353Z | 2,015 | 3 | 20 | 0 | 372 | 1 | 491 | 52 | 5 | 1 | true | false | false | false | false | false | zero |
28,819,492 | solution for getSystemService function at Android | <p>I want to test something about usb devices, I try to write a small program, I am sure that it is wrong but this is not the point of this question.
I am sure that my imports are OK but the Android Studio refused to build this class with an error about the GetSystemService(). I have the message:</p>
<blockquote>
<... | I want to test something about usb devices, I try to write a small program, I am sure that it is wrong but this is not the point of this question. I am sure that my imports are OK but the Android Studio refused to build this class with an error about the GetSystemService(). I have the message: Error:(65, 43) error: can... | java|android | 1 | 2015-03-02T21:10:27.127Z | 2,015 | 3 | 21 | 0 | 7,536 | 1 | 723 | 49 | 2 | 1 | true | false | true | false | false | false | low |
28,819,522 | GoogleMap.OnCameraChangeListener onCameraChange works with delays | <p>I need to listen CameraPosition changes to draw a custom compass. The problem that: <code>GoogleMap.OnCameraChangeListener onCameraChange</code> </p>
<ul>
<li>this listener may not be notified of intermediate camera positions.</li>
<li>it fires with random delays (can not understand why)</li>
</ul>
<p>Is there are... | I need to listen CameraPosition changes to draw a custom compass. The problem that: GoogleMap.OnCameraChangeListener onCameraChange this listener may not be notified of intermediate camera positions. it fires with random delays (can not understand why) Is there are any way to listen to CameraPosition bearing changes? (... | android|google-maps|google-maps-android-api-2 | 1 | 2015-03-02T21:12:08.160Z | 2,015 | 3 | 21 | 0 | 2,470 | 2 | 407 | 65 | 3 | 0 | false | false | false | false | false | false | low |
28,819,587 | Android Studio Program Crash | <p>I have two activities Main, and Game_Activity
When my app launches and I click a button to take me to the Game_Activity it crashes...
Main</p>
<p>@Override</p>
<pre><code>protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
B... | I have two activities Main, and Game_Activity When my app launches and I click a button to take me to the Game_Activity it crashes... Main @Override [CODE] Game_Activity [CODE] Here is Logcat sorry for last lines but couldn't format it... :/ [CODE] XML Game_Activity [CODE] Menu [CODE] | java|android|android-intent|android-activity|android-studio | 0 | 2015-03-02T21:16:30.117Z | 2,015 | 3 | 21 | 0 | 477 | 2 | 285 | 28 | 5 | 5 | true | false | false | false | false | false | zero |
28,819,609 | I've created a quiz however I'm not sure how to implement the capturing of the buttons pressed to check against the answer using Parse | <p>I've got four buttons and a textView. The text in the textView is retrieved from Parse.com using the following code:</p>
<pre><code>final ParseQuery<ParseObject> quizOne = ParseQuery.getQuery("Quiz");
quizOne.getFirstInBackground(new GetCallback<ParseObject>() {
public void done(ParseObject... | I've got four buttons and a textView. The text in the textView is retrieved from Parse.com using the following code: [CODE] and here is the code for the buttons: [CODE] I want to be able to capture the buttons pressed and show like a result screen after. How would I go by doing this, any pointers? Thanks. | java|android|parse-platform | 1 | 2015-03-02T21:18:01.527Z | 2,015 | 3 | 21 | 0 | 52 | 1 | 306 | 134 | 3 | 2 | true | false | false | false | false | false | low |
28,819,625 | Dynamic User-Managed Augmented Reality App | <p>Im trying to create an app with a very simple but apparently unexplored concept:</p>
<p>I want to be able, throught a website, to upload targets and the multimedia associated to them, and store them in some kind of backend.</p>
<p>Then I want to be able, in my application (lets say android for default, but multi-p... | Im trying to create an app with a very simple but apparently unexplored concept: I want to be able, throught a website, to upload targets and the multimedia associated to them, and store them in some kind of backend. Then I want to be able, in my application (lets say android for default, but multi-platform would be ne... | android|augmented-reality|vuforia|metaio | 1 | 2015-03-02T21:18:58.257Z | 2,015 | 3 | 21 | 0 | 519 | 1 | 1,427 | 42 | 4 | 0 | false | false | false | false | false | false | low |
28,819,626 | How to send log to JSON web service? | <p>I am thinking about the best way to send log information periodically from my android device to the server. So far I have not found any resources on how this is done properly. I already have a server that accepts JSON and can store the log information in SQL. How do I package up the log to send over JSON? I would pr... | I am thinking about the best way to send log information periodically from my android device to the server. So far I have not found any resources on how this is done properly. I already have a server that accepts JSON and can store the log information in SQL. How do I package up the log to send over JSON? I would prefe... | java|android|json|web-services|logback | 2 | 2015-03-02T21:19:02.197Z | 2,015 | 3 | 21 | 0 | 1,030 | 2 | 481 | 36 | 5 | 0 | false | false | false | false | false | false | low |
28,819,685 | Error when making muPdf on OS X Yosemite | <p>I get this error when trying to make muPdf on OS X Yosemite</p>
<blockquote>
<p>fatal error: 'X11/Xlib.h' file not found</p>
</blockquote>
<p>I trying this <a href="https://stackoverflow.com/questions/27774396/error-in-making-building-mupdf-on-mac-os-x">answer</a>, without any effect...</p> | I get this error when trying to make muPdf on OS X Yosemite fatal error: 'X11/Xlib.h' file not found I trying this answer , without any effect... | android|osx-yosemite|mupdf | 1 | 2015-03-02T21:22:58.273Z | 2,015 | 3 | 21 | 0 | 250 | 1 | 145 | 40 | 3 | 0 | false | false | false | false | false | false | low |
28,819,743 | Weird JNI crash when using FileChannel.transferTo | <p>I am using FileChannel.transferTo method to trasnfer bytes from my local file to a network socket. When the other end of the socket closes the connection, either using .close on the channel, or due to some error, I get a very long <a href="http://pastebin.com/UZDQYdGC" rel="nofollow">JNI error stack-Strace</a> in my... | I am using FileChannel.transferTo method to trasnfer bytes from my local file to a network socket. When the other end of the socket closes the connection, either using .close on the channel, or due to some error, I get a very long JNI error stack-Strace in my android application. The parts that I could make sense of ar... | java|android|java-native-interface|nio | 0 | 2015-03-02T21:26:27.883Z | 2,015 | 3 | 21 | 0 | 339 | 0 | 1,256 | 49 | 4 | 1 | true | true | false | false | false | false | zero |
28,819,747 | A query pertaining conversion of edittext to int functionality in Android Studio | <p>I'm new to Android Studio. So I have an edittext with an id of edittext1. I want to create a variable, x, which will be equal to the numeric input which is made by the user inside of the box. I can manipulate this later. I then want to show that input as the text of a different edittext, named edittext 2. How would ... | I'm new to Android Studio. So I have an edittext with an id of edittext1. I want to create a variable, x, which will be equal to the numeric input which is made by the user inside of the box. I can manipulate this later. I then want to show that input as the text of a different edittext, named edittext 2. How would I d... | android|android-edittext|int | 0 | 2015-03-02T21:26:47.943Z | 2,015 | 3 | 21 | 0 | 88 | 1 | 494 | 80 | 3 | 1 | true | false | false | false | false | false | zero |
28,819,803 | Set progress bar on top of RecyclerView and remove after data is loaded | <p>I want to have a loading icon that is displayed on top of where a RecyclerView would be, and disappear once the data is finished loading</p>
<p>It would look like:</p>
<p><img src="https://i.stack.imgur.com/JbLSi.png" alt="enter image description here"></p>
<p>Can anyone help me out?</p>
<p>I have the code which... | I want to have a loading icon that is displayed on top of where a RecyclerView would be, and disappear once the data is finished loading It would look like: Can anyone help me out? I have the code which shows a TextView above the RecyclerView that says "Loading..." and disappears after the data is loaded, but the Recyc... | android|android-layout | 18 | 2015-03-02T21:31:34.297Z | 2,015 | 3 | 21 | 0 | 29,228 | 6 | 558 | 71 | 2 | 2 | true | false | true | true | true | false | medium |
28,819,857 | Xamarin: Progress Bar Change Color | <p>I have a ProgressBar xml:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ProgressBar
android:... | I have a ProgressBar xml: [CODE] And I need change default color (grey). I need change the color programatically or xml forms. In my Activity I have: [CODE] | android|visual-studio-2012|colors|xamarin|android-progressbar | 3 | 2015-03-02T21:35:36.663Z | 2,015 | 3 | 21 | 0 | 5,825 | 2 | 156 | 34 | 5 | 2 | true | false | true | false | false | false | low |
28,819,902 | How to make setSelection a Spinner with BaseAdapter? | <p>I have a Spinner using BaseAdapter with some Objects. I want to do select an Object correctly but I can't do it.</p>
<p>How could I do setSelection in my Object ?</p>
<p><strong>Object</strong></p>
<pre><code>public class Estado{
private Integer id;
private String estado;
}
</code></pre>
<p><strong>BaseAda... | I have a Spinner using BaseAdapter with some Objects. I want to do select an Object correctly but I can't do it. How could I do setSelection in my Object ? Object [CODE] BaseAdapter [CODE] Activity [CODE] | android | 0 | 2015-03-02T21:37:57.527Z | 2,015 | 3 | 21 | 0 | 1,246 | 1 | 204 | 52 | 1 | 3 | true | false | false | false | false | false | zero |
28,819,926 | Create Layer-list with rotated shape programmatically | <p>I am currently trying to convert the following XML to be created programmatically so I can play on the shape color programmatically without harding coding 3 different same shape with different color.</p>
<pre><code><layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:id="@a... | I am currently trying to convert the following XML to be created programmatically so I can play on the shape color programmatically without harding coding 3 different same shape with different color. [CODE] | android|android-drawable|xml-drawable | 0 | 2015-03-02T21:40:11.090Z | 2,015 | 3 | 21 | 0 | 1,630 | 1 | 206 | 53 | 3 | 1 | true | false | false | false | false | false | zero |
28,819,959 | Realm.getInstance(context) throws Annotation processor may not have been executed | <p>When trying to get Realm instance i got the following exception -</p>
<pre><code>io.realm.exceptions.RealmException: Could not find the generated io.realm.HallOfFameHolderRealmProxy class: Annotation processor may not have been executed.
</code></pre>
<p>My class code is -</p>
<pre><code>@RealmClass
</code></pre>... | When trying to get Realm instance i got the following exception - [CODE] My class code is - [CODE] public class HallOfFameHolder extends RealmObject { [CODE] } I'm using Eclipse and realm-0.78.0.jar. How it can be resolved? | android|eclipse|exception|annotations|realm | 0 | 2015-03-02T21:42:04.450Z | 2,015 | 3 | 21 | 0 | 385 | 2 | 223 | 81 | 5 | 3 | true | false | false | false | false | false | zero |
28,820,060 | Time to detect Wink on Google Glass | <p>I want to increase the time that Google Glass needs to detect a Wink.</p>
<p>I need that the Wink gesture is longer than the natural wink.</p>
<p>How can I do this?</p> | I want to increase the time that Google Glass needs to detect a Wink. I need that the Wink gesture is longer than the natural wink. How can I do this? | android|google-glass|detection|google-gdk|android-gesture | 2 | 2015-03-02T21:47:13.937Z | 2,015 | 3 | 21 | 0 | 77 | 0 | 150 | 35 | 5 | 0 | false | true | false | false | false | false | low |
28,820,085 | Hide a Button if EditText field is less than or equal to 13.5 & greater than 33.0 - Java Android | <p>Hope you all are well.</p>
<p>I would like to hide a Button (btnAppointment) if my test readings in my EditText are below or equal 13.5 or greater than 33 in my Android Application window. The Button (btnAppointment) should only appear on the screen if my EditText field inputted values are between 13.60 and 32.99. ... | Hope you all are well. I would like to hide a Button (btnAppointment) if my test readings in my EditText are below or equal 13.5 or greater than 33 in my Android Application window. The Button (btnAppointment) should only appear on the screen if my EditText field inputted values are between 13.60 and 32.99. And not be ... | java|android|button|if-statement|buttonclick | 0 | 2015-03-02T21:48:25.023Z | 2,015 | 3 | 21 | 0 | 640 | 2 | 736 | 96 | 5 | 1 | true | false | false | false | false | false | zero |
28,820,149 | How to retrieve row data from SQL database - Android | <p>I add data into a database using this code,</p>
<pre><code>/**
* Storing deck
* */
public void addDeck(String id, String name, String uid, String did) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues values = new ContentValues();
values.put(KEY_DECK_ID, id); // ID
values.put(KEY_DE... | I add data into a database using this code, [CODE] Now I want to be able to access each row, how can I do this? This is my current code to access the rows in the database [CODE] This code only returns the first row, how can I get it to return every row? | android|sql | 0 | 2015-03-02T21:53:11.027Z | 2,015 | 3 | 21 | 0 | 210 | 1 | 253 | 52 | 2 | 2 | true | false | false | false | false | false | zero |
28,820,171 | Google Maps for Business crashing app with R$styleable NoClassDefFoundError | <p>Converting one of my apps over to use the new Google Maps for Business package and now I am stuck with a crash every time our activity attempts to call setContentView() in our onCreate() method.</p>
<p>build.gradle:</p>
<pre><code>dependencies {
// external dependencies: will need network connection if not alr... | Converting one of my apps over to use the new Google Maps for Business package and now I am stuck with a crash every time our activity attempts to call setContentView() in our onCreate() method. build.gradle: [CODE] activity_location.xml: [CODE] Crash: [CODE] I have followed the guide provided by Google ( https://devel... | android|google-maps | 2 | 2015-03-02T21:54:08.867Z | 2,015 | 3 | 21 | 0 | 561 | 2 | 544 | 75 | 2 | 3 | true | false | false | false | false | false | low |
28,820,194 | Edit a single point in LineSeries oxyplot | <p>I am currently exploring oxyplot and wanted to edit a single point in my lineseries. (see image)
<img src="https://i.stack.imgur.com/Ll08J.png" alt="enter image description here"> </p>
<p>For example I want to edit the second point. I want it to be twice the size that it normally is or change the colour. Is that po... | I am currently exploring oxyplot and wanted to edit a single point in my lineseries. (see image) For example I want to edit the second point. I want it to be twice the size that it normally is or change the colour. Is that possible without enlarging/changing the colour of all the other points? | c#|android|xamarin|xamarin.forms|oxyplot | 0 | 2015-03-02T21:55:58.893Z | 2,015 | 3 | 21 | 0 | 519 | 1 | 294 | 41 | 5 | 0 | false | false | false | false | false | false | zero |
28,820,200 | Is layout_above broken? this simple layout is driving me crazy | <p>here is my code</p>
<pre><code><TextView
android:id="@+id/BIG"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="BIG"
android:textSize="50dp" />
<TextView
android:id="@+id/small"
android:layout_width="wrap_content"
android:layout_height=... | here is my code [CODE] this is the result I am getting (actual screenshot). as you can see, an entire text view has disapeared. this is the result I want (edited on mspaint) I cannot use align_bottom because of the auto padding. here is what it looks like if I use align_bottom instead of align_Baseline(actual screensho... | android|android-layout|android-relativelayout | 2 | 2015-03-02T21:56:17.010Z | 2,015 | 3 | 21 | 0 | 195 | 2 | 322 | 62 | 3 | 1 | true | false | false | false | false | false | low |
28,820,225 | Android Broadcasting / Receiving Data without Wifi Hotspot or Wifi Direct | <p>My question is that is it possible to send and receive data between multiple android devices via broadcasting over wifi without establishing p2p connection? </p>
<p>Our professor asked us to design a wireless network system in which you broadcast a message within your android phone, and the other android phones nea... | My question is that is it possible to send and receive data between multiple android devices via broadcasting over wifi without establishing p2p connection? Our professor asked us to design a wireless network system in which you broadcast a message within your android phone, and the other android phones nearby receive ... | android|wifi|broadcast|wifip2p|wireless | 3 | 2015-03-02T21:58:02.243Z | 2,015 | 3 | 21 | 0 | 5,161 | 2 | 2,343 | 73 | 5 | 0 | false | false | true | false | false | false | low |
28,820,230 | Failing to recieve UDP byte on Android app | <p>I am programming an android app to receive a packet that is being broadcast on the broadcast address of a network (This has been tested and the packet does get broadcast and gets received in the "UDP Sender/Receiver" application as well.) I cannot get my app to pick it up and tell me that it exists. The devices are ... | I am programming an android app to receive a packet that is being broadcast on the broadcast address of a network (This has been tested and the packet does get broadcast and gets received in the "UDP Sender/Receiver" application as well.) I cannot get my app to pick it up and tell me that it exists. The devices are on ... | android|udp|datagram | 0 | 2015-03-02T21:58:08.823Z | 2,015 | 3 | 21 | 0 | 184 | 1 | 516 | 42 | 3 | 2 | true | false | false | false | false | false | zero |
28,820,387 | Programmatically create a textview with 0dp and layout weight 1 | <p>I am working on an Android project and I have an issue with the layout. </p>
<p>What I have is a <code>JSONArray</code> that I loop round inflating a new TableRow and within the loop round another array within the JSON array to populate it with fields. The fields are populated by inflating an XML file and adding th... | I am working on an Android project and I have an issue with the layout. What I have is a JSONArray that I loop round inflating a new TableRow and within the loop round another array within the JSON array to populate it with fields. The fields are populated by inflating an XML file and adding this view to the table row.... | android|xml | 3 | 2015-03-02T22:08:46.403Z | 2,015 | 3 | 22 | 0 | 1,492 | 3 | 1,187 | 63 | 2 | 4 | true | false | false | false | false | false | low |
28,820,419 | IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation in Android unit test | <p>I'm struggling getting a unit test in Android Studio to work on some existing code. I'm kepp getting the IllegalAccessError and can't seem to find a solution for it. Any help is very needed.</p>
<p>I'm using Android Studio 1.1.0, gradle 1.1.0 and Espresso 2.0.</p>
<p>The stacktrace:</p>
<pre><code>java.lang.NoCla... | I'm struggling getting a unit test in Android Studio to work on some existing code. I'm kepp getting the IllegalAccessError and can't seem to find a solution for it. Any help is very needed. I'm using Android Studio 1.1.0, gradle 1.1.0 and Espresso 2.0. The stacktrace: [CODE] This is the test case, it seems to fail on ... | java|android|unit-testing|android-gradle-plugin|android-espresso | 0 | 2015-03-02T22:10:49.960Z | 2,015 | 3 | 22 | 0 | 3,197 | 3 | 1,122 | 110 | 5 | 6 | true | false | true | false | false | false | zero |
28,820,439 | Saving texture with Preferences | <p>So what Im trying to achive is: When the user purchases a new item (a texture) they can click a button to replace the old Item(texture) with the new one.
What got in my mind first was Objectmaps. So I created this:</p>
<pre><code>ObjectMap<Integer, Texture> screenMap = new ObjectMap<Integer, Texture>()... | So what Im trying to achive is: When the user purchases a new item (a texture) they can click a button to replace the old Item(texture) with the new one. What got in my mind first was Objectmaps. So I created this: [CODE] Im only using two items at the moment just to get a hang of it: [CODE] Here´s the methods I use to... | android|libgdx|android-preferences|object-object-mapping | 0 | 2015-03-02T22:12:15.783Z | 2,015 | 3 | 22 | 0 | 102 | 2 | 643 | 31 | 4 | 4 | true | false | false | false | false | false | zero |
28,820,455 | Android tabhost with different activities | <p>I already wrote 2 activities and now I want them to be in a tabHost (2 tabs, each activity in a tab).</p>
<p>I saw some code but none of them was good for me.
The 2 activities are complicated so I can't marge them into one class.</p>
<p>What can I do ? </p>
<p>Thanks. </p> | I already wrote 2 activities and now I want them to be in a tabHost (2 tabs, each activity in a tab). I saw some code but none of them was good for me. The 2 activities are complicated so I can't marge them into one class. What can I do ? Thanks. | android|android-tabhost | 1 | 2015-03-02T22:13:27.490Z | 2,015 | 3 | 22 | 0 | 432 | 1 | 246 | 41 | 2 | 0 | false | false | false | false | false | false | low |
28,820,467 | Is it possible to dump/inspect the back stack? | <p>For debugging purposes I'd like to be able to log the activities in the back stack, but I've not seen any API to do that nor can I see it mentioned while searching. Is there a way to do so?</p> | For debugging purposes I'd like to be able to log the activities in the back stack, but I've not seen any API to do that nor can I see it mentioned while searching. Is there a way to do so? | android|android-activity|back-stack | 1 | 2015-03-02T22:14:19.220Z | 2,015 | 3 | 22 | 0 | 2,193 | 3 | 189 | 46 | 3 | 0 | false | false | false | false | false | false | low |
28,820,481 | How to make proportional layouts in android? | <p>I have a design that I need to follow in my app. In it there are several buttons, images and textviews placed all over the screen (some are aligned to the left, some to the right, some are centered etc). What I need to do is make all those elements appear EXACTLY as they are in the design image. The problem is, if I... | I have a design that I need to follow in my app. In it there are several buttons, images and textviews placed all over the screen (some are aligned to the left, some to the right, some are centered etc). What I need to do is make all those elements appear EXACTLY as they are in the design image. The problem is, if I tr... | android|xml|layout|screen-size | 1 | 2015-03-02T22:15:45.660Z | 2,015 | 3 | 22 | 0 | 239 | 1 | 1,270 | 44 | 4 | 0 | false | false | false | false | false | false | low |
28,820,593 | LogBack - Setting Logging Pattern with App Info | <p>I have been learning how to use LogBack Android and I was wondering how do you set the pattern so it always includes certain information without having to pass it in <code>log.error</code>, <code>log.info</code>.</p>
<p>I know setting a pattern is done:</p>
<pre><code><appender name="STDOUT" class="ch.qos.logba... | I have been learning how to use LogBack Android and I was wondering how do you set the pattern so it always includes certain information without having to pass it in log.error , log.info . I know setting a pattern is done: [CODE] How would I include other information such as UserId (The user that is logged into my appl... | android|logging|logback | 1 | 2015-03-02T22:24:31.617Z | 2,015 | 3 | 22 | 0 | 125 | 1 | 397 | 47 | 3 | 1 | true | false | false | false | false | false | low |
28,820,701 | JNI multiple registernatives calls | <p>Please see the below code snippet. Basically I have two Java classes that I want to associate native methods with. I switch the jclass object names between "clazz" and "clazz2". Whichever one is set as clazz2 fails to be loaded properly and causes the application to crash because of the missing native calls. Any id... | Please see the below code snippet. Basically I have two Java classes that I want to associate native methods with. I switch the jclass object names between "clazz" and "clazz2". Whichever one is set as clazz2 fails to be loaded properly and causes the application to crash because of the missing native calls. Any ideas ... | android|c++|qt|android-ndk|java-native-interface | 1 | 2015-03-02T22:31:14.230Z | 2,015 | 3 | 22 | 0 | 2,209 | 1 | 694 | 34 | 5 | 1 | true | false | false | false | false | false | low |
28,820,735 | Filter several ListViews via SearchView | <p>I have implemented precisely ONE ListView (with header attached) filtering according to SearchView input. Now I'm planning to make SearchView filter several ListViews and I wonder how to do it. I'm stuck and have no ideas. The main principle of filtering is such:
We have several categories(i.e. accomodation, places... | I have implemented precisely ONE ListView (with header attached) filtering according to SearchView input. Now I'm planning to make SearchView filter several ListViews and I wonder how to do it. I'm stuck and have no ideas. The main principle of filtering is such: We have several categories(i.e. accomodation, places of ... | android|android-listview|filter | 0 | 2015-03-02T22:33:29.623Z | 2,015 | 3 | 22 | 0 | 126 | 2 | 1,287 | 39 | 3 | 4 | true | false | false | false | false | false | zero |
28,820,788 | Is there a way to save the instance of a variable during debugging to reuse? | <p>I am debugging something and I end up in a function that takes as parameters a keymap with many key-value pairs.<br>
I would like to be able to reproduce this exact flow but I would be interested in re-using this exactly map (I mean the contents).<br>
The map is populated by other parts of the program and going over... | I am debugging something and I end up in a function that takes as parameters a keymap with many key-value pairs. I would like to be able to reproduce this exact flow but I would be interested in re-using this exactly map (I mean the contents). The map is populated by other parts of the program and going over the parts ... | java|android|debugging|android-studio | 1 | 2015-03-02T22:39:12.450Z | 2,015 | 3 | 22 | 0 | 36 | 1 | 599 | 76 | 4 | 0 | false | false | false | false | false | false | low |
28,820,808 | calculating BOUNDS of google maps | <p>m working with google maps for the first time. and my app api needs bounds of google map as a paramater. i dont know how to calculate it? </p>
<p>I have searched a bit but couldnt able to get anything.</p>
<pre><code>33.867269,151.200857,-33.862022,151.215449 //look like this..
</code></pre>
<p>Thanks..</p> | m working with google maps for the first time. and my app api needs bounds of google map as a paramater. i dont know how to calculate it? I have searched a bit but couldnt able to get anything. [CODE] Thanks.. | android|google-maps | 0 | 2015-03-02T22:41:01.603Z | 2,015 | 3 | 22 | 0 | 935 | 1 | 209 | 33 | 2 | 1 | true | false | false | false | false | false | zero |
28,820,822 | Show previous sharedpreferences on activity oncreate | <p>I am developing android application, which has one login view and one user details view. On login I put user details in SharedPreferences. On the second view I am having reset button. On click on reset button I delete all data in shared preferences and I redirect application on the login page, on login I put user de... | I am developing android application, which has one login view and one user details view. On login I put user details in SharedPreferences. On the second view I am having reset button. On click on reset button I delete all data in shared preferences and I redirect application on the login page, on login I put user detai... | android|sharedpreferences|oncreate | 1 | 2015-03-02T22:42:12.630Z | 2,015 | 3 | 22 | 0 | 57 | 0 | 489 | 52 | 3 | 0 | false | true | false | false | false | false | low |
28,820,829 | How to see which position in a listivew contains the checkbox that is being clicked | <p>In my app I have an ArrayList being held in a class (ClassList), and a ListView using a custom ArrayAdapter to hold this ArrayList. The ArrayAdapter holds views containing a TextView and a CheckBox. Here is the class being held in the ArrayList :</p>
<pre><code>public class Assignment {
private String mTitle;
pri... | In my app I have an ArrayList being held in a class (ClassList), and a ListView using a custom ArrayAdapter to hold this ArrayList. The ArrayAdapter holds views containing a TextView and a CheckBox. Here is the class being held in the ArrayList : [CODE] and here is my custom adapter: [CODE] I would like mPosition in th... | android|android-listview|android-checkbox | 0 | 2015-03-02T22:42:57.717Z | 2,015 | 3 | 22 | 0 | 40 | 2 | 498 | 83 | 3 | 2 | true | false | false | false | false | false | zero |
28,820,982 | SocialAuth - Can't get location through Facebook | <p>I am currently attempting to generate a user profile in an Android application through the users existing social network data. I am using the SocialAuth library to login and pull the data out of the application and populate some text fields in a fragment.</p>
<p>I am currently using Facebook and Twitter for this bu... | I am currently attempting to generate a user profile in an Android application through the users existing social network data. I am using the SocialAuth library to login and pull the data out of the application and populate some text fields in a fragment. I am currently using Facebook and Twitter for this but I am havi... | android|facebook|twitter|socialauth | 1 | 2015-03-02T22:55:13.190Z | 2,015 | 3 | 22 | 0 | 178 | 0 | 1,088 | 48 | 4 | 2 | true | true | false | false | false | false | low |
28,821,018 | findViewById() not working when using a seperate class | <p>Hi I am new to Android</p>
<p>I would like keep the following code seperatly from my MainActivity file. However, when I try to findViewById() inside the seperate class, I get the error</p>
<blockquote>
<p>"cannot be resolved"</p>
</blockquote>
<p>Now I know I cannot extend the MainActivity class as it will lead... | Hi I am new to Android I would like keep the following code seperatly from my MainActivity file. However, when I try to findViewById() inside the seperate class, I get the error "cannot be resolved" Now I know I cannot extend the MainActivity class as it will lead to stack overflow, but could someone tell me how to go ... | java|android|findviewbyid | 1 | 2015-03-02T22:57:59.673Z | 2,015 | 3 | 22 | 0 | 3,025 | 4 | 375 | 54 | 3 | 1 | true | false | true | false | false | false | low |
28,821,020 | Android set Text in Dialog 1 from Dialog 2? | <p>I have 2 Dialogs. One is a Normal Input Dialog, and the second is a DatePickerDialog. What I am trying to do is set the Content of one of the TextView is the First Dialog to the Date selected in the DatePickerDialog as Follows:</p>
<p>DIALOG 1:</p>
<pre><code>public void showEventDialog() {
dialog = new Dialog... | I have 2 Dialogs. One is a Normal Input Dialog, and the second is a DatePickerDialog. What I am trying to do is set the Content of one of the TextView is the First Dialog to the Date selected in the DatePickerDialog as Follows: DIALOG 1: [CODE] AND DIALOG 2: [CODE] However when I Try to set the Text of the TextView in ... | android|android-dialog | 0 | 2015-03-02T22:58:00.570Z | 2,015 | 3 | 22 | 0 | 72 | 1 | 490 | 43 | 2 | 2 | true | false | false | false | false | false | zero |
28,821,039 | How to change spinner text color in the actionbar | <p>in my project I have this custom layout inflated in the actionbar:</p>
<p><a href="http://oi62.tinypic.com/2zfsieh.jpg" rel="nofollow">Link to image</a></p>
<p>But i would like to have the spinner text of white color.
I've seen a lot of topics on the web about this, but I can't fix the problem yet.
How can I fix t... | in my project I have this custom layout inflated in the actionbar: Link to image But i would like to have the spinner text of white color. I've seen a lot of topics on the web about this, but I can't fix the problem yet. How can I fix this problem? How can I change the text color of my spinner bysetting it to white col... | android|xml|android-layout|colors|spinner | -1 | 2015-03-02T22:59:58.880Z | 2,015 | 3 | 22 | 0 | 770 | 2 | 421 | 49 | 5 | 1 | true | false | false | false | false | true | negative |
28,821,050 | Can we use Google OAuth in any Android application making network calls to third party? | <p>Which library can be used for OAuth implementation in Android?
Does google OAuth client assembly can be used, even if i don't want to use any google login.</p>
<p>Actually , i am developing an Android Application for some www.abc.com client and they want to use OAuth for authentication. Can you please suggest me so... | Which library can be used for OAuth implementation in Android? Does google OAuth client assembly can be used, even if i don't want to use any google login. Actually , i am developing an Android Application for some www.abc.com client and they want to use OAuth for authentication. Can you please suggest me some library ... | android|web-services|authentication|oauth|google-oauth | -1 | 2015-03-02T23:00:58.733Z | 2,015 | 3 | 23 | 0 | 52 | 1 | 329 | 87 | 5 | 0 | false | false | false | false | false | true | negative |
28,821,107 | change the location of android virtual devices | <p>Ive tried all the possible ways I have come across to change the location of where the avds are located, but nothing. The location in preferences is spot on and no matter what, the location stays the same. Ive also added a new path and restarted eclipse after doing so, changed folders, but still nothing, I dont know... | Ive tried all the possible ways I have come across to change the location of where the avds are located, but nothing. The location in preferences is spot on and no matter what, the location stays the same. Ive also added a new path and restarted eclipse after doing so, changed folders, but still nothing, I dont know wh... | android|avd | 1 | 2015-03-02T23:06:06.783Z | 2,015 | 3 | 23 | 0 | 36 | 0 | 337 | 46 | 2 | 0 | false | true | false | false | false | false | low |
28,821,125 | Wait for dialog click to restart an activity | <p>Hello everybody and thanks in advance for the help.</p>
<p>I have two activities. I´m calling a dialog in activity two from activity one.
The thing is that I want the dialog to restart activity one if positive button is pressed, but I can`t see how to do it.</p>
<p>This is my code...</p>
<p>Activity one:</p>
<pr... | Hello everybody and thanks in advance for the help. I have two activities. I´m calling a dialog in activity two from activity one. The thing is that I want the dialog to restart activity one if positive button is pressed, but I can`t see how to do it. This is my code... Activity one: [CODE] Activity two: [CODE] { priva... | android|android-intent|android-alertdialog | 0 | 2015-03-02T23:08:04.007Z | 2,015 | 3 | 23 | 0 | 1,825 | 2 | 523 | 44 | 3 | 5 | true | false | false | false | false | false | zero |
28,821,137 | Android null pointer on addTimedTextSource | <p>I implemented a file chooser on a media player which returns the file paths for an .mp3 and an .srt on the externalSD. The audio plays fine. But when I call addTimedTextSource with the path to the .srt, it throws a null pointer exception. So, I put in an If(file.exists). It also returns a null. I tried moving the fi... | I implemented a file chooser on a media player which returns the file paths for an .mp3 and an .srt on the externalSD. The audio plays fine. But when I call addTimedTextSource with the path to the .srt, it throws a null pointer exception. So, I put in an If(file.exists). It also returns a null. I tried moving the file ... | android|nullpointerexception|srt | 0 | 2015-03-02T23:09:14.757Z | 2,015 | 3 | 23 | 0 | 132 | 1 | 378 | 42 | 3 | 1 | true | false | false | false | false | false | zero |
28,821,165 | Resolution loss scaling image in Picasso | <p>I have a fairly high resolution image which I'm getting from a remote URL and scaling down using Picasso. I've realized that at certain resolutions I get a pixelated image displayed onscreen. </p>
<p>The interesting part is that if I increase the resolution of the image in Picasso and allow ImageView to scale it do... | I have a fairly high resolution image which I'm getting from a remote URL and scaling down using Picasso. I've realized that at certain resolutions I get a pixelated image displayed onscreen. The interesting part is that if I increase the resolution of the image in Picasso and allow ImageView to scale it down, I get no... | java|android|imageview|scaling|picasso | 1 | 2015-03-02T23:12:00.640Z | 2,015 | 3 | 23 | 0 | 1,160 | 0 | 970 | 40 | 5 | 2 | true | true | false | false | false | false | low |
28,821,299 | Android busybox sed: bad option in substitution expression | <p>I need to replace this lines </p>
<pre><code>`<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>`
</code></pre>
<p>with this </p>
<pre><code>`<permission name="android.permission.WRITE_EXTERNAL... | I need to replace this lines [CODE] with this [CODE] with other words, I need to add group gid="media_rw" in permission WRITE_EXTERNAL_STORAGE if it's not included, in file /system/etc/permissions/platform.xml But I get error : bad option in substitution expression. I am using BusyBox v1.22.1 with all applets My code: ... | android|regex|sed|busybox | 1 | 2015-03-02T23:22:26.410Z | 2,015 | 3 | 23 | 0 | 637 | 1 | 440 | 58 | 4 | 2 | true | false | false | false | false | false | low |
28,821,377 | This multi-apk application requires a device with API level 21+ | <p>I want to automate the android test using CI(Jenkins), but I'm getting the following error once I executed the gradle connectedCheck:</p>
<pre><code>:app:connectedAndroidTest
Unable to install /Users/asolano/Projects/Mobile/Android/Integration-Test-ATDroidUtils/app/build/outputs/apk/app-debug-androidTest-unaligned.... | I want to automate the android test using CI(Jenkins), but I'm getting the following error once I executed the gradle connectedCheck: [CODE] This is working fine in the workstation which has the Android Studio installed. But the server does not have Android Studio Installed, only Gradle and Android SDK (Tools and every... | android|jenkins|android-studio|gradle|gradle-android-test-plugi | 2 | 2015-03-02T23:28:36.353Z | 2,015 | 3 | 23 | 0 | 1,238 | 0 | 644 | 63 | 5 | 2 | true | true | false | false | false | false | low |
28,821,413 | Getting compile time error in onClick-cannot resolve "context" | <p>I am trying to make my phone mute when I press the button "Mute" but keep getting the same error.
Here is the Code so far:</p>
<pre><code>public void onClick(View v) {
AudioManager audioManager = (AudioManager)context.getSystemService(Context.AUDIO_SERVICE);
audioManager.setRingerMode(AudioManager.RINGER_MO... | I am trying to make my phone mute when I press the button "Mute" but keep getting the same error. Here is the Code so far: [CODE] context in context.getSystem.<blah> is red and cannot resolve. Any help? Thanks! | java|android | 0 | 2015-03-02T23:31:55.477Z | 2,015 | 3 | 23 | 0 | 71 | 1 | 210 | 62 | 2 | 1 | true | false | false | false | false | false | zero |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.