Questions tagged as 'android'

0
answers

Doubt with XML Parser

I have a project that uses Jsoup to perform the parser of an xml and I am changing the implementation to Retrofit and SimpleXML, however the xml structure varies in the Content block, where I can only come a String with the content or I came a p...
asked by 10.10.2016 / 19:16
0
answers

Get textview value through gridview / sql server

I have a gridview of a column consisting of only four textviews and I am loading values from a SQL Server database into it. How do I click a grid line to display another field (associated with the row) of this SQL table in a separate textview? I...
asked by 11.10.2016 / 18:31
1
answer

How do I switch between the cameras (Front, Back)?

I'm doing a native Android app, using the device's cameras. After I start the first Activity, calling the camera (Back), I created a button, with the function of switching between the cameras (Front, Back). I just have a little difficulty doi...
asked by 18.08.2016 / 03:46
0
answers

Slow response to api using HttpURLConnection

I'm having a critical problem, when I send a request to the API, it always takes a long time to receive the response, I'm using gcm too, it always arrives the moment the request is sent. But when the function goes in the API, it is already de...
asked by 11.08.2016 / 22:30
1
answer

Find and display in a listview a single type of DB information

I'm having trouble fetching a single type of DB information, I've already created a list where I bring all the information in it, but I want to pull only one, for example just fetch the names of the clients and display all of them in a listView,...
asked by 13.09.2016 / 00:45
1
answer

Error fetching SQLite ID from Spinner

Book object public class Livros { private int id; private String nome; public Livros() {} public Livros (int id, String nome) { this.id = id; this.nome = nome; } public int getId () { return id; } public int setId (int id) {...
asked by 14.09.2016 / 00:21
1
answer

Static Objects in Activities with View Pagers

I have an activity with a view pager, and this controls 3 fragments, f1, f2, f3. Fragment f1 shows items added by the user, fragment f2 loads all items from an external server, showing them in a list, and finally fragment f3 shows the items that...
asked by 14.09.2016 / 15:27
1
answer

Java check two tables within SQLite

I have a database that has two tables, being EstoqueDBQ and FilaDBQ , I need to create the following logic. If the value exists in the FilaDBQ table and in stoqueDBQ , this value should be excluded from FilaDBQ, I thought I'd...
asked by 18.03.2016 / 13:16
0
answers

The safest way to connect between Android and Arduino

I'm developing an application that communicates with Arduino (Uno). I used two modes to communicate so far via USB (I used the libraries usb-serial-for-android and Physicaloid) and Bluetooth. Sending and receiving data via Bluetooth was a bit...
asked by 01.11.2016 / 12:10
1
answer

User Login with WebService

I would like to ask Java connoisseurs (Android) to guide me in this code: MainActivity: @Override protected void onCreate(Bundle savedInstanceState) { Log.d("TESTE", "Iniciou MainActivity"); super.onCreate(savedInstanceState);...
asked by 17.03.2016 / 20:33