2016年1月27日 星期三

突然在自己的臉書網誌上發現自己在 2012 年底寫了卻沒有發佈的一篇舊文章草稿,跟現在的政治情況對照起來,感覺還頗有趣。不過因為這篇草稿如果發表在臉書的網誌,時間就會變成今天而感覺突兀,決定把它以當初寫草稿的時間發佈在自己的 Blogger 網誌上

我想,或許就是因為當時的這種氛圍,加上後來的 319 反服貿太陽花運動、反課綱運動等等的活動,才會讓現在的政治情況變成這樣吧....

2016年1月22日 星期五

Three things I think LG needs to do with its upcoming G5

Just saw Joe Levi wrote an article on PocketNow called "Five things LG needs to do to make the LG G5 launch success", and here's three things I think LG needs to do with its newly G5.

As a current owner of LG G4, past owner of LG G3, the most important things I think LG needs to do for its G5 are:

1) Improve build quality.

My G4 suddenly went dead last month, and it's 5 months after I bought it on July. I have several friends bough G4 and got the same sudden dead issue. One of my friend got WiFi connection issue before his G4 went dead. I have the same experience with my old G3 back in 2014 also. And if you google it with "LG G4 sudden dead", you will find that we are not alone. I sold my G3 right after I got it back from the repair center. I'm still using my G4 though, but G4 would be my last LG phone.

2) Improve ROM quality.

Both my G3 & G4 are laggy after sometime usage, especially when I use the official LG Optimus Launcher. The situation got improved after I replaced the launcher with Google Now Launcher.

Actually LG did a good job on its new Android 6.0 firmware of G4. It fixes lots of issues, but it has some new minor issues, too. But all in all, LG really did good on this Android 6.0 upgrade. However the most strange thing is that I cannot upgrade to this new Android 6.0 firmware via OTA. I don't understand why because all my other phones and tables can upgrade to Android 6.0 via OTA, only LG cann't.

3) Low light image capturing and video recording.

The G4 camera is indeed a very good one and is the reason I decided to try LG again, until I tried to take a shot or record a video under low light condition. The camera itself take too dark under the low light condition (in a bar or cafe), and the OIS function seems not working. I also have a iPhone 6 Plus and Nexus 5, they both won't have the same issue. Thus I believe it's a issue of LG firmware (or the LG Camera App).

IMHO LG still did a good work on G4 (especially on Camera under Daylight condition), but I think they can do better on G5 with these three things.

2015年10月29日 星期四

iOS 開發:取得設備唯一識別值

取得 iOS 設備唯一識別值的方式,在 iOS 7 以後只剩下三種:
  • UIDevice::identifierForVendor
  • ASIdentifierManager::advertisingIdentifier
  •  蘋果官方 APNS 訊息推送服務 (Apple Push Notification Service) 上面的 deviceToken 值
以往在 iOS 6 以前透過 WiFi / 藍芽等 API 可以取得 MAC 位置值來識別設備的方式已經被蘋果在 iOS 7 以後改為只能取得固定值 02:00:00:00:00:00:00:00 而失去了識別設備的效果。不過這三種值的取得方式都各自有它的限制在,以下先講後兩種。

要用 ASIdentifierManager::advertisingIdentifier 這個值的限制是:
  • 必須要在 App 裡面有用到廣告機制的時候才可以使用這個值,不然蘋果在審核 App 的時候是會把 App 退回的。
  • 使用者可以在 iOS 設備上強制把這個值重新設成新的值;使用者重設這個值之後,在你的 App 被關掉重啟之後這個值才會抓到這個新的值。
  • 使用者如果把 iOS 設備重置成出廠狀態的話,這個值也會變成新的值。
而第三種 蘋果官方 APNS 訊息推送服務 (Apple Push Notification Service) 上面的 deviceToken 值也是跟 ASIdentifierManager::advertisingIdentifer 一樣要有用到 App 訊息推送服務的時候才能用,沒有用到 App 訊息推送服務的話也是不能用這個值的;iOS 設備被重置成出廠狀態之後這個值也是會被重設成新的值的。

現在在 iOS App 開發上蘋果官方是建議 App 開發者使用 UIDevice::identifierForVendor 來識別使用者的設備,但是要使用這個值也是有限制的:如果你有多個 App 透過同一個開發者 Team ID 發佈並被安裝在同一台 iOS 設備上時,只要你任何一個 App 都沒有被使用者移除的話,這個 identifierForVendor 的值是不會變的;如果你的所有 App 都被使用者移除了,或是 iOS 設備被重置成出廠狀態的話,在下次使用者把你的 App 安裝回來的時候這個值就會變成新的值了。

如果有 App 開發者需要取得 iOS 設備上唯一的識別值的話,要多注意這幾項限制喔! ;)

參考資料:

2014年1月8日 星期三

如何在遠通電收的網站上查詢你的 ETC 交易明細

這兩天一直有朋友問我如何查詢 ETC 交易明細,就寫篇文章說明一下吧 (有錯歡迎指正)。

如果有人還不知道怎麼在遠通電收網站上看 ETC 最近一年交易明細的,可以按照這樣的步驟去做:

1. 先到遠通電收網站上的「個人專區」申請 ETC 帳號:

https://css.fetc.net.tw/CS/CS06020eTagGoApply/Query

2. 之後再到這裡把你的車籍資料連結到你的 ETC 帳號:

https://css.fetc.net.tw/CS/CS06050eTagGoCar/Set

3. 車籍資料連結然後驗證完之後,就可以去查詢帳單:

https://css.fetc.net.tw/CS/CS02010Traffic/TrafficQuery

4. 查出帳單之後,它會列出交易內容,交易內容的最右邊會有明細的按鈕。

5. 把明細的按鈕按下去就可以看到該筆交易的明細網頁。

目前這種查詢方式是只有已經申辦 ETC 的用戶才有的,如果你是沒有申辦 ETC 的人,要申請 ETC 交易明細就必須要攜帶車輛行照及車主身分證到遠通電收的直營門市才能辦理了。

相關資訊請參考遠通電收的網站說明:

http://www.fetc.net.tw/portal/faq/list?cname=serviceCenter_qa_etc