Questions tagged as 'android'

2
answers

How to save a SQLite database table to a text file on Android?

I have an application that saves the data of a form in a SQLite database table. So far, I've only been querying these data within the application, no problem. Example: My form saves information such as name and phone number. This information...
asked by 16.04.2015 / 14:17
1
answer

Problem creating Android Studio project on Ubuntu

I installed Android Studio, but when I create a project or open an existing one, the following message appears:    Error: Could not determine Java version using executable   /usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/bin/java.     
asked by 01.12.2015 / 01:47
1
answer

Help with onitemclick listview

I'm trying to make a Toast appear as soon as the user chooses a Listview option, but when the user chooses the option, the Acticity is first loaded and then the Toast appears. What I really want is the opposite. Fo...
asked by 27.11.2015 / 00:51
1
answer

How do I connect to a specific Wi-Fi network from my application?

Now, I'm following the tutorial below to list the Wi-Fi networks available in my Android application.    link I wonder if it's possible for my app to have my Android connect to a specific network when the user clicks on it. Is it pos...
asked by 30.03.2015 / 15:40
1
answer

Send an object using Gson

I have the following problem: I need to send an object to my web-service, however, it is not feasible to use JSONStringer because my class has many fields. What would be the best way to solve this problem? I used the following method but it did...
asked by 07.04.2015 / 13:28
1
answer

How to consume data from SOAP Web Service with android application?

I am developing an application android + web services SOAP + mysq, I was able to create the web services and make it run with the methods insertUsuario and searchAll users, I consume the data and insert new ones through SoapUI, but in the androi...
asked by 03.05.2015 / 01:18
1
answer

Organize list based on an integer value of its elements

I have ArrayList of a class of mine that contains String variables and integers, such as a name and punctuation. When viewing through Adapter I'd like the list to have the punctuation in descending order, but I have not foun...
asked by 01.03.2015 / 03:33
1
answer

Toast is not showing

I tried to search in several sources, but I still do not understand why Toast of class DrawView is not displayed when I click on screen. Any ideas? public class MyActivity extends Activity{ public static Context context; pub...
asked by 21.01.2015 / 01:07
1
answer

Change data from a specific position in the ListView

I would like to know how I can change data from a certain ListView position. Here I load the database from the ListView: public void carregarEmails(Cliente cliente) { ArrayList<Email> listaView = dao.pegarResultListaEmail(cliente)...
asked by 13.10.2015 / 23:19
1
answer

Color Listview Delphi Line Android

How to change the color of a Delphi / Android listview line? To have the color changed as some condition is true: se a = 1 then listview.linha?.? := clBlue entao listview.linha?.? := clRed;     
asked by 20.10.2015 / 19:17