摘要:参考:http://www.cnblogs.com/bill-joy/archive/2012/03/24/2415539.htmlhttp://blog.sina.com.cn/s/blog_465918fc0101ehf2.html//方法一:textView.setText(Html.from...
阅读全文
摘要:http://blog.csdn.net/feng88724/article/details/6409313http://byandby.iteye.com/blog/1028034定义的Activity的Manifest中 ... ...
阅读全文
摘要:参考:http://www.open-open.com/lib/view/open1328152424546.html搭建Junithttp://zhidao.baidu.com/link?url=vMCO-E0_utuzonHcMnZ-xj0168uooyIV7fnDRttjbTdZmIw5daF...
阅读全文
摘要:http://blog.163.com/ppy2790@126/blog/static/103242241201381645353273/Intent作为联系各Activity之间的纽带,其作用并不仅仅只限于简单的数据传递。通过其自带的属性,其实可以方便的完成很多较为复杂的操作。例如直接调用拨号功能...
阅读全文
摘要:参考:http://www.cnblogs.com/error404/archive/2013/04/09/3010514.htmlhttp://bbs.51cto.com/thread-1075165-1.html1.添加权限:2.资源文件夹values-en values-zh 等3.代码:pu...
阅读全文
摘要:http://www.cnblogs.com/linucos/archive/2012/05/24/2516623.htmlhttp://blog.csdn.net/fuyajun01/article/details/27710535Android系统进程间通信方式:1.共享内存无需拷贝,但控制复杂...
阅读全文
摘要:参考:http://www.cnblogs.com/jacktu/archive/2012/01/02/2310326.htmlhttp://blog.csdn.net/yun90/article/details/8618521基础知识:1.下面的Xfermode子类可以改变这种行为:AvoidXf...
阅读全文
摘要:上图:上代码:package com.example.testview;import android.annotation.SuppressLint;import android.annotation.TargetApi;import android.content.Context;import a...
阅读全文
摘要:看源码:Pull-to-Refresh.Rentals-Androidhttps://github.com/Yalantis/Pull-to-Refresh.Rentals-AndroidAndroid-PullToRefreshhttps://github.com/chrisbanes/Andro...
阅读全文
摘要:参考http://segmentfault.net/blog/stormzhang/1190000002401964
阅读全文
摘要:参考:http://www.cnblogs.com/vanezkw/tag/ORMlite/
阅读全文
摘要:http://www.tuicool.com/articles/If6rueyhttp://jakewharton.github.io/butterknife/@InjectView(R.id.title) TextView title;@OnClick(R.id.submit)public voi...
阅读全文
摘要:参考:http://blog.csdn.net/wangtingshuai/article/details/8635787js代码 // 注入js函数监听 private void addImageClickListner() { // 这段js函数的功能就是,遍历所有的img几点,并添加oncl...
阅读全文
摘要:图标拖动过程先长按,拖动,松开手指launcher.java中setupViews方法, private void setupViews() { final DragController dragController = mDragController; mLaunche...
阅读全文
摘要:参考:http://blog.csdn.net/wdaming1986/article/details/7671318http://www.cnblogs.com/DonkeyTomy/articles/3229764.html查看Launcher.xml ...
阅读全文
摘要:参考:http://www.eoeandroid.com/thread-550720-1-1.html /** * 多表查询 * @param companyId 根据公司id查询 * @return */ public ...
阅读全文
摘要:桌面启动执行LauncherApplication.java ----onCreate()方法@Override public void onCreate() { super.onCreate(); // set sIsScreenXLarge and sScree...
阅读全文
摘要:包名 com.android.launcher把launcher相关数据库文件从手机中取出来shell@android:/data/data/com.android.launcher/databases # lslslauncher.dblauncher.db-journalshell@androi...
阅读全文
摘要:public StringgetType(Uri) 用于返回指定的Uri中的数据的MIME类型*如果操作的数据属于集合类型,那么MIME类型字符串应该以vnd.android.cursor.dir/开头。例如:要得到所有person记录的Uri为content://contacts/person,那...
阅读全文
摘要:Using Network Service DiscoveryCreating P2P Connections with Wi-FiUsing Wi-Fi P2P for Service DiscoveryUsing Network Service Discovery来源:http://develo...
阅读全文