Posts by TiagoIB • 335 points
21 posts
-
3
votes2
answers5153
viewsA: How to calculate distance from the user’s location to another address?
If you want to know the distance of the route, you can use the Google Maps Distance Matrix API. This API returns for example the time and duration between points. Example: Distance between SP - RJ…
-
0
votes1
answer41
viewsQ: Class control Android internet connection - Wifi-3G
Hello. Currently I control screen by screen the type of internet connection to which the user is connected or not. I use a method similar to this: /*Check conection*/ ConnectivityManager manager =…
-
1
votes0
answers19
viewsQ: Statusbar - Change color with scrolling on a Collapsingtoolbar
Currently I have an image on a profile screen and Statusbar is "transparent". Running straight!! Problem: The problem is the scrolling of the screen, because in this case I’ve managed to make the…
-
1
votes0
answers182
viewsQ: Settings Firestore - Firebase
Referent to configuration Firestore on existing projects. [ANDROID] I tried to include and configure according to the supporting material and not the right one. Error when adding dependencies in…
-
0
votes0
answers374
viewsQ: Change item color - Recyclerview and Firebase
I need to change the color of a Linearlayout, as a query to Firebase. Bank structure: USUARIOS - ID_USUARIO ---AGENDAMENTOS -----nome: João -----lastview_usuario: "1506816888384"…
-
0
votes0
answers168
viewsQ: Select Date AM - PM Timepicker Android
I have a Timepickerdialog configured in my project and is working properly. When choosing the time I have the following option - PM or AM. Code: private void timePicker(){ // Get Current Time final…
-
0
votes2
answers58
viewsA: Doubt with the firebase
I don’t know if it’s the best way but it works. private String mResultadoTeste = null; private Button mBtnTeste; protected void onCreate(Bundle savedInstanceState) {…
-
2
votes1
answer896
viewsQ: Change icones colors dynamically
I have the following question: I have several icones in my design, some white and others black. Is it possible to change the color of the icon without importing an icon already in the specific…
-
2
votes1
answer4359
viewsQ: Change android domain design
I need to change the domain of my android project. Example: When I created the project I placed a fictional domain: br.com.dominio-x Then when the project evolved, I registered a valid domain:…
-
0
votes1
answer119
viewsQ: Sending data between Activitys with Putextra - Management
I have the following problem: I have three screens: Main Activity 2 Activity 3 In the first Activity (Main) I send a data by putExtra to Activity 2 (id user). Activity 2 is the profile screen, and…
-
0
votes1
answer1166
viewsA: example of how to popular a spinner with firebase data
Try this: fDatabaseRoot.child("areas").addValueEventListener(new ValueEventListener() { @Override public void onDataChange(DataSnapshot dataSnapshot) { // Is better to use a List, because you don't…
-
1
votes0
answers53
viewsQ: How to store images in Parse?
I have a question about how to save images in a Parse bank. In Firebase it is possible to save the image path and leave it in Google Storage. Already in Parse I could not find if it is possible to…
-
1
votes1
answer306
viewsQ: Using Progressidialog when Logging in
I am trying to insert a Progressdialog in the login screen of my Android APP. In parts it is working, only when the login is successfully done, but when something is wrong as password for example,…
-
0
votes1
answer646
viewsQ: Import Excell XLS Spreadsheet and write to Mysql database
NOTE: First excuse some ignorance, but I am beginner and do not understand in advanced PHP and SQL PROBLEM: I have some spreadsheets where I get some information, which is updated every 6 hours. The…
-
0
votes1
answer927
viewsQ: Testing a condition before UPDATE, with PHP - Mysql
I’m trying the following: I need the code below first to check that the record that is trying to be finalized (Pass status 1 to 2) is not finished. If you do not follow the NORMAL UPDATE. But what…
-
3
votes3
answers9083
viewsQ: Enable and disable a form edit button - with PHP
I have the following situation: I have a page (ex: EDIT.PHP) that will be where the information that was previously registered by a form (User registration form) will be edited. The point is, at the…
-
0
votes1
answer760
viewsQ: Set Default Value HTML form with PHP
I have the following situation: I have a simple example of a form to display a bank’s information to change and then record it again. In this case the problem is in NOME_OPERADOR, where I wanted to…
-
2
votes3
answers1222
viewsA: Filters with PHP - Search Form
I got it that way: <?php error_reporting(0); ini_set(“display_errors”, 0 ); $status = isset($_POST['status_atividade']) ? $_POST['status_atividade'] : ''; $operador =…
-
4
votes3
answers1222
viewsQ: Filters with PHP - Search Form
How could I make a filter like that from the example image? The part the tables with the data and SELECT to fetch is quiet. What I’m suffering from is how to build PHP code for this, maybe someone…
-
0
votes1
answer186
viewsQ: Permissions system
I have a user register and a user table field where the permissions to edit files will be stored (e.g. 1-edit, 2-delete) and will be stored in Mysql. Someone could help because I don’t know how I…
-
-1
votes1
answer40
viewsQ: Mysql and PHP Base
On a Dropbox-style web system (but not for storage), where the user logs in and is already redirected to his HOME (Home), where he has access to its resources. Some idea of how to work this…