- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 android 使用Fragment 代替ActivityGroup
1.创建activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" androi
2015-10-18 11:55:59 1067 1
原创 android 捕获 UncaughtExceptionHandler
1.写一个捕获类 public class CrashHandler implements UncaughtExceptionHandler { private Thread.UncaughtExceptionHandler mDefaultHandler; public void init(Context ctx) { mDefaultHandler = Thread.getD
2015-10-13 22:13:51 321
原创 java.lang.IllegalStateException: BeanFactory
java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext 原因:WEB-INFO目录下没有创建applicationContext.xml 创建:applicat
2015-08-27 21:55:32 986
原创 Exception starting filter struts2 引起java.lang.NullPointerException
启动服务器时出现异常: 严重: Exception starting filter struts2 Class: com.opensymphony.xwork2.spring.SpringObjectFactory File: SpringObjectFactory.java Method: getClassInstance Line: 230 - com/opensymphony/xw
2015-08-27 21:33:30 627
原创 Linux下MTK 3G网卡驱动移植
1:User-space applications configuration Kernel/Library/Defaults Selection ---> [*]Customize Vendor/User Settings Network Applications ---> [*] 3G connection 2:User-space applications config
2015-08-25 15:07:40 896
原创 将linux启动信息输出到文件
#include void function(char buf[]) { mm_segment_t fs; loff_t pos; struct file *fp; fp =filp_open("/tmp/networkport",O_RDWR | O_CREAT,0644); if (IS_ERR(fp)) { return -1
2015-08-14 18:10:51 1439
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人