- 博客(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 1045 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 306
原创 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 973
原创 Exception starting filter struts2 引起java.lang.NullPointerException
启动服务器时出现异常:严重: Exception starting filter struts2Class: com.opensymphony.xwork2.spring.SpringObjectFactoryFile: SpringObjectFactory.javaMethod: getClassInstanceLine: 230 - com/opensymphony/xw
2015-08-27 21:33:30 610
原创 Linux下MTK 3G网卡驱动移植
1:User-space applications configurationKernel/Library/Defaults Selection --->[*]Customize Vendor/User SettingsNetwork Applications --->[*] 3G connection2:User-space applications config
2015-08-25 15:07:40 879
原创 将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 1416
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人