- 博客(9)
- 资源 (1)
- 收藏
- 关注
原创 cross tool制作交叉编译工具链,编译binutils error
利用cross tool制作交叉编译工具链,编译binutils errorg++: internal compiler error: Killed (program cc1plus)[ERROR] make[5]: *** [powerpc.o] Error 4[ERROR] make[4]: *** [all-recursive] Error 1[ERROR] m
2017-01-19 22:55:54
914
转载 Shape Drawable
[转]android界面的美化shape的使用本文转自:http://blog.youkuaiyun.com/qq282133/article/details/7370467 Shape Drawable这一类的shape定义在xml中file location:res/drawable/filename.xmlThe filename is used
2015-07-15 13:58:46
509
原创 android 下自定义view, android.view.InflateException
最近在写一个DEMO APP的时候,使用自己定义的一个view,在MainActivity布局文件中:android:id="@+id/viewPager"android:layout_width="match_parent"android:layout_height="match_parent"/>运行的时候报错,android.view.InflateExcepti
2015-07-07 10:52:11
684
原创 android fragment重叠解决办法
最近学习android fragment时遇到的问题:1.横屏竖屏切换时导致的fragment叠加,参考如下代码 在AndroidManifest.xml文件中 android:name="com.example.fragment.MainActivity" android:label="@string/app_name"
2015-03-25 21:21:50
969
转载 RadioGroup调用check(id)方法时,onCheckedChanged方法被执行多次解决办法
转载自:http://blog.youkuaiyun.com/piglovesula/article/details/9820521[java] view plaincopyprint?RadioGroup bottomMenuBar = (RadioGroup) findViewById(R.id.bottomMenuBar); bottomMenu
2015-03-16 13:11:53
1574
转载 转载:secure CRT auto log
配置自动log操作如下:1.options ---> Global Options 2. Edit Default Setting 3. 设置log 文件属性 点击 日志 ,在选项框中 Log file name中填入路径和命名参数:E:\Dave\SecureCRT_Log\%Y_%M
2015-03-05 11:55:32
1063
原创 Android 单点&多点触控实现-----USB接口
Android单点&多点触控实现-----USB接口 一 单点1.源码目录\drivers\input\touchscreen\usbtouchscreen.c按照既有的模板增加即可,上报协议可以参考该文件中usbtouch_process_pkt(struct usbtouch_usb *,unsigned char *,int)函数。 2.也可以通过下面介绍的方法去实现
2014-01-13 18:25:12
4206
1
原创 error:implicit declaration of function "irq_to_gpio"
在Tiny210上移植egalax的IIC driver,编译时出现如题错误。提示的很清楚,驱动程序中的函数irq_to_gpio没有声明。看了下驱动文件的头文件中包含#include,该头文件中有一个irq_to_gpio的原型static inline int irq_to_gpio(unsigned irq){ /* irq can never have b
2013-11-27 11:27:51
3101
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人