Learn Swift Omaha November Meetup

I attended https://www.meetup.com/LearnSwiftOmaha on Kotlin Multiplatform on iOS. The purpose of the discussion was to talk about how to interact with KMP on iOS and the current state of KMP on iOS. Here is the link to the https://kotlinlang.org/docs/reference/multiplatform.html

 

There was a discussion on what this really is in regards to Android and iOS. A sample was created to show the project in Android Studio that builds the plumbing to work on different devices.

2019 Android Dev Summit Day 2

Day 2

The day started with checking out the codelabs.

Jetpack Compose Codelab

https://codelabs.developers.google.com/

Lightning Talks Round 1

Managing Companion Devices

What’s New in C++/Native Support in Android Studio

Advanced Haptics: The When, What, and How of New Haptic APIs

Adopt Wide Color Gamut

Turning the Page: Migrating to ViewPager2

Platform Android Studio and Tooling

Secure Your Data – Deep Dive into Encryption and Security

Jon Markoff, Nicole Borrelli

Strategies for data encryption on Android using Jetpack Security. The key takeaways include: learn to encrypt data safely on device and use the AndroidKeyStore.

Outline the challenges with data-at-rest encryption.

Best practices for data encryption and key management.

Deep dive into why and how Jetpack Security library was built.

Jetpack security Library

Hardware backed means it runs a separate memory space.

BiometricPrompt

  • AndroidX Library
  • Recoverable errors

Tink

An opinionated guide to Dependency Injection on Android

Manuel Vivo, Daniel Santiago Rivera

Dagger has become the recommended way to do Dependency Injection on Android. However, there are many ways to use Dagger! Come hear why we recommend Dagger, the best practices including recommended setup in multi-module projects, and what plans we have to improve Dagger in Android so that you can create a solid, extensible solution for managing dependencies in your app that scales to large projects.

Dagger

How The Android Team Makes Widgets Accessible

Shailen Tuli, Qasid Sadiq, Lyla Fujiwara

In this intermediate level talk, we cover accessibility using real world examples. You’ll find out about accessibility in framework and androidX code, and learn about support for accessibility in Android widgets. Along the way, you’ll discover good patterns that can make your UIs shine for accessibility/

Accessibility Service

Talkback

ViewPager : Flip through

Logical Direction vs Direction

Testing for accessibility

Testing Code lab

https://codelabs.developers.google.com/ads19/

End to end Tests

Integration Tests

Unit Tests

Android Studio: Debugging Tips n’ Tricks

David Herman, Justin Nieto

Level up your debugging skills! We all spend so much time in the debugger, and this session teaches you about some of the powerful debugging features available in Android Studio. This talk should appeal to all, from beginners to experts and everybody in between. No matter your level, you’ll take away something to help you chase bugs more effectively using Android Studio.

Java❤️ Kotlin, Happy Together 🎵

Murat Yener, Nicole Borrelli, Wenbo Zhu

Kotlin is awesome and you want to write all your code in it, but what about the thousands of lines of code already written in the Java programming language? Or, maybe you have a library or project that is written in Java and already has been used in so many Kotlin or Java projects.

In this talk, we will look at the best practices for writing Kotlin and Java code that works so seamlessly from the other that the only way to what language it is written in is to look at the source code.

Understanding Compose

Leland Richardson

This session covers the benefits of a declarative reactive UI system like Jetpack Compose and how it applies to real problems that Android developers have today. Additionally, this talk expands on the programming model of Jetpack Compose and some of its implementation details that help you understand how Compose works.

Permissions on Android

Sara N-Marandi, Philip Moltmann

Permissions provide the means for apps to communicate to their users why they need access to the user’s private data. In Android, we want to provide users control and transparency over their data, and have made a number of changes in Android 10 that bring greater restrictions to what data apps can access. We will review the changes in Android 10 and introduce new concepts we have been working on for future releases.

Only 18% of users allow every permission on their device.

Grant a specific feature that requires this permission.

Users share less.

Request the minimum permissions that a feature needs.

Request permissions in context for the use case.

Permissions by libraries

Minimize use of location, especially background location.

