自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (30)
  • 问答 (2)
  • 收藏
  • 关注

翻译 Styles and Themes//风格和主题

Styles and Themes//风格和主题A style is a collection of properties that specify the look and format for a View or window. A style can specify properties such as height, padding, font color, font size

2013-11-29 15:28:12 1219

翻译 Themes//布景主题,桌面主题(完)

Themes//布景主题,桌面主题Themes are Android's mechanism for applying a consistent style to an app or activity. The style specifies the visual properties of the elements that make up your user interface, s

2013-11-29 13:41:54 1185

翻译 Processes and Threads//进程和线程

Processes and Threads//进程和线程When an application component starts and the application does not have any other components running, the Android system starts a new Linux process for the application w

2013-11-29 10:34:44 1017

翻译 List View //API Guides Layouts List View

List  View  //API GuidesListView is a view group that displays a list of scrollable items. The list items are automatically inserted to the list using an Adapter that pulls content from a source

2013-11-29 09:08:33 1078

翻译 Grid View

Grid ViewGridView is a ViewGroup that displays items in a two-dimensional, scrollable grid. The grid items are automatically inserted to the layout using a ListAdapter.For an introduction

2013-11-26 15:10:59 893

翻译 ViewGroup.LayoutParams

ViewGroup.LayoutParamspublic static class ViewGroup.LayoutParame extends Object:类概述:LayoutParams are used by views to tell their parents how they want to be laid out. See ViewGroup Layout Attr

2013-11-26 09:52:11 877

翻译 MeasureSpec

MeasureSpecpublic static class View.MeasureSpec extends Object类概述:A MeasureSpec encapsulates the layout requirements passed from parent to child. Each MeasureSpec represents a requirement for

2013-11-25 16:30:57 1005

翻译 ViewGroup

方法:1.public static int getChildMeasureSpec (int spec, int padding, int childDimension)Added in API level 1Does the hard part of measureChildren: figuring out the MeasureSpec to pass to

2013-11-25 15:06:07 814

翻译 Creating a View Class//建立视图类

Creating a View Class//建立视图类

2013-11-24 09:06:46 1375

翻译 Creating Custom Views//制作自定义的视图

Creating Custom Views//制作自定义的视图The Android framework has a large set of View classes for interacting with the user and displaying various types of data. But sometimes your app has unique needs tha

2013-11-24 08:50:43 1038

原创 android res文件夹

android  res文件夹values-sw600dp-land:s 是 smallest , w 是 width,表示可能的最小宽度.屏幕短边>=580dp,land指屏幕是水平的,相对于port(屏幕是垂直的).

2013-11-23 12:02:46 917

翻译 Supporting Different Screen Sizes //支持不同尺寸的屏幕

Supporting Different Screen Sizes   //支持不同尺寸的屏幕This lesson shows you how to support different screen sizes by:Ensuring your layout can be adequately resized to fit the screenProviding approp

2013-11-23 11:44:44 1061

翻译 Designing for Multiple Screens 为多样的屏幕设计

Designing for Multiple Screens//为多样的屏幕设计Android powers hundreds of device types with several different screen sizes, ranging from small phones to large TV sets. Therefore, it’s important

2013-11-23 10:53:27 1033

转载 Android之SurfaceView学习(一)

Android之SurfaceView学习(一)首先我们先来看下官方API对SurfaceView的介绍SurfaceView的API介绍Provides a dedicated drawing surface embedded inside of a view hierarchy. You can control the format of this surface

2013-11-22 17:22:28 941

翻译 android.graphics.Bitmap

android.graphics.Bitmap    public  final    class  Bitmap  extends Object   implements    Parcelable 方法:public      boolean     compress  //压缩,压紧     (Bitmap.CompressFormat format, int

2013-11-04 20:59:38 2029

翻译 android.view.Window

android.view.Window      Class Overview  Abstract base class for a top-level window look and behavior policy//策略,政策.  An instance of this class should be used as the top-level view added t

2013-11-03 18:37:33 925

翻译 android.widget.Gallery

android.widget.Gallery java.lang.Object--->android.view.View--->android.view.ViewGroup--->android.widget.AdapterViewandroid.widget.Adapter>----->android.widget.AbsSpinner---->android.widget.Galler

2013-11-03 15:48:30 1120

翻译 android.view.View

android.view.Viewpublic  class   View  extends Object    implements   Drawable.Callback     KeyEvent.Callback    AccessibilityEventSource xml属性                             方法

2013-11-03 15:01:32 1221

翻译 RelativeLayout.LayoutParams

RelativeLayout.LayoutParams继承关系:java.lang.Object  --->android.view.ViewGroup.LayoutParams--->android.view.ViewGroup.MarginLayoutParams--->android.widget.RelativeLayout.LayoutPara

2013-11-01 08:33:59 1538

Win7下QC9.0不可用解决办法

Win7下QC9.0不可用解决办法_解决在windows7环境下QC不能成功安装的问题。

2014-08-05

tomcat总结文档

tomcat的总结文档---基本配置方法的介绍

2014-08-05

Activity间传值

Activity1--->打开Activity2--->打开Activity3,将Activity3里面的值传到Avtivity1里面

2014-07-24

webview加载html,播放音视频,响应js事件

webview加载html,播放音视频,响应js事件的小例子。其中还没有解决的问题是:点击系统的返回键时音频还在继续播放(视频播放停止了)。

