android
Super_HQ
专业码农。
展开
-
The Preference Activity
We can create ourselves preference activity in our android applications, but this is a tedious work, we have to operate every thing by ourse原创 2011-09-01 17:45:06 · 541 阅读 · 0 评论 -
onStartCommand 的返回值
在android中,我们使用startService启动服务。在Service的派生类里,会调用onStartCommand(Intent,int,int)来启动服务。onStartCommand有三种返回值:START_STICKY:sticky的意思是“粘性的”。原创 2011-09-07 17:33:05 · 3396 阅读 · 2 评论 -
Storing preferences
In Android, you can use the SharedPreferenced class to store UI state,user preferences or application settings.Using the SharedPreferences c原创 2011-08-26 14:20:19 · 316 阅读 · 0 评论