导航

2012年8月11日 #

Muti-Button Application --calculator.

摘要: Brief introduction:use Button , TextView and EditView together.a method to add a OnClickListener to all Button.some problems and solution.================================Download project link :Download included files are:Calc.apk Calc.zip (Souce Code)result1.png result2.png result3.png r... 阅读全文

posted @ 2012-08-11 12:44 淅沥枫 阅读(357) 评论(0) 推荐(0) 编辑

2012年8月10日 #

Problem and Solution : Unable to resolve target 'android-9'

摘要: When import an project to my workspace, Iencountered a problem:Unable to resolve target 'android-9'Analysis:I didnot installed the api level-9.Solution:1.Delete the project you have imprted.2.shut down your eclipse .3.delete the project files (which you have imported) on your disk.4.find the 阅读全文

posted @ 2012-08-10 22:31 淅沥枫 阅读(1038) 评论(0) 推荐(0) 编辑

2012年8月9日 #

LearnGallery2Activity.java

摘要: package xilifeng.com.weibo;import android.app.Activity;import android.content.Context;import android.graphics.Color;import android.os.Bundle;import android.view.View;import android.view.ViewGroup;import android.widget.BaseAdapter;import android.widget.Gallery;import android.widget.ImageView;import a 阅读全文

posted @ 2012-08-09 19:56 淅沥枫 阅读(207) 评论(0) 推荐(0) 编辑

2012年8月7日 #

Title:it has been a long time.

摘要: it has been for a long time since the last time foe me sit down to write an atical.Though I passed cet-6, but my writing skills did not improved much since i graduated from high school.I like apple very mcuh, she is a good teacher and a nice mother. I saw her only once during the past year.And Teach 阅读全文

posted @ 2012-08-07 00:33 淅沥枫 阅读(435) 评论(0) 推荐(0) 编辑

2012年8月5日 #

Use DIffent Font and Size.

摘要: ================================Download project link : http://ishare.iask.sina.com.cn/f/33394396.html included files are: result_1.png result_2.png result_3.png result_4.png test.Typefac.apk test.Typefac.zip( source code ) Use DIffent Font and Size.docx =====================... 阅读全文

posted @ 2012-08-05 20:18 淅沥枫 阅读(595) 评论(0) 推荐(0) 编辑

Click Button to change the color of TextView

摘要: =============================================Download project link: http://ishare.iask.sina.com.cn/f/33388237.htmlIncluded Files are :ButtonANDTextView.apk ButtonANDTextView.zip(Source Code ) Click Button to change the color of TextView.docx result_1.png result_2.png=====================... 阅读全文

posted @ 2012-08-05 13:51 淅沥枫 阅读(352) 评论(0) 推荐(0) 编辑

Usage of AlertDialog [ AlertDialog.Builder(Activity) ]

摘要: =============================================Download project link: http://ishare.iask.sina.com.cn/f/33385525.htmlIncluded Files are : AlertDialog.apk AlertDialog.zip(source code) result.png result_button.png result_message.png result_title.png=========================================... 阅读全文

posted @ 2012-08-05 09:13 淅沥枫 阅读(232) 评论(0) 推荐(0) 编辑

2012年8月4日 #

StartActivityForResutl,Bundle(Return data to ex-Activity)

摘要: =============================================Download sourcefile Link:http://ishare.iask.sina.com.cn/f/33376951.htmlInclued files are: ForResult.apk ForResult.zip(source code) ForResut.docx result1.png result2.png================================================Method: Use two layout: mai... 阅读全文

posted @ 2012-08-04 16:47 淅沥枫 阅读(880) 评论(1) 推荐(0) 编辑

Bundle使用(不同的Activity之间传递数据)

摘要: =============================================Download sourcefile Link:http://ishare.iask.sina.com.cn/f/33375715.htmlInclued files are:Bundle使用.docxUseBundle.apkUseBundle.zip(source code)运行结果_1.png运行结果_2.png================================================Bundle使用(不同的Activity之间传递数据)思路:封装 与 解封装将Activit 阅读全文

posted @ 2012-08-04 16:22 淅沥枫 阅读(316) 评论(0) 推荐(0) 编辑

2012年7月22日 #

子类继承的成员方法

摘要: Student3.java *Student3.java 2012-7-2221:431publicclassPerson32{3 protectedStringname;//保护成员变量4 protectedintage;5 voidsetdata(Stringn1,inta1)6 {7 name=n1;8 age=a1;9 }10 publicvoidprint()11 {12 System.out.println("姓名:"+name+",年龄:"+age);13 }1415}1617/**子类继承的成员方法18* 不能继承声明为private的方 阅读全文

posted @ 2012-07-22 21:49 淅沥枫 阅读(349) 评论(0) 推荐(0) 编辑