Posts by João Carlos • 445 points
26 posts
-
0
votes0
answers34
viewsQ: Recover data from other Ragments by clicking button?
I have a form with 3 Fragments, where at last there is a save button, when I click on this button I need to take the data entered by the user in Fragment 1 and 2, get the data from the open Fragment…
-
2
votes0
answers169
viewsQ: Dynamically generate JSON from android form
Context: I have a Cordova app that there are SUS forms with more than 30 fields that is sent to the server through JSON. I’m building a native android APP for the same function; Problem: Need to map…
-
0
votes2
answers45
viewsQ: Arraylist statico returns size 0 when I try to recover it in an Activity
I have This class: abstract public class ListaEstaticaDeErros { private static ArrayList<DescritorDeErro> listErros = new ArrayList<DescritorDeErro>(); private static boolean fimSinc =…
-
1
votes1
answer29
viewsQ: Log activity for synchronization capturing task data running in background
I develop an application in Cordova, which synchronizes with an online database, the synchronization part is all in Java. (Context of the app) I am developing a "Log" screen for the synchronization…
-
2
votes0
answers22
viewsQ: Error @Databasefield + Abstract Class Ormlite (java.lang.Illegalargumentexception: No Fields have a Databasefield Annotation in class ***.Object)
I have a class that extends from the object class (abstract) from which I need to save the fields in the database, but the ormlite asks that the object class has some field with the @Databasefield…
-
0
votes1
answer416
viewsA: Error with.fasterxml.Jackson.databind.Jsonmappingexception
My problem was not with the code, but with the server, in the table file in . php of the server set the Lazy load to true and solved the problem as it did not bring the Elousuarios object and only…
-
0
votes1
answer416
viewsQ: Error with.fasterxml.Jackson.databind.Jsonmappingexception
Error shown: 04-25 14:01:32.589: I/Recebendo pela rede(31129):…
-
1
votes0
answers282
viewsQ: Android target: not installed and general error Cordova
When I turn the remote cordova requirements the terminal returns me: Android Studio project detected Requirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true…
apache-cordovaasked João Carlos 445 -
2
votes2
answers122
viewsA: When adding Listview Selector Imagebutton to Work
I found the solution: When you added an Imagebutton to Listview it "steals" the focus of the Listview item for itself. To solve this just add the following line in the root layout of your Listview:…
-
0
votes2
answers122
viewsQ: When adding Listview Selector Imagebutton to Work
The list view is a list of items available to the user to select, and when the user clicks on a Listview item this item changes color and is added in an arraylist (this is the function of clicking…
-
0
votes1
answer631
viewsQ: jquery.load does not load js or css
I am trying to load the "home.html" content into the div #content but it seems that it only loads a part of css and does not load sliders, code: index.html <!DOCTYPE html> <html…
-
4
votes1
answer195
viewsQ: Regex for python float validation
r"[+-]? d*.? d+" This regex is accepting numbers with more than one point Ex: 12.23.43 and was not to accept...
-
0
votes2
answers1674
viewsQ: Android keyboard does not override buttons
On one of the screens of my application: When I open the keyboard it overwrites the finished button: Screen that original Food Registry Already on this other application screen this does not happen…
-
0
votes1
answer148
viewsQ: Different layouts in cakephp
My system when the user type the url it will fall on the login screen that has its own layout, after the login the user is redirected to an administration screen style Adminlte, however I do not…
-
1
votes1
answer5098
viewsQ: Select nested Mysql
I’m trying to get the most value out of the smallest of a table, the query I’m trying to execute is as follows: SELECT district FROM (SELECT district, MIN(postal_code) FROM address WHERE postal_code…
-
1
votes1
answer88
viewsA: Arraylist bugger
I managed to solve my problem, instead of trying to clear the list, I just instated it again, the code was like this: import java.io.File; import java.io.FileNotFoundException; import…
javaanswered João Carlos 445 -
-1
votes1
answer88
viewsQ: Arraylist bugger
Using the command .clear of java.util.ArrayList; the command resets the array of my graph object as well but I just wanted it to reset the arraylist sucs, follow the code: import java.io.File;…
javaasked João Carlos 445 -
3
votes1
answer2007
viewsQ: Database driver Cake Database Driver Mysql cannot be used due to a Missing PHP Extension
I’m having problems with Cakephp’s Bake, I’ve looked for solutions everywhere but none solved the problem. Error log: Exception: Database driver Cake\Database\Driver\Mysql cannot be used due to a…
-
5
votes3
answers557
viewsQ: Convert "unsigned int" to "unsigned char" vector?
I need to convert a unsigned int in a vector of unsigned char to later translate this address into binary, for a work that needs to simulate a virtual memory. Can someone explain to me how to do…
-
1
votes1
answer177
viewsQ: Windows libxml error
When we do a #include in the c++ language using the <> special characters where the include folder/file is? I am compiling a program that I downloaded and this program has the following lines…
-
2
votes0
answers306
viewsQ: Error opening the eclipse
After I reinstalled Ubuntu on my laptop, while trying to open the eclipse appears the following error: JVM terminated. Exit code=1 /usr/bin/java -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m…
eclipseasked João Carlos 445 -
1
votes3
answers1338
viewsQ: How do Eclipse display the SDK and AVD Manager icon?
I have JDK, Android SDK and Eclipse Plugin installed, but when I go to the tab window Eclipse do not show me Android options to configure Avds and SDK. How to make Eclipse show SDK and AVD Manager…
-
0
votes1
answer45
viewsQ: Inputdialog vertically
My problem is that I want to create a graphical interface with input fields vertically, but I can only create horizontally. Code: JTextField mapField = new JTextField(5); JTextField tamField = new…
-
-1
votes1
answer340
viewsQ: new File() does not create the file
When creating a program that generates an input file for another program, the problem occurs that the file I try to create by new File() is not created. Follows the code: import java.io.File; import…
-
3
votes1
answer244
viewsQ: Matrix in Forms
I’m having trouble creating a matrix within a JPanel in Netbeans, I tried to customize the code by placing within the Netbeans customization code: jPanel1.setLayout(new GridLayout(15,15));…
-
2
votes1
answer292
viewsQ: Vector in Java with fields in each cell
I’m doing a work in java and need to know how I do a structure similar to a Struct of C, where each cell of the vector has 3 fields, example vector[i]. age, vector[i].altura.. If someone can show me…