目前分類:Android (5)

瀏覽方式: 標題列表 簡短摘要
ViewPageIndicator是一個開源的UI
作者:JakeWharton
功能:可以在不同的View之間滑動,並且有各種方法顯示出目前的頁面標籤/位置,就像Android桌面那樣
下載:http://viewpagerindicator.com/
GitHub:https://github.com/JakeWharton/Android-ViewPagerIndicator
功能預覽

weselyong 發表在 痞客邦 留言(0) 人氣()

This document is mainly talking about how to extract all music info in
/data/data/com.android.providers.media/databases
by using cursor.query.
(Android will prescan all media files' info in SD card, and write those info to "external.db")
---------------------
Android 系統會預先scan SD卡上全部的影音資料 (音樂/影片/圖片) 並且寫入到

weselyong 發表在 痞客邦 留言(1) 人氣()

Android預設的圖片庫 / 音樂庫 / 影片庫 會找出SD卡內所有對應的媒體檔案
所以一打開就可以很快速的顯示出全部資料,
但是有時候有隱密檔案不想被看到還真不方便...

如何隱藏資料不被Android的圖片庫 / 音樂 / 影片播放程式找到?
(不讓圖片庫抓到影片檔案)

weselyong 發表在 痞客邦 留言(0) 人氣()

使用Android 內建的方法來使用query
取得SD卡內完整的多媒體 / 影片 / 音樂 / 圖片 的詳細資訊

This article is mainly talking about how to use Cursor. query to fetch those media info in external.db
And an example : get album, album_artist in android code.
You can also use sqlite3 package, but be ware of the permission issue.

weselyong 發表在 痞客邦 留言(0) 人氣()

因為常常忘記margin跟padding是什麼 ˊ~ˋ

  也常常忘記怎麼拼...乾脆寫下來....

 

  <Spinner
        android:id="@+id/spinner1"
        android:layout_width="fill_parent"

weselyong 發表在 痞客邦 留言(0) 人氣()