help, I want to disable or hide the button light switch option. is it possible to do that in modifying settings.apk on miui 8. Thanks
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/key_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/screen_key_press" android:key="screen_key_press">
<ListPreference android:entries="@arRay/screen_key_press_action" android:title="@string/app_switch_key" android:key="menu_press" android:dialogTitle="@string/screen_key_press_action" android:entryValues="@arRay/screen_key_press_action_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/screen_key_long_press" android:key="screen_key_long_press">
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/app_switch_key" android:key="menu_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/home_key" android:key="home_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_action" android:title="@string/back_key" android:key="back_long_press" android:dialogTitle="@string/screen_key_long_press_action" android:entryValues="@arRay/screen_key_long_press_action_value" />
<ListPreference android:entries="@arRay/screen_key_long_press_timeout" android:title="@string/screen_key_long_press_timeout" android:key="screen_key_long_press_timeout" android:dialogTitle="@string/screen_key_long_press_timeout" android:entryValues="@arRay/screen_key_long_press_timeout_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/under_keyguard" android:key="under_keyguard">
<CheckBoxPreference android:title="@string/disable_power_key_long_press_under_keyguard" android:key="disable_power_long_press" />
<CheckBoxPreference android:title="@string/pref_volume_wake_title" android:key="pref_volume_wake" android:summary="@string/pref_volume_wake_summary" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/convenience_key_category_title" android:key="convenience_key">
<CheckBoxPreference android:title="@string/fp_nav_center_back_to_home_title" android:key="pref_fingerprint_nav_center_to_home" />
</PreferenceCategory>
<CheckBoxPreference android:title="@string/pref_button_light" android:key="pref_button_light" android:summary="@string/pref_button_light_summary" />
<ListPreference androidersistent="false" android:entries="@arRay/button_light_timeout_entries" android:title="@string/button_light_timeout" android:key="button_light_timeout" android:dependency="pref_button_light" android:dialogTitle="@string/button_light_timeout" android:entryValues="@arRay/button_light_timeout_value" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/status_bar_screen_button_key" android:key="screen_button_category">
<Preference android:title="@string/status_bar_key_position_custom" android:key="screen_button_custom" android:fragment="com.android.settings.screenkey.ScreenKeySettings" />
</PreferenceCategory>
</PreferenceScreen>
I already decompiled the settings.apk and found the xml file key_settings.xml. im wondering which string on the xml file i will delete or modify to disable the menu for button light switch option.
Related
Hi everybody, I have a problem with GOLocker...
I want implement it into my ROM then i copy com.jiubang.goscreenlock-1 in data/app but when i flash the ROM and I boot the phone I have the original lockscreen, why?
EDIT: Solved but now I have another problem, I want change the default settings infact the default setting is that the GoLocker isn't enable then I go to C:\ROMCooking\APKManager\projects\com.jiubang.goscreenlock-1.apk\res\xml and i found lock_setting.xml
Original
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen android:title="@string/setting_title"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/start_go_lock" android:key="@string/start_go_lock_key" android:defaultValue="false" />
<Preference android:title="@string/my_go_lock" android:key="@string/my_go_lock_key" android:summary="需代码动态赋值" />
<CheckBoxPreference android:title="@string/go_lock_sound" android:key="@string/go_lock_sound_key" android:defaultValue="true" />
<CheckBoxPreference android:title="@string/start_emergency_button" android:key="@string/start_emergency_button_key" android:defaultValue="true" />
</PreferenceScreen>
Click to expand...
Click to collapse
Edited by me
<?xml version="1.0" encoding="UTF-8"?>
<PreferenceScreen android:title="@string/setting_title"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBoxPreference android:title="@string/start_go_lock" android:key="@string/start_go_lock_key" android:defaultValue="true" />
<Preference android:title="@string/my_go_lock" android:key="@string/my_go_lock_key" android:summary="需代码动态赋值" />
<CheckBoxPreference android:title="@string/go_lock_sound" android:key="@string/go_lock_sound_key" android:defaultValue="false" />
<CheckBoxPreference android:title="@string/start_emergency_button" android:key="@string/start_emergency_button_key" android:defaultValue="false" />
</PreferenceScreen>
Click to expand...
Click to collapse
Infact if we see the app the first option is that if we want enable GOLocker than I edited the first line changing false to true and the other 2 options but it's not important...
When I install the app the settings aren't changed, it's possible?
Another question: where is Zombie Art By Jack Larson string?
It's in strings.xml?
Upupupupupupupupupupupupupupupupupupup
I am new to Android SDK,but I know JAVA a little.I am on SDK v4.The problem is that,I tried to make 'HelloWidget' Home Screen Widget (with just a text box),and when I try to run the project,the console gives me
Code:
No Launcher Activity Found!
The application will only sync the package to the device!
And my app is nowhere to be found in the AVD.I had tried putting the .MAIN and Launcher in Intent filter,but no good.Here are my files:
AndroidManifest.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="removed due to newbies are not allowed to post links"
package="ax.startup"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="15" />
<uses-permission android:name="android.permission.INTERNET"/>
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<!-- Broadcast Receiver that will process AppWidget updates -->
<receiver android:name=".AxStartup" android:label="AxStartup">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data android:name="android.appwidget.provider"
android:resource="@layout/startup_info" />
</receiver>
</application>
</manifest>
main.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="removed"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/txt1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="HELLO WORLD"
/>
</LinearLayout>
startup_info.xml
Code:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="removed"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/txt1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textMultiLine"
android:text="ITS WORKING DUDE!"
android:minWidth="146dip"
android:minHeight="72dip"
android:updatePeriodMillis="10000"
android:initialLayout="@layout/startup_info">
<requestFocus />
</EditText>
</LinearLayout>
Java file
Code:
package ax.startup;
import android.appwidget.AppWidgetProvider;
public class AxStartup extends AppWidgetProvider {
}
I followed the tutorial from helloandroid website.
And another strange problem is that when I long press on desktop,only options to change wallpaper is coming.There is no 'Add to Home Screen' or 'Widgets' or any other menu!!!
Hello guys!
I´m trying to add a submenu to my Rom. I allready open the apk with APKTool and edited some xmls with notepad++. But now I want to make a new submenu for all Halo settings, but how? Looking at other submenus don´t help!
The submenu xml looks like that at the moment:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/halo_settings"
xmlns:android="http://schemas.android.com/apk/res/android">
<PreferenceCategory android:title="@string/halo_settings_header" android:key="halo">
<CheckBoxPreference android:title="@string/halo_hide_title" android:key="halo_hide" android:summary="@string/halo_hide_summary" android:defaultValue="false" />
<CheckBoxPreference android:title="@string/halo_reversed_title" android:key="halo_reversed" android:summary="@string/halo_reversed_summary" android:defaultValue="true" />
</PreferenceCategory>
</PreferenceScreen>
Click to expand...
Click to collapse
and the settings head like this:
<?xml version="1.0" encoding="utf-8"?>
<preference-headers
xmlns:android="http://schemas.android.com/apk/res/android">
<header android:id="@id/wireless_section" android:title="@string/header_category_wireless_networks" />
<header android:icon="@drawable/ic_settings_wireless" android:id="@id/wifi_settings" android:title="@string/wifi_settings_title" android:fragment="com.android.settings.wifi.WifiSettings" />
<header android:icon="@drawable/ic_settings_bluetooth2" android:id="@id/bluetooth_settings" android:title="@string/bluetooth_settings_title" android:fragment="com.android.settings.bluetooth.BluetoothSettings" />
<header android:icon="@drawable/ic_settings_data_usage" android:id="@id/data_usage_settings" android:title="@string/data_usage_summary_title" android:fragment="com.android.settings.DataUsageSummary" />
<header android:id="@id/operator_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.OPERATOR_APPLICATION_SETTING" />
</header>
<header android:icon="@drawable/empty_icon" android:id="@id/wireless_settings" android:title="@string/radio_controls_title" android:fragment="com.android.settings.WirelessSettings" android:breadCrumbTitle="@string/wireless_networks_settings_title" />
<header android:id="@id/device_section" android:title="@string/header_category_device" />
<header android:icon="@drawable/ic_settings_sound" android:id="@id/sound_settings" android:title="@string/sound_settings" android:fragment="com.android.settings.SoundSettings" />
<header android:icon="@drawable/ic_settings_display" android:id="@id/display_settings" android:title="@string/display_settings" android:fragment="com.android.settings.DisplaySettings" />
<header android:icon="@drawable/ic_settings_storage" android:id="@id/storage_settings" android:title="@string/storage_settings" android:fragment="com.android.settings.deviceinfo.Memory" />
<header android:icon="@drawable/ic_settings_battery" android:id="@id/battery_settings" android:title="@string/power_usage_summary_title" android:fragment="com.android.settings.fuelgauge.PowerUsageSummary" />
<header android:icon="@drawable/ic_settings_applications" android:id="@id/application_settings" android:title="@string/applications_settings" android:fragment="com.android.settings.applications.ManageApplications" />
<header android:icon="@drawable/ic_settings_multiuser" android:id="@id/user_settings" android:title="@string/user_settings_title" android:fragment="com.android.settings.users.UserSettings" />
<header android:id="@id/manufacturer_settings" android:fragment="com.android.settings.WirelessSettings">
<intent android:action="com.android.settings.MANUFACTURER_APPLICATION_SETTING" />
</header>
<header android:id="@id/customization_section" android:title="@string/header_category_customization" />
<header android:icon="@drawable/ic_settings_themes" android:id="@id/themes_settings" android:title="@string/themes_settings_title">
<intent android:targetPackage="com.tmobile.themechooser" android:action="android.intent.action.MAIN" android:targetClass="com.tmobile.themechooser.ThemeChooser" />
</header>
<header android:icon="@drawable/ic_settings_status_bar" android:id="@id/tool_bar_settings" android:title="@string/tool_bar_settings" android:fragment="com.android.settings.paranoid.Toolbar" />
<header android:icon="@drawable/ic_settings_halo" android:id="@id/settings_halo" android:title="@string/settings_halo" android:fragment="com.android.settings.paranoid.Halo" />
<header android:icon="@drawable/ic_settings_lock_screen" android:id="@id/lock_screen_settings" android:title="@string/lock_screen_settings" android:fragment="com.android.settings.paranoid.Lockscreen" />
<header android:icon="@drawable/ic_settings_advanced" android:id="@id/advanced_settings" android:title="@string/advanced_settings_title">
<intent android:targetPackage="com.cyanogenmod.settings.device" android:action="com.cyanogenmod.action.LAUNCH_DEVICE_SETTINGS" android:targetClass="com.cyanogenmod.settings.device.DeviceSettings" />
</header>
<header android:icon="@drawable/ic_settings_hybrid" android:id="@id/hybrid_settings" android:title="@string/hybrid_settings">
<intent android:targetPackage="com.paranoid.preferences" android:action="android.intent.action.MAIN" android:targetClass="com.paranoid.preferences.MainActivity" />
</header>
<header android:id="@id/personal_section" android:title="@string/header_category_personal" />
<header android:icon="@drawable/ic_settings_location" android:id="@id/location_settings" android:title="@string/location_settings_title" android:fragment="com.android.settings.LocationSettings" />
<header android:icon="@drawable/ic_settings_security" android:id="@id/security_settings" android:title="@string/security_settings_title" android:fragment="com.android.settings.SecuritySettings" />
<header android:icon="@drawable/ic_settings_language" android:id="@id/language_settings" android:title="@string/language_settings" android:fragment="com.android.settings.inputmethod.InputMethodAndLanguageSettings" />
<header android:icon="@drawable/ic_settings_backup" android:id="@id/privacy_settings" android:title="@string/privacy_settings" android:fragment="com.android.settings.PrivacySettings" />
<header android:id="@id/account_settings" android:title="@string/account_settings" />
<header android:icon="@drawable/ic_menu_add" android:id="@id/account_add" android:title="@string/add_account_label">
<intent android:action="android.settings.ADD_ACCOUNT_SETTINGS" />
</header>
<header android:id="@id/system_section" android:title="@string/header_category_system" />
<header android:icon="@drawable/ic_action_permission" android:id="@id/superuser" android:title="@string/superuser" android:fragment="com.koushikdutta.superuser.PolicyNativeFragment" />
<header android:icon="@drawable/ic_settings_date_time" android:id="@id/date_time_settings" android:title="@string/date_and_time_settings_title" android:fragment="com.android.settings.DateTimeSettings" />
<header android:icon="@drawable/ic_settings_accessibility" android:id="@id/accessibility_settings" android:title="@string/accessibility_settings" android:fragment="com.android.settings.AccessibilitySettings" />
<header android:icon="@drawable/ic_settings_development" android:id="@id/development_settings" android:title="@string/development_settings_title" android:fragment="com.android.settings.DevelopmentSettings" />
<header android:icon="@drawable/ic_settings_about" android:id="@id/about_settings" android:title="@string/about_settings" android:fragment="com.android.settings.DeviceInfoSettings" />
</preference-headers>
Click to expand...
Click to collapse
I added the needed strings to the strings.xml. But what now?? Pls help me!
iWilliBlecha said:
Hello guys!
I´m trying to add a submenu to my Rom. I allready open the apk with APKTool and edited some xmls with notepad++. But now I want to make a new submenu for all Halo settings, but how? Looking at other submenus don´t help!
The submenu xml looks like that at the moment:
and the settings head like this:
I added the needed strings to the strings.xml. But what now?? Pls help me!
Click to expand...
Click to collapse
Recompile and test (I know this post is old but I'm sick of not seeing replies)
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>
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.