资源简介
全志系列平板电脑固件修改工具,全志A10,A13特别好用
代码片段和文件信息
/*
* Copyright (C) 2008 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 android.content.res;
import android.content.pm.ActivityInfo;
import android.os.Parcel;
import android.os.Parcelable;
import android.util.LocaleUtil;
import java.lang.*;
import java.io.*;
import android.os.SystemProperties;
import android.util.Log;
import java.util.Locale;
/* add by kinier */
public class SettingsParser
{
private static String SETTING_PATH = “/system/exSetting.ini“;
public static final int TYPE_FRONT_SCALE = 0;
public static String readFromSettingCon(int type)
{
int start_index = 0;
int end_index = 0;
File file = new File(SETTING_PATH);
Long filelength = file.length();
byte[] filecontent = new byte[filelength.intValue()];
try {
FileInputStream in = new FileInputStream(file);
in.read(filecontent);
in.close();
}catch (IOException e) {
e.printStackTrace();
return null;
}
String fileTotalContent = new String(filecontent);
switch(type)
{
case TYPE_FRONT_SCALE:
{
start_index = fileTotalContent.indexOf(“font_scale“);
}
break;
default :
{
return null;
}
}
if(start_index == -1)
{
return null;
}
String match_content = fileTotalContent.substring(start_index);
start_index = match_content.indexOf(“<“);
if(start_index == -1)
{
return null;
}
end_index = match_content.indexOf(“>“);
match_content = match_content.substring(start_index+1 end_index);
return match_content;
}
}
/**
* This class describes all device configuration information that can
* impact the resources the application retrieves. This includes both
* user-specified configuration options (locale and scaling) as well
* as device configurations (such as input modes screen size and screen orientation).
* You can acquire this object from {@link Resources} using {@link
* Resources#getConfiguration}. Thus from an activity you can get it by chaining the request
* with {@link android.app.Activity#getResources}:
* Configuration config = getResources().getConfiguration();
*/
public final class Configuration implements Parcelable Comparable {
/**
* Current user preference for the scaling factor for fonts relative
* to the base density scaling.
*/
public float fontScale;
/**
* IMSI MCC (Mobile Country Code). 0 if undefined.
*/
public int mcc;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1713 2012-05-28 18:53 DragonFace_V0.81_Release_20120606\Android_SDK补丁\Android_Root\devices\softwinner\crane-evb-v12r\crane_evb.mk
文件 63 2012-05-23 10:57 DragonFace_V0.81_Release_20120606\Android_SDK补丁\Android_Root\devices\softwinner\crane-evb-v12r\exSetting.ini
文件 38621 2012-06-01 22:57 DragonFace_V0.81_Release_20120606\Android_SDK补丁\Android_Root\fr
文件 8237 2012-05-24 10:32 DragonFace_V0.81_Release_20120606\Android_SDK补丁\Android_Root\fr
文件 67914 2012-05-29 13:17 DragonFace_V0.81_Release_20120606\Android_SDK补丁\Android_Root\fr
I.A.SH. 46592 2012-06-01 22:10 DragonFace_V0.81_Release_20120606\Android_SDK补丁\Thumbs.db
文件 15872 2012-05-29 13:28 DragonFace_V0.81_Release_20120606\Android_SDK补丁\补丁说明.xls
文件 824320 2012-04-20 17:16 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\aapt.exe
文件 24576 2012-01-12 14:30 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\AddSum.dll
文件 69 2012-04-20 17:16 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\apktool.bat
文件 2676027 2012-04-20 17:15 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\apktool.jar
文件 40960 2010-04-16 09:38 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\config.dll
文件 23566 2010-05-19 02:00 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\addftinfo.exe
文件 165806 2010-05-19 02:00 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\afmtodit
文件 1786 2011-11-15 09:01 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\apropos
文件 46094 2011-10-28 12:00 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\arch.exe
文件 8206 2011-04-29 12:43 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\ascii.exe
文件 90126 2011-12-04 06:26 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\ash.exe
..A.S.. 19 2012-02-07 14:05 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\awk
文件 10254 2011-04-29 12:43 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\banner.exe
文件 53774 2011-10-28 12:00 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\ba
文件 45070 2011-10-28 12:00 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\ba
文件 536078 2011-02-26 07:01 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bash.exe
文件 6942 2011-02-26 07:00 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bashbug
文件 20607 2012-02-08 08:46 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\boota.exe
文件 27150 2010-04-13 09:48 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bsdcpio.exe
文件 27662 2011-05-22 03:17 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bunzip2.exe
文件 27662 2011-05-22 03:17 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bzcat.exe
..A.S.. 17 2012-02-07 14:04 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bzcmp
文件 2128 2011-05-22 03:16 DragonFace_V0.81_Release_20120606\工具\DragonFace_V0.81_Release\CPFOP\bin\bzdiff
............此处省略441个文件信息
- 上一篇:函数编程丛书-函数式编程思维
- 下一篇:视频分析工具
相关资源
- 全志最新固件修改工具DragonFrace2.3.1
- 全志V3S中文版datasheet
- 全志a33软硬件开发资料合集
- 最新全志固件修改工具全系列2.2.5
- DragonFace2.3 全志固件定制工具
- 全志A13刷机工具
- 全志V3s原理图PCB及相关开发资料
- 固件修改工具DragonFaceV2.3.0.zip
- 全志H3核心板原理图
- 全志v3s 原理图 sdk
- 全志XR871规格书,故事机平台
- 全志基于asoc音频驱动编写
- 全志A13移植Linux所用的配置文件.conf
- 全志f1c100s原理图.SchDoc
- 刷机包 全志a13平板 触屏可用包 九寸
- 全志驱动包.zip
- bin文件对比工具
- 全志平台SPI总线驱动的使用和调试方
- 全志A33-开放ROOT权限
- f1c100s 全志f1c100s芯片双层PCB板
- zadig-2_3_exe.7z
- 瑞芯微官方固件修改工具
- 全志V3s数据手册
- GC0308 DataSheet V1.01_release_20100520.pdf
- Allwinner_F1C200s_User_Manual_V1.0.pdf
- sina33备份的文件20150609_2100.7z
- A40I原理图
- 全志H2芯片技术文档 Allwinner_H2+_Datas
- F1C600 User Manual
- 全志 F1C600完整手册
评论
共有 条评论