Questions tagged as 'android'

1
answer

App expect response from AlertDialog for password [duplicate]

The function below returns a password entered in AlertDialog and is in a class responsible for creating any dialog box in my app, but like all AlertDialog the app does not "wait" for the function return to continue execution. My...
asked by 15.09.2016 / 14:57
0
answers

Post request with retrofit + android [closed]

I'm studying android, and I'm trying to use the retrofit library with android. After reading the documentation and seeing several examples in answers here in stackoverflow I was able to send data from a form via POST to a page written in...
asked by 26.09.2016 / 22:17
0
answers

Is it possible to collect the amount of data spent over a period of time?

I'm making an Android application and I need to pick up the amount of data the person uses in a specific time period, in Androids that use the level 21 (lollipop) APIs up to the current (Nougat) API. I searched and found two classes, one of t...
asked by 23.09.2016 / 19:24
0
answers

How to read large text files on Android?

I would like to know some tips on how to read large files on Android, as an example I give the GTFS (Google Transit) files that most often have 80 MB I am putting this data on a server (Firebase) with use of Android application utility. Bu...
asked by 11.09.2016 / 19:56
1
answer

Error Connection mysql and android

I'm developing an app that needs to have an external connection and I'm having a problem running, how could I fix this? Follow the code: import java.sql.DriverManager; import java.sql.SQLException; import com.mysql.jdbc.Driver; import com.m...
asked by 27.09.2016 / 20:26
1
answer

Update in sqlite does not update data

Hello, could anyone help me, the update is not updating the data! Follow the button that calls the method: @Override public void onClick(View v) { Receita rec = new Receita(); String dosradio = null; switch(rg....
asked by 29.09.2016 / 03:30
1
answer

How to insert images in Android Studio from a drawable folder?

People would like to know if it's possible to load an image from a drawable folder. For example, I have a ListView with several categories, when a category is selected I would like all the images related to this category to appear, so that the u...
asked by 27.09.2016 / 21:41
1
answer

Exchanging project API

Error whenever I change API 24 to API 15, API 16 or API 19.     
asked by 06.10.2016 / 04:18
2
answers

How to change the checkbox color of a MultiSelectListPreference [closed]

I would like to know if you can change the colors of these CheckBox which is currently green (default color) to the accent color of my app .     
asked by 05.09.2016 / 03:15
0
answers

InappBroser Phonegap opening URL in Chrome

I'm using inappbrowser on the phonegap to open an external link inside my app. Use this way var ref = cordova.InAppBrowser.open('http://google.com', '_blank', 'location=no'); When I open the phonegap desktop and emulate it on my phone, i...
asked by 01.09.2016 / 02:09