自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

破磬

慢慢地,耐心地,一步一步地学。总结+记录+进步

  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 部分函数重载提示,父类没有该函数,must override or implement a supertype method

@Override public void addView(View child, LayoutParams params) { System.out.println("addView(View child, LayoutParams params)"); addView(child, -1, params); }编译器提示:Multiple markers at this lin

2013-03-31 15:07:52 2190

原创 android 调用draw(canvas) 函数自动退出

我试了在android中直接调用TextView的draw 函数,结果直接退出。。。代码如下:public class Main extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setConte

2013-03-28 16:35:57 2034

原创 View 的ContextView

用showContextView 打开View的ContextView 通过setOnCreateContextMenuListener() 来设置处理的方式

2013-03-24 17:04:42 1244

原创 java 数组 toString

数组的toString()返回 : getClass().getName() + '@' + Integer.toHexString(hashCode())

2013-03-18 21:23:28 1223

原创 android LayoutInflater的获取

LayoutInflater 获取有三种方法。LayoutInflater mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE) ;LayoutInfalter LayoutInfalter.from(Context contextf);这两个函数是一样的结果:LayoutInflater.from 的实现如下

2013-03-14 21:54:32 1807

原创 java 使用rxtx 进行串口交流。

这个是官网上面的一个例子。经测试,已经成功运行。import gnu.io.CommPort;import gnu.io.CommPortIdentifier;import gnu.io.SerialPort;import java.io.FileDescriptor;import java.io.IOException;import java.io.InputStream

2013-03-11 17:41:32 2491

ViewBitmapdemo

一个简单的demo

2013-05-02

ADT-8.0.0 eclipse

eclipse ADT-8.0.0 下载包

2011-10-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除