自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(24)
  • 资源 (14)
  • 收藏
  • 关注

转载 类名.this 的使用

有时候,我们会用到一些内部类和匿名类。当在匿名类中用this时,这个this则指的是匿名类或内部类本身。这时如果我们要使用外部类的方法和变量的话,则应该加上外部类的类名。如下面例子: 例子1public class A { int i = 1; public A() { public void run() { System.out.println("

2013-05-31 22:33:51 491

转载 Android Camera分析

android通过android.hardware.Camera类来控制摄像头设备的,要使用只有通过android.hardware.Camera.open()来打开,这样就会创建一个新的Camera对象。android提供了一些接口来给予回调,控制Camera的状态,分别是: 1.android.hardware.Camera.ErrorCallback:摄像头出错的时候

2013-05-30 15:46:10 911

转载 Android:Camera

package irdc.paizao;import irdc.paizao.R;import java.io.BufferedOutputStream;import java.io.File;import java.io.FileOutputStream;import android.app.Activity;import android.graphics.Bitmap;im

2013-05-30 02:16:26 730

转载 约会应用 Tinder 计划进军中国

去年十月发布的约会应用 Tinder 面世以来,用户增长迅速,一月份时其配对数量为一百万,五月份配对数量已暴增为五千万。除了美国本土用户,Tinder 还有 15% 的海外用户,主要来自加拿大、澳大利亚、巴西、爱尔兰。目前 Tinder 已经开始进军国际,目标国家和地区包括 英国、澳大利亚、拉丁美洲、德国、法国和中国。Tinder 团队正在开发以上各国的本地预言支持,计划在当地进行市场推广,开设海

2013-05-28 16:20:09 1055 1

转载 盘点六大在中国复制失败的O2O案例

O2O概念自2010年11月被引入中国以来被各方迅速炒热,各种分类信息网站、点评类网站、团购类网站、订餐类网站等都开始宣称自己为O2O模式。  O2O最基本的解释是通过线上引导流量去线下体验和消费,从这个宽泛的意义来说以上提及的网站类型都属于O2O范围。和很多互联网模式一样,O2O也来源于美国,国内创业者最典型的做法是看美国出现了O2O项目,然后迅速地把它们复制到中国。  当然,并

2013-05-28 12:47:13 713

转载 国内首例视频聚合App侵权案仅赔1.4万元

动辄数千万元的版权价格让准备发视频财的企业改走聚合平台的路子,并试图分羹移动视频的巨大市场,不过它们也为此付出了侵权的代价。  近日,搜狐视频诉芭乐影视侵权案一审胜诉,一部剧判赔1.4万元,成为国内首例针对手机聚合类视频App侵权案。然而,由于目前对于此类案件侵权认定尚未统一,侵权方极有可能调整方式死灰复燃。  获赔金额缩水八成  据业内不完全统计,目前国内聚合类视频App包括芭乐影视

2013-05-28 12:46:08 38109

原创 xml布局与java动态布局

activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/LinearLayout1" android:layout_wi

2013-05-28 10:34:11 591

原创 泛型类AdapterView

android.widget.AdapterViewandroid.widget.Adapter> Adapter的子类作为AdapterView的‘参数’

2013-05-27 23:42:57 560

转载 Java中匿名类的两种实现方式 .

使用匿名内部类课使代码更加简洁、紧凑,模块化程度更高。内部类能够访问外部内的一切成员变量和方法,包括私有的,而实现接口或继承类做不到。然而这个不是我说的重点,我说的很简单,就是匿名内部类的两种实现方式:第一种,继承一个类,重写其方法;第二种,实现一个接口(可以是多个),实现其方法。下面通过代码来说明:[java] view plaincopyprint?public

2013-05-27 19:40:48 531

原创 widget基础,文本和按钮

res/layout/activity_main.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/LinearLayout1" androi

2013-05-26 02:03:51 647

转载 android.widget.TextView.setText()

final voidsetText(int resid)final voidsetText(char[] text, int start, int len)                 Sets the TextView to display the specified slice of the specified char array.final

2013-05-26 01:36:25 2420

原创 Android代码学习-嵌套类,嵌套接口,匿名类,接口引用,子类调用父类的方法

public class MainActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); se

2013-05-25 18:36:19 2038

转载 java嵌套类(Nested Classes)总结

Nested Classes定义在java语言规范里面,嵌套类(Nested Classes)定义是:A nested class is any class whose declaration occurs within the body of another class or interface. A top level class is a class that is not a ne

2013-05-25 14:24:28 607

原创 界面布局-FrameLayout

res/layout/activity_main.xml<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/FrameLayout1" andro

2013-05-25 01:32:30 558

转载 匿名内部类

顾名思义,没有名字的内部类。表面上看起来它们似乎有名字,实际那不是它们的名字。匿名内部类就是没有名字的内部类。什么情况下需要使用匿名内部类?如果满足下面的一些条件,使用匿名内部类是比较合适的:·只用到类的一个实例。·类在定义后马上用到。·类非常小(SUN推荐是在4行代码以下)·给类命名并不会导致你的代码更容易被理解。在使用匿名内部类时,要记住以下几个原则:·匿名内部类不

2013-05-24 17:06:37 533

原创 内部接口android.view.View.OnClickListener

在使用Widget组件来布局时,看到下面一段代码show= (TextView)findViewById(R.id.show_textview);press=(Button)findViewById(R.id.click_button);press.setOnClickListener(new Button.OnClickListener(){

2013-05-24 16:52:39 9532

原创 界面布局-TableLayout

res/layout/activity_my_fifth.xml<TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/Table1" android:layout_width="fill_parent" android:layout_heig

2013-05-24 03:05:01 772

转载 Issue 14523: layout_span and layout_column is missing

two xml attribute is missing from properties view or auto complete. I believe there is more attribute missing. I think it's because missing definition on XML schema. But I don't know how to add that.

2013-05-24 01:40:53 1034

原创 界面布局-RelativeLayout

res/layout/activity_my.xml<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent"

2013-05-23 23:45:09 785

转载 Humility and assertiveness.... are they mutually exclusive?

Two of the very important traits of leadership are humility and assertiveness. How does one remain humble, polite, respectful in the normal circumstances, showing compassion to everybody, is something

2013-05-23 14:42:59 699

原创 安装WordPress遇到的错误

1,安装完成后错类提示类似下面,Warning: Cannot modify header information – headers already sent by (output started at/…/wp-config.php:1) in/…/wp-login.php on line 302Warning: Cannot modify header information – h

2013-05-23 03:11:54 1427

原创 界面布局-LinearLayout

布局文件:res/layout/activity_my.xml<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/LinearLayout" a

2013-05-23 00:56:27 1598

原创 Android开发-基础篇

Stept 1: Android开发所需软件开发包准备1,JDK官方下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 2,Android SDK官方地址,很难登陆上去,你懂得。。民间下载地址:http://dev.son1c.com/show/

2013-05-22 23:37:46 1031

原创 Android官网

http://developer.android.com.nyud.net/index.html 敬请浏览www.zhangjianghome.net

2013-05-20 01:24:48 624

课堂模拟测试补充内容

课堂模拟测试补充内容pmp

2014-08-18

android应用-把妹笑话

android应用-把妹笑话

2013-07-22

下拉刷新,上拉加载

下拉刷新,上拉加载

2013-07-11

Android 解析html

jsoup,Android 解析html

2013-07-10

Android Training

Android Training

2013-05-22

Android samples

Android samples

2013-05-22

Android API

Android API

2013-05-22

BI Question List.doc

BI Question List.doc

2013-04-22

EBS财务模块基本功能和常用表

EBS财务模块基本功能和常用表

2013-04-15

Oracle_Database_10g_Administration

Oracle_Database_10g_Administration

2012-06-26

空空如也

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

TA关注的人

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