Posts by dgadelha • 303 points
5 posts
-
1
votes1
answer446
viewsQ: Select a row where a column has an element of a CSV
I have a table in the database with the following structure: +---------+---------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra |…
-
14
votes2
answers740
viewsA: Swap whitespace for %20 in Java
Use the method URLEncoder.encode("meus parametros tem espaços em branco", "UTF-8"); The Urlencoder is the best way to do this since you are messing with a URL and it will handle any other case…
-
0
votes1
answer236
viewsQ: Read files synchronously in Cordova
Is there any way in Apache Cordova to read the contents of a file and save to a variable synchronously? This is because, in the Cordova File API you must use a callback function when reading a file…
-
1
votes1
answer96
viewsA: Where do I find logs like login and password stored in the xml that Sharedpreference does?
It is usually located in /data/data/com.pacote.do.seu.app/shared_prefs/nome_da_pref.xml. You need root to access this file or use a function to read and display the content directly from your…
-
1
votes2
answers1860
viewsA: Problem with Hyper v virtual machine emulator
To start virtual machines, you need to enable Virtualization on your computer. To do this, open your BIOS configuration and look for something like "Virtualization" or "VT-x" and turn on. There are…