id
int64
28.5M
73.8M
title
stringlengths
15
150
question_body
stringlengths
69
39.4k
body_text
stringlengths
6
29.2k
tags
stringlengths
7
120
score
int64
-19
384
creation_date
stringlengths
20
24
year
int64
-1
2.02k
month
int64
-1
12
hour
int64
-1
23
dayofweek
int64
-1
6
view_count
int64
3
367k
answer_count
int64
0
34
body_len
int64
6
29.2k
title_len
int64
15
150
tag_count
int64
1
6
code_block_cnt
int64
0
17
has_code
bool
2 classes
is_unanswered
bool
2 classes
is_popular
bool
2 classes
is_viral
bool
2 classes
is_highly_voted
bool
2 classes
is_negative
bool
2 classes
score_bucket
stringclasses
5 values
37,055,371
Superscript my menu item title in my XML
<p>I want to have a part of my item's title as a superscript. Like the "²".</p> <p>I want to do that in my drawermenu.xml (which only have <code>&lt;menu&gt;</code> and <code>&lt;item&gt;</code> markers), in the <code>android:title</code> attribute. </p> <p>Here's my code :</p> <pre><code>&lt;item android:title="The...
I want to have a part of my item's title as a superscript. Like the "²". I want to do that in my drawermenu.xml (which only have <menu> and <item> markers), in the android:title attribute. Here's my code : [CODE] I tried with : [CODE] and with : [CODE] With both, I have the following error : [CODE] In fact, at each tim...
android|xml|android-studio|navigation-drawer
1
2016-05-05T16:14:29.973Z
2,016
5
16
3
133
0
564
40
4
5
true
true
false
false
false
false
low
37,055,386
How to align accordingly an ImageView and a TextView in a custom ListView row?
<p>I have created a list view with a custom adapter and custom row layout that includes an ImageView and a TextView. </p> <p>What my problem is, because of the views that are <strong>programatically created at my app run time</strong> this result comes up for ex: <a href="https://i.stack.imgur.com/k61y0.png" rel="nofo...
I have created a list view with a custom adapter and custom row layout that includes an ImageView and a TextView. What my problem is, because of the views that are programatically created at my app run time this result comes up for ex: * Black rectangles represent icons in each row The view that includes these views is...
android|listview|textview|imageview
0
2016-05-05T16:15:18.233Z
2,016
5
16
3
488
4
598
78
4
1
true
false
false
false
false
false
zero
37,055,414
Android Java.io.FileNotFoundException when trying to download and save a video
<p>I'm trying to develop an app which provides many movies and you can play it or download the movie.</p> <p>That app works fine in my <strong>rooted</strong> Galaxy S4 (Kitkat API:19), but when I install it on another device and try to download the movie it gives my the exception <code>Java.io.FileNotFoundException</...
I'm trying to develop an app which provides many movies and you can play it or download the movie. That app works fine in my rooted Galaxy S4 (Kitkat API:19), but when I install it on another device and try to download the movie it gives my the exception Java.io.FileNotFoundException , I don't know what's the problem T...
android|exception|download|movies
0
2016-05-05T16:16:45.203Z
2,016
5
16
3
1,328
1
414
78
4
2
true
false
false
false
false
false
zero
37,055,499
How to use devise_token_auth access token to initiate user session with HTML?
<p>I have a rails 4 app that uses devise and devise_token_auth gems. I want my rails app to use devise normally for html requests, and use devise_token_auth to retrieve an access token. All of the above works fine.</p> <p>Now, from my REST Client, I want to use the access_token headers to retrieve the html root page. ...
I have a rails 4 app that uses devise and devise_token_auth gems. I want my rails app to use devise normally for html requests, and use devise_token_auth to retrieve an access token. All of the above works fine. Now, from my REST Client, I want to use the access_token headers to retrieve the html root page. In my appli...
android|ruby-on-rails|devise|android-webview|http-token-authentication
2
2016-05-05T16:21:29.463Z
2,016
5
16
3
359
0
1,823
77
5
6
true
true
false
false
false
false
low
37,055,521
Android Button implements Checkable doesn't change drawable
<p>I have to create a set of View representing week's days and that are checkable, to select and deselect the availability in that day. <a href="http://i.stack.imgur.com/X1zBs.jpg" rel="nofollow">Days buttons layout</a></p> <p>I create a custom view that extends Button and implements Checkable. I assigned a selector d...
I have to create a set of View representing week's days and that are checkable, to select and deselect the availability in that day. Days buttons layout I create a custom view that extends Button and implements Checkable. I assigned a selector drawable to it in order to change color when checked. The problem is that it...
android|button|checkbox
1
2016-05-05T16:22:42.877Z
2,016
5
16
3
1,433
0
641
59
3
3
true
true
false
false
false
false
low
37,055,702
The attribute is not declared (Android) on basic xml attributes
<p>I'm new to this Android development, and I find the layout of it really confusing. I'm trying to have a background image on a view, and I've tried using this example <a href="https://stackoverflow.com/questions/21002224/add-a-background-image-to-shape-in-xml-android">Add a background image to shape in xml Android</a...
I'm new to this Android development, and I find the layout of it really confusing. I'm trying to have a background image on a view, and I've tried using this example Add a background image to shape in xml Android , but it looks very bad (bitmaps you know) So I thought vectors could be fun. Only problem is that I cannot...
android|xml|xamarin
26
2016-05-05T16:32:48.460Z
2,016
5
16
3
27,723
3
844
63
3
3
true
false
true
true
true
false
high
37,055,719
How create Android different notification every time?
<p>Notification work normally one problem is All notification go to last notification link. How can I fix it? Every notification go to it's own link. Every message notification go to he's/she's inbox. How can I do that?</p> <pre><code>Intent intent_activity_start = new Intent(this,MainActivity.class); ...
Notification work normally one problem is All notification go to last notification link. How can I fix it? Every notification go to it's own link. Every message notification go to he's/she's inbox. How can I do that? [CODE]
android|android-notifications
0
2016-05-05T16:33:37.053Z
2,016
5
16
3
391
0
223
53
2
1
true
true
false
false
false
false
zero
37,055,839
How can i put an ImageView underneath a transparent toolbar?
<p>I'm trying to achieve something like <a href="http://i.stack.imgur.com/qfI1i.png" rel="nofollow">this</a> . I want a transparent toolbar/statusbar with an ImageView underneath them.</p> <p>I wasn't able to make the toolbar transparent so I tried using <em>CollapsingToolbarLayout</em> and removing the scroll behavio...
I'm trying to achieve something like this . I want a transparent toolbar/statusbar with an ImageView underneath them. I wasn't able to make the toolbar transparent so I tried using CollapsingToolbarLayout and removing the scroll behaviour. It worked but I wasn't able to make the status bar transparent. Is there a way t...
android|android-toolbar
0
2016-05-05T16:40:11.400Z
2,016
5
16
3
1,367
2
491
60
2
1
true
false
false
false
false
false
zero
37,055,969
Getting current Location now, not on update
<p>I'm building an app that requires your current location to initialize and show a map. I am requesting location updates with <code>LocationManager.requestLocationUpdates(...)</code>, but this only appears to give me data when the location changes (for example I move 10 feet). I am also attempting to use getLastKnownL...
I'm building an app that requires your current location to initialize and show a map. I am requesting location updates with LocationManager.requestLocationUpdates(...) , but this only appears to give me data when the location changes (for example I move 10 feet). I am also attempting to use getLastKnownLocation, but in...
android|gps|android-gps
-1
2016-05-05T16:47:24.297Z
2,016
5
16
3
1,346
2
1,252
43
3
0
false
false
false
false
false
true
negative
37,056,106
the RecyclerView I am injecting does not appear?
<p>Here is my xml file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" android:baselineAlig...
Here is my xml file: [CODE] The main reason I did this design was to try to display the [CODE] properly. However, when it is not being displayed at all. Before adding the two relativelayouts, I have one relative layout and the recyclerview did display, but it match_parent for every item of the list and was not able to ...
android|xml|view|android-recyclerview|android-relativelayout
0
2016-05-05T16:55:10.867Z
2,016
5
16
3
45
1
363
48
5
2
true
false
false
false
false
false
zero
37,056,107
xml processing on a client server application in java using sockets
<p>I am writing a client server application in java for XML processing.</p> <p>I have successfully implemented a multi-threaded server that can handle multiple clients. The XML file has a number of transaction tags that are like commands for the server, instructing him to do something( they can have a number of values...
I am writing a client server application in java for XML processing. I have successfully implemented a multi-threaded server that can handle multiple clients. The XML file has a number of transaction tags that are like commands for the server, instructing him to do something( they can have a number of values including ...
java|android|xml|multithreading
1
2016-05-05T16:55:11.180Z
2,016
5
16
3
124
1
1,796
67
4
0
false
false
false
false
false
false
low
37,056,284
PreferenceFragment not being inflated, what to do?
<p>I have an AppCompatActivity and a PreferenceFragment, but on onCreate of de AppCompatActivity the PreferenceFragment is not inflated. The code and the error:</p> <p>I don't know if I need to import something different or get another library or use PreferenceFragmentCompat, but i think it is the same.</p> <pre><cod...
I have an AppCompatActivity and a PreferenceFragment, but on onCreate of de AppCompatActivity the PreferenceFragment is not inflated. The code and the error: I don't know if I need to import something different or get another library or use PreferenceFragmentCompat, but i think it is the same. [CODE] The xml File: [COD...
android|android-preferences
0
2016-05-05T17:05:34.213Z
2,016
5
17
3
258
1
340
50
2
3
true
false
false
false
false
false
zero
37,056,310
Gradle build failed with error com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry:
<p>I am getting problem building Gradle. Getting this error:</p> <pre><code>Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. &gt; com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzqb.class </code></pre> <p>H...
I am getting problem building Gradle. Getting this error: [CODE] Here I have pasted my Gradle file: [CODE] Any idea how to fix it? I was just trying to update android studio, initially it was working fine.
android|android-studio
0
2016-05-05T17:07:06.037Z
2,016
5
17
3
702
0
205
127
2
2
true
true
false
false
false
false
zero
37,056,314
Reusing adapter for realm objects
<p>I was wondering which ways is best to pass an adapter from one activity to another. Here is my point; I'm using realm as ContentProvider and the a recyclerview to display some data. My realResults variable has a changelistener with the following onChange():</p> <pre><code> public void onChange() { adap...
I was wondering which ways is best to pass an adapter from one activity to another. Here is my point; I'm using realm as ContentProvider and the a recyclerview to display some data. My realResults variable has a changelistener with the following onChange(): [CODE] So anytimes my data changes onChange() is called and my...
android|android-recyclerview|adapter|realm
0
2016-05-05T17:07:10.863Z
2,016
5
17
3
145
1
1,018
33
4
4
true
false
false
false
false
false
zero
37,056,333
How can I optimize my syntax highlighting?
<p>I am making a text editor in Android and I want to add syntax highlighting to it. With my current implementation, the UI is laggy when I type something. I need help with optimizing my current implementation.</p> <pre><code>private void onEditorListener() { edtEditor.addTextChangedListener(new TextWatcher() { ...
I am making a text editor in Android and I want to add syntax highlighting to it. With my current implementation, the UI is laggy when I type something. I need help with optimizing my current implementation. [CODE] [CODE]
android|performance|syntax-highlighting|android-textwatcher
-1
2016-05-05T17:08:16.033Z
2,016
5
17
3
130
2
221
42
4
2
true
false
false
false
false
true
negative
37,056,417
Can fragments retain the state of collected data of cardviews
<p>Before I change my design of my android application, I was wondering if I can retain the state of my fragment including all data collected when it is recreated. In my fragment i have an async task that collects the proper data usinf json and it publishes them to diffeerent cardviews. Here is my code:</p> <p><strong...
Before I change my design of my android application, I was wondering if I can retain the state of my fragment including all data collected when it is recreated. In my fragment i have an async task that collects the proper data usinf json and it publishes them to diffeerent cardviews. Here is my code: LatestEventsFragme...
android|android-fragments|android-recyclerview
0
2016-05-05T17:13:18.387Z
2,016
5
17
3
251
1
399
61
3
3
true
false
false
false
false
false
zero
37,056,421
setOnEditorActionListener not launching Activity on Navigation Drawer
<p>So i'm trying to launch an Activity when the user is done writing. But instead of launching the Activity, it seems to run the Program again. I'm saying this cause instead of launching the right Activity it launches the first Activity of my program.</p> <pre><code>search.setOnEditorActionListener(new EditText.OnEdit...
So i'm trying to launch an Activity when the user is done writing. But instead of launching the Activity, it seems to run the Program again. I'm saying this cause instead of launching the right Activity it launches the first Activity of my program. [CODE] Here is the code for the SearchActivity [CODE] Thank you in adva...
android|android-intent|android-edittext
0
2016-05-05T17:13:22.707Z
2,016
5
17
3
227
2
323
69
3
2
true
false
false
false
false
false
zero
37,056,458
making object dissappear after collision! java
<p>i am making an android game in eclipse, and in that game i have a coin and a player. i want my coin to dissappear after colliding with my player.</p> <p>my code looks like this:</p> <p>in my coin class:</p> <pre><code>public boolean collides(Player player){ if (position.x &lt; player.getX() + player.get...
i am making an android game in eclipse, and in that game i have a coin and a player. i want my coin to dissappear after colliding with my player. my code looks like this: in my coin class: [CODE] in another class called scroller: [CODE] and lastly in my gameworld class: [CODE] it is in this last piece of code that i wa...
java|android|eclipse|libgdx
1
2016-05-05T17:15:02.653Z
2,016
5
17
3
299
1
594
46
4
4
true
false
false
false
false
false
low
37,056,784
AdMob ads takes time to load in android application
<p>I have been stuck for hours . I have integrated admob ads on my application and I add it when user write something in edit text but it takes time to load ads some times it comes while some times skip .So user type the text and move to the next activity and my ads not load in time . Can you give me some solution how...
I have been stuck for hours . I have integrated admob ads on my application and I add it when user write something in edit text but it takes time to load ads some times it comes while some times skip .So user type the text and move to the next activity and my ads not load in time . Can you give me some solution how to ...
java|android|eclipse|admob|ads
0
2016-05-05T17:32:50.840Z
2,016
5
17
3
652
1
435
51
5
2
true
false
false
false
false
false
zero
37,056,809
Add validation so that EditText fields cannot be null
<p>So I'm trying to add validation onto my btnSubmit which will check that all editText fields have some sort of data in before storing into the array. Would anyone be able to help?</p> <pre><code> if (btnSubmit == null) throw new AssertionError(); btnSubmit.setOnClickListener(new View.OnClickListener() { ...
So I'm trying to add validation onto my btnSubmit which will check that all editText fields have some sort of data in before storing into the array. Would anyone be able to help? [CODE]
android
-1
2016-05-05T17:34:20.043Z
2,016
5
17
3
99
2
185
53
1
1
true
false
false
false
false
true
negative
37,056,862
Issue with Scrolling in Android Native app using Appium
<p>For my Native Android App , I have been trying for the past 2 weeks to get appium to scroll down on my native app. I have tried <code>driver.scrollTo("Accounts");</code> Then I got this error </p> <pre><code>[org.openqa.selenium.WebDriverException: CATCH_ALL: io.selendroid.server.common.exceptions.SelendroidExcept...
For my Native Android App , I have been trying for the past 2 weeks to get appium to scroll down on my native app. I have tried driver.scrollTo("Accounts"); Then I got this error [CODE] and many other examples that I have found. Nothing seems to work . This is the latest example that I have tried . Using appium 1.5.2 a...
java|android|scroll|appium
1
2016-05-05T17:36:10.540Z
2,016
5
17
3
990
3
699
55
4
3
true
false
false
false
false
false
low
37,057,074
Android: findViewById returns null for view inside nested Relative Layouts
<p>I want to get a reference to a <code>TextView</code>, but it returns a <code>null</code> object. This is the <code>xml</code> file with the layout.</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="matc...
I want to get a reference to a TextView , but it returns a null object. This is the xml file with the layout. [CODE] Don't mind the lack of alignment etc, I removed what's irrelevant for this. I tried doing it the way I normally do (I should mention this is for a list item) like this: [CODE] When that didn't work I did...
java|android|android-layout
1
2016-05-05T17:48:31.327Z
2,016
5
17
3
443
1
524
74
3
3
true
false
false
false
false
false
low
37,057,103
Verify if device is connected with internet, not only with network
<p>I need some method to verify if my network is conected to interne, and during my researchs I found some method describe below:</p> <pre><code>public static boolean hasInternetAccess(Context context) { if (isNetworkAvailable(context)) { try { HttpURLConnection urlc = (HttpURLConnection) ...
I need some method to verify if my network is conected to interne, and during my researchs I found some method describe below: [CODE] ...but my programs will be distributed on China, and Google is blocked on China. I have on mind to create a method like this selecting first my localization to get a Baidoo web site - li...
android|wifi|connectivity
1
2016-05-05T17:50:56.863Z
2,016
5
17
3
1,527
3
469
66
3
1
true
false
false
false
false
false
low
37,057,276
Data overwriting in Parcelable Object Android
<p>In my App my data is not writing correctly in my Parcelable object. I am passing List of Parcelable objects from one activity to another but the data is not writing properly, its overwriting. For eg. There is only 1 item in my List, I add "price = 10" my List and when I try to read this list in the another activity,...
In my App my data is not writing correctly in my Parcelable object. I am passing List of Parcelable objects from one activity to another but the data is not writing properly, its overwriting. For eg. There is only 1 item in my List, I add "price = 10" my List and when I try to read this list in the another activity, I ...
java|android|parcelable
1
2016-05-05T18:00:24.040Z
2,016
5
18
3
173
1
639
45
3
2
true
false
false
false
false
false
low
37,057,431
The open source Xamarin.Android is missing mandroid
<p>I managed to compile the recently open sourced Xamarin.Android code from <a href="https://github.com/xamarin/xamarin-android" rel="nofollow">github</a> on Linux (current ubuntu) and tried to compile the sample, and got the following error:</p> <pre><code>$ tools/scripts/xabuild samples/HelloWorld/HelloWorld.csproj ...
I managed to compile the recently open sourced Xamarin.Android code from github on Linux (current ubuntu) and tried to compile the sample, and got the following error: [CODE] Then I tried my actual app that I wanted to compile and got the same error. It seems to be missing the "mandroid" file, which is called mandroid....
linux|xamarin|msbuild|mono|xamarin.android
2
2016-05-05T18:10:59.003Z
2,016
5
18
3
265
0
867
51
5
1
true
true
false
false
false
false
low
37,057,567
Why aren't I able to send local notifications with Xamarin NotificationManager.notify(..) method
<p>I am just trying to send a simple notification. I start out with this simple interface:</p> <pre class="lang-cs prettyprint-override"><code>public interface INotifier { void LocalNotify(string title, string message); } </code></pre> <p>Then implement the interface in the .droid project like this:</p> <pre c...
I am just trying to send a simple notification. I start out with this simple interface: [CODE] Then implement the interface in the .droid project like this: [CODE] Before the namespace definition of my implementation I have this line to make it a dependency service [CODE] Finally I call the service with the following c...
xamarin|notifications|xamarin.android
1
2016-05-05T18:19:38.240Z
2,016
5
18
3
528
2
486
96
3
4
true
false
false
false
false
false
low
37,057,654
Broadcast not receiving between two custom application
<p>My program is about calculating calories of some food. This is a practice for CS course. I'm beginner on Android OS and I do not know why my receiving process cannot be completed or shown on Activity.</p> <p>I just write the relevant code pieces here. I had some items on sqlite database and I can check my items on ...
My program is about calculating calories of some food. This is a practice for CS course. I'm beginner on Android OS and I do not know why my receiving process cannot be completed or shown on Activity. I just write the relevant code pieces here. I had some items on sqlite database and I can check my items on database wi...
android|android-broadcastreceiver
0
2016-05-05T18:23:56.893Z
2,016
5
18
3
43
2
493
54
2
7
true
false
false
false
false
false
zero
37,057,730
Same code but not working Android (Cursor, update database)
<p>I have a big problem. This is 1st method <code>updateIncomeNoteChangeDay()</code></p> <pre><code>res1.moveToFirst(); while (res1.isAfterLast() == false){ if(res1.getString(1).equals(Date_OldNote) == true){ moneyIncomeDaily = Integer.parseInt(res1.getString(3)); moneyIncomeDaily = moneyIncomeDail...
I have a big problem. This is 1st method updateIncomeNoteChangeDay() [CODE] This is 2nd method updatePayNoteChangeDay() [CODE] And here is my if - else [CODE] Here is list Cursor [CODE] I checked it many times. They are like each other. But i dont understand why this method updateIncomeNoteChangeDay() work perfect. But...
android|cursor
0
2016-05-05T18:28:28.750Z
2,016
5
18
3
56
1
371
59
2
4
true
false
false
false
false
false
zero
37,057,902
Do DEX and Dalvik support Java binary compatibility?
<p>I am building an Android based system that requires sending data through a binary protocol. I expect there will be many versions of multiple protocols and the nightmare that comes with maintaining them.</p> <p>It occurs to me that I might be able to sidestep much of the versioning issue, by using Java's binary com...
I am building an Android based system that requires sending data through a binary protocol. I expect there will be many versions of multiple protocols and the nightmare that comes with maintaining them. It occurs to me that I might be able to sidestep much of the versioning issue, by using Java's binary compatibility. ...
java|android|dalvik|dex
6
2016-05-05T18:38:46.050Z
2,016
5
18
3
193
1
1,424
52
4
0
false
false
false
false
false
false
medium
37,057,925
Firebase - User authentication, my userRef won't work
<p>I'm trying to add user authentication to my app, but I don't understand why I can't access a specific user with following ref inside my FirebaseRecyclerAdapter. </p> <pre><code>waypointsUrl = Constants.FIREBASE_URL + "/users/" + mUserId + "/"; final Firebase userRef = new Firebase(waypointsUrl); </code...
I'm trying to add user authentication to my app, but I don't understand why I can't access a specific user with following ref inside my FirebaseRecyclerAdapter. [CODE] [CODE] My JSON structure. Also wonder if its okey to use "Date added: 2016-05-05 03:50:02" : as key? [CODE] Im guess it's wrong somewhere here that I'm ...
android|firebase|firebase-realtime-database|firebase-authentication
1
2016-05-05T18:40:10.220Z
2,016
5
18
3
252
1
400
53
4
6
true
false
false
false
false
false
low
37,058,018
Android - Adding a calendar event without reminder
<p>I'm using the following function to add an event to calendar:</p> <pre><code>public String addEventToCalendar(long startDate, long endDate, String recurrenceRule, boolean isAllDay, String title, String description, String location, long calendarID) { ContentResolver cr = context.getContentResolver(); Conten...
I'm using the following function to add an event to calendar: [CODE] It works, but the resulting calendar event, have a 30 minutes reminder! I'm not able to figure out why. Any clue please? Thanks a lot.
android|calendar
1
2016-05-05T18:45:16.993Z
2,016
5
18
3
662
2
203
50
2
1
true
false
false
false
false
false
low
37,058,049
Unable to access view outside onCreateView()
<p>I have trying to update views of fragment from activity.And i am getting nullpointerException.</p> <pre><code>public class MyFragment extends Fragment { TextView tv_date, tv_memo_title; public MyFragment() { // Required empty public constructor } @Override public View onCreateView(LayoutInflater inflater, V...
I have trying to update views of fragment from activity.And i am getting nullpointerException. [CODE] I am calling public void setSummary(MyData myData) from my FragmentActivity to update the data on fragment. Here i am getting null pointer exception like below. java.lang.NullPointerException: Attempt to invoke virtual...
java|android|android-fragments|android-view
0
2016-05-05T18:46:23.410Z
2,016
5
18
3
530
2
419
44
4
2
true
false
false
false
false
false
zero
37,058,163
AndroidStudio build.gradle not recognizing a variable in gradle.properties
<p>I created a file <code>gradle.properties</code> in <code>.gradle</code> folder, and added a variable: </p> <pre><code>MyOpenWeatherMapApiKey=”b86b2******a2cc***a5fa***ae14c30” </code></pre> <p>(Some letters starred for security)</p> <p>And here is my <code>build.gradle</code> file:</p> <pre><code>apply plugin: '...
I created a file gradle.properties in .gradle folder, and added a variable: [CODE] (Some letters starred for security) And here is my build.gradle file: [CODE] It says [CODE] Why isn't the variable from gradle.properties recognized?
android|android-studio|android-gradle-plugin
1
2016-05-05T18:53:04.353Z
2,016
5
18
3
1,570
1
232
74
3
3
true
false
false
false
false
false
low
37,058,188
How to pass MainActivity instance to BroadcastReceiver via PendingIntent(for AlarmManager)
<p>I am trying to trigger an Alarm from MainActivity at a specific time. I also have a custom BroadcastReceiver(MyBroadcastReceiver) which catches the trigger. This scenario works fine.</p> <p>I want to access the MainActivity instance in MyBroadcastReceiver. I need this so as to invoke a method that I have implemente...
I am trying to trigger an Alarm from MainActivity at a specific time. I also have a custom BroadcastReceiver(MyBroadcastReceiver) which catches the trigger. This scenario works fine. I want to access the MainActivity instance in MyBroadcastReceiver. I need this so as to invoke a method that I have implemented inside Ma...
java|android
0
2016-05-05T18:54:30.800Z
2,016
5
18
3
243
1
731
90
2
3
true
false
false
false
false
false
zero
37,058,215
Moving View with setLeft or setPadding
<p>I would like to swipe a View in a LinearLayout, and I use view.setLeft(value) to position dynamically my view. But the view is vibrating when I swipe it. So I decided to try with view.setPadding(value,0,0,0) and it stops to vibrate but now I get another problem. The view's width reduces itself in my LinearLayout an...
I would like to swipe a View in a LinearLayout, and I use view.setLeft(value) to position dynamically my view. But the view is vibrating when I swipe it. So I decided to try with view.setPadding(value,0,0,0) and it stops to vibrate but now I get another problem. The view's width reduces itself in my LinearLayout and th...
java|android|user-interface|view|android-linearlayout
0
2016-05-05T18:56:30.973Z
2,016
5
18
3
77
1
489
38
5
1
true
false
false
false
false
false
zero
37,058,219
How to programmatically set the margin between icon and title of menu item of Navigation Drawer in Android?
<p>I am developing an Android App. In my app, I am using navigation drawer and navigation view. But I set the menu item for them programmatically. For a menu item, I set both icon and title. But I am having a problem with that. That is I cannot set the spacing between icon and title that I programmatically added to men...
I am developing an Android App. In my app, I am using navigation drawer and navigation view. But I set the menu item for them programmatically. For a menu item, I set both icon and title. But I am having a problem with that. That is I cannot set the spacing between icon and title that I programmatically added to menu. ...
android|android-menu|navigation-drawer|android-navigationview
0
2016-05-05T18:56:45.180Z
2,016
5
18
3
2,737
1
679
107
4
1
true
false
true
false
false
false
zero
37,058,256
How to ignore the child div tag in Jsoup
<p>I have this piece of html: </p> <pre><code>&lt;div class="subscribe-page" itemprop="text"&gt;&lt;p&gt;&lt;strong&gt;Far&lt;/strong&gt; behind the word mountains, far from the countries Vokalia and Consonantia.&lt;br&gt; &lt;strong&gt;there:&lt;/strong&gt; live the blind texts. Separated they live in Bookmarksgrove&...
I have this piece of html: [CODE] that I am using Jsoup to parse it thus: [CODE] The problem is that it is displaying the whole html page, is there any way I can ignore <div id="form" class="petersemail" lang="en-GB"> and it's contents? In other words I want only [CODE]
android|jsoup
1
2016-05-05T18:58:48.010Z
2,016
5
18
3
1,574
2
270
40
2
3
true
false
false
false
false
false
low
37,058,423
status bar and navigation bar becomes visible in immersive mode when searching in listview from the toolbar search
<p>I have an activity where the theme is set to <code>Theme.AppCompat.Light.NoActionBar</code>. </p> <p>And i have used <code>toolbar</code> search for searching a <code>listview</code>.</p> <p>But when i start writing something in the <code>toolbar</code> search area the status bar and navigation bar become visi...
I have an activity where the theme is set to Theme.AppCompat.Light.NoActionBar . And i have used toolbar search for searching a listview . But when i start writing something in the toolbar search area the status bar and navigation bar become visible. What i want to do is to search the list but the status bar on the top...
android|user-interface|toolbar|user-experience|android-immersive
0
2016-05-05T19:08:09.857Z
2,016
5
19
3
344
0
652
114
5
4
true
true
false
false
false
false
zero
37,058,430
Android : list directory files
<p>I try to list the files in a folder. While this folder contains files, I end up with a file array null.</p> <p>Here's the code:</p> <pre><code>File dir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); if (dir.isDirectory()) {    File[] files = dir.listFiles(); // files = null.....
I try to list the files in a folder. While this folder contains files, I end up with a file array null. Here's the code: [CODE] I have the following path for dir: "/storage/1CE3-110D/Pictures" See for yourself the folder contents I also try with another directory (DIRECTORY_DOWNLOADS) and another writing (Environment.g...
android
0
2016-05-05T19:08:30.497Z
2,016
5
19
3
275
0
449
30
1
2
true
true
false
false
false
false
zero
37,058,431
Drawing Bitmaps onto Canvas overlapping
<p>I have been working this problem out for a week now and I know its something so silly. When I run my app on a phone or emulator the bitmaps that are being drawn are overlapping. Sorry for my grammar and my question but here the code and a screen shot of the emulator.</p> <pre><code>//How I am rendering / drawing th...
I have been working this problem out for a week now and I know its something so silly. When I run my app on a phone or emulator the bitmaps that are being drawn are overlapping. Sorry for my grammar and my question but here the code and a screen shot of the emulator. [CODE] Emulator Picture
java|android|canvas|bitmap
0
2016-05-05T19:08:34.107Z
2,016
5
19
3
115
1
291
39
4
1
true
false
false
false
false
false
zero
37,058,472
Android Crash Report Diagnostic
<p>Built an app using Appcelerator and seem to be getting this crash report a lot. It can happen from anywhere from 10 seconds to 5 minutes and i cant seem to see a pattern which makes me think it may be a memory issue. </p> <p>could someone please help point me in the right direction of what to do / even look for?</p...
Built an app using Appcelerator and seem to be getting this crash report a lot. It can happen from anywhere from 10 seconds to 5 minutes and i cant seem to see a pattern which makes me think it may be a memory issue. could someone please help point me in the right direction of what to do / even look for? Many thanks in...
android|crash|report|appcelerator|appcelerator-titanium
0
2016-05-05T19:10:48.907Z
2,016
5
19
3
132
1
336
31
5
1
true
false
false
false
false
false
zero
37,058,550
How to add a searchBar to RecyclerView with cards
<p>I am fetching data from a JSON array, and displaying it on the RecyclerView. I want to implement a search bar, to search and display elements from that RecyclerView.</p> <p>MyRecyclerAdapter.java</p> <pre><code>public class MyRecyclerAdapter extends RecyclerView.Adapter&lt;MyRecyclerAdapter.CustomViewHolder&gt; { ...
I am fetching data from a JSON array, and displaying it on the RecyclerView. I want to implement a search bar, to search and display elements from that RecyclerView. MyRecyclerAdapter.java [CODE] AdminActivity.java [CODE]
java|android|android-recyclerview|searchview
1
2016-05-05T19:15:00.063Z
2,016
5
19
3
547
3
221
49
4
2
true
false
false
false
false
false
low
37,058,565
ksoap2 - Android app calling webservice to update remote database - runs but does not record
<p><strong><em>Objective:</em></strong> The app calls a webservice sending 5 parameters that identify the selection criteria to exchange status in remote database table. The webservice response is the literal OK, that is, normal execution.</p> <p><strong><em>Problem:</em></strong> Webservice usually runs without error...
Objective: The app calls a webservice sending 5 parameters that identify the selection criteria to exchange status in remote database table. The webservice response is the literal OK, that is, normal execution. Problem: Webservice usually runs without errors (no exceptions), but to check the remote database no update h...
android|web-services|soap
2
2016-05-05T19:16:01.560Z
2,016
5
19
3
173
2
1,414
92
3
6
true
false
false
false
false
false
low
37,058,631
Python Kivy How to Implement Near-Identical Screens
<p>I am using the Kivy library with python to develop an app. </p> <p>In the app I have two screens which are almost identical: they both contain lists and they have roughly the same layout (row of buttons above, then list, then row of buttons below). </p> <p>The biggest difference is the number of buttons on each sc...
I am using the Kivy library with python to develop an app. In the app I have two screens which are almost identical: they both contain lists and they have roughly the same layout (row of buttons above, then list, then row of buttons below). The biggest difference is the number of buttons on each screen: Screen 1 is 4 b...
android|python|screen|kivy
0
2016-05-05T19:19:32.210Z
2,016
5
19
3
73
0
687
51
4
1
true
true
false
false
false
false
zero
37,058,746
Sub-item is not being added in ListView
<p>I want to add sub-items with each item in <code>ListView</code> of my Android application. For this I have written this code (given below). But this is not working. I am new to Android, and I have seen many examples for solving this problem but they did not helped. So please tell how can I add sub-item with each ite...
I want to add sub-items with each item in ListView of my Android application. For this I have written this code (given below). But this is not working. I am new to Android, and I have seen many examples for solving this problem but they did not helped. So please tell how can I add sub-item with each item in my ListView...
android|listview
0
2016-05-05T19:25:56.573Z
2,016
5
19
3
31
1
407
39
2
3
true
false
false
false
false
false
zero
37,058,834
GoogleApiClient .connect() fires Fatal Error
<p>Since hours i read about fatal ERRORS with the GoogleApiClient, but no soultion has worked.. </p> <p>I know it happens when the mGoogleApiClient.connect() gets fired, because i set a a log("Hier") and after this log this method get called. </p> <p>So please can someone give me a hint? Is there another package i mu...
Since hours i read about fatal ERRORS with the GoogleApiClient, but no soultion has worked.. I know it happens when the mGoogleApiClient.connect() gets fired, because i set a a log("Hier") and after this log this method get called. So please can someone give me a hint? Is there another package i must use? (Installed: S...
android|google-play-services|fatal-error|google-api-client
0
2016-05-05T19:31:22.280Z
2,016
5
19
3
681
1
507
44
4
3
true
false
false
false
false
false
zero
37,058,844
OnPreferenceClickListener not working
<p>I want to set onClickListener to my Checkboxes in Preferences XML.</p> <p>When I want to set onClickListener, It does not work. In Settings Activity, there is red error on <strong>setOnPreferenceClickListener</strong>.</p> <p>Someone help?. Thanks</p> <pre><code>&lt;PreferenceScreen xmlns:android="http://schemas....
I want to set onClickListener to my Checkboxes in Preferences XML. When I want to set onClickListener, It does not work. In Settings Activity, there is red error on setOnPreferenceClickListener . Someone help?. Thanks [CODE] [CODE]
android
0
2016-05-05T19:31:52.340Z
2,016
5
19
3
945
1
231
37
1
2
true
false
false
false
false
false
zero
37,058,892
Clean architecture interactor implementation
<p>I'm trying to separate each layer with Android Clean Arch. I follow the project from <a href="https://github.com/dmilicic/Android-Clean-Boilerplate" rel="nofollow">https://github.com/dmilicic/Android-Clean-Boilerplate</a>, and Uncle-Bob's article/code. For now, I didn't use RxJava, Dragger, etc. just dbflow orm data...
I'm trying to separate each layer with Android Clean Arch. I follow the project from https://github.com/dmilicic/Android-Clean-Boilerplate , and Uncle-Bob's article/code. For now, I didn't use RxJava, Dragger, etc. just dbflow orm database. Don't want make a mess now. There are several data repositories' interface in d...
java|android|repository
0
2016-05-05T19:35:10.433Z
2,016
5
19
3
759
1
941
44
3
0
false
false
false
false
false
false
zero
37,058,920
Status bar always appears black with AppCompatActivity
<p>My status bar always appear black. I tried multiple fix but nothing does the tricks... I can't believe something as simple is that complicated</p> <p>Here is my Style.xml:</p> <pre><code>&lt;style name="AppTheme" parent="BaseTheme" /&gt; &lt;style name="BaseTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt; ...
My status bar always appear black. I tried multiple fix but nothing does the tricks... I can't believe something as simple is that complicated Here is my Style.xml: [CODE] Here is my v21/style.xml: [CODE] Here is my Activity: [CODE] My manifest [CODE]
android|android-appcompat|statusbar
2
2016-05-05T19:37:10.120Z
2,016
5
19
3
1,838
4
251
54
3
4
true
false
false
false
false
false
low
37,059,082
Why aren't my objects instantiating under certain resume conditions?
<p>I have a custom view object which reads in data and shows that data using a partially clipped image. This class also allows for an "indicator" sliding button to indicate when the data goes over a certain amount. My problem is two fold. The first error I ran in to after a lot of work and testing was the Java.lang.out...
I have a custom view object which reads in data and shows that data using a partially clipped image. This class also allows for an "indicator" sliding button to indicate when the data goes over a certain amount. My problem is two fold. The first error I ran in to after a lot of work and testing was the Java.lang.outOfM...
android
0
2016-05-05T19:49:40.120Z
2,016
5
19
3
40
0
1,164
68
1
2
true
true
false
false
false
false
zero
37,059,129
Adding Multiple Layouts Programmatically
<p><strong>Question:</strong> How to add multiple Relative Layouts to an existing Relative Layout.</p> <p>Please forgive my ignorance as I am still in the process of self learning android dev and there are still a few gaps in my understanding.</p> <p>My goal is to take this screen: <a href="http://i.stack.imgur.com/I...
Question: How to add multiple Relative Layouts to an existing Relative Layout. Please forgive my ignorance as I am still in the process of self learning android dev and there are still a few gaps in my understanding. My goal is to take this screen: Main Activity and Add multiple smaller Relative Layouts to a Linear Lay...
android|android-layout
0
2016-05-05T19:52:57.147Z
2,016
5
19
3
862
1
1,188
40
2
3
true
false
false
false
false
false
zero
37,059,229
UDP Receive, never receive last few packets
<p>I'm using a C++ UDP socket to send an OpenCV Mat image to an android device (which received using a UDP Datagramsocket). I'm converting the image into a Uchar buffer ( size of Uchar = 1), and sending it over UDP in chunks of 1024. </p> <p>The send process works using a local host c++ socket, but not using the Andro...
I'm using a C++ UDP socket to send an OpenCV Mat image to an android device (which received using a UDP Datagramsocket). I'm converting the image into a Uchar buffer ( size of Uchar = 1), and sending it over UDP in chunks of 1024. The send process works using a local host c++ socket, but not using the Android Java Data...
java|android|c++|opencv|udp
0
2016-05-05T19:59:37.267Z
2,016
5
19
3
196
0
972
43
5
2
true
true
false
false
false
false
zero
37,059,250
Error parsing XML: not well-formed (invalid token) in TextView in XML
<p>This is my XML code, please tell me where I am doing wrong and please tell me how should I remove this error?</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_p...
This is my XML code, please tell me where I am doing wrong and please tell me how should I remove this error? [CODE] please tell me where I am doing wrong and please tell me how should I remove this error?
android|eclipse|android-layout|xml-parsing
-2
2016-05-05T20:00:58.760Z
2,016
5
20
3
87
1
205
69
4
1
true
false
false
false
false
true
negative
37,059,324
Cant figure out "cannot be provided without an @provides-annotated method" error
<p>This is driving me crazy. I can't seem to figure what is the problem with this.</p> <p><strong>Code:</strong></p> <pre><code>public interface IMinutesCounter { void startTimer(); void stopTimer(); } </code></pre> <p><strong>and implementation:</strong></p> <pre><code>public class MinutesMonitor implemen...
This is driving me crazy. I can't seem to figure what is the problem with this. Code: [CODE] and implementation: [CODE] CallAlarm implementing ITimerCallback [CODE] As you can see, IMinutesCounter needs a MinutesMonitor.ITimerCallback . What I want is - ** From the CallAlarm class (implementing MinutesMonitor.ITimerCal...
android|dependency-injection|interface|compiler-errors|dagger-2
0
2016-05-05T20:05:54.637Z
2,016
5
20
3
519
3
529
80
5
5
true
false
false
false
false
false
zero
37,059,571
Save the state of a ToggleButton using SharedPreferences
<p>I have seen other similar questions, but none are working out! I have a toggle button. I want to save the state of the ToggleButton (checked true or false) even when the app is closed/reopened.</p> <p>My code looks like this below, but it will not run</p> <p>public class MainActivity extends AppCompatActivity {</...
I have seen other similar questions, but none are working out! I have a toggle button. I want to save the state of the ToggleButton (checked true or false) even when the app is closed/reopened. My code looks like this below, but it will not run public class MainActivity extends AppCompatActivity { [CODE] Thanks for the...
android|android-sharedpreferences|android-togglebutton
0
2016-05-05T20:21:19.267Z
2,016
5
20
3
630
2
326
56
3
1
true
false
false
false
false
false
zero
37,059,595
Only one google play dependency, but all the google play libraries are on the app external libraries
<p>I have the 'com.google.android.gms:play-services-gcm:8.4.0' on my android app gradle. first i had the 'com.google.android.gms:play-services:7.8.0', but I changed it to 'com.google.android.gms:play-services-gcm:8.4.0' because of the 65 limit problem.</p> <p>The 65 limit problem hasn't gone, I am using the multidex e...
I have the 'com.google.android.gms:play-services-gcm:8.4.0' on my android app gradle. first i had the 'com.google.android.gms:play-services:7.8.0', but I changed it to 'com.google.android.gms:play-services-gcm:8.4.0' because of the 65 limit problem. The 65 limit problem hasn't gone, I am using the multidex enable, to r...
java|android|google-play-services|android-multidex
0
2016-05-05T20:22:52.583Z
2,016
5
20
3
90
0
950
100
4
1
true
true
false
false
false
false
zero
37,059,611
Gradle plugin 2.1.0: app crashes on launch
<p>When I run the app the application crash. I'm using the new android plugin 2.1.0</p> <pre><code>Failed to create directory /data/data/ric.es.pruebavideo/files/instant-run/dex 05-05 Couldn't create dex code folder 05-05 22:13:05.024 28257-28257/ric.es.pruebavideo D/AndroidRuntime: Shutting down VM 05-05 22:13:05....
When I run the app the application crash. I'm using the new android plugin 2.1.0 [CODE]
android|android-studio|android-gradle-plugin
2
2016-05-05T20:23:39.837Z
2,016
5
20
3
709
1
87
42
3
1
true
false
false
false
false
false
low
37,059,628
Get All in Realm returns deleted Items
<p>I implementing a recycler view that gets its data set from a realm database using rx-java. When i delete items from the data set then call get all items, i receive the remaining items plus the items i just deleted but invalidated.</p> <pre><code>Observable.defer(list -&gt; { boolean isDeleted = true; ...
I implementing a recycler view that gets its data set from a realm database using rx-java. When i delete items from the data set then call get all items, i receive the remaining items plus the items i just deleted but invalidated. [CODE] For example the data set has 10 items, i delete 3 of them. In the getUserList resp...
android|realm|rx-java
0
2016-05-05T20:24:29.130Z
2,016
5
20
3
434
1
503
38
3
1
true
false
false
false
false
false
zero
37,059,649
Refresh Fragment view in ViewPager
<p>In my application I have 3 fragments in a viewPager. For the first fragment I would like to reload the view after a button press (basically call again the <code>onCreateView()</code>).</p> <p>To get this functionality I decided to use <code>FragmentTransaction</code>, <code>detach()</code>, <code>attach()</code> a...
In my application I have 3 fragments in a viewPager. For the first fragment I would like to reload the view after a button press (basically call again the onCreateView() ). To get this functionality I decided to use FragmentTransaction , detach() , attach() and commit() the fragment. In fragment I have created SetData(...
android|android-viewpager|fragment|fragmentpageradapter|fragmentmanager
2
2016-05-05T20:25:37.010Z
2,016
5
20
3
416
1
675
34
5
2
true
false
false
false
false
false
low
37,059,680
AIDL service not connecting after bindService()
<p>I am trying to develop a setup of 2 applications (service app + client app) using AIDL. I have currently a setup of 3 modules:</p> <ul> <li>android-agent-framework (android library module holding only the AIDL file)</li> <li>android-agent (the service)</li> <li>android-example-client (the client)</li> </ul> <p>and...
I am trying to develop a setup of 2 applications (service app + client app) using AIDL. I have currently a setup of 3 modules: android-agent-framework (android library module holding only the AIDL file) android-agent (the service) android-example-client (the client) android-agent and android-agent-framework have a depe...
android|android-service|aidl|android-service-binding
8
2016-05-05T20:27:38.200Z
2,016
5
20
3
7,761
1
1,022
47
4
4
true
false
true
false
false
false
medium
37,059,759
Bootstrap 3 input issue. keyboard overlapping input fields on Android
<p>I’m using simple modal on my page, with default Bootstrap 3 styles.</p> <pre><code>&lt;div class="modal fade"&gt; &lt;div class="modal-dialog"&gt; &lt;div class="modal-content"&gt; &lt;div class="modal-body"&gt; &lt;form class="form-horizontal"&gt; &lt;p...
I’m using simple modal on my page, with default Bootstrap 3 styles. [CODE] When input in focus and keyboard up, it’s overlapping input fields. It is necessary to scroll form to see what typing. It's not good. how to correct this form behavior ?
android|jquery|twitter-bootstrap|input
0
2016-05-05T20:32:45.330Z
2,016
5
20
3
1,525
2
244
69
4
1
true
false
false
false
false
false
zero
37,059,836
Setting listview adapter on fragment
<p>Hello I'm trying to set up so I have a list view represented on a fragment on my application currently if I attempt to run the app with my it will crash if its on a fragment but if its on a main activity it will work. I was wondering if anyone could tell me what I have to change to the final piece of my code to get ...
Hello I'm trying to set up so I have a list view represented on a fragment on my application currently if I attempt to run the app with my it will crash if its on a fragment but if its on a main activity it will work. I was wondering if anyone could tell me what I have to change to the final piece of my code to get it ...
android|listview|android-fragments|android-arrayadapter|adapter
-1
2016-05-05T20:37:56.710Z
2,016
5
20
3
403
2
610
36
5
2
true
false
false
false
false
true
negative
37,059,906
Incorrect data retrieved from item in listview share button android
<p>I have a listview which displays items retrieved from the database. Each item in the listview has a share button which allows the user to share the information. However when I click on the share button, the information displayed is different from the item I clicked. And the no matter which item I click, it will be g...
I have a listview which displays items retrieved from the database. Each item in the listview has a share button which allows the user to share the information. However when I click on the share button, the information displayed is different from the item I clicked. And the no matter which item I click, it will be gett...
android|image|listview|share-button
0
2016-05-05T20:41:55.763Z
2,016
5
20
3
107
1
615
67
4
1
true
false
false
false
false
false
zero
37,060,036
Remove small blue box on svg click within div
<p>This is a problem on a Droid 4 and Samsung Galaxy S2 but has no highlight on newer devices and browsers. This is actually for a Cordova app, but it also fails in the linked fiddle on the device browsers. I've seen many posts on StackOverflow but none of the suggested attributes remove the blue highlight on touchstar...
This is a problem on a Droid 4 and Samsung Galaxy S2 but has no highlight on newer devices and browsers. This is actually for a Cordova app, but it also fails in the linked fiddle on the device browsers. I've seen many posts on StackOverflow but none of the suggested attributes remove the blue highlight on touchstart. ...
android|html|css|svg
0
2016-05-05T20:51:52.690Z
2,016
5
20
3
366
1
1,089
45
4
1
true
false
false
false
false
false
zero
37,060,114
Error: Failed to create capture session
<p>I am using below code in order to capture image:</p> <pre><code>mCameraDevice.createCaptureSession(Arrays.asList(previewSurface, mImageReader.getSurface()), new CameraCaptureSession.StateCallback(){ @Override public void onConfigured(CameraCaptureSession session) { if(mCamera...
I am using below code in order to capture image: [CODE] Error: Failed to create capture session In setup camera. I have: [CODE] Permissions: [CODE] I think the problem is with getting surface from mImageReader . But, I don't know what to do here!
java|android
1
2016-05-05T20:56:10.320Z
2,016
5
20
3
2,869
1
246
39
2
3
true
false
true
false
false
false
low
37,060,139
Genson issue with android - scala.Array not found
<p>I make an application for android using scala (macroid framework, if it matters). I get issues while deserializing JSON using Genson Library.</p> <p>Here is the minimal error code</p> <pre><code>case class Model(a: Int, b: String) class MainActivity extends FragmentActivity with Contexts[FragmentActivity] with Id...
I make an application for android using scala (macroid framework, if it matters). I get issues while deserializing JSON using Genson Library. Here is the minimal error code [CODE] I got the next error running this code on emulator [CODE] Deserialization works fine when running on PC (as a standalone scala app) I've add...
android|json|scala|proguard|genson
0
2016-05-05T20:57:36.610Z
2,016
5
20
3
256
1
662
49
5
3
true
false
false
false
false
false
zero
37,060,393
AJAX call not getting information on Intel XDK
<p>I'm building an APK for the blood bank of my local city and i need to get the stock of blood by groups, i have some JSON that i test with Postman that woks but i need to add them to my Intel XDK project. I have follow some examples with AJAX and HTTP but with no result.</p> <pre><code> ionic.Platform.ready(functio...
I'm building an APK for the blood bank of my local city and i need to get the stock of blood by groups, i have some JSON that i test with Postman that woks but i need to add them to my Intel XDK project. I have follow some examples with AJAX and HTTP but with no result. [CODE] and also try [CODE] where i could't even g...
android|angularjs|ajax|intel-xdk
0
2016-05-05T21:16:38.143Z
2,016
5
21
3
92
2
469
46
4
2
true
false
false
false
false
false
zero
37,060,409
Google Map : view size too small exception
<p>In my Android application I have an Activity which shows list of map fragments, following is the code for it:</p> <pre><code>public class TTMapFragment extends TTFragment { private final static String LOG_AREA = "TTMapFragment"; private SupportMapFragment mMapFragment; private Bundle mBundle; protected int leftPo...
In my Android application I have an Activity which shows list of map fragments, following is the code for it: [CODE] When I call getMap().moveCamera(cu) I get a IllegalStateException: View size too small after padding . Can Anyone suggest me when can I call moveCamera() function? Another thing I observed is, width and ...
android|google-maps
0
2016-05-05T21:17:48.223Z
2,016
5
21
3
125
0
412
42
2
1
true
true
false
false
false
false
zero
37,060,434
onResumeFragments() called after onSaveInstanceState()
<p>My activity may show a <code>DialogFragment</code> when it resumes. As suggested in this <a href="http://www.androiddesignpatterns.com/2013/08/fragment-transaction-commit-state-loss.html" rel="nofollow">fragment transactions tutorial</a>, I'm doing that in <code>onResumeFragments()</code> to avoid the dreaded <code...
My activity may show a DialogFragment when it resumes. As suggested in this fragment transactions tutorial , I'm doing that in onResumeFragments() to avoid the dreaded IllegalStateException: Can not perform this action after onSaveInstanceState . For the most part, all is well. But my activity also has an OnSharedPrefe...
android|android-fragments
3
2016-05-05T21:19:15.457Z
2,016
5
21
3
495
1
827
54
2
1
true
false
false
false
false
false
low
37,060,440
Use custom system service in app (Android Studio)
<p>First of all, thank you for your help.</p> <p>Here is my problem.</p> <ol> <li>I have made a custom system service (it does connect through the binder, and hooks into the system server, then into the HAL, etc). One of the main commands is isBacklightOn(). I also ran the make update-api to include it in my ROM buil...
First of all, thank you for your help. Here is my problem. I have made a custom system service (it does connect through the binder, and hooks into the system server, then into the HAL, etc). One of the main commands is isBacklightOn(). I also ran the make update-api to include it in my ROM build. I am now ready to test...
android|android-studio|android-source
0
2016-05-05T21:19:50.170Z
2,016
5
21
3
668
1
638
49
3
1
true
false
false
false
false
false
zero
37,060,446
Save bitmap from camera and perform facecrop and biometric stats
<p>So I'm working on a project where I take in an image from either gallery or camera and get a series of statistics from the image (brightness, contrast, sharpness, etc). Currently I have this working from gallery. I can open gallery, pull an image, and if a face is detected it will be cropped in a 2nd imageview. The ...
So I'm working on a project where I take in an image from either gallery or camera and get a series of statistics from the image (brightness, contrast, sharpness, etc). Currently I have this working from gallery. I can open gallery, pull an image, and if a face is detected it will be cropped in a 2nd imageview. The sta...
java|android|bitmap|camera|bitmapfactory
0
2016-05-05T21:20:23.733Z
2,016
5
21
3
117
1
1,334
64
5
3
true
false
false
false
false
false
zero
37,060,676
Showing soft keyboard when click on grid view cell
<p>I have a grid view and want to show a keyboard when the user clicks on a cell. The input of the keyboard will then appear in the cell. I've tried the code below which I got from <a href="https://stackoverflow.com/questions/2403632/android-show-soft-keyboard-automatically-when-focus-is-on-an-edittext/8018630#8018630"...
I have a grid view and want to show a keyboard when the user clicks on a cell. The input of the keyboard will then appear in the cell. I've tried the code below which I got from Android: show soft keyboard automatically when focus is on an EditText and other similar questions. I can't get the keyboard to show up, thoug...
android|gridview|keyboard|user-input
0
2016-05-05T21:35:18.047Z
2,016
5
21
3
467
1
914
50
4
2
true
false
false
false
false
false
zero
37,060,695
How I get the response of a native activity?
<p>For example: my app calls a native settings activity, by</p> <pre><code>Intent myIntent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS); startActivityForResult(myIntent, CODE); </code></pre> <p>Then when it is finished (by pressing the back button for example) I want to know. I tried this way, but the <code...
For example: my app calls a native settings activity, by [CODE] Then when it is finished (by pressing the back button for example) I want to know. I tried this way, but the onActivityResult() wasn't called when the native activity was finalized... so my app wasn't informed... How I have to do? Anyone knows? Thanks... E...
android|android-intent
1
2016-05-05T21:36:59.460Z
2,016
5
21
3
330
1
763
44
2
2
true
false
false
false
false
false
low
37,060,782
Cannot convert url to bitmap in Android
<p>I am developing an Android App. In my app, I need to convert url into bitmap. I searched online and I found some code in Stack Overflow. I just used it. But it does not work. It is giving me error.</p> <p>This is my convert method</p> <pre><code>public final class CommonHelper{ public static Bitmap ConvertUrlT...
I am developing an Android App. In my app, I need to convert url into bitmap. I searched online and I found some code in Stack Overflow. I just used it. But it does not work. It is giving me error. This is my convert method [CODE] So when I use that method in activity, it is giving me error. This is the error in logcat...
android|bitmap
1
2016-05-05T21:42:50.513Z
2,016
5
21
3
4,945
5
422
39
2
3
true
false
true
false
false
false
low
37,060,918
ErrnoException: statvfs failed: ENOENT (No such file or directory)
<p>In my app, I am getting info about device storage (total and free space) using <a href="http://developer.android.com/intl/pt-br/reference/android/os/StatFs.html" rel="nofollow">StatFs</a> class.</p> <p>It is initialized this way:</p> <pre><code>StatFs stat = new StatFs(Environment.getExternalStorageDirectory().get...
In my app, I am getting info about device storage (total and free space) using StatFs class. It is initialized this way: [CODE] This app has a bug reporting tool that reports the follwoing error in the previous piece of code: android.system.ErrnoException Posix.java line -2 in Posix.statvfs() statvfs failed: ENOENT (No...
android|android-external-storage
4
2016-05-05T21:54:39.253Z
2,016
5
21
3
1,825
0
533
66
2
1
true
true
false
false
false
false
low
37,061,026
dynamically register receiver which on receive starts a service
<p>In my main activity I have a check box which when checked registers a receiver to listen out for changes to the bluetooth device i.e bluetooth connected to a device. when the phone becomes connected to a preselected bluetooth device, I want a service to be started from within the on receive once its called. the pro...
In my main activity I have a check box which when checked registers a receiver to listen out for changes to the bluetooth device i.e bluetooth connected to a device. when the phone becomes connected to a preselected bluetooth device, I want a service to be started from within the on receive once its called. the problem...
android|dynamic|broadcastreceiver|android-service|android-bluetooth
0
2016-05-05T22:03:04.830Z
2,016
5
22
3
672
1
1,207
63
5
2
true
false
false
false
false
false
zero
37,061,113
CustomView inside RecyclerView
<p>I create custom view on Android. I need to use it as items to the listview.</p> <p><strong>My custom view:</strong></p> <pre><code>public class CustomView extends View{ int random; //4 constructors; public int getRandom() { return random; } @Override protected void onMeasure(int widthMeasureSpec, int height...
I create custom view on Android. I need to use it as items to the listview. My custom view: [CODE] Adapter: [CODE] the problem is that the contents of the custom view was repeated. to test I write in the log a random number generated in custom view class. When scrolling through the list that number repeated, even if i ...
java|android|android-custom-view
-1
2016-05-05T22:09:36.250Z
2,016
5
22
3
673
1
404
30
3
2
true
false
false
false
false
true
negative
37,061,176
I have GCM class error when i import eclipse project to Android studio
<p><strong>I have <code>GCMBaseIntentService</code> error.This issue create when I import project Eclipse to Android Studio</strong></p> <pre><code>public class GCMIntentService extends GCMBaseIntentService </code></pre> <p><strong>Here are dependencies I add a lot of dependencies but issue not resolved</strong></p>...
I have GCMBaseIntentService error.This issue create when I import project Eclipse to Android Studio [CODE] Here are dependencies I add a lot of dependencies but issue not resolved [CODE]
android
0
2016-05-05T22:14:34.847Z
2,016
5
22
3
178
1
186
70
1
2
true
false
false
false
false
false
zero
37,061,185
Retrofit 1.9 with Proguard
<p>I am using following libs in my project - </p> <pre><code>compile 'com.squareup.retrofit:retrofit:1.9.0' </code></pre> <p>But when I am using Proguard, my app crashes with following error </p> <pre><code> Fatal Exception: java.lang.IllegalArgumentException: d.a: Last parameter must be of type Callback&lt;X&gt; or...
I am using following libs in my project - [CODE] But when I am using Proguard, my app crashes with following error [CODE] I think Retrofit's Asynchronus calls doesn't work with Proguard. Has anybody faced similiar issue? I tried many links but nothing worked. [CODE]
retrofit|android-proguard
3
2016-05-05T22:16:02.827Z
2,016
5
22
3
918
1
266
26
2
3
true
false
false
false
false
false
low
37,061,412
Is this the correct situation to use a service?
<p>I'm building a fairly simple data tracking app. Using a runnable, every 5 seconds my app checks how much data the user has consumed and updates the UI.</p> <p>The app works well, and the runnable keeps going even when the app is not in the foreground, but when the app is closed, it stops.</p> <p>I've never used a ...
I'm building a fairly simple data tracking app. Using a runnable, every 5 seconds my app checks how much data the user has consumed and updates the UI. The app works well, and the runnable keeps going even when the app is not in the foreground, but when the app is closed, it stops. I've never used a service before, and...
java|android|service
-1
2016-05-05T22:35:48.707Z
2,016
5
22
3
19
1
1,052
47
3
0
false
false
false
false
false
true
negative
37,061,539
What is the flow of actions when .setAdapter is called in a Custom ArrayList Adapter scenario?
<p>I am a bit confused by the concepts of a how the ArrayAdapter interacts with my ArrayList when attempting to populate a ListView in an activity. </p> <p>Here's an example of a guide that is causing me a bit of confusion: <a href="https://github.com/codepath/android_guides/wiki/Using-an-ArrayAdapter-with-ListView" r...
I am a bit confused by the concepts of a how the ArrayAdapter interacts with my ArrayList when attempting to populate a ListView in an activity. Here's an example of a guide that is causing me a bit of confusion: https://github.com/codepath/android_guides/wiki/Using-an-ArrayAdapter-with-ListView [CODE] Let's say for ex...
java|android|listview|arraylist
1
2016-05-05T22:48:47.940Z
2,016
5
22
3
220
1
807
94
4
3
true
false
false
false
false
false
low
37,061,691
Endless wait for async Web Response
<p>i have the following problem, i try to wait for for an Async Web Response. But it never finished.</p> <pre><code> public string getTermine(string trmId) { System.Threading.Tasks.Task&lt;string&gt; lisi = LoadTermine((HttpWebRequest)WebRequest.Create("http://" + curent.usrCH + apiKey + curent.phrase + a...
i have the following problem, i try to wait for for an Async Web Response. But it never finished. [CODE] P.S. I cant use and synchronous request because this methods are an part of the Base code which is used by iOS, WinPhone and Android and i dont know why i cant get an synchronous WebResponse.
c#|android|xamarin|xamarin.android
0
2016-05-05T23:04:53.503Z
2,016
5
23
3
366
1
296
35
4
1
true
false
false
false
false
false
zero
37,061,700
AsyncTask request data later than I create button depending on these data
<p>This is my first time to write Android code and I am stark with a problem. </p> <p>In the MainActivity, I use AsyncTask to request "Category" list to create buttons. The MainActivity buttons can be clicked and it redirects to GetProductsActivity with an extras String "Category(e.g.drink)". In the GetProductsActivit...
This is my first time to write Android code and I am stark with a problem. In the MainActivity, I use AsyncTask to request "Category" list to create buttons. The MainActivity buttons can be clicked and it redirects to GetProductsActivity with an extras String "Category(e.g.drink)". In the GetProductsActivity, I request...
android|android-asynctask|oncreate
1
2016-05-05T23:06:04.993Z
2,016
5
23
3
55
3
707
73
3
2
true
false
false
false
false
false
low
37,061,752
java.lang.NullPointerException: parentLoader == null && !nullAllowed
<p>I am trying to use ehcache in my android app. It fails on the first line. So this isn't anything to do with a bad cache configuration. I am planning to configure cache programatically so I do not have any config files. All I did was add ehcache as a dependency and try calling the method below. Using ehcache 2.10.2</...
I am trying to use ehcache in my android app. It fails on the first line. So this isn't anything to do with a bad cache configuration. I am planning to configure cache programatically so I do not have any config files. All I did was add ehcache as a dependency and try calling the method below. Using ehcache 2.10.2 [COD...
android|ehcache
1
2016-05-05T23:12:50.137Z
2,016
5
23
3
2,124
1
341
68
2
2
true
false
false
false
false
false
low
37,061,816
Null result after taking a photo
<p>I need to take a photo, get the full-size file to send to a server. With thumbnails it works fine, but with i can't recover the full-size photo. I read and copied most of the code from google tutorial on <a href="http://developer.android.com/training/camera/photobasics.html" rel="nofollow">android developers web pag...
I need to take a photo, get the full-size file to send to a server. With thumbnails it works fine, but with i can't recover the full-size photo. I read and copied most of the code from google tutorial on android developers web page . I'm doing this: [CODE] This line (inside onActivityResult returns null): [CODE] I read...
android|android-camera|android-camera-intent
0
2016-05-05T23:19:40.853Z
2,016
5
23
3
196
1
500
32
3
2
true
false
false
false
false
false
zero
37,061,838
Intent lost on BACK button even if I try startActivityForResult, saveInstanceState in FragmentPagerAdapter
<p>I have this navigation schema in my android application:</p> <blockquote> <p>PrimaryActivity (... ListView onClick - sending <em>&lt;PrimaryUri&gt;</em> via intent...) ><br> MasterActivity (TabLayout, ViewPager, FragmentPageAdapter) ><br> FragmentA / FragmentB (...ListView onClick - sending <em>&lt;Prim...
I have this navigation schema in my android application: PrimaryActivity (... ListView onClick - sending <PrimaryUri> via intent...) > MasterActivity (TabLayout, ViewPager, FragmentPageAdapter) > FragmentA / FragmentB (...ListView onClick - sending <PrimaryUri> + <DetailUri> via intent...) > DetailActivity. Now when I ...
android|android-intent|fragmentpageradapter|startactivityforresult
2
2016-05-05T23:22:06.197Z
2,016
5
23
3
987
2
1,930
106
4
3
true
false
false
false
false
false
low
37,061,863
Android Studio 2.1: error: package org.junit does not exist
<p><strong>Update</strong>: Its a bug and it's been reported, please star: <a href="https://code.google.com/p/android/issues/detail?id=209832&amp;thanks=209832&amp;ts=1463161330" rel="noreferrer">https://code.google.com/p/android/issues/detail?id=209832&amp;thanks=209832&amp;ts=1463161330</a></p> <p>I'm setting up uni...
Update : Its a bug and it's been reported, please star: https://code.google.com/p/android/issues/detail?id=209832&thanks=209832&ts=1463161330 I'm setting up unit testing on Android studio. I have read the documentation and set it up exactly as specified. I have my test folder set up as src/test/java I've made a random ...
java|android|unit-testing|junit
23
2016-05-05T23:25:10.267Z
2,016
5
23
3
28,530
7
798
59
4
2
true
false
true
true
true
false
high
37,061,902
Crash related to NavigationView on Android 4.4.2
<p>The question - Does anyone know what could be causing this error on 4.4.2?</p> <p>The Device in question is a Galaxy Note 2. The device running 6.0.1 is an Xperia Z2.</p> <p>When trying to run/compile this app on a device with 4.4.2 it crashes on startup. </p> <p>This is the error log - <a href="http://pastebin....
The question - Does anyone know what could be causing this error on 4.4.2? The Device in question is a Galaxy Note 2. The device running 6.0.1 is an Xperia Z2. When trying to run/compile this app on a device with 4.4.2 it crashes on startup. This is the error log - Error Log . The main error being "Binary XML file line...
java|android
1
2016-05-05T23:29:53.423Z
2,016
5
23
3
556
1
1,624
48
2
0
false
false
false
false
false
false
low
37,062,022
android - Fragment does not get arrayList from Activity
<p>I've a MainActivity that provides a ViewPager, and in this Activity there's a method that fills an ArrayList once app has obtained permissions. <br> I pass this ArrayList with a setter but the Fragment does not consider the value passed <br> <br> <strong>MainActivity.java</strong></p> <pre><code>@Override public vo...
I've a MainActivity that provides a ViewPager, and in this Activity there's a method that fills an ArrayList once app has obtained permissions. I pass this ArrayList with a setter but the Fragment does not consider the value passed MainActivity.java [CODE] ListFragment.java [CODE] Logcat [CODE] How can I take the value...
java|android|android-fragments|arraylist|getter-setter
0
2016-05-05T23:44:21.153Z
2,016
5
23
3
337
1
352
55
5
3
true
false
false
false
false
false
zero
37,062,061
How to go to root activity from any fragment by pressing back button?
<p>i have an activity with a navigation drawer built using the library <a href="https://github.com/mikepenz/MaterialDrawer" rel="nofollow">https://github.com/mikepenz/MaterialDrawer</a></p> <p>I want to load 4 different pages from selecting 4 different items from the navigation drawer.</p> <p>I decided to use fragmen...
i have an activity with a navigation drawer built using the library https://github.com/mikepenz/MaterialDrawer I want to load 4 different pages from selecting 4 different items from the navigation drawer. I decided to use fragments for each item in the navigation drawer, so when any item is pressed, a new fragment for ...
java|android
2
2016-05-05T23:48:50.047Z
2,016
5
23
3
477
1
830
69
2
1
true
false
false
false
false
false
low
37,062,174
error: package org.hamcrest does not exist Android Studio 1.5.1
<p>I am using Android studio 1.5.1. My build.gradle looks like below</p> <pre><code>allprojects { repositories { maven { url 'http://repo1.maven.org/maven2' } } } buildscript { repositories { jcenter() } dependencies { classpath 'com....
I am using Android studio 1.5.1. My build.gradle looks like below [CODE] I am writing some JUNIT test cases for my application as below [CODE] But when I am running the tests, it is showing that error: package org.hamcrest does not exist error: cannot find symbol assertThat(result, is(true)); But I can go to the defini...
android-studio|junit|hamcrest
0
2016-05-06T00:03:31.873Z
2,016
5
0
4
3,501
1
638
63
3
2
true
false
true
false
false
false
zero
37,062,183
Implementing a AsyncTask with Realm
<p>I'm migrating an app to Realm and I have an AsyncTask like this (simplified for brevity) that I used to search through a list of objects and filter it based on a search query:</p> <pre><code>private class SearchTask extends AsyncTask&lt;String, Void&gt; { Realm realm; @Override protected List&lt;SearchResults&gt;...
I'm migrating an app to Realm and I have an AsyncTask like this (simplified for brevity) that I used to search through a list of objects and filter it based on a search query: [CODE] } The problem is that when the results are returned they can't be accessed since they were created on another thread. The only solution I...
java|android|realm
0
2016-05-06T00:04:46.263Z
2,016
5
0
4
1,167
1
506
35
3
1
true
false
false
false
false
false
zero
37,062,189
Adjust layout to fit for every content Android
<p>I have some customized shape for one layout background, but some content is mixed up depends on what content i open. </p> <p>I will show you now three images:</p> <p>1. <a href="https://i.stack.imgur.com/wlBVS.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wlBVS.jpg" alt="1."></a></p> <p>2. <a...
I have some customized shape for one layout background, but some content is mixed up depends on what content i open. I will show you now three images: 1. 2. 3. How could i simplify this layout and if you can see, the layout size changes depends on size of text and if there is image in it. This is how my layout looks: [...
android|xml
1
2016-05-06T00:05:09.100Z
2,016
5
0
4
55
0
325
46
2
1
true
true
false
false
false
false
low
37,062,272
Cant get Nativescript plugin to work "nativescript-admob"
<p>I have installed prerequisite "Google play service" in SDK Manager Extras. when run, App page shows up on emulator without banner and CLI log shows error. could any one tell me what am I missing?</p> <pre><code> admob.createBanner({ // if this 'view' property is not set, the banner is overlayed on the cu...
I have installed prerequisite "Google play service" in SDK Manager Extras. when run, App page shows up on emulator without banner and CLI log shows error. could any one tell me what am I missing? [CODE] I have created new project "tns create adtest" added plugin "tns plugin add nativescript-admob" added platform "tns p...
javascript|android|admob|google-play-services|nativescript
1
2016-05-06T00:15:26.510Z
2,016
5
0
4
659
1
405
57
5
2
true
false
false
false
false
false
low
37,062,324
LibGDX: How can I replace a SpriteBatch with another SpriteBatch?
<p>I want the splash2 to display the screen when score is 2. Right now the first splash is still showing and I don't know how to replace it with splash2 when score does.</p> <pre><code>public class Click1 implements Screen { private SpriteBatch batch; private Sprite splash; private Sprite splash2; private Sprite spla...
I want the splash2 to display the screen when score is 2. Right now the first splash is still showing and I don't know how to replace it with splash2 when score does. [CODE] Okay so this is the whole class. I can't understand why the Sprite doesn't change when score does.
android|libgdx
0
2016-05-06T00:21:47.247Z
2,016
5
0
4
93
0
272
65
2
1
true
true
false
false
false
false
zero
37,062,440
Android service denied location permisions
<p>So I am trying to get the current Location in a service which is being called by BroadcastReceiver. When I check to see if location permissions are given in the service it always fails. I am trying to get the current GPS location only. </p> <p>Here is the BroadcastReceiver</p> <pre><code> public class AlarmRece...
So I am trying to get the current Location in a service which is being called by BroadcastReceiver. When I check to see if location permissions are given in the service it always fails. I am trying to get the current GPS location only. Here is the BroadcastReceiver [CODE] Here is the Service [CODE] and Here is my manif...
android
0
2016-05-06T00:37:55.247Z
2,016
5
0
4
60
0
330
42
1
3
true
true
false
false
false
false
zero
37,062,499
Cloud code function called multiple times
<p>I'm not sure why this cloud code function appears to be being called 5 times every time the function is called from the client.</p> <p>Cloud Code -</p> <pre><code>Parse.Cloud.define('PushTest', function(request, response){ console.log('PushTest called'); var query = new Parse.Query(Parse.Installation); query.equal...
I'm not sure why this cloud code function appears to be being called 5 times every time the function is called from the client. Cloud Code - [CODE] Client code - [CODE] Every time I call the function from the client, I receive five push notifications rather than just one. Any ideas as to what I'm doing wrong?
javascript|java|android|parse-platform|parse-cloud-code
1
2016-05-06T00:45:50.063Z
2,016
5
0
4
487
1
310
41
5
2
true
false
false
false
false
false
low
37,062,623
setvisibility VIEW.GONE if textview is empty in a listview using viewholder
<p>I have a listview using custom ArrayAdapter using viewholder class pattern. In each row_layout, there are 2 textview A and B. What I want to do is that when either of the textview is empty in that listitems. The view of that particular row should be GONE and don't take up any space. </p> <p>The following code will ...
I have a listview using custom ArrayAdapter using viewholder class pattern. In each row_layout, there are 2 textview A and B. What I want to do is that when either of the textview is empty in that listitems. The view of that particular row should be GONE and don't take up any space. The following code will result in al...
android|listview|android-viewholder
0
2016-05-06T01:02:38.090Z
2,016
5
1
4
409
2
575
75
3
1
true
false
false
false
false
false
zero
37,062,739
CI Appveyor Android Emulator: Can't find any ABI's
<p>On my local machine I use this command to create an android emulator:</p> <pre><code>android create avd -n {0} -t 2 -c 200M -s 320x480 --abi default/armeabi-v7a -f </code></pre> <p>which works great, like a dream, and it worked on appveyor too! Until recently. Appveyor recently seems to have changed where it insta...
On my local machine I use this command to create an android emulator: [CODE] which works great, like a dream, and it worked on appveyor too! Until recently. Appveyor recently seems to have changed where it installs the android system images and tools and what not. (from the local appdata folder to the ProgramFiles(x86)...
android|continuous-integration|emulation|avd|appveyor
0
2016-05-06T01:18:27.487Z
2,016
5
1
4
103
1
972
50
5
4
true
false
false
false
false
false
zero
37,062,756
Xamarin: Setting text for a TextView programmatically
<p>This is probably a mistake or lack of comprehension on my part, but I am quite confused right now. I'm trying to set a TextView in my Xamarin Android application programmatically. Here's my code:</p> <blockquote> <p>TextView currentCharacterName = FindViewById(Resource.Id.characterName); currentCharacterName....
This is probably a mistake or lack of comprehension on my part, but I am quite confused right now. I'm trying to set a TextView in my Xamarin Android application programmatically. Here's my code: TextView currentCharacterName = FindViewById(Resource.Id.characterName); currentCharacterName.SetText("test"); Unfortunately...
android|xamarin|xamarin.android|textview
3
2016-05-06T01:21:38.847Z
2,016
5
1
4
16,359
2
1,375
53
4
0
false
false
true
true
false
false
low