- 博客(10)
- 收藏
- 关注
原创 Service的一些知识点
参考资料 Android Service完全解析,关于服务你所需知道的一切(上) Android中的Service相关全面总结 Android开发实践:使用Service还是Thread作用 它主要用于在后台处理一些耗时的逻辑,或者去执行某些需要长期运行的任务。必要的时候我们甚至可以在程序退出的情况下,让Service在后台继续保持运行状态。启动方式 startSe
2015-05-07 11:37:31
473
原创 Broadcast Receiver注意事项
如果没有添加IntentFilter的Action,那么BroadcastReceiver将的onReceive(Context context, Intent intent)将收不到通知,除非你在发送的时候指明的具体的Class:Intent intent = new Intent(MyActivity.this,MyReceiver.class);sendBroadcast(intent);
2015-03-31 11:25:00
914
原创 ViewPager搭配FragmentStatePagerAdapter如何获取Fragment的引用
FragmentStatePagerAdapter
2015-03-26 15:16:25
2391
1
转载 Android Studio如果老需要下载Grable下载怎么办?
If you are on Windows checkC:\Users\YOUR_USER\.gradle\wrapper\distswhether the gradle 1.10-all is installed there or not inside the directory.Android Studio downloads the whole distributi
2014-12-08 09:49:29
1257
原创 如何从Runnable内部跳出ScheduledExecutorService.scheduleAtFixedRate
ScheduledExecutorService executorService = Executors.newSingleThreadScheduledExecutor(); executorService.scheduleAtFixedRate(new Runnable() { @Override public void run() {
2014-12-03 09:49:07
1186
原创 LinearLayout与RelativeLayout的Selector问题
<RelativeLayout android:clickable="true" android:focusable="true" style="@style/personal_layout">
2014-10-22 18:26:30
2252
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人