Posts by Tiago Almeida • 79 points
4 posts
-
1
votes1
answer508
viewsA: How does a chained list work in C?
I’m no expert, but for me there are unnecessary things there, I think you could simplify for this guy: typedef struct registro_st{ char login[50]; char nome[50]; float valor; struct registro *prox;…
canswered Tiago Almeida 79 -
2
votes2
answers161
viewsA: Java - parseint()
Find this on the forum, and I found it interesting! I don’t know if it’ll work, but it won’t hurt you to try it there! import javax.script.ScriptEngineManager; import javax.script.ScriptEngine;…
-
1
votes1
answer79
viewsA: Permanent service in background
If you want to run in the background, you will need to use a Asynctask. Within Asynctask you place this implementation. And to run it from time to time, you can use a timer. final Handler handler =…
-
0
votes2
answers1275
viewsA: How do I get the back button to close Activity without going back to the previous one (finish the app)?
Have you ever tried to clear the back stack of Activities? On the Internet that you do transition from login screen to other screen, add the flag: Intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); I…