Questions tagged as 'android'

1
answer

Best format for working with sum of money on android [duplicate]

I'm having some problems making sums of decimal values in my application, the variations that occur are not much of a difference, but since I'm dealing with total amounts of money, I'd need the sums not to come broken in tithe. > I was able...
asked by 01.03.2016 / 18:57
1
answer

ImageView Error can not be converted to Byte []

I'm putting together an application that you want to save the image to in SQLITE Bank. I am not able to proceed because the following error occurs ImageView cannot be converted to Byte[] I ask to be the most specific given my inexperience...
asked by 23.01.2016 / 21:38
1
answer

Change box color of a CheckBox

Is it possible to change the box color of a CheckBox via a program (runtime)? I would like to change the white color of the box highlighted in the image.     
asked by 26.01.2016 / 19:01
1
answer

Error connecting to WebService + Soap + Android

Good afternoon, I have a problem connecting to the webservice. I'm using the ksoap2 library. public class CallSOAP { public final String SOAP_ACTION = "http://tempuri.org/yteste"; public final String OPERATION_NAME = "yteste"; pub...
asked by 26.01.2016 / 18:19
3
answers

RecyclerView adapter: problem with changing the color of a button

I am using RecyclerView and mounting a list with multiple buttons . I can change the color of button according to a if , if the condition is true it changes, but when I go up and down the list, it ends up changing other...
asked by 04.02.2016 / 20:19
1
answer

How to stop handler inside an asynctask

I have the following asynctask, which contains a handler inside it, but when I exit the activity I close the async but sometimes the handler continues to call the async after it is closed. It does not crash in the application but it keeps sendin...
asked by 04.02.2016 / 22:15
1
answer

TextView position text displayed always at the end

How to do in TextView so that when entering text it stays as a line only and the text box goes with it as you go? <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Hello Worl...
asked by 16.01.2016 / 00:46
1
answer

How do you leave a TableLayout in a fixed size on the screen?

I have a screen where you have a title, a table, and two buttons at the bottom of the table. I put the table inside a scrollView. However, when the table is filled with rows, it will occupy the place of the buttons until it disappears. Does anyb...
asked by 13.01.2016 / 15:20
1
answer

How to get other data instead of the String that was clicked on the ListView?

I have a list of countries of type ListView, and when I click in Brazil I get the String "Brazil" with the "getItem (position)" but instead I would like to get another data, in the case the "BR" that is in the database. Does anyone have any idea...
asked by 22.07.2015 / 22:29
1
answer

How to change the color of ActionBar in eclipse?

I'm studying how to change the color of my ActionBar , but I can not. I've tried everything but to no avail. This is my MainActivity.java : import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import androi...
asked by 21.07.2015 / 02:36