全志系列固件修改工具


全志系列平板电脑固件修改工具,全志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_20120606Android_SDK补丁Android_Rootdevicessoftwinnercrane-evb-v12rcrane_evb.mk

     文件         63  2012-05-23 10:57  DragonFace_V0.81_Release_20120606Android_SDK补丁Android_Rootdevicessoftwinnercrane-evb-v12rexSetting.ini

     文件      38621  2012-06-01 22:57  DragonFace_V0.81_Release_20120606Android_SDK补丁Android_Rootframeworksasecorejavaandroidcontent
esConfiguration.java

     文件       8237  2012-05-24 10:32  DragonFace_V0.81_Release_20120606Android_SDK补丁Android_RootframeworksasepackagesSettingsProvider
esvaluesdefaults.xml

     文件      67914  2012-05-29 13:17  DragonFace_V0.81_Release_20120606Android_SDK补丁Android_RootframeworksasepackagesSettingsProvidersrccomandroidproviderssettingsDatabaseHelper.java

    I.A.SH.     46592  2012-06-01 22:10  DragonFace_V0.81_Release_20120606Android_SDK补丁Thumbs.db

     文件      15872  2012-05-29 13:28  DragonFace_V0.81_Release_20120606Android_SDK补丁补丁说明.xls

     文件     824320  2012-04-20 17:16  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_Releaseaapt.exe

     文件      24576  2012-01-12 14:30  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseAddSum.dll

     文件         69  2012-04-20 17:16  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_Releaseapktool.bat

     文件    2676027  2012-04-20 17:15  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_Releaseapktool.jar

     文件      40960  2010-04-16 09:38  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_Releaseconfig.dll

     文件      23566  2010-05-19 02:00  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinaddftinfo.exe

     文件     165806  2010-05-19 02:00  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinafmtodit

     文件       1786  2011-11-15 09:01  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinapropos

     文件      46094  2011-10-28 12:00  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinarch.exe

     文件       8206  2011-04-29 12:43  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinascii.exe

     文件      90126  2011-12-04 06:26  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinash.exe

    ..A.S..        19  2012-02-07 14:05  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinawk

     文件      10254  2011-04-29 12:43  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinanner.exe

     文件      53774  2011-10-28 12:00  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinase64.exe

     文件      45070  2011-10-28 12:00  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinasename.exe

     文件     536078  2011-02-26 07:01  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinash.exe

     文件       6942  2011-02-26 07:00  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinashbug

     文件      20607  2012-02-08 08:46  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinoota.exe

     文件      27150  2010-04-13 09:48  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinsdcpio.exe

     文件      27662  2011-05-22 03:17  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinunzip2.exe

     文件      27662  2011-05-22 03:17  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinzcat.exe

    ..A.S..        17  2012-02-07 14:04  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinzcmp

     文件       2128  2011-05-22 03:16  DragonFace_V0.81_Release_20120606工具DragonFace_V0.81_ReleaseCPFOPinzdiff

............此处省略441个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)