自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 问答 (3)
  • 收藏
  • 关注

原创 关于canvas的save()及restore()方法

import android.content.Context;import android.graphics.Bitmap;import android.graphics.BitmapFactory;import android.graphics.Canvas;import android.graphics.Color;import android.graphics.Paint...

2012-05-31 10:36:36 190

原创 【转】gen already exists but is not a source folder.

【ERROR】gen already exists but is not a source folder. Convert to a source folder or rename itThis is a common error and you can solve it following these steps:Right click on the project and go to ...

2012-05-31 10:12:27 88

原创 android selector 需要顺序的啊

今天弄了蛮久selector,老是没有效果刚开始时这样的 <?xml version="1.0" encoding="utf-8"?><selector xmlns:android="http://schemas.android.com/apk/res/android" >  <item android:drawable="@drawab.

2012-05-25 22:37:59 269

原创 更换签名

使用Robotium 需要将签名更换成debug.keystore 1)命令方式* Un-zip the apk file* Delete the META-INF folder* Re-zip the apk file, rename it and make it as "applicationName.apk"* In Dos prompt/Termin...

2012-05-16 14:14:01 85

原创 Eclipse修改注释字体的大小

按照这个步骤:Window --> Preferences --> General --> Appearance --> Colors and Fonts --> Basic --> Text Font --> Edit

2012-05-13 18:25:22 756

原创 被安排研究android测试。。。

http://hi.baidu.com/it_freeman/blog/index/2  http://www.imobilebbs.com/wordpress/?p=2764 Robotium http://code.google.com/p/robotium/wiki/Getting_Started android.test.suiteb...

2012-05-08 17:46:56 90

原创 【转】Service如何关闭启动自己的Activity

今天在编写Android程序的时候,遇到这个问题。通过百度和google的搜索结果,总结出以下方法:方法一:public class mService extends Service {//保存在service中的Activity对象private static mActivity m;//启动服务static void startservice(Context c){m=(mActivity)c...

2012-05-08 11:25:50 117

空空如也

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

TA关注的人

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