Posts by rhskiki • 126 points
6 posts
-
0
votes2
answers35944
viewsA: Taking time in format: HOUR:MINUTE:SECOND
Try: Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("Brazil/East")); int ano = calendar.get(Calendar.YEAR); int mes = calendar.get(Calendar.MONTH); // O mês vai de 0 a 11. int semana…
-
4
votes1
answer2788
views -
2
votes1
answer258
viewsA: Good practices to keep code clean
I use the following structure to manage the packages and classes: *.Activity - Group of classes handling activitys. *.Adapter - Group of classes using Adapters. *.broadcastreceiver - Group of…
-
0
votes2
answers659
viewsA: Play video in the app or out
For videos hosted on youtube use the library Youtube Android Player API integrated into your native app. Very easy to set up. See more on: https://developers.google.com/youtube/android/player/…
-
1
votes2
answers249
viewsA: Problems with vectors and structs
Below is a possible solution to your problem. typedef struct { char nome[50]; float altura; } pserhumano; typedef struct { float dia; float mes; float ano; } dnasc; void CriaData(dnasc *D) {…
-
1
votes1
answer920
viewsA: Proguard.cfg Android file
Reverse engineering of your code, when configured by Proguard in default, can be obtained by following this simple tutorial:…