When Chrome custom tabs got released last year I got really excited. The WebView widget is one of the most unstable component on Android and clearly painful when building apps. Chrome custom tabs bring a lot of stability to this messy world with pages loading twice as fast as in a WebView and cool features like password, cookies, payment pre-fills and so on. But this post is not about how awesome
先日 support library v23 がリリースされましたが、新しく Custom Tabs というライブラリが追加されていました。これはGoogle I/O の時に Chrome Custom Tabs として発表されていたもので、今回リリースされるまですっかり忘れていました…。 Chrome Custom Tabs このCustom Tabsですが、アプリとChromeブラウザとの連携をよりスムーズにするためのAPIです。 今までは自アプリからURLをオープンする場合、別アプリのChrome(などのブラウザ)が表示されていました。このAPIを使用することで、自分のアプリの1画面のようにChromeを表示することができます。 イメージは次のようになります。 アプリ内の画面内のリンクをクリックし、Chromeでページを表示していますが、アプリ内のアクティビティを起動するような感じで
Googleは、Chrome 45からCustom Tabs機能を導入しました。Custom Tabsを使うとアプリ内のWebページ読み込みを大幅に高速化できます。いままでのWebViewでは、動作速度のほかにもセキュリティホールが修正されないなど、OS組み込みブラウザ特有の問題がありましたが、アプリケーションとして更新しているChromeでは常に最新の環境でWebページを閲覧できます。 (https://developer.chrome.com/multidevice/android/customtabsより引用) Custom Tabs機能は、アプリの組み込みブラウザとしてChromeを使えるだけではなく、外部アプリ利用ながらUIデザインも変更可能な点で優れています。アプリに違和感なく組み込めるようにカスタマイズ可能です。 ツールバーの色、表示内容の変更 Webページ切り替え時のアニメ
はじめに 渋谷オフィスから 今中 がお届けします。 ご無沙汰しております。 Google I/O 2015が開催されました。 私は六本木ヒルズ近くの映画館でサテライト上映されていたものを鑑賞するイベントに参加して、キーノートを拝見しておりました。 映画館のシアターをひとつ、一晩借り切るという非日常が楽しかったです。 さて、そんなGoogle I/Oで発表された話題から、「Chrome Custom Tabs」についてお届けしたいと思います。 Chrome Custom Tabs とは? Chrome Custom Tabsは、今回のGoogle I/Oで発表された、アプリとChromeブラウザをより密に結びつけ、ブラウザ画面をよりネイティブアプリらしく表現することが出来る仕組みです。 これまで、アプリからURIを開くとき、開発者は2つの方法を取ることが出来ました。 この2つにはそれぞれ優れ
Custom Tabs are a feature in Android browsers that gives app developers a way to add a customized browser experience directly within their app. Loading web content has been a part of mobile apps since the early days of smartphones, but older options can present challenges for developers. Launching the actual browser is a heavy context switch for users that isn't customizable, while WebViews don't
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く