資源簡介
android最全日歷demo
基于Eclipse的android工程源碼demo
代碼片段和文件信息
/*
?*?Copyright?(C)?2010?The?Android?Open?Source?Project
?*
?*?Licensed?under?the?Apache?License?Version?2.0?(the?“License“);
?*?you?may?not?use?this?file?except?in?compliance?with?the?License.
?*?You?may?obtain?a?copy?of?the?License?at
?*
?*??????http://www.apache.org/licenses/LICENSE-2.0
?*
?*?Unless?required?by?applicable?law?or?agreed?to?in?writing?software
?*?distributed?under?the?License?is?distributed?on?an?“AS?IS“?BASIS
?*?WITHOUT?WARRANTIES?OR?CONDITIONS?OF?ANY?KIND?either?express?or?implied.
?*?See?the?License?for?the?specific?language?governing?permissions?and
?*?limitations?under?the?License.
?*/
package?com.android.calendar.extensions;
import?android.app.Activity;
import?android.content.pm.PackageInfo;
import?android.content.pm.PackageManager.NameNotFoundException;
import?android.os.Bundle;
import?android.preference.PreferenceFragment;
import?com.android.calendar.R;
public?class?AboutPreferences?extends?PreferenceFragment?{
????private?static?final?String?BUILD_VERSION?=?“build_version“;
????@Override
????public?void?onCreate(Bundle?icicle)?{
????????super.onCreate(icicle);
????????addPreferencesFromResource(R.xml.about_preferences);
????????final?Activity?activity?=?getActivity();
????????try?{
????????????final?PackageInfo?packageInfo?=
????????????????activity.getPackageManager().getPackageInfo(activity.getPackageName()?0);
????????????findPreference(BUILD_VERSION).setSummary(packageInfo.versionName);
????????}?catch?(NameNotFoundException?e)?{
????????????findPreference(BUILD_VERSION).setSummary(“?“);
????????}
????}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????356??2013-07-04?10:35??Calendar\.classpath
?????文件????????276??2013-07-04?10:35??Calendar\.git\config
?????文件??????16180??2013-07-04?10:35??Calendar\.git\FETCH_HEAD
?????文件?????????23??2013-07-04?10:34??Calendar\.git\HEAD
?????文件??????58296??2013-07-04?10:35??Calendar\.git\index
?????文件????????155??2013-07-04?10:35??Calendar\.git\logs\HEAD
?????文件????????155??2013-07-04?10:35??Calendar\.git\logs\refs\heads\master
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\donut-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\donut-release2
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\eclair-passion-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\eclair-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\eclair-sholes-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\eclair-sholes-release2
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\froyo
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\froyo-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\gingerbread
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\gingerbread-mr4-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\gingerbread-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\ics-factoryrom-2-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\ics-mr0
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\ics-mr0-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\ics-mr1
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\ics-mr1-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\ics-plus-aosp
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\jb-dev
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\jb-mr0-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\jb-mr1-dev
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\jb-mr1-dev-plus-aosp
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\jb-mr1-release
?????文件????????169??2013-07-04?10:35??Calendar\.git\logs\refs\remotes\origin\jb-mr1.1-dev
............此處省略785個文件信息
- 上一篇:resources_cn.jar153442
- 下一篇:安卓完整新聞客戶端
評論
共有 條評論