そんな噂があるそうですが.
An Exclusive Look At Google's Early Multi-Window Explorations For Android
どんな雰囲気になるのか.
似た動画を探して眺めてみます.
どれも xposed 絡みなのですが, スマートホンのサイズの画面でもウィンドウ2つぐらいなら十分使えそうな気がします.
そんな噂があるそうですが.
An Exclusive Look At Google's Early Multi-Window Explorations For Android
どんな雰囲気になるのか.
似た動画を探して眺めてみます.
どれも xposed 絡みなのですが, スマートホンのサイズの画面でもウィンドウ2つぐらいなら十分使えそうな気がします.
ネット上で調べていると混乱する.
/** * Gets the google account credential. * * @param context the context * @param accountName the account name * @param scope the scope */ public static GoogleAccountCredential getGoogleAccountCredential( Context context, String accountName, String scope) throws IOException, GoogleAuthException { GoogleAccountCredential credential = GoogleAccountCredential.usingOAuth2(context, scope); credential.setSelectedAccountName(accountName); credential.getToken(); return credential; } /** * Gets the OAuth2 token. * * @param context the context * @param accountName the account name * @param scope the scope */ public static String getToken(Context context, String accountName, String scope) throws IOException, GoogleAuthException { GoogleAccountCredential credential = GoogleAccountCredential.usingOAuth2(context, scope); credential.setSelectedAccountName(accountName); return credential.getToken(); }
以下, StackOverflowからの抜粋.
The Google APIs Client Library for Java is as the name suggests a library for accessing Google APIs and it is available for several platforms such as Java (in general) and Android while the Google Play Services and GoogleAuthUtil is only available on Android.
Google APIs Client Library
→ 汎用的 Java向け (Androidも含む)
GoogleAuthUtil(Google Play services)
→ Android向け専用
However if you dig into the code and their issue tracker a bit you can see that the tasks sample you linked actually uses GoogleAuthUtil since version 1.12.0 of the Google APIs Client Library when support for GoogleAuthUtil was added.
Google APIs Client Library バージョン 1.12.0 移行 は GoogleAuthUtil が追加されている.
AccountManager.getAuthToken
良いとこ:
- OS 2.0+ から使える.
- Android自体に含まれていて,別SDKを必要としない.
- 認証をもつすべてのアカウント(Google以外でも)で使える.
悪いとこ:
- トークンが期限切れなら再度新しいトークンを取得.
- GET_ACCOUNTS と USE_CREDENTIALS のパーミッションを必要とする.
- 認証要求画面が 2.x でダサい.
GoogleAuthUtil.getToken
良いとこ:
- 常に使えるトークンを返す.
- パーミッションは GET_ACCOUNTS のみ.
- 認証要求画面がダサくない
- Google が推奨している.
悪いとこ:
- 2.2+ の GooglePlay利用のデバイスに限る.
- Google Play services SDK が必要.
- Google API Console からアプリ登録が必要.
- Google services での OAuth 2.0 のみ.
あー, これ便利だわー.
ひらがなの入力モードで「や」をフリックすると、すっごくいろいろなカッコが入れられるんですよ。左にフリックすると「(」、右にフリックすると「)」が入れられます。さらに変換候補には様々なカッコも表示されます。
このQWERTYキーボードの「QWERTYUIOP」を上にフリックさせると、それぞれ「1234567890」を入れることができるんですよ。
【Android】Google日本語入力は「や」の左右フリック、QWERTYの上フリックがとても便利! | 明日やります
英文字と数字て一緒に使うことのが多くて切替えるの面倒だったので楽になります.
しかも, この英数(QWER)キーボードでボタンを下にスワイプすると, 大文字が表示されましたよ.
ユーザIDとかパスワードとか, 入力するのがさらに簡単になります.
もしかして, いまさら?(笑)