自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

xiaowanggedege的专栏

总结、分享、成长、A lifelong learner

  • 博客(10)
  • 收藏
  • 关注

原创 Android Toast Example

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_paren

2013-07-28 00:28:53 1046

原创 Android Textbox Example--EditText 文本编辑框

In Android, you can use “EditText” class to create an editable textbox to accept user input.在 Android 中使用 “EditText” 类,就可以创建一个文本编辑框,用来接收用户的输入信息。This tutorial show you how to create a textbox i

2013-07-21 17:08:58 1779

原创 Android Button Example-onClickListener-Intent

在 Android 中使用 “android.widget.Button” 类,就可以展现一个按钮。本教程,将展现一个按钮,并为此按钮添加一个点击事件监听,当用户点击按钮的时候,在浏览器中打开一个 URL。一. 添加一个按钮打开 “res/layout/activity_main.xml” 文件, 添加一个按钮File : res/layout/activity_mai

2013-07-21 11:41:20 1431

原创 Attach Android Source Code To Eclipse IDE-将Android 源码和Eclipse IDE 关联绑定起来-Git

Attach Android Source Code To Eclipse IDE--将Android 源码和Eclipse IDE 关联起来 默认情况下,Android SDK 或者 Eclipse ADT plugin 是没有和 Android’s source code 绑定关联的。在 Eclipse IDE 中,键盘 ctrl + 鼠标左键 点击 Android 的某个

2013-07-20 22:53:06 3308

原创 Android Wrap_content And Fill_parent Example

Android Wrap_content And Fill_parent Example在 Android 中,经常对组件属性 “layout_width” 和“layout_height“ 使用  “wrap_content” 或 “fill_parent”  ,那么,“wrap_content” 与“fill_parent” 的区别是什么呢?看下面的定义 :wrap

2013-07-16 22:28:16 1114

原创 Android Activity – From One Screen To Another Screen从一个屏幕切换到另一屏幕,Intent

在 Android 中,一个  activity 就代表了一个屏幕。在本教程中,将展现如何与 activity 进行交互。当点击一个按钮时,从一个当前屏幕切换到另一个屏幕。1. XML Layouts在“res/layout/”文件夹下创建以下两个 XML layout files  :     res/layout/main.xml – 代表 屏幕 1

2013-07-14 18:44:46 1541 1

原创 Andriod组件之日期选择器DatePicker

一、DatePicker类继承结构:二、常用方法请参API  本例子用到方法:更新当前日期int updateDate(int year, int month, int dayOfMonth)Updates the current date.三、代码:1、新建DatePickerDemo项目2、在res/layout/activity_

2013-07-13 22:51:46 1130

原创 Android:Windows64位搭建开发环境-JDK,SDK,Eclipse,ADT,AVD-HelloWorld Example,genymotion

一、JDK    下载 JDK,安装并配置环境变量。二、SDK    下载 SDK, 解压安装,在相应目录里运行 SDK Manager.exe,选择需要使用的组件进行下载。配置环境变量。三、Eclipse    下载解压四、ADT(ADT Eclipse plugin)配置Eclipse ADT    In Eclipse IDE, selec

2013-07-09 22:41:53 3889 2

原创 解决安装Eclipse报错:Failed to load the JNI shared Library (JDK)--x86,x64,32bit,64bit

解决安装Eclipse报错:Failed to load the JNI shared Library (JDK)安装Eclipse报错:看到StackOverflow 点击打开链接上的解决方法,Jdk,OS,Eclipse 32、64bit的不兼容问题导致,You need a 64-bit trio:64-bit OS64-bit Ja

2013-07-02 23:50:38 2037

原创 Android:The connection to adb is down, and a severe error has occured

解决Android报错:The connection to adb is down, and a severe error has occured解决方法一:Try below steps:Close the Eclipse if runningGo to the Android SDK platform-tools directory in Command Promptt

2013-07-02 20:30:15 1136

空空如也

空空如也

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

TA关注的人

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