顯示具有 Google Drive 標籤的文章。 顯示所有文章
顯示具有 Google Drive 標籤的文章。 顯示所有文章

2015年10月28日 星期三

[Google drive] Go language



Permanently delete file from google drive
http://stackoverflow.com/questions/25749906/permanently-delete-file-from-google-drive

delete file
https://developers.google.com/drive/v2/reference/files/delete

file list
https://developers.google.com/drive/v2/reference/files/list

下圖一欄位 q 值為:  'folder id' in parents  ( '0B9OFuGhAGrF6NEZhWHBBd1FjSFE' in parents ),執行後結果可列出所有檔案,如圖二。

圖一






圖二



2015年7月27日 星期一

[Problem] @integer/google_play_services_version no resource found(轉貼)

來源: http://blog.changyy.org/2014/03/android-integergoogleplayservicesversio.html

在 Google Cloud Messaging 時,發現 AndroidManifest.xml 顯示這則錯誤訊息。

解法:

  1. 在 Android SDK Manager 中,確認 Extras -> Google Play service 已安裝
  2. 透過 Eclipse 進行 project import:File -> Import -> Android -> Existing Android Code Into Workspace -> 挑選 google-play-services_lib 的位置 (例如 /path/adt-bundle-mac-x86_64-20131030/sdk/extras/google/google_play_services/libproject/google-play-services_lib),記得要挑 libproject 裡的
  3. 在原本的 project 進行設定:Eclipse -> Project ->Properties -> Android -> Library -> Add -> 挑選 google-play-services_lib
如此一來,即可解決(Eclipse 有時不會馬上更新狀態,要把 project close 後再 open)。