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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
36,789,111 | Making the GoogleApiClient in Android Studio | <p>I am currently attempting to make a GoogleApiClient. (following the tutorial from: <a href="https://developers.google.com/android/guides/api-client#start_an_automatically_managed_connection" rel="nofollow">https://developers.google.com/android/guides/api-client#start_an_automatically_managed_connection</a>)</p>
<p>... | I am currently attempting to make a GoogleApiClient. (following the tutorial from: https://developers.google.com/android/guides/api-client#start_an_automatically_managed_connection ) However, when I type enableAutoManage, it comes up with an error saying that it is incompatible, and the addApi and other functions don't... | android | 0 | 2016-04-22T08:46:04.053Z | 2,016 | 4 | 8 | 4 | 473 | 1 | 396 | 44 | 1 | 1 | true | false | false | false | false | false | zero |
36,789,137 | Android quiz game add image questions into SQLite database | <p>I am building a quiz game using SQLite database. at the moment the questions are displayed in text, I want to use image as a question. click on "image example" below to see what I mean. the image on the left is how my application is now however I want to make it like the image on the right. how can I do it?</p>
<... | I am building a quiz game using SQLite database. at the moment the questions are displayed in text, I want to use image as a question. click on "image example" below to see what I mean. the image on the left is how my application is now however I want to make it like the image on the right. how can I do it? image examp... | android|sqlite|android-studio | -1 | 2016-04-22T08:46:54.940Z | 2,016 | 4 | 8 | 4 | 1,325 | 2 | 362 | 58 | 3 | 1 | true | false | false | false | false | true | negative |
36,789,161 | Link two layouts in android | <p>I am trying to link my two Android layout and make the process.</p>
<p><strong>MainActivity.java</strong></p>
<pre><code>public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(... | I am trying to link my two Android layout and make the process. MainActivity.java [CODE] RecordActivity.java [CODE] content_main.xml [CODE] recording.xml [CODE] AndroidManifest.xml [CODE] stack trace 04-22 14:24:09.415 4470-4470/com.example.admin.alertapplication E/AndroidRuntime: FATAL EXCEPTION: main Process: com.exa... | java|android | 1 | 2016-04-22T08:48:41.093Z | 2,016 | 4 | 8 | 4 | 70 | 1 | 2,649 | 27 | 2 | 5 | true | false | false | false | false | false | low |
36,789,172 | SugarORM Update | <p>I'm using SugarORM to manage a friends list</p>
<ul>
<li><p>AndroidManifest.xml</p>
<pre><code><application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:name="com.orm.SugarApp">
<meta-data ... | I'm using SugarORM to manage a friends list AndroidManifest.xml [CODE] Friend.java [CODE] activity_main.xml [CODE] MainActivity.java [CODE] The problem is that when I try to update, I got error. For example, I insert 6 rows like below now I update row number 2, error here! Thanks in advance! | java|android|sugarorm | 0 | 2016-04-22T08:49:05.657Z | 2,016 | 4 | 8 | 4 | 124 | 2 | 292 | 15 | 3 | 4 | true | false | false | false | false | false | zero |
36,789,223 | MvvmCross 4.1 upgrade issue IsFragmentCacheable not found | <p>Getting a compilation error after upgrade to mvvmcross 4.1 in Linker task:</p>
<p><code>The "LinkAssemblies" task failed unexpectedly.
Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'System.Boolean MvvmCross.Droid.Shared.Attributes.MvxFragmentAttributeExtensionMethods::IsFragmentC... | Getting a compilation error after upgrade to mvvmcross 4.1 in Linker task: The "LinkAssemblies" task failed unexpectedly. Xamarin.Android.XamarinAndroidException: error XA2006: Reference to metadata item 'System.Boolean MvvmCross.Droid.Shared.Attributes.MvxFragmentAttributeExtensionMethods::IsFragmentCacheable(System.T... | android|xamarin|mono|mvvmcross | 1 | 2016-04-22T08:52:26.927Z | 2,016 | 4 | 8 | 4 | 490 | 1 | 1,779 | 57 | 4 | 0 | false | false | false | false | false | false | low |
36,789,238 | AppLinks stopped launching app after going to production | <p>We have our development and production server setup at completely different domain names. Ex: dev.something.com & completelydifferent.ca</p>
<p>I was able to setup App Links meta tags on our development environment and managed to get it working. These are the meta tags included in the web page</p>
<pre><code>&... | We have our development and production server setup at completely different domain names. Ex: dev.something.com & completelydifferent.ca I was able to setup App Links meta tags on our development environment and managed to get it working. These are the meta tags included in the web page [CODE] I was able to share the l... | android|applinks | 0 | 2016-04-22T08:53:08.447Z | 2,016 | 4 | 8 | 4 | 80 | 1 | 733 | 56 | 2 | 1 | true | false | false | false | false | false | zero |
36,789,526 | Glide make ImageView wrap_content useless and no animatiion using target | <p>I'm load a picture using <code>Glide</code> in my project, but I found a strange thing. When I use <code>into(ImageView)</code>, the <code>ImageView</code> displays not the same with what when using <code>into(new BitmapImageViewTarget(centerImageView))</code>:</p>
<p>This is my layout:</p>
<pre><code><Relative... | I'm load a picture using Glide in my project, but I found a strange thing. When I use into(ImageView) , the ImageView displays not the same with what when using into(new BitmapImageViewTarget(centerImageView)) : This is my layout: [CODE] When I use : [CODE] The ImageView's wrap_content doesn't work, it displays like th... | android|android-layout|imageview|android-glide | 13 | 2016-04-22T09:06:36.993Z | 2,016 | 4 | 9 | 4 | 6,364 | 2 | 743 | 72 | 4 | 3 | true | false | true | false | true | false | medium |
36,789,561 | How to create custom dialog box with two button in android? | <p>How to generate custom dialog box in android like this,
<a href="https://i.stack.imgur.com/6fteP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6fteP.png" alt="enter image description here"></a></p>
<p>I want just like this.
How to generate it. please give me suggestion.</p>
<p>i have used below code fo... | How to generate custom dialog box in android like this, I want just like this. How to generate it. please give me suggestion. i have used below code for dialog box, what is the problem in my code? I have not identify it. please share me any Idea. [CODE] Please share me any Idea. Thanks. | android|customdialog | 10 | 2016-04-22T09:08:51.743Z | 2,016 | 4 | 9 | 4 | 24,998 | 4 | 287 | 59 | 2 | 1 | true | false | true | true | true | false | medium |
36,789,594 | Adding Scrollview in Android Project Layout | <p>I'm trying to let me layout scroll down. I've seen some posts with this, and I tried to do what they explained, but it didn't work for me. This is what I have now, and now my project won't even start, probably cause it's missplaced.</p>
<p>This is how my code looks like:</p>
<pre><code><LinearLayout xmlns:andro... | I'm trying to let me layout scroll down. I've seen some posts with this, and I tried to do what they explained, but it didn't work for me. This is what I have now, and now my project won't even start, probably cause it's missplaced. This is how my code looks like: [CODE] | java|android|eclipse|layout|scrollview | 1 | 2016-04-22T09:10:12.907Z | 2,016 | 4 | 9 | 4 | 35 | 2 | 271 | 43 | 5 | 1 | true | false | false | false | false | false | low |
36,789,618 | How to stop downloading a file using IntentService in android | <p>I am trying to download the file from app server using the IntentService. It is working fine when i want to download the file completely. but I want to cancel the file downloading in the middle of downloading. but it fails. I have tried to stop the IntentService but Service is not stopping. after that i tried to clo... | I am trying to download the file from app server using the IntentService. It is working fine when i want to download the file completely. but I want to cancel the file downloading in the middle of downloading. but it fails. I have tried to stop the IntentService but Service is not stopping. after that i tried to close ... | android|httpconnection|android-intentservice | 4 | 2016-04-22T09:10:57.067Z | 2,016 | 4 | 9 | 4 | 686 | 0 | 569 | 61 | 3 | 2 | true | true | false | false | false | false | low |
36,789,623 | How to get last ListView item position using Custom Adapter class? | <p>Hi I am new for android in my app I have created a ListView using Custom Adapter class.</p>
<p>In the ListView footer I have added two buttons like in the image bellowand when I tapped on ADDNEW button, I want to find ListView lost item position.</p>
<h2>ListViewAdapter:-</h2>
<pre><code>public class ListViewAdap... | Hi I am new for android in my app I have created a ListView using Custom Adapter class. In the ListView footer I have added two buttons like in the image bellowand when I tapped on ADDNEW button, I want to find ListView lost item position. ListViewAdapter:- [CODE] | android|listview | 0 | 2016-04-22T09:11:07.063Z | 2,016 | 4 | 9 | 4 | 3,590 | 1 | 264 | 66 | 2 | 1 | true | false | true | false | false | false | zero |
36,789,644 | Slow transition between activities - AsyncTask has no effect | <p>I have 2 Activities, A & B. Starting B from A causes a very long (2-4 seconds) transition time, so I've decided to use an AsyncTask to load a heavy layout into a viewFlipper which is in the contentView of B in order to free up the UI thread. In other words, what I wanted to acheive is the following: </p>
<block... | I have 2 Activities, A & B. Starting B from A causes a very long (2-4 seconds) transition time, so I've decided to use an AsyncTask to load a heavy layout into a viewFlipper which is in the contentView of B in order to free up the UI thread. In other words, what I wanted to acheive is the following: User presses a butt... | android|performance|android-asynctask | 0 | 2016-04-22T09:11:57.887Z | 2,016 | 4 | 9 | 4 | 441 | 0 | 1,122 | 60 | 3 | 3 | true | true | false | false | false | false | zero |
36,789,723 | Android - Recycler View with GCM | <p>I am using a <code>RecyclerView</code> that show results that come from <code>GCM</code> callbacks. The <code>RecyclerView</code> has a custom adapter a method add, there is also a progress bar that updates using an asynctask. </p>
<p>Message recieving over <code>GCM</code> that works fine:</p>
<pre><code> priv... | I am using a RecyclerView that show results that come from GCM callbacks. The RecyclerView has a custom adapter a method add, there is also a progress bar that updates using an asynctask. Message recieving over GCM that works fine: [CODE] Add method in the custom adapter: [CODE] The problem is that the method add calle... | java|android|google-cloud-messaging|android-recyclerview | 0 | 2016-04-22T09:15:26.130Z | 2,016 | 4 | 9 | 4 | 112 | 1 | 695 | 32 | 4 | 2 | true | false | false | false | false | false | zero |
36,789,740 | Use your own library with JNA on Android Studio | <p>I am currently creating a project in <strong>Android Studio</strong> which calls a Native C++ Library using <strong>JNA</strong>.</p>
<p>I followed the instructions here: <a href="https://github.com/java-native-access/jna" rel="nofollow">https://github.com/java-native-access/jna</a>,</p>
<p>I downloaded the <stron... | I am currently creating a project in Android Studio which calls a Native C++ Library using JNA . I followed the instructions here: https://github.com/java-native-access/jna , I downloaded the libjnidispatch.so from https://github.com/java-native-access/jna/tree/master/lib/native/android-x86-64.jar , I added the jna.jar... | android|c++|c|java-native-interface|jna | 3 | 2016-04-22T09:16:11.667Z | 2,016 | 4 | 9 | 4 | 1,913 | 2 | 1,078 | 47 | 5 | 7 | true | false | false | false | false | false | low |
36,789,744 | ScrollView in Custom DIalog adds margin to bottom | <p>I'm creating a custom dialog with ScrollView inside it due to big amount of elements. </p>
<p>The problem is that ScrollView moves all the content to the top. Seems like it adds margin bottom. Therefore top content is cropped and bot content has too many free space when ScrollView is sliding to bottom. Please see s... | I'm creating a custom dialog with ScrollView inside it due to big amount of elements. The problem is that ScrollView moves all the content to the top. Seems like it adds margin bottom. Therefore top content is cropped and bot content has too many free space when ScrollView is sliding to bottom. Please see screenshots. ... | android|android-layout|android-dialog|android-scrollview | 0 | 2016-04-22T09:16:19.893Z | 2,016 | 4 | 9 | 4 | 340 | 0 | 546 | 49 | 4 | 2 | true | true | false | false | false | false | zero |
36,789,794 | RecyclerView doesn't have data | <p>I use rretrofit library to get data from server. Try for Log, data successful giving for me.But in <code>RecyclerView</code> I don't have any data. Inside <code>videoview</code> I see only a black figure and both <code>txtview</code> are empty. How I can transfer this data to recyclerview?
My fragment with response:... | I use rretrofit library to get data from server. Try for Log, data successful giving for me.But in RecyclerView I don't have any data. Inside videoview I see only a black figure and both txtview are empty. How I can transfer this data to recyclerview? My fragment with response: [CODE] RecyclerViewAdapter: [CODE] card_v... | android|android-recyclerview | 0 | 2016-04-22T09:18:44.170Z | 2,016 | 4 | 9 | 4 | 53 | 1 | 339 | 30 | 2 | 3 | true | false | false | false | false | false | zero |
36,789,832 | Android - Using SwipeView for an entire ListView | <p>I've seen several examples (<a href="http://www.tutecentral.com/android-swipe-listview/" rel="nofollow">here</a>) of SwipeViews that are implemented on a ListView, but these are for individual items on the list and not for the ListView itself.</p>
<p>In my app, an intent is started from one Listview item and that s... | I've seen several examples ( here ) of SwipeViews that are implemented on a ListView, but these are for individual items on the list and not for the ListView itself. In my app, an intent is started from one Listview item and that sends you to the Listview in question. From there, I would like to implement some kind of ... | java|android|listview|swipeview | 0 | 2016-04-22T09:20:15.910Z | 2,016 | 4 | 9 | 4 | 431 | 3 | 903 | 48 | 4 | 2 | true | false | false | false | false | false | zero |
36,789,853 | Android OutOfMemoryError when Fragment's onCreateView called | <p>I have an Activity with fragment inside. On some devices like Xiaomi application crashes and <code>OutOfMemoryError</code> thrown. There's stacktrace:</p>
<pre><code>Fatal Exception: java.lang.OutOfMemoryError: Failed to allocate a 9437196 byte allocation with 5089232 free bytes and 4MB until OOM
at dalvik.syste... | I have an Activity with fragment inside. On some devices like Xiaomi application crashes and OutOfMemoryError thrown. There's stacktrace: [CODE] The exception is thrown when called onCreateView method of AuthFragment . There's method: [CODE] Exception is thrown on line View view = inflater.inflate(R.layout.fragment_aut... | android|android-fragments|out-of-memory | 1 | 2016-04-22T09:20:51.990Z | 2,016 | 4 | 9 | 4 | 1,216 | 1 | 378 | 60 | 3 | 2 | true | false | false | false | false | false | low |
36,789,859 | AdView doesn't show in a LinearLayout | <p>Here is my XML code</p>
<pre><code> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vert... | Here is my XML code [CODE] When I run my application my ad not showing. I am using LinearLayout and RelativeLayout to organize my Layout. So where i put my adview xml to show it. I want to show ad in below of the screen.So that user can easily scroll all over the element of the screen and ad would perfectly show. | java|android|android-layout|nullpointerexception | 0 | 2016-04-22T09:21:01.910Z | 2,016 | 4 | 9 | 4 | 116 | 0 | 314 | 37 | 4 | 1 | true | true | false | false | false | false | zero |
36,789,882 | retrieve arraylist from AsyncTask class object after the doInBackground method is finished | <p>i have classes in my projects that only does the server operations such as getting and putting data. i have class which populating list and then method to get this list. the problem is that i'm calling the "getList" method and the background operation hasent finished then i get null from the "getList" method</p>
<p... | i have classes in my projects that only does the server operations such as getting and putting data. i have class which populating list and then method to get this list. the problem is that i'm calling the "getList" method and the background operation hasent finished then i get null from the "getList" method this is my... | android|multithreading|android-asynctask | 0 | 2016-04-22T09:21:49.867Z | 2,016 | 4 | 9 | 4 | 533 | 2 | 518 | 90 | 3 | 2 | true | false | false | false | false | false | zero |
36,789,923 | NoClassDefFoundError: com.google.gson.GsonBuilder when using google play services with microsoft azure | <p>I am building an android app which uses google play services for google maps and Microsoft azure for mobile services(cloud storage).
When i use just Microsoft azure libraries i don't face any problems but when add google play libraries it gives me the following error.</p>
<p>Error</p>
<pre><code> FATAL EXCEPTIO... | I am building an android app which uses google play services for google maps and Microsoft azure for mobile services(cloud storage). When i use just Microsoft azure libraries i don't face any problems but when add google play libraries it gives me the following error. Error [CODE] this is library dependency structure f... | android|azure|gradle | 1 | 2016-04-22T09:23:51.087Z | 2,016 | 4 | 9 | 4 | 1,265 | 1 | 385 | 102 | 3 | 2 | true | false | false | false | false | false | low |
36,789,969 | Google maps Javascript API not working when deployed to device | <p>I have this code, it runs fine on the browser but when i deploy it to my android device, it doesn't work. The code is meant to get my current location, then give me directions to a specified location. Any help? Thanks in advance.</p>
<pre><code><!doctype html>
<html lang="en">
<head>
&l... | I have this code, it runs fine on the browser but when i deploy it to my android device, it doesn't work. The code is meant to get my current location, then give me directions to a specified location. Any help? Thanks in advance. [CODE] | javascript|android|cordova|google-maps|google-maps-api-3 | 0 | 2016-04-22T09:25:22.853Z | 2,016 | 4 | 9 | 4 | 807 | 2 | 236 | 62 | 5 | 1 | true | false | false | false | false | false | zero |
36,790,035 | Android custom compound views, how to re-use attributes? | <p>Hello I made this compound view that contains a text view (to display error or advice) and a edit text (for input) </p>
<p>
</p>
<pre><code> <TextView
android:id="@+id/guidanceOrError"
android:gravity="center"
android:padding="10dp"
android:text="Please input 6 characte... | Hello I made this compound view that contains a text view (to display error or advice) and a edit text (for input) [CODE] And this is me using it in an activity layout [CODE] My problem is that attributes like hint and inputType are being ignored. This is because in my init(AttributeSet attrs) method I am not getting t... | android | 1 | 2016-04-22T09:28:44.043Z | 2,016 | 4 | 9 | 4 | 153 | 1 | 519 | 56 | 1 | 3 | true | false | false | false | false | false | low |
36,790,075 | How to get utf-8 api response content in android | <p>EDIT:
Thanks to some awnsers I edited my method to this, but still not gettign rid of the ? marks.</p>
<pre><code> public String makeHttpGetRequestUtf8(String urlStr) throws IOException {
String result = "";
try {
URL url = new URL(urlStr);
//BufferedReader brIn = new BufferedReader(new Inpu... | EDIT: Thanks to some awnsers I edited my method to this, but still not gettign rid of the ? marks. [CODE] In android I have tried two httpGet methods to get the response of an api. Both return me the content with question marks in them, meaning no utf-8 support. The same api call on browser returns UTF-8 supported text... | android|utf-8|character-encoding | 2 | 2016-04-22T09:30:31.727Z | 2,016 | 4 | 9 | 4 | 1,500 | 1 | 547 | 48 | 3 | 3 | true | false | false | false | false | false | low |
36,790,085 | How to put scroll function in PDF.js | <p>I'm using PDF.js to view a PDF file in my Android application. I'm using <a href="https://github.com/pauldmps/Android-pdf.js" rel="nofollow">this</a> as my reference to do so. I enable as well the zoom function. What I wanted to do is, instead of using the <code>onOptionsItemSelected</code> where it has the function... | I'm using PDF.js to view a PDF file in my Android application. I'm using this as my reference to do so. I enable as well the zoom function. What I wanted to do is, instead of using the onOptionsItemSelected where it has the function to go to next page or go back to the previous page I want to go to the next page while ... | javascript|android|pdf.js | 0 | 2016-04-22T09:31:10.510Z | 2,016 | 4 | 9 | 4 | 647 | 1 | 513 | 36 | 3 | 1 | true | false | false | false | false | false | zero |
36,790,096 | Google Login does not work with AWS Mobile Hub generated Android app | <p>I have generated an app with AWS Mobile Hub. Google Login works fine in the start. But if I give the exactly same codes to the other developer it gives the error below. Or if I refactor the package name Google Login does not work anymore even with my own computer. (With iOS google-login works fine).
I have tried to... | I have generated an app with AWS Mobile Hub. Google Login works fine in the start. But if I give the exactly same codes to the other developer it gives the error below. Or if I refactor the package name Google Login does not work anymore even with my own computer. (With iOS google-login works fine). I have tried to fol... | android|amazon-web-services|google-signin | 0 | 2016-04-22T09:31:32.867Z | 2,016 | 4 | 9 | 4 | 1,057 | 3 | 837 | 68 | 3 | 0 | false | false | false | false | false | false | zero |
36,790,174 | About WebView In NestedScrollView. Can not show bottom content | <p>I can not display webview bottom content casue by using NestedScrollView.
The bottom bar not apps bar.</p>
<p>I am sorry to my English. Thanks~</p>
<p>dependencies</p>
<pre><code>compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.android.support:des... | I can not display webview bottom content casue by using NestedScrollView. The bottom bar not apps bar. I am sorry to my English. Thanks~ dependencies [CODE] My Code [CODE] | android|webview|nestedscrollview | 0 | 2016-04-22T09:35:30.920Z | 2,016 | 4 | 9 | 4 | 1,284 | 1 | 171 | 62 | 3 | 2 | true | false | false | false | false | false | zero |
36,790,265 | BasicNetwork.performRequest: Unexpected response code 503 | <p><strong>Android Volley POST method error</strong> </p>
<p>BasicNetwork.performRequest: <strong>Unexpected response code 503</strong></p>
<p>Post request send to the server.</p>
<pre><code>Map<String, String> jsonParams = new HashMap<String, String>();
jsonParams.put("LoginForm[email]",email);
jsonPar... | Android Volley POST method error BasicNetwork.performRequest: Unexpected response code 503 Post request send to the server. [CODE] | android|android-volley | 2 | 2016-04-22T09:40:32.493Z | 2,016 | 4 | 9 | 4 | 3,288 | 1 | 130 | 57 | 2 | 1 | true | false | true | false | false | false | low |
36,790,278 | Android Home and Back buttons crash my application | <p>I am a beginner in Android programming. In my little model application MainActivity throws a Service producing Location via GPS.
This application function well on virtual device (API 16) when Location is produced by Device Monitor of Android Studio.
BUT if I press HOME or BACK button the application crashes and I do... | I am a beginner in Android programming. In my little model application MainActivity throws a Service producing Location via GPS. This application function well on virtual device (API 16) when Location is produced by Device Monitor of Android Studio. BUT if I press HOME or BACK button the application crashes and I don't... | java|android | 1 | 2016-04-22T09:41:09.900Z | 2,016 | 4 | 9 | 4 | 78 | 0 | 455 | 50 | 2 | 1 | true | true | false | false | false | false | low |
36,790,306 | Confusion about signing android app | <p>I am about to publish my first android app.
For that I have to sign my app. I followed the steps, described here ( <a href="http://developer.android.com/tools/publishing/app-signing.html" rel="nofollow">http://developer.android.com/tools/publishing/app-signing.html</a> ), under the point
"Signing Your App in Andro... | I am about to publish my first android app. For that I have to sign my app. I followed the steps, described here ( http://developer.android.com/tools/publishing/app-signing.html ), under the point "Signing Your App in Android Studio". At the end it said, I received a signed .apk Under the point "Signing in Release Mode... | android|android-studio|sign | 0 | 2016-04-22T09:42:14.690Z | 2,016 | 4 | 9 | 4 | 161 | 2 | 1,521 | 35 | 3 | 0 | false | false | false | false | false | false | zero |
36,790,645 | MVVMCross Nested Recyclerview Out of Memory Issue | <p>I have tried to create nested recyclerview in combination with the mvvmcross-framework which actually worked quite easily, but now I'm getting out of memory exceptions.</p>
<h3>Scenario</h3>
<p>I have a list of around 3000 entries with complex and long names, which are divided by 8 categories. The user can select ... | I have tried to create nested recyclerview in combination with the mvvmcross-framework which actually worked quite easily, but now I'm getting out of memory exceptions. Scenario I have a list of around 3000 entries with complex and long names, which are divided by 8 categories. The user can select the entries via a che... | android|android-recyclerview|out-of-memory|mvvmcross|android-wrap-content | 2 | 2016-04-22T09:57:35.433Z | 2,016 | 4 | 9 | 4 | 750 | 2 | 2,097 | 49 | 5 | 6 | true | false | false | false | false | false | low |
36,790,772 | Google Maps Android API: Draw polygon based on pixels known from GroundOverlay's PNG | <p>I'm adding a PNG file as an own floorplan on top of Google Maps with the Google Maps Android API with the following code:</p>
<pre><code>GroundOverlayOptions groundOverlayOptions = new GroundOverlayOptions();
BitmapDescriptor bitmapDescriptor = BitmapDescriptorFactory.fromAsset("building-d.png");
groundOverlayOptio... | I'm adding a PNG file as an own floorplan on top of Google Maps with the Google Maps Android API with the following code: [CODE] Now I know that in the PNG there is a room at pixel coordinates 422/301, 708/301, 422/10 and 708/10 (those are the corners). I'd like to draw a polygon over the GroundOverlay covering that ro... | android|google-maps|google-maps-android-api-2 | 0 | 2016-04-22T10:02:52.797Z | 2,016 | 4 | 10 | 4 | 631 | 2 | 544 | 84 | 3 | 1 | true | false | false | false | false | false | zero |
36,790,794 | what is c512,c768 of selinux process | <p>I got a trouble that I have a app need to access /proc entry that I create by a kernel driver and I got a selinux denied issue:</p>
<pre><code>avc: denied { write } for pid=30200 comm="omg.flashlight" name="omg_flash_brightness" dev="proc" ino=4026534208 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:p... | I got a trouble that I have a app need to access /proc entry that I create by a kernel driver and I got a selinux denied issue: [CODE] I try to solve this deny and I found I cannot allow untrusted_app to write proc:file since there will be CTS issue. I try to add a domain for the omg.flashlight APP. I use ps -Z and fou... | android|linux-kernel|selinux | 5 | 2016-04-22T10:03:57.930Z | 2,016 | 4 | 10 | 4 | 5,737 | 2 | 627 | 36 | 3 | 4 | true | false | true | false | false | false | low |
36,790,817 | TimePicker crashes app when getting the minute and hour | <p>I am trying to get the <code>selected values</code> of the <code>hour</code> and <code>minute</code> from the <code>timePicker</code>, and then get the current <code>system time</code> from the user's device. Afterwards I need to <code>subtract</code> the <code>time selected - time.now</code> and then display to the... | I am trying to get the selected values of the hour and minute from the timePicker , and then get the current system time from the user's device. Afterwards I need to subtract the time selected - time.now and then display to the user, the time remaining until the alarm goes ringing. However the app is crashing, and I co... | java|c#|android|calendar|alarm | 1 | 2016-04-22T10:05:10.973Z | 2,016 | 4 | 10 | 4 | 645 | 1 | 364 | 55 | 5 | 1 | true | false | false | false | false | false | low |
36,790,826 | How can I pop a listView on top of my map activity? | <p>I've got my new application based on Google Maps activity. I set my onMapLongClickListener to add as many new marker as the user want to. But there is my question: I want to set a ListView on the top of my map in order to allow the user to chose between different marker types. How can I set a ListView that appears w... | I've got my new application based on Google Maps activity. I set my onMapLongClickListener to add as many new marker as the user want to. But there is my question: I want to set a ListView on the top of my map in order to allow the user to chose between different marker types. How can I set a ListView that appears when... | android|google-maps|listview|android-studio|overlay | -1 | 2016-04-22T10:05:32.753Z | 2,016 | 4 | 10 | 4 | 498 | 1 | 550 | 51 | 5 | 2 | true | false | false | false | false | true | negative |
36,790,875 | Align a layout with a child of another layout | <p>Is there a way to align a layout with a child of another layout?
I have created an example :</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >... | Is there a way to align a layout with a child of another layout? I have created an example : [CODE] Here I try to align the top of the RelativeLayout rel2 with the top of view2, but RelativeLayout don't enable to do that. I have : I want : Thanks. | android|android-layout|android-relativelayout | 1 | 2016-04-22T10:08:22.447Z | 2,016 | 4 | 10 | 4 | 1,769 | 4 | 247 | 45 | 3 | 1 | true | false | false | false | false | false | low |
36,790,931 | Adding multiple parent activities for one fragment | <p>I have a <strong>fragment</strong> that needs to be accessible while the user is <strong>logged in</strong> and while the user is <strong>logged out</strong>. Hence I need <strong>one fragment</strong> to be used by <strong>two activities</strong>. I'm using <strong>mvvmcross 4.1 with Xamarin and Monodroid</strong> ... | I have a fragment that needs to be accessible while the user is logged in and while the user is logged out . Hence I need one fragment to be used by two activities . I'm using mvvmcross 4.1 with Xamarin and Monodroid with the newly added multi parent feature for fragments. I'm not sure if I've implemented it right. I d... | c#|android|xamarin|xamarin.android|mvvmcross | 4 | 2016-04-22T10:10:56.693Z | 2,016 | 4 | 10 | 4 | 829 | 2 | 1,482 | 50 | 5 | 3 | true | false | false | false | false | false | low |
36,790,949 | How to create XWalkWebResourceResponse? | <p>I am looking for a method to create <strong>XWalkWebResourceResponse</strong>. My case is following.</p>
<p>I am creating custom <strong>XWalkResourceClient</strong> client that will intercept all network requests. All request that should be intercepted comes back as abstract wrapper - <strong>AppWebResourceRespons... | I am looking for a method to create XWalkWebResourceResponse . My case is following. I am creating custom XWalkResourceClient client that will intercept all network requests. All request that should be intercepted comes back as abstract wrapper - AppWebResourceResponse . [CODE] The last step. I must adapt AppWebResourc... | android|networking|intercept|crosswalk-runtime | 4 | 2016-04-22T10:11:50.543Z | 2,016 | 4 | 10 | 4 | 1,273 | 1 | 843 | 39 | 4 | 3 | true | false | false | false | false | false | low |
36,791,068 | Launch ProgressDialog from | <p>I have a class extends Application where I initialize some libraries needed by my application.</p>
<p>I want to launch a ProgressDialog from this class to notify user what App is doing.</p>
<p>Is possible launch these elements from Application classes??</p>
<p>Thanks</p>
<p>ps. attach my code</p>
<pre><code>pub... | I have a class extends Application where I initialize some libraries needed by my application. I want to launch a ProgressDialog from this class to notify user what App is doing. Is possible launch these elements from Application classes?? Thanks ps. attach my code [CODE] | android|progressdialog | 0 | 2016-04-22T10:17:43.503Z | 2,016 | 4 | 10 | 4 | 26 | 1 | 272 | 26 | 2 | 1 | true | false | false | false | false | false | zero |
36,791,070 | Illegal state exception on mediaRecorder.prepare() while using file descriptor as output source | <p>I am using Media Recorder to record the device screen. If I am providing the local path as output source then media recorder is working fine but if I am giving file descriptor obtained from parcelFileDescriptor.fromSocket(socket) then I am getting Illegal state exception on mediaRecorder.prepare().</p>
<p>Here is m... | I am using Media Recorder to record the device screen. If I am providing the local path as output source then media recorder is working fine but if I am giving file descriptor obtained from parcelFileDescriptor.fromSocket(socket) then I am getting Illegal state exception on mediaRecorder.prepare(). Here is my initializ... | android|sockets|mediarecorder | 2 | 2016-04-22T10:17:46.743Z | 2,016 | 4 | 10 | 4 | 729 | 0 | 385 | 95 | 3 | 2 | true | true | false | false | false | false | low |
36,791,165 | Select docx, doc, rtf, pdf type of file from SD card or with any application in android | <p>Currently I am trying to select particular type of file from SD card or with any application but I failed, my code is as follows,</p>
<pre><code>Intent intent;
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT)
intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);
else
in... | Currently I am trying to select particular type of file from SD card or with any application but I failed, my code is as follows, [CODE] but it just select every type of file. | android|android-intent|document|android-gallery|android-external-storage | 5 | 2016-04-22T10:22:13.903Z | 2,016 | 4 | 10 | 4 | 1,597 | 2 | 175 | 87 | 5 | 1 | true | false | false | false | false | false | low |
36,791,170 | Retrofit gson converter for nested Json Object with Date property | <p>JSON structure looks like the following:</p>
<pre><code>"blabla": 1234,
"blabla2": "1234",
"object": {
"property1": "1234",
"property2": "blablab",
"property3": "12345",
"property4": Date object,
}
}
</code></pre>
<p>Due to this structure, I have implemented a custom deserialize... | JSON structure looks like the following: [CODE] Due to this structure, I have implemented a custom deserializer and passed it in the TypeAdapter: [CODE] And the deserialization of the inner object goes fine. Until recently, when I changed the model and started receiving a Date object as well, as shown in the JSON struc... | android|gson|retrofit | 0 | 2016-04-22T10:22:23.583Z | 2,016 | 4 | 10 | 4 | 347 | 1 | 718 | 65 | 3 | 3 | true | false | false | false | false | false | zero |
36,791,269 | ImageView size is very small after using a taken photo as source | <p>I'm trying to create an app that is accessing the camera when a button is pressed, and after the photo is taken, to display it on the screen, and then be able to find the color of the selected pixel.</p>
<p>Somehow, the photo displayed is very small, and the x,y are displaying colors even if i am selecting a pixel ... | I'm trying to create an app that is accessing the camera when a button is pressed, and after the photo is taken, to display it on the screen, and then be able to find the color of the selected pixel. Somehow, the photo displayed is very small, and the x,y are displaying colors even if i am selecting a pixel that is not... | android|bitmap|imageview|android-camera | 0 | 2016-04-22T10:26:54.013Z | 2,016 | 4 | 10 | 4 | 36 | 1 | 750 | 64 | 4 | 2 | true | false | false | false | false | false | zero |
36,791,355 | How to save checkboxes state with onSaveInstanceState | <p>I have an Alert Dialog that displays a couple of checkboxes(5 to be more exact). The check boxes filter 5 lists of markers that are displayed on my map, markers that are grouped in hour intervals. I have managed to make everything work except the fact that I do not know how I should write the code in onSaveInstanceS... | I have an Alert Dialog that displays a couple of checkboxes(5 to be more exact). The check boxes filter 5 lists of markers that are displayed on my map, markers that are grouped in hour intervals. I have managed to make everything work except the fact that I do not know how I should write the code in onSaveInstanceStat... | java|android|checkbox|savestate | 0 | 2016-04-22T10:30:13.220Z | 2,016 | 4 | 10 | 4 | 711 | 2 | 522 | 53 | 4 | 2 | true | false | false | false | false | false | zero |
36,791,441 | After change of orientation viewPager is leaving space at bottom of screen | <p>When I rotate the screen then CoordinatorLayout leaving white space at the bottom of screen, please help me out if somebody have solution</p>
<pre><code><android.support.design.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/re... | When I rotate the screen then CoordinatorLayout leaving white space at the bottom of screen, please help me out if somebody have solution [CODE] Image is here | android | 0 | 2016-04-22T10:35:01.807Z | 2,016 | 4 | 10 | 4 | 300 | 1 | 158 | 74 | 1 | 1 | true | false | false | false | false | false | zero |
36,791,656 | How do i upload files in android? | <p>After screwing around for so many days, i finally found a workaround for uploading files through webview in Android 4+ i am using AgateWebView. <a href="https://stackoverflow.com/questions/26101065/choose-file-to-upload-on-webview-android-kitkat-4-4-2">link in this answer</a>. however, i cannot get it to work as per... | After screwing around for so many days, i finally found a workaround for uploading files through webview in Android 4+ i am using AgateWebView. link in this answer . however, i cannot get it to work as per my requirement. i want a webkit webview which extends an activity and still uses the AgateWebview for uploading fi... | android|webview | 0 | 2016-04-22T10:44:09.977Z | 2,016 | 4 | 10 | 4 | 62 | 0 | 588 | 33 | 2 | 1 | true | true | false | false | false | false | zero |
36,791,660 | Realm Model update from other thread but should notify adapter | <p>I am sending message from adapter to Websocket in websocket onReponse method i am updating Realm Model class but process is going in background and not moving to forward :
here you can look my code : </p>
<p>public static void updateMsgStatus(String userId,
String messageId,
... | I am sending message from adapter to Websocket in websocket onReponse method i am updating Realm Model class but process is going in background and not moving to forward : here you can look my code : public static void updateMsgStatus(String userId, String messageId, MSG_STATUS msgStatus) { [CODE] In this line message.... | android|multithreading|realm | 3 | 2016-04-22T10:44:13.710Z | 2,016 | 4 | 10 | 4 | 777 | 2 | 517 | 62 | 3 | 1 | true | false | false | false | false | false | low |
36,791,663 | Android fragment replace(...) on thread | <p>Can someone explain me why replacing fragment on thread causes sometimes blank space instead of showing the fragment on screen?</p>
<pre><code>public void swapFragment(final CustomFragment fragment) {
new Thread(new Runnable() {
@Override
public void run() {
FragmentTransaction ft =... | Can someone explain me why replacing fragment on thread causes sometimes blank space instead of showing the fragment on screen? [CODE] Let me explain what is happening: 1) I have no fragment added inside my container. 2) I'm adding fragment A using this method - its working 3) Then I'm using this method to swap actual ... | java|android|multithreading|android-fragments | 0 | 2016-04-22T10:44:18.527Z | 2,016 | 4 | 10 | 4 | 1,754 | 1 | 681 | 39 | 4 | 1 | true | false | false | false | false | false | zero |
36,791,698 | Android Toolbar action Icons not completely white | <p>I'm not sure why this is happening. When I have icons on the toolbar even though the resource files are completely white when they're added to the toolbar they seem to have some kind of slight transparency or they're just not white?</p>
<p>The icon on the right is how it looks on a device but the left is the resour... | I'm not sure why this is happening. When I have icons on the toolbar even though the resource files are completely white when they're added to the toolbar they seem to have some kind of slight transparency or they're just not white? The icon on the right is how it looks on a device but the left is the resource image. T... | android | 2 | 2016-04-22T10:45:46.103Z | 2,016 | 4 | 10 | 4 | 605 | 1 | 710 | 49 | 1 | 3 | true | false | false | false | false | false | low |
36,791,706 | In Android, When "include layout" is visible over radio button click, remaining views alignment has changed | <p><a href="http://i.stack.imgur.com/Rbcbj.png" rel="nofollow">click here to see image When include layout is visible</a> </p>
<p><a href="http://i.stack.imgur.com/KWwNA.png" rel="nofollow">click here to see image When include layout is invisible</a></p>
<p>Images are uploaded
Here is the main.xml</p>
<pre><code><... | click here to see image When include layout is visible click here to see image When include layout is invisible Images are uploaded Here is the main.xml [CODE] and my activity class [CODE] When include Layout is in invisible "Alignment has properly set When include layout is visible over radio button click Alignment ha... | android | 0 | 2016-04-22T10:46:06.950Z | 2,016 | 4 | 10 | 4 | 99 | 3 | 399 | 107 | 1 | 2 | true | false | false | false | false | false | zero |
36,791,758 | Android auto update EditText if others are filled | <p>I'm new to Android and Java programing and I'm working on my first application, but I hit a problem.
I have three EditTexts: <code>FuelAmount</code>, <code>FuelCost</code>, <code>CashSpend</code> and what i want to achieve is - when <code>FA</code> is filled and <code>FC</code> is beeing filed, <code>CS</code> shou... | I'm new to Android and Java programing and I'm working on my first application, but I hit a problem. I have three EditTexts: FuelAmount , FuelCost , CashSpend and what i want to achieve is - when FA is filled and FC is beeing filed, CS should be auto filled. I want that to work in all possible combinations FA > FC = CS... | android|android-studio|android-edittext | 0 | 2016-04-22T10:48:40.350Z | 2,016 | 4 | 10 | 4 | 169 | 1 | 692 | 49 | 3 | 2 | true | false | false | false | false | false | zero |
36,791,789 | How to control my app's button with voice commands OFFLINE (WITHOUT 3rd PARTY) | <p>I designed an app for home automation. See the picture for the layout. I want to turn on light / fan with voice along with touching the buttons for it. My motive is that it will help blind people, so no clicks should be required after opening app. The blind user will use "Ok Google" feature to open the app and as so... | I designed an app for home automation. See the picture for the layout. I want to turn on light / fan with voice along with touching the buttons for it. My motive is that it will help blind people, so no clicks should be required after opening app. The blind user will use "Ok Google" feature to open the app and as soon ... | android|android-studio|arduino|voice-recognition | 0 | 2016-04-22T10:50:26.640Z | 2,016 | 4 | 10 | 4 | 1,066 | 0 | 800 | 78 | 4 | 0 | false | true | false | false | false | false | zero |
36,791,801 | My app has stopped working (SQLite) | <p>I am new in Android development, I am trying to create a Database using SQLite and I have been trying to solve this for hours, but I don't see where is the problem.</p>
<p>This is what appears in the Logcat.</p>
<pre><code>04-22 20:40:11.801 3134-3134/? D/AndroidRuntime: >>>>>> START com.android... | I am new in Android development, I am trying to create a Database using SQLite and I have been trying to solve this for hours, but I don't see where is the problem. This is what appears in the Logcat. [CODE] This is my MainActivity [CODE] This is where I do the SQL operations [CODE] This is the List for my Database [CO... | java|android|sqlite|android-sqlite | -2 | 2016-04-22T10:50:46.763Z | 2,016 | 4 | 10 | 4 | 282 | 3 | 420 | 35 | 4 | 5 | true | false | false | false | false | true | negative |
36,791,968 | How to avoid sliding menu lag which causes stuttering in opening the fragment? | <p>In my application i have implemented the Sliding menu drawer in the main activity.
The design of the menu is customized and on click of listitem from the menu a fragment opens.</p>
<pre><code>private class SlideMenuClickListener implements
ListView.OnItemClickListener {
@Override
public void onItemC... | In my application i have implemented the Sliding menu drawer in the main activity. The design of the menu is customized and on click of listitem from the menu a fragment opens. [CODE] The closing of sliding menu shows a bit delay which causes stuttering of the menu. The fragment onCreateView is calling an async task co... | android|android-fragments|slidingmenu | 1 | 2016-04-22T10:58:47.123Z | 2,016 | 4 | 10 | 4 | 1,078 | 1 | 500 | 78 | 3 | 2 | true | false | false | false | false | false | low |
36,792,036 | Array list showing wrong results? | <p>I am parsing a json array and adding the values to individual array lists.But the size of the array list goes from 1 to 3 and then 6.
This is my code.</p>
<pre><code>private ArrayList<String> employee_name = new ArrayList<>();
private ArrayList<String> emp_username = new ArrayList<>();
privat... | I am parsing a json array and adding the values to individual array lists.But the size of the array list goes from 1 to 3 and then 6. This is my code. [CODE] I tried logging the result and the array list contains the 1st item, 2nd item and the 1st item again. E.g.: Name :: Anup Name :: Sakets Name :: Pritam Name :: Anu... | java|android|arrays|arraylist | 1 | 2016-04-22T11:01:17.800Z | 2,016 | 4 | 11 | 4 | 106 | 0 | 385 | 33 | 4 | 1 | true | true | false | false | false | false | low |
36,792,092 | How to deal with error column '_id' does not exist in Android custom Cursor Adapter | <p>I have a table with column _id and it used normally in several queries I did another query with a new custom cursor adapter like the following</p>
<pre><code>public class TimeOutCAdapter extends CursorAdapter{
View retView;
Context context;
Cursor cur;
private DBHelper mHelper;
public TimeOutCAdapter(Context contex... | I have a table with column _id and it used normally in several queries I did another query with a new custom cursor adapter like the following [CODE] } I get the error in the class declaration on super(context,c) | android|android-sqlite|android-cursoradapter | 0 | 2016-04-22T11:03:49.133Z | 2,016 | 4 | 11 | 4 | 95 | 1 | 212 | 83 | 3 | 1 | true | false | false | false | false | false | zero |
36,792,120 | Android : Gradle update from 2.10 to 2.4 failing | <p>I am working on an Android project on Ubuntu Linux, where I have Android Studio IDE. Till today, I had Android-studio-141, but I saw the update and decided to update. It also asked me if I wanted to update to Gradle-2.4 which has <code>Instant Run</code>. Given how much time Gradle was consuming for me, instant-run ... | I am working on an Android project on Ubuntu Linux, where I have Android Studio IDE. Till today, I had Android-studio-141, but I saw the update and decided to update. It also asked me if I wanted to update to Gradle-2.4 which has Instant Run . Given how much time Gradle was consuming for me, instant-run seemed nice. Un... | java|android|gradle | -1 | 2016-04-22T11:05:01.677Z | 2,016 | 4 | 11 | 4 | 211 | 1 | 670 | 48 | 3 | 2 | true | false | false | false | false | true | negative |
36,792,145 | Android scaled bitmap signature into pdf | <p>i couldn't find anything for my problem.</p>
<p>My problem is this. I have to create a pdf with a signature. I don't have problems to create pdf or to create signature but when i put them together, i resize the signature to be smaller but the quality of the signature is been reduced.</p>
<p>Here I show you the sig... | i couldn't find anything for my problem. My problem is this. I have to create a pdf with a signature. I don't have problems to create pdf or to create signature but when i put them together, i resize the signature to be smaller but the quality of the signature is been reduced. Here I show you the signature and the scal... | java|android|canvas|bitmap | 0 | 2016-04-22T11:05:50.293Z | 2,016 | 4 | 11 | 4 | 920 | 1 | 742 | 40 | 4 | 3 | true | false | false | false | false | false | zero |
36,792,153 | how to intent the same activity instead of second activity | <p>I want to intent same activity such as MainActivity->MainActivity instead of MainActivity->SecondActivity</p>
<p>Her is my code, but it doesn't work, it will stop my app, how to fix it</p>
<pre><code> public class AddasMessage extends AsyncTask<AddMessage,Long,JSONArray>
{
ProgressDialog dialog = new Pro... | I want to intent same activity such as MainActivity->MainActivity instead of MainActivity->SecondActivity Her is my code, but it doesn't work, it will stop my app, how to fix it [CODE] | android|android-intent | 3 | 2016-04-22T11:06:18.333Z | 2,016 | 4 | 11 | 4 | 10,309 | 2 | 184 | 58 | 2 | 1 | true | false | true | false | false | false | low |
36,792,276 | Finish some activities from stack | <p>From my <code>MainActivity</code> I launch a series of chooser activities. Once user is done with those activities I want to remove them from stack.
e.g. if stack looks like this:</p>
<p><code>MainActivity</code>-><code>ChooserActivityA</code>-><code>ChooserActivityB</code>-><code>ChooserActivityC</code></p>
<p>An... | From my MainActivity I launch a series of chooser activities. Once user is done with those activities I want to remove them from stack. e.g. if stack looks like this: MainActivity -> ChooserActivityA -> ChooserActivityB -> ChooserActivityC And user presses a button on ChooserActivityC to launch SomeActivity then I want... | android|android-intent|android-activity | 0 | 2016-04-22T11:11:47.740Z | 2,016 | 4 | 11 | 4 | 99 | 1 | 1,033 | 33 | 3 | 0 | false | false | false | false | false | false | zero |
36,792,296 | Excel jar poi 3.13 HTC not reading file | <p><a href="http://i.stack.imgur.com/bcw34.jpg" rel="nofollow">output</a></p>
<p>I want to read excel file in Maps for loading districts in Samsung j5 device is working perfectly without error
when i start using HTC 516 as emulator (real device) then POI-3.13-Library start throwing this error i may not able to fix th... | output I want to read excel file in Maps for loading districts in Samsung j5 device is working perfectly without error when i start using HTC 516 as emulator (real device) then POI-3.13-Library start throwing this error i may not able to fix the error my excel file is simple have two columns please suggest me better so... | android|apache-poi | -1 | 2016-04-22T11:12:30.847Z | 2,016 | 4 | 11 | 4 | 98 | 1 | 345 | 39 | 2 | 1 | true | false | false | false | false | true | negative |
36,792,321 | Changing fragments | <p>I am trying to show different fragments depending on whether GPS is enabled or not. But I am getting this error :-</p>
<pre><code>Caused by: java.lang.IllegalArgumentException: No view found for id 0x7f0e00a1
</code></pre>
<p>Please advise me how to do this:</p>
<p>Here is my MainActivity class:</p>
<pre><code>... | I am trying to show different fragments depending on whether GPS is enabled or not. But I am getting this error :- [CODE] Please advise me how to do this: Here is my MainActivity class: [CODE] FragmentOne:- [CODE] FragmentTwo:- [CODE] My activity_main:- [CODE] And the fragment_one.xml and fragment_two.xml are same just... | android|android-fragments | 3 | 2016-04-22T11:13:33.680Z | 2,016 | 4 | 11 | 4 | 71 | 2 | 367 | 18 | 2 | 6 | true | false | false | false | false | false | low |
36,792,415 | android - onclick could not find method | <p>I am having an issue where onclick won't find the method it's supposed to exexute. Android tries to call the onClick method <code>public void fahrplan(View v,Connection conn)</code> but is unable to find it. Details of my code are below, and the error is after that. Please help me determine why android is unable to... | I am having an issue where onclick won't find the method it's supposed to exexute. Android tries to call the onClick method public void fahrplan(View v,Connection conn) but is unable to find it. Details of my code are below, and the error is after that. Please help me determine why android is unable to find the onClick... | android|onclick|methodnotfound | -2 | 2016-04-22T11:18:09.253Z | 2,016 | 4 | 11 | 4 | 1,229 | 1 | 541 | 39 | 3 | 4 | true | false | false | false | false | true | negative |
36,792,467 | Android app with Azure server: how to refresh local data automatically when server data changes? | <p>I'm trying to move an android app project from Firebase to Azure, and I've been working through the simple ToDo app tutorial on the Azure website:</p>
<p><a href="https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-android-get-started-offline-data/" rel="nofollow">https://azure.microsoft.com... | I'm trying to move an android app project from Firebase to Azure, and I've been working through the simple ToDo app tutorial on the Azure website: https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-android-get-started-offline-data/ I've been using this tutorial to try to understand the basic te... | android|azure | 1 | 2016-04-22T11:19:56.117Z | 2,016 | 4 | 11 | 4 | 62 | 1 | 1,255 | 96 | 2 | 1 | true | false | false | false | false | false | low |
36,792,473 | tag with element(without tag) and attribute in android using simple xml | <p>I want to create xml string like below and for that I am using <a href="http://simple.sourceforge.net/download/stream/doc/examples/examples.php" rel="nofollow">Simple Xml</a></p>
<pre><code><data name = "your name">please enter your name</data>
</code></pre>
<p>for that I am creating class</p>
<pre><c... | I want to create xml string like below and for that I am using Simple Xml [CODE] for that I am creating class [CODE] but it give me string after serialize like:: [CODE] If I set @Element annotation to value [CODE] then it is comes with value tag that I dont want [CODE] so how can I map above string from object? What If... | android|simple-framework | 1 | 2016-04-22T11:20:13.510Z | 2,016 | 4 | 11 | 4 | 654 | 1 | 390 | 71 | 2 | 5 | true | false | false | false | false | false | low |
36,792,485 | AlertDialog not using material design correctly? | <p>In the material design <a href="https://www.google.com/design/spec/components/dialogs.html#dialogs-specs" rel="nofollow noreferrer">documentation</a> it says the content padding of the dialog's text should be 24dp, but if you construct a simple AlerDialog with following code there isn't any bottom padding as you can... | In the material design documentation it says the content padding of the dialog's text should be 24dp, but if you construct a simple AlerDialog with following code there isn't any bottom padding as you can see in the screenshot. [CODE] | android|material-design|android-alertdialog | 1 | 2016-04-22T11:20:50.010Z | 2,016 | 4 | 11 | 4 | 551 | 2 | 234 | 48 | 3 | 1 | true | false | false | false | false | false | low |
36,792,702 | Android studio adding admob in java class/findViewById error | <p>please help. I have Imageview slider app in android studio. And then I'll tried to add admob by adding code in one of Java classes after sync with Google Services.But it give mistakes</p>
<pre><code> C:\Users\AVERAIN\AndroidStudioProjects\southkorea\app\src\main\java\com\ave_rain\southkorea\FragmentOne.java
... | please help. I have Imageview slider app in android studio. And then I'll tried to add admob by adding code in one of Java classes after sync with Google Services.But it give mistakes [CODE] Code In one of Java class called Fragment [CODE] | java|android|android-fragments|android-studio | 0 | 2016-04-22T11:30:59.187Z | 2,016 | 4 | 11 | 4 | 1,164 | 3 | 239 | 60 | 4 | 2 | true | false | false | false | false | false | zero |
36,792,790 | What about BuildType_Decorated info in Gradle log? | <p>When I start Gradle to build a test or debug application, It logs this at the very beginning.</p>
<pre><code>BuildType_Decorated{name=release, ...
</code></pre>
<p>with attributs from the release builtType, While I ran the Debug buildType !</p>
<p>Any idea what this issue could be ?</p>
<pre><code>compileSdkVer... | When I start Gradle to build a test or debug application, It logs this at the very beginning. [CODE] with attributs from the release builtType, While I ran the Debug buildType ! Any idea what this issue could be ? [CODE] | android|gradle|android-build|android-build-type | 0 | 2016-04-22T11:35:23.427Z | 2,016 | 4 | 11 | 4 | 418 | 0 | 220 | 50 | 4 | 2 | true | true | false | false | false | false | zero |
36,792,840 | An old data is keeped in my Android Sqlite database | <p>I'm doing update of my app, the goals of this, is to send data trough a SOAP service, my idea is to drop table at each app update, or uninstallation and reinstallation, so I did this:</p>
<pre><code>private static final int DATABASE_VERSION = 2;
private static final String DATABASE_NAME = "name.db";
private static ... | I'm doing update of my app, the goals of this, is to send data trough a SOAP service, my idea is to drop table at each app update, or uninstallation and reinstallation, so I did this: [CODE] But when my SOAP service do a loop on my database and look at the data not sent, I found an old data, but I don't understand why ... | android|sqlite | 0 | 2016-04-22T11:37:59.450Z | 2,016 | 4 | 11 | 4 | 489 | 2 | 422 | 51 | 2 | 2 | true | false | false | false | false | false | zero |
36,792,852 | Custom Keyboard - capturing barcode scan results | <p>Ok, so here is the situation:
I am working with a keyboard (<a href="https://github.com/AnySoftKeyboard/AnySoftKeyboard" rel="nofollow">https://github.com/AnySoftKeyboard/AnySoftKeyboard</a>) and a barcode scanner (<a href="https://github.com/dm77/barcodescanner" rel="nofollow">https://github.com/dm77/barcodescanner... | Ok, so here is the situation: I am working with a keyboard ( https://github.com/AnySoftKeyboard/AnySoftKeyboard ) and a barcode scanner ( https://github.com/dm77/barcodescanner ). When I press a specific button on the keyboard, it opens the barcode scanner, after it scans, it returns to the previous screen (let's say m... | android|keyboard|android-softkeyboard|custom-keyboard | 1 | 2016-04-22T11:38:38.237Z | 2,016 | 4 | 11 | 4 | 437 | 1 | 881 | 48 | 4 | 1 | true | false | false | false | false | false | low |
36,792,877 | how to update the contents of the TextView from EditText in alertdialog | <p>I want to update TextView after Button OK on alertdialog clicked but can't.</p>
<p>As from the code, I am using ListView and using method OnItemClickListener() to handle the ItemClick from ListView.</p>
<p>My Code is as below :</p>
<pre><code>lvMainChat.setOnItemClickListener(new AdapterView.OnItemClickListener()... | I want to update TextView after Button OK on alertdialog clicked but can't. As from the code, I am using ListView and using method OnItemClickListener() to handle the ItemClick from ListView. My Code is as below : [CODE] | android|eclipse | 1 | 2016-04-22T11:39:56.830Z | 2,016 | 4 | 11 | 4 | 82 | 0 | 220 | 71 | 2 | 1 | true | true | false | false | false | false | low |
36,792,884 | Many error messages after updating Gradle plugin for Android to 2.0.0 | <p>Since updating Gradle Plugin for Android to 2.0.0, there are many error messages in all projects in Android Studio 2.0.</p>
<p>I would like to know the reason for this and possibly how to avoid it.</p>
<p>This seems <em>not</em> related to the code of my projects, as the errors also show up in an empty or blank pr... | Since updating Gradle Plugin for Android to 2.0.0, there are many error messages in all projects in Android Studio 2.0. I would like to know the reason for this and possibly how to avoid it. This seems not related to the code of my projects, as the errors also show up in an empty or blank project. There are in fact hun... | android|android-studio|gradle-plugin | 4 | 2016-04-22T11:40:12.283Z | 2,016 | 4 | 11 | 4 | 1,017 | 1 | 1,227 | 69 | 3 | 1 | true | false | false | false | false | false | low |
36,792,904 | Volley get method not work | <p>I have a problem. I am trying to take the movie name with volley get method on myapifilms, but can't get it to work. Where did I make mistakes? </p>
<p>output:Volley error</p>
<p><img src="https://i.stack.imgur.com/6KbGx.png" alt="ShowUrl"></p>
<pre><code> RequestQueue requestQueue = Volley.newRequestQueue(ge... | I have a problem. I am trying to take the movie name with volley get method on myapifilms, but can't get it to work. Where did I make mistakes? output:Volley error [CODE] | android|get|android-volley | -1 | 2016-04-22T11:41:06.103Z | 2,016 | 4 | 11 | 4 | 340 | 1 | 170 | 26 | 3 | 1 | true | false | false | false | false | true | negative |
36,792,922 | got error on datetime while using JsonServices in asp.net and android | <p>We are doing an app which uses jsonservice(webservice/RESTfull webservice) for backend datadase proccess and andriod as front end.. </p>
<pre><code>public DataTable retrv(string id)
{
check();
int ID = Convert.ToInt32(id.ToString());
SqlCommand cmd = new SqlCommand();
cmd.Connection = con;
cmd.C... | We are doing an app which uses jsonservice(webservice/RESTfull webservice) for backend datadase proccess and andriod as front end.. [CODE] While using this code using jsonservice from Android Studio we got all the records in exact format except the Date_Time. we got records like this : I/System.out: @@@@@@@@@@@@@@@@@@@... | c#|android|asp.net|json | -1 | 2016-04-22T11:41:55.170Z | 2,016 | 4 | 11 | 4 | 52 | 1 | 620 | 69 | 4 | 2 | true | false | false | false | false | true | negative |
36,792,963 | Runtime Error Android Studio | <p>I get this output when running my app on my J5. Don't know what 2 do plz help </p>
<pre><code>E/AndroidRuntime: FATAL EXCEPTION:
Process: com.example.android.testapp, PID:
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.android.testapp/com.example.android.testapp.MainActivity}... | I get this output when running my app on my J5. Don't know what 2 do plz help [CODE] I've looked at blogs, youtube videos and here, in StackOverflow, but I don't know how to solve this. | android | -8 | 2016-04-22T11:44:24.553Z | 2,016 | 4 | 11 | 4 | 6,542 | 2 | 185 | 28 | 1 | 1 | true | false | true | false | false | true | negative |
36,793,084 | App Indexing: Google App search not working with specified uri | <p>The url I want to deep link is in the following format:
<a href="https://abc.example.com" rel="nofollow">https://abc.example.com</a></p>
<p>My intent filter in the particular activity looks like this:</p>
<pre><code><intent-filter>
<action android:name="android.intent.action.VIEW" />
<category andro... | The url I want to deep link is in the following format: https://abc.example.com My intent filter in the particular activity looks like this: [CODE] On doing a google browser search, my activity gets deep linked fine. However, a search in the Google app launcher (local search) does not work. This is what I've coded in t... | android-intent|uri|intentfilter|deep-linking|google-app-indexing | 2 | 2016-04-22T11:50:20.433Z | 2,016 | 4 | 11 | 4 | 348 | 1 | 497 | 62 | 5 | 2 | true | false | false | false | false | false | low |
36,793,086 | jGit usage on Android device | <p>I'm trying to execute jGit library on Android device. I want to create local repository.</p>
<p>That code is working on PC: </p>
<pre><code>File fRepositoryDir = new File("D:/My/jgittestrpo");
if (!fRepositoryDir.exists()) {
fRepositoryDir.mkdirs();
}
Repository localRepo;
Git git;
try {
localRepo = new F... | I'm trying to execute jGit library on Android device. I want to create local repository. That code is working on PC: [CODE] That same code on Android device not working: [CODE] Exception on Android device: [CODE] Where is problem? May be i using incorrect library? | android|git|jgit | 0 | 2016-04-22T11:50:27.837Z | 2,016 | 4 | 11 | 4 | 1,387 | 2 | 264 | 28 | 3 | 3 | true | false | false | false | false | false | zero |
36,793,154 | AccessibilityService not returning view ids | <p>I'm writing an acessibility service in Android which relies on getting the view id of the currently selected view, however on some devices (Nexus 6P 6.0.1, Samsung Galaxy S6 edge+ 5 + 6.0.1) I get no view id through and on others (HTC One M8 5.0.1) it comes through fine. Because it works fine on some devices, I'm s... | I'm writing an acessibility service in Android which relies on getting the view id of the currently selected view, however on some devices (Nexus 6P 6.0.1, Samsung Galaxy S6 edge+ 5 + 6.0.1) I get no view id through and on others (HTC One M8 5.0.1) it comes through fine. Because it works fine on some devices, I'm sure ... | android|accessibility|android-a11y | 8 | 2016-04-22T11:53:25.530Z | 2,016 | 4 | 11 | 4 | 4,454 | 2 | 554 | 43 | 3 | 3 | true | false | true | false | false | false | medium |
36,793,182 | Make a Dialogfragment in android full screen without actionbar | <p>I am trying to display a dialog fragment embeded inside another fragment but whenever it shows, There is a plain white background at the top occupying the space where the action bar normally goes.</p>
<p>How do i display full screen of the dialog?</p>
<p>Here is my dialog fragment.</p>
<pre><code>public class Hel... | I am trying to display a dialog fragment embeded inside another fragment but whenever it shows, There is a plain white background at the top occupying the space where the action bar normally goes. How do i display full screen of the dialog? Here is my dialog fragment. [CODE] I have simple shown the dialog like this. [C... | android|android-fragments|android-dialogfragment | 0 | 2016-04-22T11:54:32.693Z | 2,016 | 4 | 11 | 4 | 2,486 | 1 | 324 | 62 | 3 | 2 | true | false | false | false | false | false | zero |
36,793,207 | URL Shortener using google API key | <p>I am using this code to shorten my long Url. I am doing something wrong?</p>
<pre><code>Urlshortener.Builder builder = new Urlshortener.Builder (AndroidHttp.newCompatibleTransport(),
AndroidJsonFactory.getDefaultInstance(), null);
Urlshortener urlshortener = builder.build();
com.google.api.services.urlshor... | I am using this code to shorten my long Url. I am doing something wrong? [CODE] But it gives me Exception. [CODE] | java|android | 1 | 2016-04-22T11:56:07.333Z | 2,016 | 4 | 11 | 4 | 889 | 1 | 113 | 34 | 2 | 2 | true | false | false | false | false | false | low |
36,793,362 | Android for loop not counting properly | <p>So I have 3 timers. For the first one I want only to appear once, because it's something like get ready timer.</p>
<p>For the second and third I want to appear as many times as user wants. Before timers start user must select number of times by pressing on + or - buttons which then set value of a TextView. </p>
<p... | So I have 3 timers. For the first one I want only to appear once, because it's something like get ready timer. For the second and third I want to appear as many times as user wants. Before timers start user must select number of times by pressing on + or - buttons which then set value of a TextView. That's done with th... | java|android|xml|timer | 0 | 2016-04-22T12:03:33.243Z | 2,016 | 4 | 12 | 4 | 41 | 1 | 681 | 38 | 4 | 2 | true | false | false | false | false | false | zero |
36,793,379 | RecyclerView Header under items in Android | <p>I can't find solution for such behaviour:</p>
<p><a href="https://i.stack.imgur.com/WpdkS.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/WpdkS.jpg" alt="LinkedIn Pulse"></a></p>
<p>It is that header of the RecyclerView is a little bit under items. Of course I guess that it is RecyclerView. </p>
<p>How ... | I can't find solution for such behaviour: It is that header of the RecyclerView is a little bit under items. Of course I guess that it is RecyclerView. How can I achieve that? EDIT What I have done is just adding decoration for recycler view. This is my simple decorator: [CODE] It's working but the problem is that this... | android|android-recyclerview | 13 | 2016-04-22T12:04:04.330Z | 2,016 | 4 | 12 | 4 | 3,138 | 3 | 1,192 | 42 | 2 | 2 | true | false | true | false | true | false | medium |
36,793,404 | Checking Android FAB visibility always returns VISIBLE from Robolectric test case | <p>While writing a Robolectric unit test, I noticed my <code>getVisibility()</code> call returned 0 (VISIBLE) after calling <code>fab.hide()</code>, so I assumed it was due to animation and to test it out, added a delayed check. Surprisingly it has also returned VISIBLE. On the actual device it works as expected and re... | While writing a Robolectric unit test, I noticed my getVisibility() call returned 0 (VISIBLE) after calling fab.hide() , so I assumed it was due to animation and to test it out, added a delayed check. Surprisingly it has also returned VISIBLE. On the actual device it works as expected and returns the correct values. ED... | android|robolectric | 4 | 2016-04-22T12:05:29.950Z | 2,016 | 4 | 12 | 4 | 869 | 2 | 530 | 81 | 2 | 2 | true | false | false | false | false | false | low |
36,793,423 | update UI when a variable from other Classes is changed | <p>I have an offline-map App which uses GPS-Tracker. My primary goal is to sense changes in latitude and longitude and update a <code>TextView</code>. <br> My <code>GPS-Tracker</code> class is implemented as follows: </p>
<pre><code>public class GPSTracker extends Service implements LocationListener {
...
pu... | I have an offline-map App which uses GPS-Tracker. My primary goal is to sense changes in latitude and longitude and update a TextView . My GPS-Tracker class is implemented as follows: [CODE] Question: How can I directly sense changes of Latitude and Longitude (in MainActivity ) and modify UI. what I so far tested: UI u... | android | 0 | 2016-04-22T12:06:10.193Z | 2,016 | 4 | 12 | 4 | 89 | 2 | 650 | 55 | 1 | 1 | true | false | false | false | false | false | zero |
36,793,491 | Controlling progressbars of fragments from the activity | <p>I am working on android filebrowser project in which I am using TabLayout. It contains two sliding tabs. One is Images and another is Videos. I am trying to load the images and videos from device memory and put it in recyclerviews of Tabs. In the activity I load image and video files into two ArrayList using async t... | I am working on android filebrowser project in which I am using TabLayout. It contains two sliding tabs. One is Images and another is Videos. I am trying to load the images and videos from device memory and put it in recyclerviews of Tabs. In the activity I load image and video files into two ArrayList using async task... | android|android-fragments|android-tablayout | 0 | 2016-04-22T12:09:10.143Z | 2,016 | 4 | 12 | 4 | 90 | 0 | 570 | 55 | 3 | 4 | true | true | false | false | false | false | zero |
36,793,666 | EditText in ListView loses content in scrolling | <p>I've been digging to find a solution on my problem finding answers but none of them have worked for me. :/ I have a listview with edittext in each list item and when scrolling down and go up again content of the edited edittext has been lost or other edittext has taken his value.</p>
<p>please help me some one</p>
... | I've been digging to find a solution on my problem finding answers but none of them have worked for me. :/ I have a listview with edittext in each list item and when scrolling down and go up again content of the edited edittext has been lost or other edittext has taken his value. please help me some one MainActivity:- ... | android|listview|android-edittext | 1 | 2016-04-22T12:18:17.560Z | 2,016 | 4 | 12 | 4 | 1,202 | 3 | 373 | 47 | 3 | 3 | true | false | false | false | false | false | low |
36,793,828 | Setting Listview onItemClickListener to a specific Intent | <p>Hello I'm attempting to set up my onclicklistner to my list view so that I can open a range of intents for example I want the user to be able to press one of the options from the list and it makes a phone call or opens a website etc... Currently I have this set up working find when just linked to a simple button but... | Hello I'm attempting to set up my onclicklistner to my list view so that I can open a range of intents for example I want the user to be able to press one of the options from the list and it makes a phone call or opens a website etc... Currently I have this set up working find when just linked to a simple button but no... | android|list|listview|android-intent|onitemclicklistener | 0 | 2016-04-22T12:27:10.203Z | 2,016 | 4 | 12 | 4 | 245 | 4 | 817 | 57 | 5 | 2 | true | false | false | false | false | false | zero |
36,793,872 | moveTaskToBack in onCreate causes activity to show briefly and then hide | <p>I have a BroadcastReceiver that receives a push notification,
I then start an activity and show a notification.
(notice that the activity is not started when the user actions the notification)</p>
<p>My intention is to start the activity in "background mode" and then when the user responds to the notification bring... | I have a BroadcastReceiver that receives a push notification, I then start an activity and show a notification. (notice that the activity is not started when the user actions the notification) My intention is to start the activity in "background mode" and then when the user responds to the notification bring the activi... | android|android-intent|android-activity|broadcastreceiver | 2 | 2016-04-22T12:29:05.463Z | 2,016 | 4 | 12 | 4 | 1,862 | 2 | 486 | 72 | 4 | 1 | true | false | false | false | false | false | low |
36,793,953 | Gradle - DependencySubstitution for Android App with a Library | <p>I have an Android app project with separate android library module inside, that is published as a binary. I'd like to add an ability to switch the gradle between building a library from sources or using the published artifact.
Android app depends on binary artifact by default :</p>
<p><code>compile "com.example.ko... | I have an Android app project with separate android library module inside, that is published as a binary. I'd like to add an ability to switch the gradle between building a library from sources or using the published artifact. Android app depends on binary artifact by default : compile "com.example.konstantin.mylibrary... | android|gradle|android-gradle-plugin|dependency-management | 6 | 2016-04-22T12:32:01.337Z | 2,016 | 4 | 12 | 4 | 1,854 | 1 | 799 | 62 | 4 | 2 | true | false | false | false | false | false | medium |
36,794,051 | Getting IOException with no error message Android | <p>Using Android Studio 2.0</p>
<p>Getting no output for</p>
<pre><code>Log.v(LOG_TAG, "Response Code" + urlConnection.getResponseCode());
Log.v(LOG_TAG, "Error Stream" + urlConnection.getErrorStream());
Log.v(LOG_TAG, "Request Method" + urlConnection.getRequestMethod());
</code></pre>... | Using Android Studio 2.0 Getting no output for [CODE] using Built URI on browser gives me correct result. before urlConnection.connect(); calling getRequestMethod() gives me method name GET . Code [CODE] Error Log 04-22 18:42:16.444 9011-9011/com.android.serverwarrior.sunshine E/ViewRootImpl: sendUserActionEvent() mVie... | java|android|android-studio|httpurlconnection|openweathermap | 1 | 2016-04-22T12:37:25.837Z | 2,016 | 4 | 12 | 4 | 380 | 1 | 419 | 49 | 5 | 2 | true | false | false | false | false | false | low |
36,794,069 | android.view.inflateexception binary xml file line | <p>I am developing android application.In my application I have used NavigationView .But it display InflateException in main xml file and application gets closed.</p>
<p>my code is here</p>
<pre><code><android.support.v4.widget.DrawerLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns... | I am developing android application.In my application I have used NavigationView .But it display InflateException in main xml file and application gets closed. my code is here [CODE] How to solve this problem? | android|navigationview|inflate-exception | -1 | 2016-04-22T12:38:23.707Z | 2,016 | 4 | 12 | 4 | 144 | 1 | 209 | 50 | 3 | 1 | true | false | false | false | false | true | negative |
36,794,107 | NDK-build id not found in path | <p>I would like to install OpenCV4Android in my Windows7 Notebook and need to start with the tutorials part. I already have Eclipse (Java), SDK and ADT bundles installed. </p>
<p>I am following the link here's</p>
<p><a href="http://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/O4A_SDK.html" r... | I would like to install OpenCV4Android in my Windows7 Notebook and need to start with the tutorials part. I already have Eclipse (Java), SDK and ADT bundles installed. I am following the link here's http://docs.opencv.org/2.4/doc/tutorials/introduction/android_binary_package/O4A_SDK.html While following the above link,... | android|eclipse|opencv|android-ndk | 2 | 2016-04-22T12:39:56.500Z | 2,016 | 4 | 12 | 4 | 258 | 0 | 1,155 | 30 | 4 | 0 | false | true | false | false | false | false | low |
36,794,123 | Issues In Intent Passing Using Database | <p>My problem is how to pass Rating bar value in to another activity using another putExtra method?any one solve this problem?
Here is my First activity </p>
<pre><code>public void giveRating(View v)
{
String Name = spinner.getSelectedItem().toString();
Float Rating = ratingBar.getRatin... | My problem is how to pass Rating bar value in to another activity using another putExtra method?any one solve this problem? Here is my First activity [CODE] Second Activity [CODE] Database Activity [CODE] | java|android|android-intent | 1 | 2016-04-22T12:40:26.863Z | 2,016 | 4 | 12 | 4 | 58 | 1 | 204 | 39 | 3 | 3 | true | false | false | false | false | false | low |
36,794,163 | Why can't i see logs of code pieces triggered by AlarmManager? | <p>I'm very new to android studio development so the answer is probably trivial.
That being said, I've busted my head around the problem for a day now :/</p>
<p>I am trying to run a chunk of code every 10 seconds even when the app is closed using AlarmManager.</p>
<p>I copy-pasted what is suggested in this guide <a h... | I'm very new to android studio development so the answer is probably trivial. That being said, I've busted my head around the problem for a day now :/ I am trying to run a chunk of code every 10 seconds even when the app is closed using AlarmManager. I copy-pasted what is suggested in this guide https://guides.codepath... | android-studio|alarmmanager|intentservice | 1 | 2016-04-22T12:42:21.473Z | 2,016 | 4 | 12 | 4 | 366 | 1 | 1,136 | 62 | 3 | 5 | true | false | false | false | false | false | low |
36,794,243 | How to process an image with OpenCV onPictureTaken? | <p>I've been trying to process an image as soon as the picture was taken i.e. in the <code>onPictureTaken()</code> callback. As it was to my understanding I should convert the byte array to an OpenCV matrix, but the entire app freezes when I try to do that. Basically all I did was this:</p>
<pre><code>@Override
public... | I've been trying to process an image as soon as the picture was taken i.e. in the onPictureTaken() callback. As it was to my understanding I should convert the byte array to an OpenCV matrix, but the entire app freezes when I try to do that. Basically all I did was this: [CODE] Does anyone know why it freezes and how t... | android|opencv|opencv3.1 | 5 | 2016-04-22T12:46:01.740Z | 2,016 | 4 | 12 | 4 | 746 | 1 | 626 | 51 | 3 | 5 | true | false | false | false | false | false | low |
36,794,345 | Android ExoPlayer Listener Infinite loop | <p>I want to use ExoPlayer with SurfaceView and SeekBar. buildTrackName function I took from ExoPlayer Demo. I want to use SeekBar for changing position of player and listView for displaying all of audio track of my video. When I'm use ExoPlayer functions to get player duration or get all audio tracks from video, these... | I want to use ExoPlayer with SurfaceView and SeekBar. buildTrackName function I took from ExoPlayer Demo. I want to use SeekBar for changing position of player and listView for displaying all of audio track of my video. When I'm use ExoPlayer functions to get player duration or get all audio tracks from video, these fu... | android|loops|listener|infinite-loop|exoplayer | 1 | 2016-04-22T12:50:47.963Z | 2,016 | 4 | 12 | 4 | 2,337 | 1 | 609 | 40 | 5 | 1 | true | false | false | false | false | false | low |
36,794,399 | ParseException when querying custom object: no results found for query. Code 101 | <p>I'm trying to create Android app with a Parse database of my alarms and everything looks nice when i create them however i cannot query them for some reason. </p>
<p>Alarm is being created by the same user. ACL for Alarm object is Public Read + Write. I tried to put only LOCAL_ID in query but still same result.</p>... | I'm trying to create Android app with a Parse database of my alarms and everything looks nice when i create them however i cannot query them for some reason. Alarm is being created by the same user. ACL for Alarm object is Public Read + Write. I tried to put only LOCAL_ID in query but still same result. My code: here I... | java|android|parse-platform | 1 | 2016-04-22T12:53:10.480Z | 2,016 | 4 | 12 | 4 | 132 | 1 | 441 | 80 | 3 | 2 | true | false | false | false | false | false | low |
36,794,409 | How to pin two buttons below toolbar while scrolling | <p><a href="https://i.stack.imgur.com/orFcZ.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/orFcZ.gif" alt="Enter image description here"></a></p>
<p>I want to achieve something like this as shown in image</p>
<p>I have tried this code but not able to pin button below top image or toolbar</p>
<p>In this I ... | I want to achieve something like this as shown in image I have tried this code but not able to pin button below top image or toolbar In this I am trying to have toolbar and below that i have nested scrollview and inside that scrollview I have one more scrollview(scrollview2). I want to pin or anchor a button to scrollv... | android|scrollview | 17 | 2016-04-22T12:53:40.317Z | 2,016 | 4 | 12 | 4 | 4,676 | 2 | 661 | 52 | 2 | 3 | true | false | true | false | true | false | medium |
36,794,477 | Gradle experimental JNI OpenCv arm 64-v8a linker error | <p>I have a project which uses opencv android sdk and in order to speed thing up decided to implement some functions in C++.</p>
<p>Anyway I am using gradle experimental plugin 0.4.0 and when to build for arm64-v8a, linker tells me it could not find the libraries in the jniLibs folder.. tries many different variations... | I have a project which uses opencv android sdk and in order to speed thing up decided to implement some functions in C++. Anyway I am using gradle experimental plugin 0.4.0 and when to build for arm64-v8a, linker tells me it could not find the libraries in the jniLibs folder.. tries many different variations and I beli... | android|opencv|linker|java-native-interface | 1 | 2016-04-22T12:56:06.460Z | 2,016 | 4 | 12 | 4 | 737 | 1 | 801 | 54 | 4 | 2 | true | false | false | false | false | false | low |
36,794,506 | NullPointerException on android 4.4.3 but not 4.1.2 | <p>I have a problem where by a section of my android app works fine on android version 4.1.2 but throws a NullPointerException when the same section is executed on android 4.4.3. My minimum sdk is set to 15 and target sdk is 21. Please find the code below:</p>
<pre><code>try {
FileInputStream towe = new FileInputS... | I have a problem where by a section of my android app works fine on android version 4.1.2 but throws a NullPointerException when the same section is executed on android 4.4.3. My minimum sdk is set to 15 and target sdk is 21. Please find the code below: [CODE] Morning guys, been away for a while. It turned out Exceptio... | java|android|nullpointerexception | 0 | 2016-04-22T12:57:35.300Z | 2,016 | 4 | 12 | 4 | 71 | 1 | 611 | 51 | 3 | 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.