Questions tagged as 'android'

1
answer

Fill list of objects with SQLite data

I have an object of type Status contains the following attributes. idEstado (String), siglaState (String) And I have a table already populated in the database with the same attributes as above. But I would like to return all this data to a...
asked by 22.05.2017 / 14:23
1
answer

Problems with field mask

My application is closing when I make a few clicks in the field, I noticed that it is trying to double-mask the field. @FocusChange(R.id.edtTelefone) void focusAlterado(View v, boolean hasFocus) { String telefone = edtTelefone.getText().to...
asked by 29.05.2017 / 21:23
1
answer

Insert divider line programmatically

How can I place a div line programmatically using java? The XML code is: <View android:layout_width="match_parent" android:layout_height="1dp" android:background="#ddd" />     
asked by 31.05.2017 / 12:42
2
answers

How to hide the keyboard when clicking on an EditText?

I have following XML: <android.support.design.widget.TextInputLayout android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginRight="15dp" android:layout_we...
asked by 26.05.2017 / 20:14
1
answer

Update widget data - update time

I'm creating an application that will have a widget, in it will be presented some data taken from a webservice. I need it to refresh every 5 minutes to get some fresh information from the user. The documentation of the AppWidgetProvider say...
asked by 26.05.2017 / 13:44
1
answer

How do I get the version of Android and the size of the device's RAM?

I'm developing an app that checks Android version and Ram Memory Size. How can I get this information?     
asked by 12.03.2017 / 17:13
1
answer

Fill spinner with SQLite data [duplicate]

I have an application with SQlite, I make a select to return the values of a field and save this in a variable. I wanted to use these values in a spinner, but it is not getting into the list but all the values in an item. Query in Sqlite to...
asked by 05.03.2017 / 03:49
2
answers

Database - SQLite

I'm developing an application that needs a database, I chose SQLite. How do I create a database with SQLite and React Native? As I am new and I have no experience in SQLite I ask you:     
asked by 25.02.2017 / 04:06
1
answer

IF condition within an Oracle SELECT [duplicate]

There are other questions in this context, but I am lazy on the subject and I do not understand. With this, I need help. I have SELECT for searching data in a ORACLE database, however I need to make a IF condition withi...
asked by 28.02.2017 / 22:25
2
answers

Accessing SQLite database in another activity

I'm starting out in java android, I'm quite lay still, I'm catching the POO concept little by little. My problem is as follows, I have a class BankBank and another BankController where I have some methods to manipulate the bank, this in an ac...
asked by 22.06.2017 / 22:20