Posts by Gabriel Henrique • 499 points
35 posts
-
-1
votes1
answer282
viewsQ: pushNavigator - Dart/Flutter
Hello, I’m learning how to develop Dart/Flutter apps. What happens is that I pressed a Navigator.push, where it loads the previous route, in case I want to return, however, in my appbar instead of…
-
0
votes1
answer2478
viewsQ: Slick Slider Autoplay
I’m mounting a Slick Slider with 4 images, however, it loads all images on screen and does not autoplay Slick alone. JS: $('.single-item').slick({ slidesToShow: 4, slidesToScroll: 1, autoplay: true,…
-
2
votes1
answer88
viewsQ: How to remove fixed side banner from footer
Hello, I’m trying to make the side banner stop before standing over the footer as picture below, but I could not find a way to make this stay fixed on the side of the page and not stand over the…
-
1
votes1
answer53
viewsQ: Array only loads last PHP record with PDO
I’m generating the information, but it only fills the last line of the query executed inside the Array, even though I’m sure it’s running all the lines in the foreach. Does anyone have any idea how…
-
0
votes1
answer6560
viewsQ: Localstorage + PHP
I am capturing the data from a Localstorage, but when I put the information in a PHP variable and search on the server, the query does not perform correctly. <?php session_start(); try{…
-
1
votes1
answer32
viewsQ: Separation of Tabs
I performed the separation in Tabs of two sections, however they are not divided and end up leaving in the same separation, regardless of which separation I click. I’d like you to stay on screen,…
-
3
votes3
answers3847
viewsA: Telephone Field Mask
I learned in this site same, to use of this occurrence, as follows: $("#telefone, #celular").mask("(00) 0000-0000"); <script…
-
1
votes1
answer48
viewsQ: column 'Minhacoluna' does not exist - Android Sqlite usage
Hello, I’m trying to recover the recorded data in my database, however, when I run a function to return the value of one of the columns created in the Sqlite database in the memory of the mobile…
-
0
votes0
answers29
viewsQ: Refresh Image
I have a question, because I’m setting the picture from Spinner’s position. Then, when you open Activity, the Oncreate method reads the position of the spinner and loads the image according to its…
-
0
votes5
answers73
viewsA: Calculate date difference and print these days
Gustavo, I think Voce needs to perform the following code <?php $d1 = '2018-02-09'; $d2 = '2018-03-09'; $timestamp1 = strtotime( $d1 ); $timestamp2 = strtotime( $d2 ); $cont = 1; while (…
-
1
votes2
answers75
viewsA: how to work with Bootstrap table?
Try to do it this way, it should work. <div class="row"> <table class="table"> <tr> <td rowspan="2">12/12/2000</td> <td v-for="(moeda, key, index) in…
-
1
votes3
answers87
viewsA: Put date in American format with substring
I believe that the way you typed is correct, only the position is incorrect, try this way: EstFData = EstFData.Substring(3, 4) + "-" + EstFData.Substring(2, 2) + "-" + EstFData.Substring(0, 2);…
c#answered Gabriel Henrique 499 -
0
votes3
answers526
viewsA: UTF-8 sending by POST does not work
If I understand correctly, are you sending the data through the right POST? Try to replace the Inputstream parameter with the following parameter: InputStream inputStream =…
-
0
votes1
answer72
viewsQ: Asynctask result
I rephrased the question again to try to clarify better the need of my situation: I need to run between asa Activity s the following operation, when clicking the button, the application sends…
-
9
votes2
answers314
viewsA: =, BINARY, LIKE, LIKE BINARY, REGEXP, SQL binary grouping
In Mysql, BINARY has the function of forcing an exact comparison, ie a case-sensitive comparison, byte to byte. I believe that the use of this grouping is for search optimization when looking for a…
-
-1
votes2
answers65
viewsA: How to send back my array’s response to views? and appear within td
I could do it this way Before the Html tag, inside php: try{ require('conexao.php'); // Chama seu arquivo de conexão $sql = "Sua SCRIPT"; // Cria Script $stmt = $conexao->prepare($sql); //Prepara…
phpanswered Gabriel Henrique 499 -
0
votes2
answers72
viewsA: Session does not logoff in php
not to edit the question and run out of connection I was able to solve the problem as follows: On all my php pages, which the user will get the active session, contains a start check:…
-
0
votes2
answers72
viewsQ: Session does not logoff in php
I am creating a small site, but when I press to exit, the site depresses, but if I put the link of one of the pages, I can enter the system and not check if the login was done, even with security…
-
1
votes1
answer45
viewsQ: $_SESSION function does not work
I am performing a process in my code, where the $_SESSION['test'] takes the value that returns from the bank, where it performs its function in parts, because if I have a single string, it loads the…
-
2
votes3
answers46606
viewsQ: Mask for HTML5 Input fields
I am applying a mask addition feature in my code, even when the user fills the phone or mobile, to chew be filled automatically. However, my page does not return anything while user type.…
-
0
votes1
answer616
viewsA: Compare fields between two tables in PHP x Mysql
You can do as follows with the comparison expression that acts as JOIN Inner in SQL: SELECT tabela1.a, tabela1.b, tabela1.c, tabela1.d FROM tabela1 tabela1, tabela2 tabela2 WHERE tabela1.a =…
-
1
votes2
answers953
viewsA: SQL - Count number of records between rows
Juliano, if I understand correctly, every time the group is not equal to 1, account as missing, to get this information run the query below, if not run, let me know which platform is running the…
-
0
votes1
answer1899
viewsQ: How to fill data in html input
I am creating a site for study and a question arose, where I created a Basic HTML with database and I am trying to pass some values manually, but when I press the change button, the fields are not…
-
0
votes1
answer98
viewsQ: Asynctask - Does not run twice
I am performing a process in my App, where in Mainactivity, I press a button, then it loads a JSON in another Activity that brings all the information correctly.. However, when I close the screen…
-
3
votes1
answer131
viewsQ: JSON with value - Null App List
I am creating an App, where it will present some information from an external database using a JSON file so that I can present this information in the App. However when I run the code, the list in…
-
1
votes0
answers26
viewsQ: Error:Execution failed for task ':app:preDexDebug'. > finished with non-zero Exit value 1
I’m trying to run the compiler of Android Studio, but it returns me this error. Error:Execution failed for task ':app:preDexDebug'. > finished with non-zero exit value 1 build.Gradle app: android…
-
1
votes0
answers438
viewsQ: Error: android.view.Inflateexception: Binary XML file line #10: Error inflating class android.widget.Listview
I am running my app, however it returns the following error: Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class android.widget.ListView And I’m simply running…
-
0
votes1
answer324
viewsQ: Httpurlconnection - Use php to connect to Mysql
I am trying to fetch the data of a user saved in an external database to log in/register. However I run the system and there is no Exception, but it does not connect. I tested the php that I am…
-
0
votes0
answers528
viewsQ: Failed to connect to server - Unable to resolve host "play.googleapis.com": No address Associated with hostname
I’m creating an app in Android Studio that will send information to a web service that will insert the data in the database. However when I press to enter the data, the program returns this error:…
-
5
votes2
answers1280
viewsQ: The location obtained by getLastLocation() always returns null
I’m making several attempts, but I can’t get the current location of a user using the Location API. I am running the following example: public class MainActivity extends AppCompatActivity implements…
-
0
votes1
answer119
viewsQ: Error java.lang.Nosuchmethoderogate: Mainactivity.checkSelfPermission
I am making several attempts, but I cannot get the current location of a user using the Location API. I am running the following example: public class MainActivity extends AppCompatActivity…
-
0
votes3
answers204
viewsA: Order by or filter in Sql Server
Below is a script on how to do what you would like, but if you can post what you did to better understand it will be clearer for everyone. Select TOP 10 TB1.COLUNANOVA from Tabela1 TB1 inner join…
-
3
votes3
answers6231
viewsA: How to compare the structure of two SQL Server databases?
You would like to return the structure of the same tables or the data that exist between the tables of a database or other ? If you need the data there is the option to mount an INNER JOIN: select…
-
0
votes1
answer101
viewsQ: Illegalargumentexception error when displaying data in the application
I’m trying to present everything that was recorded in my app while running, however it presents the error below: Unable to start Activity Componentinfo{com.projecto.... }:…
-
0
votes1
answer2503
viewsQ: java.lang.Runtimeexception: Unable to instantiate Activity Componentinfo
I am running the project on my mobile phone, however it presents the following exception error: java.lang.Runtimeexception: Unable to instantiate Activity Componentinfo Mainactivity: public class…