文章列表
 
2011年09月27日 星期二 13:11
Android 各国语言缩写-各国语言简称

android资源文件夹的写法规则:

语言缩写-国家地区缩写

语言缩写请参阅:

http://www.iso.org/iso/country_codes/iso_3166_code_lists/english_country_names_and_code_elements.htm

en 英文 
en_US 英文 (美国) 
ar 阿拉伯文 

 
2011年09月02日 星期五 16:28

//个人小结,做个记号。

主要是利用java 中java.lang.Object下的Method类

 
2011年08月03日 星期三 11:02

From:http://hi.baidu.com/wishwingliao/blog/item/65a2d03f7dde8dd17d1e71ec.html

 设置默认输入法

  在 frameworks\base\core\res\res\values\config.xml 添加一个属性:

      <!--leo add-->

 
2011年06月10日 星期五 10:30

首先使用git clone download下最新的代码然后使用 git log查看版本信息,Use git log to find the revision you want to rollback to, and take note of the commit hash. After that, just git checkout <hash>. Example:

$ git logcommit 89915b4cc0810a9c9e67b3706a2850c58120cf75
Author: Jardel Weyrich <suppressed>
Date:   Wed Aug 18 20:15:01 2010 -0300

    Added a custom extensi
 
2011年04月20日 星期三 14:10

1.            Android

 
2011年04月15日 星期五 16:58

LOCAL_MODULE_TAGS :=user eng tests optional

user: 指该模块只在user版本下才编译

eng: 指该模块只在eng版本下才编译

tests: 指该模块只在tests版本下才编译

optional:指该模块在所有版本下都编译

 

eng This

 
2010年12月27日 星期一 11:50
在Android中要让一个程序的界面始终保持一个方向,不随手机方向转动而变化的办法: 只要在AndroidManifest.xml里面配置一下就可以了。

在AndroidManifest.xml的activity(需要禁止转向的activity)配置中加入 android:screenOrientation=”landscape”属性即可(landscape是横向,portrait是纵向)。例如:
Java 代码

1. <application android:persistent="true" 
2.       android:label="@string/home_title" 
3.   
 
2010年11月30日 星期二 11:14
Android 1.5 API变更概要:

  UI framework


  · Framework for easier background/UI thread interaction
  · 新SlidingDrawer 组件
  · 新HorizontalScrollview 组件

  AppWidget framework
  · 一些关于创建桌面AppWidget 的API.
  · 提供根据自定义的内容创建LiveFolders的API

 
2010年11月29日 星期一 17:03

      全局变量的作用范围是整个程序(如果程序是多个文件,必须在其他的文件中说明,使用"extern"标记)。

  

   静态全局变量,只在本文件可以用,虽然整个程序包含多个文件,但

 
2010年08月11日 星期三 9:22
 
   
 
 
文章存档
 
     
 
最新文章评论
  

[表情]
 

<:script>alter("XSS")</script>
 

hao
 

极好的内容,多谢分享!
 

读完受益匪浅,之前在DP所对应的CLR Property中写的防御式在使用DP时完全没触发,原
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu