ylliX - Online Advertising Network

253 – logcat – a new look at logging with Piwai from Square · Fragmented | #androiddev Podcast

Download directly Kaushik looks at a new logging library from Square called logcat. He starts by seeing how the popular Timber library does it along with the benefits. He then interviews Pierre-Yves Ricau (Piwai) of Square, the creator of logcat, to explore its origins and advantages. You can find the full shownotes over at fragmentedpodcast.com. […]

Reddit – Dive into anything

Previously, this is our flow of using GoogleSignInClient to interact with Google Drive service. // GoogleSignInClient.silentSignIn() -> GoogleSignInAccount -> Drive object GoogleSignInClient googleSignInClient = buildGoogleSignInClient(); Task<GoogleSignInAccount> task = googleSignInClient.silentSignIn(); GoogleSignInAccount googleSignInAccount = task.getResult() Drive drive = getDriveService(googleSignInAccount) public static GoogleSignInClient buildGoogleSignInClient() { GoogleSignInOptions signInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN) .requestIdToken(GOOGLE_DRIVE_CLIENT_ID) .requestEmail() .requestScopes(new Scope(DriveScopes.DRIVE_APPDATA)) .build(); return GoogleSignIn.getClient(WeNoteApplication.instance(), signInOptions); […]

Optimizing Bytecode: Surprising Performance Gains

As a side project, I’ve been experimenting with bytecode optimization and achieved some intriguing results: 🚀 3x speedup in Android’s presentation layer ⏩ 30% faster startup times for Uber These are proof-of-concept results, but the potential feels significant. If there’s interest, I’d be happy to release the code, explore further, and explore these techniques further. […]

"Declaration" required by Google Play on using Exact Alarms 🙄

https://preview.redd.it/wt0ff8yqzn2e1.png?width=1052&format=png&auto=webp&s=7588dde15bf51b10fd62aae2e26dce5b265a90ef My app is a essentially a "task manager" where each task has its own task timer, and (obviously) relies on the "pomodoro-style" timer to run on that particular task. So yes, being an "alarm clock," is a vital and "core" functionality of my app. Of course, this becomes a gray area, and is open […]