摘要: 12-26 06:29:17.351: E/AndroidRuntime(911): FATAL EXCEPTION: main12-26 06:29:17.351: E/AndroidRuntime(911): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.hjx.sns.android.activity/com.hjx.sns.android.activity.InterestClassGroupGridView}; have you declared this 阅读全文
posted @ 2011-12-26 14:31 freedragon 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 怎么Office2003打不开2007版的文件 微软已经提供一个补丁程序,用于office 2003打开2007版文件.附compatibility pack for the 2007 office system下载地址:下载地址一(本地):http://u.monle.com/blog/detail/176.html下载地址二(远程):http://download.microsoft.com/download/9/2/2/9222d67f-7630-4f49-bd26-476b51517fc1/FileFormatConverters.exe在遇到问题的时候既要果断,又要细心。对于不... 阅读全文
posted @ 2011-12-25 12:49 freedragon 阅读(1846) 评论(0) 推荐(0) 编辑
摘要: ADB是一个 客户端-服务器端 程序, 其中客户端是你用来操作的电脑, 服务器端是android设备. 先说安装方法, 电脑上需要安装客户端. 客户端包含在sdk里. 设备上不需要安装, 只需要在手机上打开选项settings-applications-development-USBdebugging. 对于Mac和Linux用户, 下载好的sdk解压后, 可以放~或者任意目录. 然后修改~/.bash_profile文件, 设置运行环境指向sdk的tools目录. 具体是打开~/.bash_profile文件(如果没有此文件也可以自行添加), 在里面加入一行: export PATH... 阅读全文
posted @ 2011-12-24 14:54 freedragon 阅读(394) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="utf-8"?><resources> <color name="White">#FFFFFF</color> <color name="Ivory">#FFFFF0</color> <color name="LightYellow">#FFFFE0</color> <color name="Yellow"># 阅读全文
posted @ 2011-12-24 14:30 freedragon 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 目录Directory资源类型Resource Typesres/anim/XML文件,它们被编译进逐帧动画(frame by frame animation)或补间动画(tweened animation)对象res/drawable/.png、.9.png、.jpg文件,它们被编译进以下的Drawable资源子类型中:要获得这种类型的一个资源,可以使用Resource.getDrawable(id)位图文件9-patches(可变尺寸的位图)为了获取资源类型,使用mContext.getResources().getDrawable(R.drawable.imageId)注意:放在这里的图 阅读全文
posted @ 2011-12-24 14:24 freedragon 阅读(380) 评论(0) 推荐(0) 编辑
摘要: main.javapackage com.demo.scrollview;import android.app.Activity;import android.os.Bundle;import android.os.Handler;import android.view.View;import android.widget.Button;import android.widget.HorizontalScrollView;import android.widget.LinearLayout;import android.widget.ScrollView;import android.widg 阅读全文
posted @ 2011-12-24 13:42 freedragon 阅读(9738) 评论(1) 推荐(0) 编辑
摘要: //MainActivity.java @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); /* 1.定义main.xml视图 * 2.res中定义xml文件,类型Animation 四种补间动画效果演示 * 3.找到对应键,开始动画。 * */ EditText tvTarget = (Ed... 阅读全文
posted @ 2011-12-24 13:09 freedragon 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 不能发 阅读全文
posted @ 2011-12-24 12:59 freedragon 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 开篇有意仅为测试2011年12月24日12:57:26 阅读全文
posted @ 2011-12-24 12:54 freedragon 阅读(99) 评论(0) 推荐(0) 编辑
摘要: service简单应用,Log中打印了启动和结束的调用步骤mainActivitypackage com.gongsi.service18;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.widget.Button;public class Service18Activity extends Activity { /** Called when the activity is first cr... 阅读全文
posted @ 2011-11-25 20:14 freedragon 阅读(359) 评论(0) 推荐(0) 编辑