This Week’s Links
What’s New in WebView security
The Developers Blog outlines updates to WebView. Starting with Android O, WebView will have the renderer running in an isolated process separate from the host app, taking advantage of the isolation between processes provided by Android that has been available for other applications.
087: Effective Java – Item #16: Favor Composition over Inheritance
In this mini-Fragment episode, Donn (@donnfelker) talks about Item #16 of the Effective Java series – Favor Composition over Inheritance. You’ll learn why using inheritance is not always a great idea and how you can use composition in place of it to make your code more anti-fragile, resilient and clean.
Migrating an Android App from Java to Kotlin
Big Nerd Ranch gives a step by step tutorial on how to migrate an Android app from Java to Kotlin. The project they’ll be working on is called StockWatcher, which looks up the current stock price using a REST API.
Using AdMob In Your Android App? Beware Of The Pre-Launch Report
The pre-launch feature is a useful tool for catching common issues and crashes before you deploy your app into production, but if your app integrates with AdMob, there’s a chance it could be clicking your ad units!
RxJava 1 -> RxJava 2 (Understanding the Changes)
In case you haven’t heard: RxJava 2 was released sometime back, and was a massive rewrite. This is the first in a three-part guide on the new release.
‘Google Android Developer Team Visit’ at TechAhead
In this blog post read how The Google Android Developer Team made a visit at TechAhead Headquarters in Noida, India. The agenda of the meet was to understand how Google can help leading App Development companies like TechAhead to create great experiences for their Clients and end-users.
Certificate Pinning in Android
Certificate pinning is a security mechanism which allows HTTPS websites and applications using HTTPS services to resist impersonation by attackers using mis-issued or otherwise fraudulent certificates. With certificate pinning it is possible to mitigate or severely reduce the effectiveness of MiTM attacks enabled by spoofing a back-end server’s SSL certificate.
The Costs of Kotlin Android Extensions
In this blog post, Marcos Placona digs into the true cost of using Kotlin Android Extentions. He warns developers to “be careful on those parts of code where performance matters, don’t be afraid of decompiling the Bytecode to Java to understand it better.”
Convincing the Kotlin Compiler that Code is Safe
One of the best features of Kotlin is its built-in null safety in the type system. Try to use a nullable type in a non-null way and the compiler will yell at you. In this post learn how to write around the built-in null safety.
Recreate the Countdown Math Game on Android
In this tutorial, you are going to create your own implementation of a solver for the Countdown Math Game on Android. The Countdown Math Game involves number puzzles in which you must make arithmetic operations to reach a random target number (between 100 and 999) from 6 other numbers chosen randomly (from 1 to 10, 25, 50, 75 and 100).
Reproducible History on Android
Learn how to write your app in a way that allows you to know, at any time, which was the previous state. This will allow you to undo an action a user has previously done, which is always a challenge.
RecyclerView item click using RxJava2
In this post, learn how to set a click listener on RecyclerView items using RxJava2, instead of using RxJava in your Android project but still using interfaces to interact between RecyclerView adapter and View.
Data Binding Exploration
In this post from Prolific Interaction, Quentin Colle, Android Engineer, writes about an exploration of a specific feature of data binding that changed the game for him. He has been testing data binding for about a year.
(these are pulled from Androiddevdigest.com/jobs)
Senior Mobile Developer at iFit (Logan, UT: On-Site or Remote)
Software Engineer – Android at Trivago (Düsseldorf, Germany)
Caster.IO Android Profiler: Getting Started
Android Studio 3.0 includes a new Profiling tool. It is intended to provide real-time data about your Application relating to Memory, CPU and network usage. This video will show how to setup and start using the tool.
Caster.IO Android Profiler: Network Usage
By default, the profiler includes the ability to inspect the duration, and amount of data transmitted by your application. You can also examine more advanced information, including information about the request/and response, details about the header and information about the call stack. Caster.IO
Caster.IO Android Profiler: Memory
The Android Profiler tool, includes the ability to look at how your application uses memory. This will help you find memory leaks and churn that could cause jank, freezes, or app crashes.
Caster.IO Android Profiler: CPU
This video will show how https://caster.io/lessons/android-profiler-cpu/to use the new profiler tool in Android Studio 3.0 to profile an applications real-time CPU activity. The tool helps you understand CPU and Thread activity. Optimizing your app’s CPU usage will help you create a smooth user experience, and use less device resources.
Caster.IO Android Things – Working with a Temperature Sensor via I²C Input
This lesson is going to show you how to interact with the Android Things Peripheral IO APIs to understand and communicate with a I2C peripheral. In this case a Temperature Sensor. Using this peripheral to code an IoT android app.
Automatically export m3u playlists from iTunes on your Mac, synchronize (rsync) playlists, and all your music to your Android phone.
In this tutorial from GitHub, learn to build a clean and easy to use Animated Progress View in a Square.
This library helps you to know when the app is in background or not, and if the app is in foreground, you can send the notification to your current activity!