终于在2月25日迎来了期待已久的京都旅行.

首先介绍一下大概的路线图:


WWDC 2018 offcially takes place June 4th. Just like the reports from media, no new hardware but focus on the updates of software, WWDC brings iOS12, macOS 10.14 Mojave, watchOS 5 and tvOS 12 up. Of course, they are all in status of Developer Preview, only for developer adapting the new features and early adoption, not suggested update in production environment. If you plan to update, you can find the way to do it at the end of this post. OK, let’s begin.

New Functions & New Features

Dark Mode

Let’s talk about the update experience first. The whole process of updating is pretty easy, taking about…


We often meet the need to choose images, videos or other files from local storage during android development. One solution is call the DocumentsUI or other file manager. But as you know, Android is open sourced, which means that the UI of each system is much varied. But what if we need a unified UI? Then it comes to the second solution: Create our own file selector.

Let’s take a look to Charles:


WhatsNew automatically displays a short description of the new features when users update your app. Inspired by WhatsNew.

Download

Gradle

  • Add the JitPack repository to your root build.gradle file:
repositories {
maven { url "https://jitpack.io" }
}
  • Add the code to your module’s build.gradle file:
dependencies {
implementation 'io.github.tonnyl:whatsnew:x.y.z'
}

Maven

<dependency>
<groupId>io.github.tonnyl</groupId>
<artifactId>whatsnew</artifactId>
<version>x.y.z</version>
<type>pom</type>
</dependency>

Usage

Basic

  • Kotlin:
WhatsNew.newInstance( WhatsNewItem("Nice Icons", "Completely customize colors, texts and icons.", R.drawable.ic_heart), WhatsNewItem("Such Easy", "Setting this up only takes 2 lines of code, impressive you say?", R.drawable.ic_thumb_up), WhatsNewItem("Very Sleep", "It helps you get more sleep by writing less code.", R.drawable.ic_satisfied_face), WhatsNewItem("Text Only", "No icons? Just go with…


Mango is an Android application for Dribbble. Inspired by Resplash, Plaid and Protein.

Features

  • Kotlin and RxKotlin: Yes, fully written in Kotlin.
  • MVP architecture: Whole project is built on MVP architecture.
  • Material Design: Trying my best.
  • Deep link: Yes. Using DeepLinkDispatch from Airbnb.
  • App shortcuts: Supporting devices running Android 7.1+.
  • Usage of several awesome libraries: Anko common for simplified intents, Flexbox layout for smart and elegant layout, Glide for image loading, Gson for serialization&deserialization, Retrofit for HTTP requests, Room for data persistence.

Screenshots

Get started


In this tutorial, we will carry out the barcode and QR code scanning within our app using ZXing library.

Why ZXing

Here are the several ways to carry out this function below:

Let’s analyze the positive and negative points of the 3 ways above.

  • The first one, using Google Play Service and the Mobile Vision APIs is not suitable, because not every user has installed the Google Play Service on his devices especially in China.
  • The second one, using barcodescanner library is not suitable either. Though the…


This repo is a collection of AWESOME APIs for developers. Feel free to Star and Fork. Any comments, suggestions? Let us know. we love PRs :), please follow the awesome list.

English | 中文

Table of Contents

Blogging

  • Blogger — The Blogger API v3 allows you to create new blog posts, edit or delete existing posts, and…

TonnyL

Android Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store