Questions tagged as 'android'

2
answers

How can I set the address as a street and a neighborhood corresponding to latitude and longitude?

I have this code: protected void onActivityResult(int requestCode, int resultCode, Intent data) { if(requestCode == MAPA_REQUEST_BAIRRO){ if(resultCode == RESULT_OK){ try { Place place = PlacePicker....
asked by 26.12.2016 / 19:11
3
answers

How to leave the Android virtual keyboard visible / invisible while TEdit is in focus

I use Delphi XE7 , I wanted to know how to handle this question, if I focus on TEdit , it opens the virtual keyboard of Android , I press it back it closes the keyboard and the focus remains on TEdit but when I press aga...
asked by 05.12.2016 / 12:49
2
answers

Error android.database.sqlite.SQLiteException: no such table: fs_promocoes

public class PromocaoDAO { private static final String DATABASE_NAME = "app_promocoes.db"; private static final int VERSAO_BANCO = 2; private static final String TABLE_PROMOCOES = "fs_promocoes"; public static final String PROMO_ID = "id"; pu...
asked by 09.11.2016 / 18:36
2
answers

How to calculate distance from user's location with another address?

What I need to do is pretty simple, but I do not know how. It works like this: I pass an address to the user and as soon as he is in the place he presses a button, when doing this the application should know if it is in the (or very close) lo...
asked by 27.09.2015 / 18:34
3
answers

Organize layout XMLs in Android project resources (res)

Problem My project is growing and with it, the amount of files in the layout folder, and it is already becoming somewhat difficult to find a specific file, since they are not grouped in any way, just in alphabetical order. Then I tried t...
asked by 14.04.2014 / 15:42
3
answers

Recover md5 password from an Android application

I've created an Android application where I ask for a password to access the app. The user registers this password (numeric) and an email to recover password, the data is written in SQLite and I am using MD5 to save to the database and "log in"...
asked by 18.09.2014 / 08:22
2
answers

Code to check if GPS is active

Good morning, I'm developing an application that checks for vulnerabilities in Android and would like to know if anyone knows of an open source application or know the code that verifies that the GPS is active or check all applications on the de...
asked by 30.01.2015 / 13:06
3
answers

I have 5 threads running in parallel. How do I know when it's all over?

If I make a join for each of them, they will run in sequence, one at a time. I needed to start the 5 in parallel and know when they were all done to do something. Does anyone know if and how is it possible? Thank you in advance.     
asked by 17.11.2015 / 15:38
2
answers

Links in Webview do not work

Has anything changed in the implementation of WebView, WebViewClient for Android 7? I have some html files in a subfolder inside the Assets folder. The list.html file, which contains other links that call other html files that are in the sa...
asked by 30.06.2017 / 04:46
1
answer

How do I use progress bar

I have an android application, which brings latitude and longitude. I wanted the moment he is requesting it to put a progress bar to give feedback. follows the location code private void start(){ locationManager = (LocationManager...
asked by 24.07.2015 / 14:56