9.00 Keynote – Android for Java Developers
Speaker: Chet Haase
Or “Avoiding the Tragedy of the Commons”.
Ten articles on medium.com with tips for developing Android apps when coming from a Java backend background. First in the series: “Developing for Android: Introduction“.
Allocations, Android performance workshops.
“… dive deep into graphics and UI performance topics.”
“Denotes that the annotated element of integer type, represents a logical type and that its value should be one of the explicitly named constants.”
Alternative for enums.
10.00 Staying alive, online and offline
Speaker: Erik Hellman
Tips about handling offline in your app.
Slides will be posted online later.
11.00 Beautiful Typography on Android
Speaker Lisa Wray
A full example of custom fonts in XML using data binding and including font caching.
Use spans, when using HTML text consider replacing default spans with your own.
Audience suggestion: Java Ropes.
“A rope is a high performance replacement for Strings.”
12.00 Prototyping your Android app, the (U)X-factor
Speaker: Wiebe Elsinga
Prototype definition: Visualisation of an idea.
Uses of prototypes
- Raise new questions OR answer existing ones.
- Explore alternatives.
- Fail early and cheaply.
“Fake it until you make it.”
Who will make the prototype? Create it with the whole team.
Good prototypes are Quick, Cheap, Minimal and Testable.
How to create a prototype?
- Define user stories (1 or 2 sentences each).
- Identify tasks.
- Create user flow diagram.
- Sketch rough interface screens.
- Using UI stencils or
- Showing paper or
- Templates (Sketch, Adobe Illustrator, etc) or
- In the cloud (Marvel app) or
- With motion
- Several prototypes
- Choose the right users
- Discuss results
- Integrate findings
13.45 Meaningful motion
Speakers: Nick Butcher and Benjamin Weiss
View Property Animator
Simple animations, since API 16. Use ViewCompat for backward compatibility.
Animate all the things, since Honeycomb. Choreographed animations.
When no getter/setter exist, use the Property class.
For colors, set the evaluator to ArgbEvaluator.
Easing in and out.
- Animator reveal = ViewAnimationsUtils.createCircularReveal();
Move from scene A to scene B.
Transition and TransitionManager classes.
- ChangeBounds: Animate size and position of an object.
- AutoTransition: Fade in, ChangeBound and Fade out.
Window content transitions
Entering and exiting (Activities).
Can be added programmatically or declared in XML.
- Bundle bundle = ActivityOptionsCompat.makeScenTransitionAnimation().toBumdle();
- ActivityCompat.startActivity(... bundle);
Use android:transitionGroup=”true” to treat the View as a single animation target.
Shared element transitions
Since Lollipop, use AppCompat.
Animated Vector Drawables
“This class uses ObjectAnimator and AnimatorSet to animate the properties of a VectorDrawable to create an animated drawable.”
14.45 Physics UI
Speakers: Filipe Abrantes and Will Bailey
Help making animations consistent.
“Rebound is a java library that models spring dynamics. Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application.”
An interesting paper from Microsoft “The Magic of UI Physics“.
15.45 Microservices is our BFF: why SoundCloud stopped using its own public API for its mobile clients
Speaker: Duana Stanley
Public API development is slowed down because it needs consensus. Some parts of a private API are not needed or wanted in the public API. A public API needs to be future-proof.
To overcome the issue create a “presentation” API, which is another layer. Break API up in micro services.
The result was BFF: Backend For Frontend. Provide a framework to make it like “scripting”.
“App+backend together build better APIs”
16.45 Make Believe
Speaker: Shanee Nishry
- Morpheus – Sony
- Oculus Rift – Facebook
- GearVR – Samsung
- Vive – Valve
Cardboard devices as cheap alternative.
Loads of interesting peripherals.
Own section for Cardboard in the Google Playstore.
How does VR work?
- Visual immersion
- Input (Interaction)
Challenges in VR
- Latency and performance.
- Comfort and design.
- High resolution.
- Wide field of view.
- No motion blur.
- Low motion-to-photon latency.
- Stable high frame rate, 90, 120+.
Vulkan: Low overhead graphics and compute API.
Beware of people’s real-life fears, think about vertigo, claustrophobia, etc.
Project Tango: “Project Tango technology gives a mobile device the ability to navigate the physical world similar to how we do as humans.”
- Motion tracking
- Depth perception
- Area learning
Facebook Infer: “A static analyzer for Java, C and Objective-C”.