Posts by L.J • 331 points
22 posts
-
1
votes3
answers412
viewsQ: Lack of Java memory even though the computer has available memories
The Java Virtual Machine "JVM" can run out of memory even if the physical machine has available memory?
-
1
votes1
answer81
viewsQ: Search with group by
Suppose the following table records authors' posts on a blog. An author may have several posts. So I have several repetitions of authors in this table of the different posts that he did. How I…
-
0
votes1
answer1401
viewsQ: Update Datatables table after Ajax request
On my page I have the following: $(document).ready( function () { buscaProdutos(); } ); When the page is loaded it does a search of the products to list in the table. Within this function…
-
0
votes1
answer161
viewsA: Pass function to another function as parameter with parameter in this javascript function
I managed to solve my problem based on the answer of this question : In my case my link had this: <a onClick="script: modalConfirmacao('+"'Confirmar'"+','+"'Tem certeza que deseja…
-
1
votes1
answer161
viewsQ: Pass function to another function as parameter with parameter in this javascript function
The title may seem a little confusing but what I want is basically this: on the button onclick pass to a function A a a function B as parameter. Only that already pass a parameter on which B will…
-
1
votes2
answers40
viewsQ: Error executing function passed via parameter in javascript
I have this modal functionConfirmation that I’m trying to use for various functions. In it I pass the title and the modal message and the function to be executed if the user click OK. function…
-
0
votes1
answer460
viewsQ: Select2 does not work on my pc but works on jsfidle
This jsfidle code works, i.e., shows stylized select and select with input search. <html> <head> <title>TESTE</title> <script…
-
2
votes1
answer200
views -
1
votes3
answers1435
viewsQ: Call functions for ajax request inside callback
Within a function callback() one click required to make at least 3 requests. I’ve separated that into three functions: (func1(), func2() e func3()) and each of them makes a request ajax ($.get)…
-
4
votes1
answer849
viewsQ: Firebase database modeling: n:n relations
I’m studying firebase that uses Nosql and I came up with a question when watching this video: Converting SQL Structures into Firebase Structures - Firebase Database for SQL Developers #2 In it the…
-
4
votes1
answer533
viewsQ: Get the frequency from a vector in the frequency domain
I was looking at the following topics: https://stackoverflow.com/questions/7674877/how-to-get-frequency-from-fft-result…
-
0
votes0
answers123
viewsQ: Get values from an audio file
I’m trying to use a c++ library to detect frequencies of a sound. To use it I need to pass a double type vector with the audio samples. I managed to get a vector but for that I had to use android…
-
0
votes2
answers257
viewsA: How to show the data repeated only once?
With a distinct it will eliminate the same results: select distinct l.titulo_livro, a.nome_autor, a.id_autor from tb_livros as l join tb_autores as a where l.id_livro = a.id_livro_escrito;…
-
0
votes1
answer110
viewsA: File location txt Android ndk / C++
For those who have the same problem: the only way I found to locate the generated files was with a third party application like ES File Explorer. By the PC it does not show the files. While saving…
-
-1
votes1
answer110
viewsQ: File location txt Android ndk / C++
I made a c++ code to create a file: I’ve already given the manifest permission to read and record: My question is:???…
-
1
votes0
answers18
viewsQ: Display array during debug with android NDK
On android, when debugging my program I can see the vector and content of it: I have to pass this vector from android (java) to C++ and I’m using NDK. public native void testeVetor(double[]…
-
2
votes1
answer224
viewsQ: Doubt about the functioning of the Audiorecord class
I’m a beginner and I was trying to understand how to record an audio using android and how it processes this audio. And during the searches I found this site:Audio Record The example works…
-
0
votes1
answer40
viewsQ: Error updating given with condition
I’m trying to run this update but it only updates the "value" column if the "discount" column is different from 0.00. If it is 0.00 he enters the second condition of the IF and puts in value the…
-
1
votes1
answer507
viewsQ: Merge two php+mysql query tables
I have two tables: bills payable and receivables. The two tables have: code, description, date, payment date, date of receipt and value. Like I make a query to take the data of the two tables…
-
0
votes0
answers93
viewsQ: Is it possible to use the SDK and NDK with Android Studio?
Good night! I have an app I made using the SDK. However, there was a need to use NDK in order to be able to use some ready-made functions already existing in C/C++. How does it work in this case? I…
-
0
votes0
answers62
viewsQ: Real-time Audio Processing on android: Thread or Asynctask?
I’m starting to develop an android app that will "listen" to the audio and will draw its waveform on the screen. But the first step I wanted to just "listen" to the audio and show on the screen the…
-
1
votes1
answer640
viewsQ: Selection and deselection of items in a Listview - Android
I’ve got a listview that extends a basedapter. And following this one’s lead topical with the @ramaral reply I was able to make the item select and select but now how do I check if the item is…