Posts by Jonathan Emanuel • 115 points
8 posts
-
3
votes1
answer40
viewsQ: onKey() method is not triggered as desired
I’m trying to capture the enter key to jump from one EditText to another. The problem is that the method onKey() is not called when I press a key, for it to run I need to hold the key for a while.…
-
0
votes1
answer57
viewsQ: Edittext does not accept Keylistener
Eae guys, I’m trying to define a Reader for an Edittext but it’s giving error. Error: setKeyListener (android.text.method.Keylistener) in Textview cannot be Applied to…
-
1
votes2
answers60
viewsA: Unexpected outputs of a user’s serial listing code
For the first problem you can do the following: i = i + 1 before placing inside the Format and then use the Format(i), because the way you’re doing it isn’t increasing the i, the code is only…
pythonanswered Jonathan Emanuel 115 -
1
votes1
answer210
viewsA: Use of vectors and binary search in English
Eae man, the search algorithm seems right but there are some things you can fix: 1: Fill vector with values from 1 to 100 2: insert one more if(if) to know if the beginning is greater or equal to…
-
1
votes2
answers245
viewsA: Doubts in the modeling of the Database
Dude you can put a "type" column (or any name you want) in the product table_ingredients and put values like "standard" or "added", or even 0 and 1, to tell if the ingredient is part of the original…
-
0
votes3
answers63
viewsA: Java Doubts - Creating Classes(Objects)
Primitive types such as int, float, and double when they have no defined value hold the value 0, objects hold the value null when they have no defined value. Your Minhacalcular object will have null…
javaanswered Jonathan Emanuel 115 -
0
votes1
answer89
viewsA: check sequence numbers visualg
Good evening, you can after assigning the value Random, compare to see if the previous + 1 is equal for(int i = 0; i<6; i++) { //Nao lembro como usar o rand em c mas acho que e assim vetor[i] =…
-
2
votes1
answer860
viewsA: Chess Game in C
// criar o tabuleiro char tabuleiro[8][8]; // Pede ao usuário informar a posição da peça que deseja mover printf("Digite a linha onde esta sua peca: "); scanf("%d", &linAtual); printf("Digite a…
canswered Jonathan Emanuel 115