Posts by GuilDraco • 57 points
9 posts
-
0
votes2
answers207
viewsA: How do I make Firebase Cloud Messaging send a message to a specific user?
Sending to a specific user is done via the firebase console by inserting the firebase token from the device or setting up a server to send to that specific token. Clicking here…
-
0
votes2
answers410
viewsA: Android - Transfer Data and Change Fragment by Click
Cassius, Good night. Brother I have a very similar doubt, but I continued to doubt. Because mine is inside a Recycle view. //Configuração evento de clique recyclerBook.addOnItemTouchListener( new…
-
1
votes1
answer62
viewsQ: Set time variable on Back button
You guys, good night. I need a little help, I have the following code. Because I need to stop Thread when the back button is clicked. private void timeGame() { t = new Timer();…
-
0
votes2
answers114
viewsA: Imageview Visible with onClick becoming invisible again?
Good morning. For if anyone ever needed it, it stayed that way. Note: the *seuLayout is the Relative, contrain, linear... that will do the action in everything inside. O . alpha(1f). setDuration(0);…
-
1
votes2
answers114
viewsQ: Imageview Visible with onClick becoming invisible again?
Talk to you guys, I have an Image that starts invisible and when clicking the button it becomes visible, but I need it to be invisible again because when clicking the button again, it has to appear…
-
0
votes1
answer118
viewsQ: compare Array with another Array com for in Java
Everybody, Good afternoon. I am wanting to compare 2 Array, where 1 array has randomly set value. I want to use for so I don’t have to repeat 100 times. But I don’t know, because it always shows me…
-
0
votes1
answer56
viewsQ: Search String Random in Sqlite and then show the Result on the Screen with button
// Create Database. final Sqlitedatabase bankDados = openOrCreateDatabase("Table name", MODE_PRIVATE, null); // Criar Tabela. bancoDados.execSQL("CREATE TABLE IF NOT EXISTS questions(id…
-
0
votes2
answers103
viewsA: How to check whether String[] Random Text is true or not
if (obj[0].equals(textoobj.getText())){ textodica.setText(dica[dicaaleatoria]); I managed to solve it that way. Stay here, in case someone needs.
-
2
votes2
answers103
viewsQ: How to check whether String[] Random Text is true or not
I’m creating a game at Android Studio and I need to compare if the text on the screen is that or not, to then present the tip. Ps: When using the equals get everything true by showing the message…