Android SDK Samples,學習Android的好方法,samplesandroid

來源:互聯網
上載者:User

【轉】Android SDK Samples,學習Android的好方法,samplesandroid

轉載地址:http://blog.csdn.net/rowland001/article/details/50886288

 

從今天開始呢,我要開始學習Google家自己出的Android程式碼範例,總覺得這才是原汁原味的。 
我用的是Google自家的Android Studio,目前是這個版本: 
 
其實不知道你有沒有發現,Android Studio是可以匯入自家的Samples的,就像這樣: 
 
不過,悲催的是,你點開它的時候,它會這樣: 
 
然後就是這樣: 
 
對,沒錯,你上了不google。 
難道就這樣與Samples擦肩而過了嗎? 
NO~No~No~ 
這個你有吧?如果沒有的話,我就什麼也不說了。 
 
把Samples For SDK裝上,然後到你的SDK Path中去找 
 
WOW,是不是就是這個? 
然後開始各種open-run-close-open-run……吧 
接下來,我會把我自己學習的例子作個總結,放在這個欄目裡給有需要的人蔘考參考。

補:其實google的samples在github裡都能找到,github你總能開啟吧。https://github.com/googlesamples,對,就是它,搜尋android,也能找到,只是沒有整理得這麼有序,如果你能知道你想要哪個sample,搜尋更詳細的sample名,定能找到啦。就像這樣: 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.