Android 5.0 (Lollipop) MaterialDesign を構成するGoogle発UI系サンプル動画 40個くらい

すべては, 以下にあるやつ今現在最新のサンプルUI系をLollipopで動かす.

Google_Samples

Google Samples

AndroidStudio の ImportSample のプレビューが表示されないので並べて置くと何かと便利かななどと思い.

AndroidStudio

パーツやふるまいの名前が分かればそれで良かったのでYouTubeのGIF書き出しでやろうかと思いましたが, 一般公開間近の非公開ステータス.

GIF_Beta_sign_up

Nexus6でやってます.

こんな感じで40個くらい.

以下から順不同で.

続きを読む >>


でかすぎる Google Play Services が 6.5.87 で分割された件

Androidアプリでメソッド数が65536を超える場合は少し手間が掛かっていました.

Androidでメソッド数が65536を超えた時の対処方法 - Qiita

GoogleAnalyticsやGoogleMapなどを利用できるライブラリ com.google.android.gms:play-services ですが、実は使っている機能は1つか2つということが多いのではないでしょうか。
com.googleは18513個もメソッドがあるので、これを節約するだけでかなりメソッドの数が減ります。

このよく言われている「com.google.android.gms:play-services」がでかすぎという話.

必要なものだけピックアップして使えるようになったようです.

Setting_Up_Google_Play_Services___Android_Developers

Setting Up Google Play Services | Android Developers

自動で, com.google.android.gms:play-services-base:6.5.87 が読み込まれたりするし, どれを使うべきなのかわかりづらいようなものもあるように思えたり.

あと, 公式ドキュメントや AndroidStudio の自動チェックで, 「推奨」から「非推奨」と言われ始めたバージョン記述「+」で書かれていたり.

compile 'com.google.android.gms:play-services:6.5.+'

compile 'com.google.android.gms:play-services-fitness:6.5.+'
compile 'com.google.android.gms:play-services-wearable:6.5.+'

これらの「+」記述は, 最新 Android Studio 1.0 でも警告される.

version

こう書いてるけど.

At the time of writing, the correct version to use is 6.5.87. As this is a very granular number, it will get updated quite quickly, so be sure the check the latest version when you are coding. Often people will use a ‘+’ to denote versions, such as 6.5.+ to use the latest 6.5 build. However, it’s typically discouraged to use a ‘+’ as it can lead to inconsistencies.

でも, やっぱり「+」は怖くないですか.

Google Play services and DEX method limits | Android Developers Blog


Yosemite で Android-Studio 起動時に噂の「Java6 が古い」

おっと! でました!

yosemite

どこかで読んだよ! そんな話!

ダイアログのボタンから遷移しますダウンロードページ.

Java_for_OS_X_2014-001

Java for OS X 2014-001

そのまま言われるがままに流れて, AndroidStudio 起動OK, と.