Context is a common object in the Android framework, but are you sure you're using it properly? There are different types of Context for different purposes.

izzy's playlists!

shark vs the universe

Origami Around
Sweet Seals For You, Always
tumblr dot com
ojovivo

blake kathryn
Show & Tell

oozey mess
we're not kids anymore.

No title available
he wasn't even looking at me and he found me

tannertan36
trying on a metaphor

roma★

祝日 / Permanent Vacation
Today's Document
Aqua Utopia|海の底で記憶を紡ぐ

if i look back, i am lost

★
seen from United States

seen from Ukraine

seen from Italy

seen from United States

seen from Singapore

seen from United States

seen from Malaysia
seen from United States
seen from Türkiye
seen from United States

seen from United Kingdom
seen from United States
seen from Ukraine

seen from Malaysia

seen from United Kingdom

seen from United States

seen from Russia

seen from United States
seen from Slovakia
seen from Japan
@lalala93272
Context is a common object in the Android framework, but are you sure you're using it properly? There are different types of Context for different purposes.
蠻完整的列出 Android 裡可以搭配使用的執行緒相關元件, 以及這些元件的優缺點.
TransactionScope
前一陣子改了退款排程程式, 改完後猛力的跳出錯誤, 原因都出在TransactionScopeOption 上面.
Using LayoutInflater improperly can lead to undiscovered issues in your Android application, or force you to use workarounds that are difficult to maintain.
Android模擬器不慢
第一次搞不清楚狀況, 所以就關掉重跑一次. 原來沒當喔, 只是要多點耐心而已...但總算是有模擬畫面可以操作了. 又慢又不順暢, 但總是看到自己的 Hello World 了! GOOD BYE!!
今天在摸索 Eclipse 的環境時, 原本是在找 "查詢原始碼" 的方法, 結果反而看到其他吸引我的東西.
模擬器加速器! 透過 Intel 虛擬化技術的硬體支援方式, 速度是可以提升的! 再看看模擬器的選擇, 預設只有安裝 ARM 模擬器. 這下就了解為什麼會慢了, 模擬器是模擬ARM架構, 但是開發環境的電腦卻是 x86 架構, 這多一層的轉換一定會有影響阿!
接下來當然就是勾起來安裝囉.
Intel HAXM的部分在安裝後, 雖然會顯示 "Installed", 但實際上只是把檔案從網路上抓下來而已. 還需要自己去安裝. 抓下來的檔案在 \sdk\extras\intel\Hardware_Accelerated_Execution_Manager 下面. 要先在 BIOS 裡開啟 Virtualization 的功能, 才能順利安裝 Intel HAXM.
安裝完後重開 Eclipse, 這時候就可以建立 x86 的模擬器了.
再次執行了我的 Hello World, 速度跟流暢度真的是好太多了. 比較遺憾的是, 我放著一陣子後, 電腦突然就 :( 了...不知道是不是跟模擬器使用 GPU有關.
總之, x86模擬器這功能一定要使用的. 是否要讓模擬器使用GPU加速和CPU虛擬化的加速功能就要看自己的機器跑起來穩定不穩定了.
ps. 看來 crash 原因是 Intel HAXM! 有針對 Windows 8.1 的 hotfix!