Testing Coroutines on Android

Manuel Vivo, Sean McQuillan

Coroutines simplify the way we do async programming on Android. However, testing async code has never been an easy task. In this talk, we show you how to master test asynchronicity with coroutines to get that precious green check ✔️. Which questions do you have to ask yourself before writing a line of test code? How can you test coroutines that use Dispatchers.Main? What if you want to control the timing of your events? Why shouldn’t you use Dispatchers.Unconfined? Come and learn how to test coroutines like a pro.

Android UI Coroutines First

Updated Documentation coming

Always inject dispatchers

Fast, Reliable, isolated

2019 Android Dev Summit Day 1

Back in October,  I attend the https://developer.android.com/dev-summit in Sunnyvale, California.

The conference was at Google Cloud where they give Live Demo’s, Android Previews in code labs, and stream everything on Youtube. 

https://developer.android.com/dev-summit/schedule/day1

Here are my notes:

Android Keynote

  • Kotlin Certification code
  • I received this in a email later on.

What’s New in Jetpack Compose

Adam Powell, Clara Bayarri, Romain Guy

Jetpack Compose was announced at Google I/O and the team has been hard at work ever since. This talk introduces Compose to new audiences, including what the project is and how it is taking shape. The talk also updates people who already know about Jetpack Compose, including how the project has evolved.

Kotlin First

Compose

@composable Functions

Built in Components

Material Components

  • Same terminology to outline
  • Showed built-in Android Studio Emulator

DATA Flow

Event Handlers don’t leak mutability.

Event Handlers

flow down.

Composable code is Dense?

Statement Management over time

Stay away from overloads

Standardize on Coroutines

Type Safety is Nice

Layering is a pretty great idea

What’s New with CameraX

Caren Chang, Xi Zhang

Learn what is new with CameraX since its alpha launch at Google I/O this year, and learn from teams at Google that have been using CameraX in their apps.

December 2019

What’s New in Android Studio

Tor Norbye, Jamal Eason

In this session, we provide updates and demos on new developments and features in Android Studio and how the tools can integrate into your app development workflow.

Builds Speeds

Come in 4.0

  • Profiler for builds
  • Kotlin gradle
  • Progaurd files
  • @composable attribute
  • Emulator embedded in IDE
  • Layout Inspector
  • 3D full stack
  • Click and Swipe Handlers
  • Material Clip icons
  • LiveTempalte setings
  • Log functions shows all parameter’s

 

WorkManager: Beyond the Basics

Rahul Ravikumar, Sumir Kataria

Learn more about WorkManager, the Jetpack library for background processing. This talk introduces intermediate and advanced concepts to address common questions, gotchas, and issues you might see when you deploy to a large ecosystem of users and devices.

 

Migrating to AndroidX: The Time Is Right

Nick Anthony, Tiem Song

Let’s take a deep dive into the reality of migrating to AndroidX! This talk provides the rationale to migrate soon, sets expectations appropriately, and recommends a process for executing the migration as smoothly as possible.

Upgrade to support library 28

Enable Jetifier

Updated dependencies

Use Studio to Migrate to AndroidX.

BashScript

Dan Lew on Github

Alpha vs. Stable

Google Play Billing: The “Purchase Anywhere” Paradigm Shift

Oscar Rodriguez

In the past few years, we have introduced new features into Google Play, that enable users to discover and purchase items and subscriptions in many new ways, from inside and outside the app.

Developers who have adopted these changes in their apps have seen improvements in user experience, and with it, substantial growth in revenue. However, integrating these features into an app or game requires a fundamental change in which you think about how purchases are made and consumed.

This session takes a deep dive into designing for Purchase Anywhere. We will talk about promotions, subscribe-and-install, cash purchases and pending transactions, and remote purchase approvals. All app and game developers using Google Play Billing are welcome to attend.

Subscriptions: RTDN

Create a Promo Code

Purchases are done outside app

Gift Cards

Coming Cash purchases

AIDL is deprecated.

Other Perks

I was able to try the two mobile applications I have developed professional on a Android Foldable phone a Chrome Notebook.

Android for Cars