Posts by Robson • 91 points
8 posts
-
0
votes1
answer44
viewsA: Error when relating two tables in the database
Isn’t one missing @JoinColumn(name="NOME_DA_COLUNA") in this code? @ManyToOne public Patchpanel patchpanels;
-
1
votes1
answer4570
viewsA: How to send parameters via java post using Httpurlconnection?
Take a look but I think q is missing in just this line in your code: conn.setDoInput(true); But I’ve always used this code below: URL url = new URL(URL_STRING); HttpURLConnection conn =…
-
1
votes1
answer261
viewsA: Encrypting passwords in web application
Try switching in decryption method(): cipher.init(Cipher.ENCRYPT_MODE, key); For: cipher.init(Cipher.DECRYPT_MODE, Key);
-
0
votes1
answer76
viewsA: Object null, I don’t understand why
Try to replace this guy of yours: myDB = new DataBaseHelper(getContext()); For: myDB = new DataBaseHelper(rootView.getContext());
-
1
votes1
answer547
viewsA: Screen login SQLITE
As you are using an editText you will have to make this change: of: if (bd.login(usuario.toString(),senha.toString()) == 0 ){ for if…
-
0
votes1
answer35
viewsA: Error in method: removerEditor
Guy may be a mistake in his eclipse. But this code is very strange. Try to feed this variable code with a value q does not exist. Then try to execute that line…
-
0
votes1
answer29
viewsA: Remove values for SQL file not working
public boolean insertData(String disciplina,String sala,String dia,String hora){ SQLiteDatabase sqLiteDatabase = this.getWritableDatabase(); ContentValues values = new ContentValues();…
-
0
votes1
answer316
views