Posts by RDamazio • 127 points
18 posts
-
1
votes0
answers54
viewsQ: Error calling Stored Procedure ORACLE by PHP passing date as parameter
I have the following Stored Procedure on Oracle: CREATE OR REPLACE PROCEDURE SP_RELATORIO( P_ID_SITUACAO IN TB_PROSPECT.ID_SITUACAO%TYPE, P_ID_GRUPO IN TB_GRUPO.ID_GRUPO%TYPE, P_DT_INICIAL IN…
-
0
votes1
answer62
viewsQ: Error searching for record with Firstordefaultasync ASP . NET CORE 3.0
I have a method to search the client in the database by the number of the CPF (no points, only the numbers), but in the database the type is as VARCHAR. I did some tests by POSTMAN to test the API…
-
-1
votes1
answer250
viewsQ: Search log by Cpf ASP . NET CORE 3.0
I created a simple CRUD using ASP . NET CORE 3.0 using EF. All basic CRUD operations are running normal. I tried to create a method manually to search a record by the client’s CPF as code below, but…
-
1
votes2
answers238
viewsA: Add parameters in JSON array after form serialize
I was able to solve it this way: Page with HTML form and Javascript <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>JSON | PHP | SERIALIZE</title>…
-
1
votes2
answers238
viewsQ: Add parameters in JSON array after form serialize
After giving the following command in Javascript: var dados = $("#form-historico").serialize(); Is it possible to add more information to the object? for example: I would like to send along with the…
-
1
votes1
answer136
viewsQ: Sensor values accelerometer to decimal degrees
I need to take the slope and declination value of the cell phone in landscape mode, but the values I need are in decimal degrees, from -90 to 90 degrees. I tried to use the accelerometer, but the…
-
1
votes1
answer92
viewsQ: Magnetometer sensor works only on a few devices
I created an app just to test the tilt of the device’s X, Y and Z axes. In tests, some devices the sensors read the values, while others do not. I noticed that the TYPE_ACCELEROMETER sensor works on…
-
1
votes1
answer31
viewsQ: When overriding a method should I call the super implementation before or after my code?
Watching and researching some tutorials on the internet, I came across some code in JAVA on ANDROID, as below: @Override protected void onPause() { sensorManager.unregisterListener(this);…
-
0
votes2
answers189
viewsQ: Downgrade project version in android studio from 6.0 to 5.0
I developed a project in android studio API 23: Android 6.0 (Marshmallow). However, the project should be developed for android 5.0. I would like to know if there is the possibility of doing some…
-
1
votes0
answers229
viewsQ: Images for different sizes of android screens
I’m developing an app that uses the camera on android. About the Framelayout where I display the camera I put a Linearlayout with a background according to the image below: The problem is this: I…
-
0
votes1
answer92
viewsQ: Create automatic backup on sqlserver and send confirmation email
I need to create an automatic daily BACKUP for a sqlserver database. - The name of the backup should follow the following pattern: BACKUP_BANCO_DIA_MES_ANO; After creating BACKUP, send a status…
-
2
votes0
answers458
viewsQ: Access database getting heavy after running query via VBA
Next, I have a database Access with a table called tblDados. This table contains 19 initial fields. I import a CSV file que contains 1 million records, so far so good, saved and close the database…
-
0
votes1
answer961
viewsA: Combobox receive data in the second field (list menu)
This is César Mattos! From what I understand, you want to make the famous "Combobox in Cascade", that is, the completion of one depends on the value selected in another? If so, I have a simple…
-
0
votes0
answers31
viewsQ: Display the values of the android accelerometer in degrees
I am developing an android application that uses the ACCELEROMETER sensor. I need to measure the inclination in degrees. I was able to instantiate the sensor to measure it, display the X, Y and Z…
-
0
votes0
answers453
viewsQ: Export HTML Table Image to EXCEL or PDF
I have an HTML table, in the last column an image is displayed (JPEG, PNG). Is it possible to export this table to EXCEL or PDF with the image? I used Datatables to do a test, however, the image is…
-
-1
votes2
answers1297
viewsA: Problem with gets and fgets
It would not be the case to use fflush(stdin) after the following lines? gets(s1); fflush(stdin); scanf("%d", & escolha); fflush(stdin); fgets(s2, 20, stdin); fflush(stdin);…
-
1
votes1
answer338
viewsQ: Capture the value of the selected item in selectOneRadio with Javascript
I have this Primefaces component: <p:selectOneRadio id="mercado" styleClass="teste"> <f:selectItem itemLabel="Interno" itemValue="I"/> <f:selectItem itemLabel="Externo"…
-
1
votes1
answer615
viewsQ: Use AJAX return in other functions
I have 2 functions: A function 1 returns a JSON via AJAX and lists the data in an HTML table dynamically, until then everything works. The function 2 need to manipulate the same data, however, I did…