hi all,
I have some problems below need some hints...thanks.
1. how to change the settings' default value ??, like sound_and_display
and USB debugging...
I have tried below methods :
added android:defaultValue="-1" in the screen_timeout section in the
packages/apps/Settings/res/xml/sound_and_display_settings.xml or
changed the value of FALLBACK_SCREEN_TIMEOUT_VALUE to -1 in the
packages/apps/Settings/src/com/android/settings/SoundAndDisplaySettings.java
or
both of two above...
but all its not work anyway...the default value always 1 minute.
same situation on USB debugging...the default value always disable.
android:defaultValue="1" in the enable_adb section in the
packages/apps/Settings/res/xml/development_prefs.xml
mEnableAdb.setChecked(Settings.Secure.getInt(getContentResolver(),
Settings.Secure.ADB_ENABLED, 1) != 0);
orignally, this value is 0
^
in
the packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
2. How to let the initlogo.rle work ??
I created my initlogo.rle and add below code in the Android.mk
file := $(TARGET_ROOT_OUT)/initlogo.rle
$(file):$(LOCAL_PATH)/initlogo.rle | $(ACP)
$(transform-prebuilt-to-target)
ALL_PREBUILD += $(file)
after some actions, make -j2, burn system.img into device, and
booting...
I always see the message [init: cannot open '/initlogo.rle'] ...
hmm, yes, there doesn't have initlogo.rle in the root directory...
but I can see this file in the
out/debug/target/product/my-test/root/
any information would appreciate ~~
--
Regards
Y-C Wang
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en