This Weeks Links
Fragmented Podcast Episode 033: Talking Gradle with GDE Annyce Davis
In this episode we talk Gradle with the amazing and awesome Annyce Davis. We deal with the basics of Android’s build system and dabble with some tips on improving your build times.
Also we released our first ever Fragmented T-shirt in collaboration with another amazing GDE – Taylor Ling of AndroidTee fame.
The MVD Pattern: Minimum Viable Development in Android
In this talk Donn Felker will explain how a few simple tools can help you slice through the thick wall of analysis paralysis so that you can ship on time and with the confidence that you did the right thing and used the right tools.
The 10-Step Guide to Annotation Processing in Android Studio
Chris Logan has scoured the web for tutorials, blog posts, and videos, to bring you a more comprehensive walkthrough on how to set up annotation processing for Android.
Continuous Linting
Jason Atwood provides a great way to get Lint running on your existing project, instead of saying, “Next time we’ll add Lint from the beginning.” The post covers Running Lint on Travis, Running a Subset of Lint Checks, Running Our Custom Lint Checks and A Better Way to Reduce Lint Errors.
Registering OAuth clients for Google Sign-In
Starting with Google Play services 8.3, there was a major revamp of the Google Sign-In APIs, supporting both client and server auth. This post discusses the important task of registering OAuth clients for Google Sign-In, and the tools that we offer to make this as easy as possible.
DataBinding: how to develop Android apps faster
Sasha Krol says the DataBinding library helps to noticeably minimize the code for app logic, binding it with its view. To show you the potential of this solution, this post will take you through writing a small app with user profile.
Image Loading with DataBinding in Android
This post follows on from previous tutorial covering ‘DataBinding Basics’ and ‘setting fonts through DataBinding’ and takes a look at Image loading with databinding.
Loading DEX code over the network
Gil Vegliach shows how code can be downloaded and executed over the network. This technique is useful if you want to update parts of an app without rolling out a complete update.
Retrofit 2: Code walkthrough
In this post Gil Vegliach explains Retrofit 2’s main techniques and inner workings. The post covers dynamic proxies, annotations parsing, calls, call adapters and converters.
A quick analysis of google play app store optimization (ASO) tips
In case you don’t already know, with the kickstart of 2016, Google has started experimenting with Installing apps directly from Google Now search results. Which means that you should now be looking at the Google play store optimization more closely. Maitrik Kataria is here to provide his app store optimization tips and insights for you.
JobsSenior Android Engineer at Texture– Location: Vancouver, BCWe’re seeking a highly motivated mobile app engineer that is responsible for the design, architecture and implementation of applications that run on Android. Texture, is a completely new cutting edge digital magazine, brought to you by Next Issue. [Apply Today] Android Developer at Ramsey Solutions (A Dave Ramsey Company):– Location: Nashville, TNWould you enjoy building a native Android app that reaches thousands of people every day? EveryDollar now has over 1 million users! We have been working on the API and design for our Android App, and now we need someone to help us bring it to life. [Apply Today] Principal Software Engineer – Digital & Mobile Applications at EE– Location: Leeds, UKIn this role, you’ll utilise your expertise in iOS, Android, or Windows Phone development to design and implement innovative solutions for EE’s native mobile applications. [Apply Today] Looking to hire an Android Dev? Look no further, post your job in the Android Dev Digest for one to four weeks. Reach over 15,000 Android professionals. Learn More |
How to automate Android build process on Bitrise CI (part 1)
Part 1 explains how to import your project from Github to Bitrise and configure it. The post will show you how to write a script in order to catch Android version code/name variables from curl, pass these variables to a Gradle Task we will make, create a Release build based on and finally push changes to repo if Release build had been successful. Be sure to also check out Part 2 which focuses on the design of Release workflow.
Use custom viewers for your data
Let’s look at a common scenario. Your project doesn’t use AutoValue nor Kotlin, so if you want a decent object representation for debugging, you have to write a lot toString() methods manually. In this post Sebastiano Poggi will help you to say goodbye, toString()
App Monetization Insights: How MobiSystems adapted their way to success
This is post 4 of a 5-part blog series featuring monetization tips straight from successful app developers. The guest this week is Elitza Bratkova, Director Business Development at MobiSystems. Check out ways you can use flexibility to your advantage with these tips.
Android Project Structure — alternative way
If you have a big project and want to arrange your folders, quickly see which layout, drawables, values, etc. belong to which screen, this post may be just what you need!
Remove your boilerplate code in Android with Butter Knife
A great solution to increasing productivity would be to find a way to remove boilerplate code. But how ? Actually, the best solution is to use Butter Knife, a lightweight library letting you mainly inject views into Android components via some annotations.s.saurel is here to show you how to get started with this essential tool.
Google adds new solutions for developers
With the introduction of Google’s API Console, developers will just have to worry about the API Manager, billing and permissions, instead of having to sort through more than 20 tabs in the navigation bar, as they did previously. Take a look at how Google says it is looking to make things easier for developers.
Tutorial: Build an Android Application With Secure User Authentication
In this 15 minute tutorial, you will be shown how to build a simple Android app that stores user generated notes remotely, with user authentication managed by Stormpath and the new Stormpath Android SDK.
RxJava — One Observable, Multiple Subscribers, Same Data
Pavlos-Petros Tournaris demonstrates how to add multiple Subscribers to our Observable, whenever and wherever they are needed, without the need to call .connect() each time.
RxJava —RxReplayingShare, Emit only Once
Pavlos-Petros Tournaris gives a deeper look at the code of the ReplayingShare Library, which replays the data emitted from the Observable to our Subscribers, in order to see what exactly its behavior is.
Losing Focus
Team Novoda found that a RecyclerView loses its focus when you update the data backing its adapter. Take a look at the workaround!
Videos
Caster.IO Episode 53: Model View Presenter – Part 4: Writing FAST jUnit JVM Tests with Mockito
In this episode you will learn:
- How to insanely write fast unit tests within Android Studio with jUnit 4 and Mockito
- How to create mock objects with mockito
- How to create a simple mock interaction behavior
- How to completely decouple your presenter for test with no dependencies on Android, internet, databases and the like through mock objects and interfaces
- How to mock the repository layer
- How to mock the view layer
- What the @Before annotation in jUnit 4 is for and how it works
In this episode you will learn:
- How to use the mockito ‘when’ method to return values for given mock interactions
- How to use the ‘verify’ method to verify interactions on a mock
- How to use the ‘times(…)’ and ‘never’ method to verify that mock methods were (or were not) interacted with during the execution of the test
- How to use the built in Android Studio Code Coverage Tools
- What the difference between class, method and line coverage is
- How to find code paths that are and are not covered under test with the built in code coverage tools
Caster.IO Episode 55: Model View Presenter – Part 6: Getting to 100% Code Coverage
In this episode you will learn:
- How to expect exceptions to be thrown during the execution of a test
- How to use the built in Android Studio Code Coverage Tools
- How to get to 100% Code Coverage
- Why 100% Code Coverage does not mean your code is perfect; there can still be bugs!
- How and why the verify call needs a time(n) value when methods are called multiple times
- How field variables in a test can be used as a pass through to verify presenter actions on the model
Open Source
Conductor
A small, yet full-featured framework that allows building View-based Android applications. Conductor provides a light-weight wrapper around standard Android Views that does just about everything you’d want:
FloatingText
FloatingText is a text widget that can floating above view with animation .
Now we have ‘Scale Floating’,’Scale Floating’,’Curve Floating’,and you can also design custom a animation.
Events
Your ticket to Droidcon Italy 2016
When: 7-8 April (7-9 Apr. Hackathon)
Where: Turin, Italy – Centro Congressi Lingotto
The main idea behind all droidcon events is to support the Android platform and build up a networking event
for developers and companies.
We offer high-class talks covering different aspects of the ecosystem, including core development, embedded solutions, augmented reality, business solutions and games.
Android talks
A schedule of interesting talks and mini lectures about new and cool stuff that’s going on in the world of Android development, organized by the Infinum Android team.