Androidで、youtubeの動画を再生するには大きく分けて2つの方法があります。 1つは、youtubeアプリに対してIntentを飛ばす方法で、 例えば下記のように記載することで直接youtubeアプリを起動することができます。 Intent intent = new Intent(Intent.ACTION_SEARCH); intent.setPackage("com.google.android.youtube"); intent.putExtra("query", "Android"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); もう一つは、YouTube Android Player APIを使用する方法です。 これは、googleが提供しているAPIで、自分のアプリ内でy
YouTube Android Player API Stay organized with collections Save and categorize content based on your preferences. This SDK has been fully deprecated. It is no longer supported or maintained by YouTube. Please use the YouTube IFrame Player API instead. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed un
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く