Hi people. I hope i'm in the right section of the forum, if not I agree you to beat me.
I just want to help a friend who actually use this theme for MIUI :
http://forums.miui.us/showthread.php?301-Theme-Ultimate-iPhone-theme-21-10-REVOLUTION-7-0
With this theme, on the lockscreen, we can toggle the normal slider to "Camera and music mode" by double tap the slider.
But there's a small bug, the guy who made this theme talk about that bug in this page (scrool down) :
http://forums.miui.us/showthread.php?301-Theme-Ultimate-iPhone-theme-21-10-REVOLUTION-7-0/page82
In fact, we can toggle the slider once to camera mode, but if we double tap the slider again to return on the normal slider, the slider desapear completly...
Here's the manifest.xml :
<Lockscreen version="1" frameRate="20">
<Wallpaper/>
<Image x="0" y="0" src="bg.png" category="Charging"/>
<Image x="0" y="0" src="bg.png" category="BatteryLow"/>
<Image x="0" y="0" src="bg.png" category="BatteryFull"/>
<Image name="time_bg" x="0" y="40" src="hs_time_bg.png" visibility="true"/>
<DateTime name="date" x="240" y="140" color="#FFFFFFFF" size="28" format="EEEEEEEE dd MMMMMMMMM" align="center" visibility="true"/>
<MusicControl x="20" y="90" name="music_control" visibility="false">
<Image name="music_album_cover" x="-50" y="110" w="512" h="512" />
<Image x="-20" y="110+138*min(#call_missed_count,1)-138*min(#sms_unread_count,1)*min(#call_missed_count,1)+138*min(#sms_unread_count,1)" src="info_bg.png" alpha="255"/>
<Image x="17" y="125+138*min(#call_missed_count,1)-138*min(#sms_unread_count,1)*min(#call_missed_count,1)+138*min(#sms_unread_count,1)" src="music.png" alpha="255"/>
<Text name="music_display" x="67" y="125+138*min(#call_missed_count,1)-138*min(#sms_unread_count,1)*min(#call_missed_count,1)+138*min(#sms_unread_count,1)" w="440" marqueeSpeed="30" size="18" color="#FFFFFF" alpha="255"/>
<Button name="music_prev" x="40" y ="50" w="108" h="84">
<Normal>
<Image src="music_previous_n.png" x="40" y="50" />
</Normal>
<Pressed>
<Image src="music_previous_p.png" x="40" y="50" />
</Pressed>
</Button>
<Button name="music_next" x="332" y ="50" w="108" h="84">
<Normal>
<Image src="music_next_n.png" x="332" y="50" />
</Normal>
<Pressed>
<Image src="music_next_p.png" x="332" y="50" />
</Pressed>
</Button>
<Button name="music_play" x="186" y ="50" w="108" h="84">
<Normal>
<Image src="music_play_n.png" x="186" y="50" />
</Normal>
<Pressed>
<Image src="music_play_p.png" x="186" y="50" />
</Pressed>
</Button>
<Button name="music_pause" x="186" y ="50" w="108" h="84">
<Normal>
<Image src="music_pause_n.png" x="186" y="50" />
</Normal>
<Pressed>
<Image src="music_pause_p.png" x="186" y="50" />
</Pressed>
</Button>
</MusicControl>
<Image x="0" y="0" src="status_bar.png"/>
<Time x="116" y="60" src="time.png"/>
<!-- Missed calls -->
<Image x="0" y="200" src="info_bg.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Image x="37" y="215" src="icon_phone.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Text x="87" y="220" color="#FFFFFFFF" size="18" format="Appels : %d" paras="#call_missed_count" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<!-- Missed SMS-->
<Image x="0" y="269" src="info_bg.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Image x="37" y="284" src="icon_sms.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Text x="87" y="289" color="#FFFFFFFF" size="18" format="Messages : %d" paras="#sms_unread_count" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Image name="bbg" x="0" y="#screen_height-144" src="bottom_bg.png" visibility="true"/>
<Image name="bbg2" x="0" y="#screen_height-144" src="bottom_bg2.png" visibility="false"/>
<!--missed unlocers-->
<Unlocker name="unlocker_phone" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
<StartPoint x="30" y="215" w="35" h="35" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
<NormalState>
<Image x="37" y="215" src="unlock_phone.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
</Image>
</NormalState>
</StartPoint>
<EndPoint x="359" y="215" w="35" h="35" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
<Intent action="android.intent.action.VIEW" type="vnd.android.cursor.dir/calls" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<PressedState>
<Image x="34" y="#screen_height-105" src="unlock_button.png"/>
<Image x="37" y="284" src="unlock_sms.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
</PressedState>
<Path x="0" y="215" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
<Position x="30" y="0" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Position x="359" y="0" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
</Path>
</EndPoint>
</Unlocker>
<Unlocker name="unlocker_sms" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
<StartPoint x="37" y="284" w="35" h="35" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
<NormalState>
<Image x="37" y="284" src="unlock_sms.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)">
</Image>
</NormalState>
</StartPoint>
<EndPoint x="359" y="284" w="35" h="35">
<Intent action="android.intent.action.MAIN" type="vnd.android-dir/mms-sms" category="android.intent.category.DEFAULT"/>
<PressedState>
<Image x="34" y="#screen_height-105" src="unlock_button.png"/>
<Image x="37" y="215" src="unlock_phone.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
</PressedState>
<Path x="0" y="284">
<Position x="37" y="0" />
<Position x="359" y="0" />
</Path>
</EndPoint>
</Unlocker>
<!-- Slide to unlock -->
<Image name="slideto" x="0" y="#screen_height-89" src="hs_path_bg.png" alpha="255-#unlocker.move_x/100*255" visibility="true"/>
<Image name="slideto2" x="-120" y="#screen_height-89" src="hs_path_light.png" alpha="255-#unlocker.move_x/100*255" visibility="true">
<PositionAnimation>
<Position x="460" y="0" time="2000"/>
</PositionAnimation>
<Mask name="slideto3" x="0" y="#screen_height-89" src="hs_path_mask.png" align="absolute" visibility="true"/>
</Image>
<!-- Slide to unlock -Camera -->
<Image name="slidetoc" x="0" y="#screen_height-89" src="hs_path_bg1.png" alpha="255-#unlocker.move_x/100*255" visibility="false"/>
<Image name="slideto2c" x="-120" y="#screen_height-89" src="hs_path_light.png" alpha="255-#unlocker.move_x/100*255" visibility="false">
<PositionAnimation>
<Position x="460" y="0" time="2000"/>
</PositionAnimation>
<Mask name="slideto3c" x="0" y="#screen_height-89" src="hs_path_mask1.png" align="absolute" visibility="false"/>
</Image>
<Image x="-30" y="330" src="batterylow.png" category="BatteryLow"/>
<!-- Charging-->
<Image x="-30" y="330" src="cartoon_sun.png" category="Charging">
</Image>
<!-- Charging-->
<Image x="-30" y="330" src="cartoon_sun.png" category="BatteryFull">
</Image>
<!-- Charging progress -->
<Image x="-30" y="330" category="Charging" alpha="200">
<SourcesAnimation>
<Source src="xj_charging_level_1.png" time="200"/>
<Source src="xj_charging_level_2.png" time="400"/>
<Source src="xj_charging_level_3.png" time="600"/>
<Source src="xj_charging_level_4.png" time="800"/>
<Source src="xj_charging_level_5.png" time="1000"/>
<Source src="xj_charging_level_6.png" time="1200"/>
<Source src="xj_charging_level_7.png" time="1400"/>
<Source src="xj_charging_level_8.png" time="2400"/>
</SourcesAnimation>
</Image>
<Image x="-30" y="330" src="cartoon_sunshine.png" category="BatteryFull">
<AlphaAnimation>
<Alpha a="200" time="0"/>
<Alpha a="255" time="2000"/>
<Alpha a="200" time="4000"/>
</AlphaAnimation>
</Image>
<!-- Charging-->
<Text x="170" y="#screen_height-200" category="Charging" color="#AAFFFFFF" size="24" format="Chargement %d%%" paras="#battery_level">
</Text>
<!-- Charging-->
<Text x="208" y="#screen_height-200" category="BatteryFull" color="#AAFFFFFF" size="24" text="Chargée">
</Text>
<!-- Music Unlocker-->
<Unlocker name="munlocker" visibility="false">
<StartPoint x="34" y="#screen_height-105" w="104" h="71">
<NormalState>
<Image x="34" y="#screen_height-105" src="unlock_button2.png" >
</Image>
</NormalState>
</StartPoint>
<EndPoint x="222" y="#screen_height-105" w="104" h="71" >
<Path x="0" y="#screen_height-105" >
<Position x="34" y="0" />
<Position x="222" y="0" />
</Path>
</EndPoint>
</Unlocker>
<!-- Main Unlocker-->
<Unlocker name="unlockere1">
<StartPoint x="34" y="#screen_height-105" w="104" h="71">
<NormalState>
<Image x="34" y="#screen_height-105" src="unlock_button.png">
</Image>
</NormalState>
</StartPoint>
<EndPoint x="341" y="#screen_height-105" w="104" h="71">
<NormalState>
<Image x="37" y="284" src="unlock_sms.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Image x="37" y="215" src="unlock_phone.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
</NormalState>
<Path x="0" y="#screen_height-105">
<Position x="34" y="0" />
<Position x="341" y="0" />
</Path>
</EndPoint>
</Unlocker>
<!-- Camera Unlocker-->
<Unlocker name="unlockerc" visibility="false">
<StartPoint x="341" y="#screen_height-105" w="104" h="71">
<NormalState>
<Image x="341" y="#screen_height-105" src="camera.png" alpha="10"/>
</NormalState>
<PressedState>
<Image x="341" y="#screen_height-105" src="camera.png"/>
<Image x="37" y="284" src="unlock_sms.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Image x="37" y="215" src="unlock_phone.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
</PressedState>
<ReachedState>
<Image x="341" y="#screen_height-105" src="camera.png"/>
<Image x="37" y="284" src="unlock_sms.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
<Image x="37" y="215" src="unlock_phone.png" alpha="255*min(#call_missed_count,1)+255*min(#sms_unread_count,1)"/>
</ReachedState>
</StartPoint>
<EndPoint x="341" y="#screen_height-105" w="96" h="96">
<Intent action="android.intent.action.MAIN" package="com.miui.camera" class="com.miui.camera.Camera"/>
<Path x="341" y="#screen_height-105">
<Position x="0" y="0" />
<Position x="0" y="1" />
</Path>
</EndPoint>
</Unlocker>
<Button x="34" y="#screen_height-105" w="104" h="71">
<Triggers>
<Trigger action="double" target="music_control" property="visibility" value="toggle"/>
<Trigger action="double" target="munlocker" property="visibility" value="toggle"/>
<Trigger action="double" target="unlockerc" property="visibility" value="toggle"/>
<Trigger action="double" target="slideto" property="visibility" value="toggle"/>
<Trigger action="double" target="slideto2" property="visibility" value="toggle"/>
<Trigger action="double" target="slideto3" property="visibility" value="toggle"/>
<Trigger action="double" target="slidetoc" property="visibility" value="toggle"/>
<Trigger action="double" target="slideto2c" property="visibility" value="toggle"/>
<Trigger action="double" target="slideto3c" property="visibility" value="toggle"/>
<Trigger action="double" target="bbg" property="visibility" value="toggle"/>
<Trigger action="double" target="bbg2" property="visibility" value="toggle"/>
<Trigger action="double" target="date" property="visibility" value="toggle"/>
</Triggers>
</Button>
</Lockscreen>
Click to expand...
Click to collapse
Really sorry if that's a noobish or annoying question, i'm good with photoshop, more less with codes lines.
Hope we can help us.
Thanks a lot.
Cheers.
i would like an apk of my forum, i'm running a VBulletin.
all the help i need is put this HTML code in an APK for android
here's the HTML:
Code:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" dir="ltr" lang="en" id="vbulletin_html">
<head>
<meta charset="ISO-8859-1" />
<meta id="e_vb_meta_bburl" name="vb_meta_bburl" content="http://cheatgamerz.net" />
<base href="http://cheatgamerz.net/" />
<meta name="generator" content="vBulletin 4.1.11" />
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
<meta name="keywords" content="vbulletin,forum,bbs,discussion,bulletin board" />
<meta name="description" content="This is a discussion forum powered by vBulletin. To find out about vBulletin, go to http://www.vbulletin.com/ ." />
<script type="text/javascript" src="http://cheatgamerz.net/clientscript/jquery/jquery-1.6.4.min.js?v=4111"></script>
<script type="text/javascript">
<!--
var SESSIONURL = "";
var SECURITYTOKEN = "1334173656-98c757636220f6f346490a2c7cd9e0ad40de1173";
var IMGDIR_MISC = "images/misc";
var IMGDIR_BUTTON = "images/buttons";
var IMGDIR_MOBILE = "images/mobile";
var vb_disable_ajax = parseInt("0", 10);
var SIMPLEVERSION = "4111";
var BBURL = "http://cheatgamerz.net";
var LOGGEDIN = 3 > 0 ? true : false;
var THIS_SCRIPT = "index";
var RELPATH = "forum.php?styleid=2";
var USER_STYLEID = "10";
var MOBILE_STYLEID = "2";
var MOBILE_STYLEID_ADV = "2";
var USER_DEFAULT_STYLE_TYPE = "standard";
// -->
</script>
<script type="text/javascript" src="http://cheatgamerz.net/clientscript/vbulletin-mobile-init.js?v=4111"></script>
<script type="text/javascript" src="http://cheatgamerz.net/clientscript/jquery/jquery.mobile-1.0.vb.js?v=4111"></script>
<script type="text/javascript" src="http://cheatgamerz.net/clientscript/vbulletin-mobile.js?v=4111"></script>
<link rel="stylesheet" href="clientscript/jquery/jquery.mobile-1.0.min.css?v=4111" />
<link rel="stylesheet" type="text/css" href="css.php?styleid=2&langid=1&d=1334165634&td=ltr&sheet=bbcode.css,editor.css,popupmenu.css,reset-fonts.css,vbulletin.css,vbulletin-chrome.css,vbulletin-formcontrols.css," />
<title>Forums</title>
</head>
<body>
<div data-role="page" data-theme="d" id="page-home">
<div id="header">
<div id="header-left">
<img src="images/mobile/vbulletin-logo.png" alt="Forums - Powered by vBulletin" />
</div>
<div id="header-right">
<img src="images/mobile/gridmenu.png" />
<img src="images/mobile/search.png" />
</div>
</div>
<div id="navbar" class="navbar">
<ul class="breadcrumb" data-role="listview" data-theme="d">
<li data-theme="a">Navigation</li>
</ul>
</div>
<div data-role="content">
<ul data-role="listview" class="forumbits">
<li data-role="list-divider">
<h3>Main Category</h3>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_2" alt="" />
<h3>CheatGamerz News</h3>
<span class="ui-li-count">2</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_4" alt="" />
<h3>CheatGamerz General</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_36" alt="" />
<h3>CheatGamerz Events</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_37" alt="" />
<h3>Introduce Yourself</h3>
<span class="ui-li-count">3</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_38" alt="" />
<h3>PRE-VIP Questions</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_new-16.png" class="forumicon ui-li-icon" id="forum_statusicon_5" alt="" />
<h3>Staff Request</h3>
<span class="ui-li-count">2</span>
</li>
<li data-role="list-divider">
<h3>First Person Shooter Hacks</h3>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_18" alt="" />
<h3>Crossfire Hacks</h3>
<p>Crossfire Hacks</p>
<span class="ui-li-count">2</span>
</li>
<li data-role="list-divider">
<h3>Other</h3>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_30" alt="" />
<h3>Coders Lounge</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_31" alt="" />
<h3>HTML</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_32" alt="" />
<h3>C++ /C Programming</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_33" alt="" />
<h3>Visual Basic Programming</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_34" alt="" />
<h3>C# Programming</h3>
<span class="ui-li-count">0</span>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_35" alt="" />
<h3>Programming Tutorials</h3>
<span class="ui-li-count">0</span>
</li>
<li data-role="list-divider">
<h3>SmartPhones Hacks</h3>
</li>
<li class="forumbit_post L2">
<img src="images/statusicon/forum_old-16.png" class="forumicon ui-li-icon" id="forum_statusicon_40" alt="" />
<h3>Android Hacks</h3>
<span class="ui-li-count">0</span>
</li>
</ul>
</div>
<div id="footer">
<ul id="footer_links">
<li class="first">Log Out</li>
<li>Full Site</li>
<li class="last">Top</li>
</ul>
<div id="footer_copyright" class="shade footer_copyright">
<!-- Do not remove this copyright notice -->
Powered by vBulletin® Version 4.1.11 <br />Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.
<!-- Do not remove this copyright notice -->
</div>
<div id="footer_morecopyright" class="shade footer_morecopyright">
<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
<img src="http://cheatgamerz.net/cron.php?rand=1334173656" alt="" width="1" height="1" border="0" />
<!-- Do not remove cronimage or your scheduled tasks will cease to function -->
NavTabs provided by vBNavTabs (Pro) v1.1.1 - vBulletin Mods & Addons. Copyright © 2012 DragonByte Technologies Ltd.<br />Content Slider provided by vBSlider v1.0.6 - vBulletin Mods & Addons. Copyright © 2012 DragonByte Technologies Ltd.
</div>
</div>
</div><!-- data-role="page" -->
</body>
</html>
thanks for helping
When any one call me he heard his sound again like echo
can any one tell me what can i do or any fix
http://bbs.xda.cn/thread-12184557-1-1.html
which file can i edit to enable Noise Suppression
i found settings.apk
so i make an modification
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/volume_category_title" />
<Preference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume">
<intent android:targetPackage="com.android.settings" android:targetClass="com.android.settings.sound.RingerVolumeActivity" />
</Preference>
<CheckBoxPreference android:persistent="false" android:title="@string/silent_mode_title" android:key="miui_silent_or_vibrate" />
<PreferenceCategory android:title="@string/vibrate_category_title" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_in_silent_title" android:key="miui_vibrate_in_silent_key" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_when_ringing_title" android:key="miui_vibrate_in_normal_key" />
<Preference android:title="@string/musicfx_title" android:key="musicfx">
<intent android:targetPackage="com.android.musicfx" android:targetClass="com.android.musicfx.ControlPanelPicker" />
</Preference>
<PreferenceCategory android:title="@string/sound_category_call_ringtone_vibrate_title" android:key="category_calls_and_notification" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/ringtone_title" android:key="ringtone" android:dialogTitle="@string/ringtone_title" android:ringtoneType="ringtone" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/notification_sound_title" android:key="notification_sound" android:dialogTitle="@string/notification_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_received_sound_title" android:key="sms_received_sound" android:dialogTitle="@string/sms_received_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_delivered_sound_title" android:key="sms_delivered_sound" android:dialogTitle="@string/sms_delivered_sound_dialog_title" android:ringtoneType="notification" />
<PreferenceCategory android:title="@string/sound_category_system_title" />
<CheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/haptic_feedback_enable_title" android:key="haptic_feedback" android:defaultValue="true" />
<ListPreference android:entries="@array/haptic_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="haptic_feedback_level" android:dependency="haptic_feedback" android:entryValues="@array/haptic_feedback_level_values" />
<CheckBoxPreference android:persistent="false" android:title="@string/media_feedback_enable_title" android:key="media_feedback" />
<ListPreference android:persistent="false" android:entries="@array/media_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="media_feedback_level" android:dependency="media_feedback" android:entryValues="@array/media_feedback_level_values" />
<ListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:entryValues="@array/emergency_tone_values" />
<Preference android:title="@string/title_dolby_control" android:key="dolby_control" android:summary="@string/dolby_mode_off" android:fragment="com.android.settings.dolby.DolbySettings" />
<Preference android:title="@string/dirac_control" android:key="dirac_control" android:summary="@string/dirac_mode_off">
<intent android:targetPackage="com.miui.player" android:action="com.miui.player.DIRAC_SETTINGS" android:targetClass="com.miui.player.effect.dirac.DiracSettings" />
</Preference>
<PreferenceCategory android:title="@string/dock_settings" android:key="dock_category" />
<PreferenceScreen android:title="@string/dock_audio_settings_title" android:key="dock_audio">
<CheckBoxPreference android:enabled="true" android:title="@string/bluetooth_dock_settings_a2dp" android:key="dock_audio_media_enabled" />
</PreferenceScreen>
<CheckBoxPreference android:title="@string/dock_sounds_enable_title" android:key="dock_sounds" android:defaultValue="false" />
<PreferenceCategory android:title="@string/noise_suppression" android:key="noise_suppression" android:defaultValue="true"/>
<ListPreference android:persistent="true" android:entries="@array/phone_call_noise_suppression_title" android:title="@string/phone_call_noise_suppression" android:key="phone_call_noise_suppression" android:entryValues="@array/phone_call_noise_suppression_values" />
</PreferenceScreen>
the original is
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/sound_settings" android:key="sound_settings"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<PreferenceCategory android:title="@string/volume_category_title" />
<Preference android:persistent="false" android:title="@string/all_volume_title" android:key="ring_volume">
<intent android:targetPackage="com.android.settings" android:targetClass="com.android.settings.sound.RingerVolumeActivity" />
</Preference>
<CheckBoxPreference android:persistent="false" android:title="@string/silent_mode_title" android:key="miui_silent_or_vibrate" />
<PreferenceCategory android:title="@string/vibrate_category_title" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_in_silent_title" android:key="miui_vibrate_in_silent_key" />
<CheckBoxPreference android:persistent="false" android:title="@string/vibrate_when_ringing_title" android:key="miui_vibrate_in_normal_key" />
<Preference android:title="@string/musicfx_title" android:key="musicfx">
<intent android:targetPackage="com.android.musicfx" android:targetClass="com.android.musicfx.ControlPanelPicker" />
</Preference>
<PreferenceCategory android:title="@string/sound_category_call_ringtone_vibrate_title" android:key="category_calls_and_notification" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/ringtone_title" android:key="ringtone" android:dialogTitle="@string/ringtone_title" android:ringtoneType="ringtone" />
<com.android.settings.DefaultRingtonePreference android:persistent="false" android:title="@string/notification_sound_title" android:key="notification_sound" android:dialogTitle="@string/notification_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_received_sound_title" android:key="sms_received_sound" android:dialogTitle="@string/sms_received_sound_dialog_title" android:ringtoneType="notification" />
<com.android.settings.SmsRingtonePreference android:title="@string/sms_delivered_sound_title" android:key="sms_delivered_sound" android:dialogTitle="@string/sms_delivered_sound_dialog_title" android:ringtoneType="notification" />
<PreferenceCategory android:title="@string/sound_category_system_title" />
<CheckBoxPreference android:title="@string/dtmf_tone_enable_title" android:key="dtmf_tone" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/sound_effects_enable_title" android:key="sound_effects" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/lock_sounds_enable_title" android:key="lock_sounds" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/haptic_feedback_enable_title" android:key="haptic_feedback" android:defaultValue="true" />
<ListPreference android:entries="@array/haptic_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="haptic_feedback_level" android:dependency="haptic_feedback" android:entryValues="@array/haptic_feedback_level_values" />
<CheckBoxPreference android:persistent="false" android:title="@string/media_feedback_enable_title" android:key="media_feedback" />
<ListPreference android:persistent="false" android:entries="@array/media_feedback_level_entries" android:title="@string/haptic_feedback_level" android:key="media_feedback_level" android:dependency="media_feedback" android:entryValues="@array/media_feedback_level_values" />
<ListPreference android:entries="@array/emergency_tone_entries" android:title="@string/emergency_tone_title" android:key="emergency_tone" android:entryValues="@array/emergency_tone_values" />
<Preference android:title="@string/title_dolby_control" android:key="dolby_control" android:summary="@string/dolby_mode_off" android:fragment="com.android.settings.dolby.DolbySettings" />
<Preference android:title="@string/dirac_control" android:key="dirac_control" android:summary="@string/dirac_mode_off">
<intent android:targetPackage="com.miui.player" android:action="com.miui.player.DIRAC_SETTINGS" android:targetClass="com.miui.player.effect.dirac.DiracSettings" />
</Preference>
<PreferenceCategory android:title="@string/dock_settings" android:key="dock_category" />
<PreferenceScreen android:title="@string/dock_audio_settings_title" android:key="dock_audio">
<CheckBoxPreference android:enabled="true" android:title="@string/bluetooth_dock_settings_a2dp" android:key="dock_audio_media_enabled" />
</PreferenceScreen>
<CheckBoxPreference android:title="@string/dock_sounds_enable_title" android:key="dock_sounds" android:defaultValue="false" />
<PreferenceCategory android:title="@string/noise_suppression" [B]android:key="noise_suppression"[/B] />
<ListPreference android:persistent="[B]false[/B]" android:entries="@array/phone_call_noise_suppression_title" android:title="@string/phone_call_noise_suppression" android:key="phone_call_noise_suppression" android:entryValues="@array/phone_call_noise_suppression_values" />
</PreferenceScreen>
Hi,
I've made a custom keyboard for my Samsung S8 (Android 8.0.0,). The keyboard xml file looks like this:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Keyboard n1:keyWidth="13.999998%p" n1:keyHeight="40.0dip" n1:horizontalGap="2.6000023%p" n1:verticalGap="10.0dip"
xmlns:n1="[ . . . ]">
<Row n1:keyHeight="0.100000024px" n1:rowEdgeFlags="top" />
<Row>
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="49" n1:keyEdgeFlags="left" n1:keyLabel="1" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="50" n1:keyLabel="2" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="51" n1:keyLabel="3" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="52" n1:keyLabel="4" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="53" n1:keyLabel="5" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="54" n1:keyLabel="6" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="55" n1:keyLabel="7" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="56" n1:keyLabel="8" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="57" n1:keyLabel="9" />
<Key n1:keyWidth="8.7%p" n1:horizontalGap="1.05%p" n1:codes="48" n1:keyLabel="0" />
</Row>
</Keyboard>
(I omitted the other rows, only the first one is included in the code).
When I tap on the keyboard numbers, instead of writing "1", "2", and so on, I get the ASCII circled numbers, such as "❶", "❷" and so on. How could that happen? The ASCII codes are correct (48, 49, and so on).
How can I fix this issue?
I have an angular cordova application which has got the html video tag that plays on IOS but not on Android. Play button does not show on android.
html tag is as below:
<video width="320" height="240" controls="controls">
<source src="samplevideolink" type="video/mp4" />
</video>
config.xml of Cordova is as below:
<content src="index.cordova.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*...." />
<allow-intent href="...." />
<allow-intent href="..." />
<platform name="android">
<allow-intent href="market:*" />
<icon src="assets/android/ldpi.png" density="ldpi" />
<icon src="assets/android/mdpi.png" density="mdpi" />
<icon src="assets/android/hdpi.png" density="hdpi" />
<icon src="assets/android/xhdpi.png" density="xhdpi" />
<icon src="assets/android/xxhdpi.png" density="xxhdpi" />
<icon src="assets/android/xxxhdpi.png" density="xxxhdpi" />
</platform>
<platform name="ios">
....
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="23" />
<preference name="BackupWebStorage" value="none" />
Not sure if there is a problem withany configuration specific to Android in Cordova. Is there any plugin specific to Android Cordova need to be installed
Really appreciate your help.