顯示具有 activity 標籤的文章。 顯示所有文章
顯示具有 activity 標籤的文章。 顯示所有文章

2011年4月16日 星期六

Android application 中 global 的 data 的處理

開發 Android applications 時我該如何儲存 global 的 data ? 使用平常在開發 Java 時的 singleton pattern 好嗎? 我的 activity 須要跟背景的 service 要資料來更新 UI , 該怎麼作?