2014-07-24

TabHostDemo

android TabHost应用的小例子。选中某一标签时会变色,使用原来的继承TabActivity实现的。

2014-05-26

oracle资料

有关oracle安装以及oracle命令的资料文件

2014-02-25

在网页中播放flv文件

在网页中播放flv文件 解压后的example中 点击vcastr3 html即可以看到效果 注意要将<source>http: vcastr ruochi com video happy feet flv< source>中文件的地址换成自己的视频地址

2014-02-21

浏览器播放视频测试

一个开源的插件(张若池),用于在网页上播放flv视频。

2014-02-21

PopWindow示例(转载)

Android用PopupWindow实现弹出菜单实例----来源------>>>> 作者:欧阳鹏 欢迎转载,与人分享是进步的源泉!http://blog.csdn.net/ouyang_peng

2014-01-18

服务播放音频

在一个服务里面播放音频文件,支持后台播放;在前台显示通知

2014-01-06

Android实现滑动菜单的例子

实现滑动菜单的例子,一个使用了第三方框架,一个没有使用第三方框架、

2013-12-10

SlidingMenu的jar包

SlidingMenu的jar包-------(羽良的)

2013-12-10

张孝祥-javascript网页开发源码

张孝祥-javascript网页开发源码

2013-11-28

使用webview播放swf文件

使用webview在程序里面播放swf文件的简单例子.进入程序后会先判断手机上是否安装了adobe flash player,如果没有安装会跳到安卓市场的adobe flash player的下载页面.如果已经安装了adobe flash player,会直接进行播放.

2013-10-16

JAVA_dom解析xml

java通过dom解析xml文件的简单例子

2013-10-14

获取屏幕的像素数,密度,状态栏的高度等

获取屏幕的像素数,密度,状态栏的高度等。其中获取屏幕实际的英寸数的方法不准确,还没有发现准确的方法。

2013-09-16

android socket聊天室_(jiangliloveyou上传的资源)

这是一个从网上下载的例子,进入主界面后上面有他的QQ号码和姓名。原文地址:http://download.csdn.net/detail/jiangliloveyou/5898847 服务端(java_socket)和客户端(在Android手机上运行)都是通过socket实现的.实现了聊天室的一些功能。服务端的端口号在chatMessageServer\src\com\csu\client\MainServer里面设定。 客户端的IP和端口号在注册时填写(程序里注册的界面上填写)。

2013-09-13

java中json的封装和解析

在java中使用json封装数据和解析json数据的DEMO.

2013-08-29

MySQL+Servlet+JSP+员工表,部门表

MySQL+Servlet+JSP+员工表,部门表,实现对员工的增删改查,员工表里面有文本字段还有LONGBLOB字段(用于存储图片)

2013-08-28

Servlet+jsp+Mysql

Servlet+jsp+Mysql,完成对单表的纯文本字段的增删改查。

2013-08-27

Servlet_LifeCycle_Demo

关于Servlet的生命周期的方法的一个示例代码,其中还包含了通过注解方式和通过在web.xml文件中添加节点两种方式声明Servlet。

2013-08-27

Android+Servlet+MySQL

MySQL数据库里存了几个简单的数据,通过Android客户端访问一个用Servlet写的web工程,取得数据库里面的数据,将数据显示在手机上。客户端和服务器之间交换数据使用了JSON。

2013-08-23

MySQL5.6版本安装

这是收藏自httpdownload.csdn.netdetailliangjian35357263的资源,主要记录了对MySQL5.6版本的msi格式的MySQL的安装。

2013-08-23

VideoView_Demo

使用VideoView进行视频播放的简单例子。遍历sd卡上的mp4文件,点击文件时进行播放。播放时会强制横屏,全屏播放。

2013-08-19

Android progressBar的简单使用例子

一个Android中progress应用得到简单例子。

2013-08-12

android.intent.action.TIME_TICK

接收系统的时间流逝的广播,屏幕开启关闭的广播,电量改变的广播。这些广播在清单文件里注册时,看不到效果。在这个例子中通过在一个服务里面用代码注册的方式,成功接收了这些广播。

2013-08-01

Android创建快捷方式的例子

这是一个有关Android快捷方式的例子。当第一次运行程序或者是还没有创建快捷方式的情况下,会弹出一个对话框,提示用户是否要创建快捷方式。这个例子通过在SharedPreferences里读写相关的数值来判断程序是否是第一次启动以及是否创建了快捷方式。

2013-07-24

Activity四种启动模式Demo

这是有关Activity四种启动模式的示例代码,来源于网络并加上了一些个人的注释和总结。

2013-07-23

获取手机上正在运行的服务_DEMO

一个例子,获取手机上正在运行的服务的信息,包括服务所在的类的名字,服务所在的包名,服务所在的应用的图标,标签(applable)的名字(即我们看到的应用的名字)。

2013-07-18

Android反编译需要的文件

Android反编译时需要的文件,共四个:apktool1.5.2.tar.bz2,apktool-install-windows-r05-ibot.tar.bz2,dex2jar-0.0.9.15.zip,jd-gui-0.3.5.windows.zip。前面两个是用来反编译xml文件的,后面两个是用来反编译类文件的(即将dex文件变成java文件)。

2013-07-15

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

TA关注的人

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