JWorld@TW the best professional Java site in Taiwan
      註冊 | 登入 | 全文檢索 | 排行榜  

» JWorld@TW » Java ME、Google Android 平台與 JavaCard 討論區 » Android  

按列印兼容模式列印這個話題 列印話題    把這個話題寄給朋友 寄給朋友    訂閱主題
reply to topicthreaded modego to previous topicgo to next topic
本主題所含的標籤
無標籤
作者 Can not play youtube in browser
Eddy1972





發文: 43
積分: 0
於 2009-06-11 13:46 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
在Android 1.5模擬器上使用browser去play youtube是不能 work的 但我在實機Magic是可以的. 請問我要如何做到這樣的功能

reply to postreply to post
作者 Re:Can not play youtube in browser [Re:Eddy1972]
gasolin





發文: 149
積分: 1
於 2009-06-11 14:10 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
先確認模擬器上有沒 youtube 程式, 沒有的話模擬器上就不能看 youtube.

reply to postreply to post
作者 Re:Can not play youtube in browser [Re:gasolin]
Eddy1972





發文: 43
積分: 0
於 2009-06-11 15:27 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
youtube的程式? 所以需要安裝一個程式才可以支援囉! 如果要寫一個這樣的程式有相關的資訊可以參考嗎

reply to postreply to post
作者 Re:Can not play youtube in browser [Re:Eddy1972]
bradchow





發文: 10
積分: 0
於 2009-06-11 21:43 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
基本上 webkit browser 是不支援 flash 的,所以無法 play youtube 是正常。
但你說 Magic 可以,指的是從 browser 連 youtube 還是使用 Youtube app?


reply to postreply to post
作者 Re:Can not play youtube in browser [Re:bradchow]
Eddy1972





發文: 43
積分: 0
於 2009-06-16 09:08 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Magic上應該是說browser會去自動呼叫 Youtube app. 我只是也想做這功能, 但不知從何著手.

reply to postreply to post
作者 Re:Can not play youtube in browser [Re:Eddy1972]
ChihHsiang

改用misgod的帳號了....

版主

發文: 293
積分: 0
於 2009-06-16 09:59 user profilesend a private message to userreply to postreply to postsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Google有個習慣,就是呼叫介面都差不多
所以猜+試是個不錯的方向

給你一個範例....
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("http://www.youtube.com/watch?v=IUDZK-iVITc"));
intent.setClassName("com.google.android.youtube", "com.google.android.youtube.YouTubePlayer");
startActivity(intent);


reply to postreply to post
» JWorld@TW »  Java ME、Google Android 平台與 JavaCard 討論區 » Android

reply to topicthreaded modego to previous topicgo to next topic
  已讀文章
  新的文章
  被刪除的文章
Jump to the top of page

JWorld@TW 本站商標資訊

Powered by Powerful JuteForum® Version Jute 1.5.8