Category Archives: mobile apps

用 gorush 來談談 Google Go

一直都好想寫一個 Push Notification 的 portal/server,來提供 HTTP RESTFul API 給需要 push notification 的 program。這樣可以集中處埋 push notification,各 program 不用重覆 push notification 的部份,不用 “reinventing the wheel”。 結果,我在 GitHub 這個大寶藏發現了個 grouch! gorush支援 iOS 及 Android 的 push notification,可以用 command line 快速測試,也可以用 server mode 長駐。它本身帶有 portal 及 stat API,用來查看 server 及 push 狀態,可謂一應俱全。它用 GO 寫成,這個是它的一大好處。何解?那就談談 GO。 GO 是 Google 的產品,它的歷史可以自行… Read More »

Android 螢幕拍攝

Android 由 Kitkat 開始自帶了螢幕拍攝 (screen record) 功能,只要在 adb shell 中輸入 screenrecord –-bit-rate 8000000 /sdcard/record.mp4 就會把螢幕錄下來,放在 /sdcard/record.mp4,直至按下 Ctrl + C 停止。 screenrecord –help 可以查看說明。screenrecord 是放在 /system/bin/screenrecord。