2010-10-04 00:11:48 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
2011-09-13 23:06:50 +00:00
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="enabled"
|
2011-09-22 23:16:46 +00:00
|
|
|
android:title="Enable EnvayaSMS"
|
2011-09-13 23:06:50 +00:00
|
|
|
android:defaultValue='false'
|
|
|
|
android:summaryOn="All new SMS will be forwarded between phone and server"
|
|
|
|
android:summaryOff="New SMS will not be forwarded between phone and server"
|
|
|
|
></CheckBoxPreference>
|
|
|
|
|
2011-09-11 08:35:10 +00:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="server_url"
|
|
|
|
android:title="Server URL"
|
2011-09-19 21:58:23 +00:00
|
|
|
android:inputType="textUri"
|
2011-09-12 03:59:51 +00:00
|
|
|
android:defaultValue=""
|
|
|
|
></EditTextPreference>
|
2010-10-04 00:11:48 +00:00
|
|
|
|
2011-09-11 08:35:10 +00:00
|
|
|
<EditTextPreference
|
|
|
|
android:key="phone_number"
|
2011-09-19 17:19:34 +00:00
|
|
|
android:title="Your phone number"
|
2011-09-19 21:58:23 +00:00
|
|
|
android:inputType="phone"
|
2011-09-12 03:59:51 +00:00
|
|
|
android:defaultValue=""
|
2011-09-11 08:35:10 +00:00
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="password"
|
|
|
|
android:title="Password"
|
|
|
|
android:password="true"
|
|
|
|
></EditTextPreference>
|
2011-09-12 03:59:51 +00:00
|
|
|
|
|
|
|
<ListPreference
|
|
|
|
android:key="outgoing_interval"
|
|
|
|
android:title="Poll interval"
|
|
|
|
android:defaultValue="60"
|
|
|
|
android:entries="@array/check_intervals"
|
|
|
|
android:entryValues="@array/check_intervals_values"
|
|
|
|
></ListPreference>
|
2011-09-11 08:35:10 +00:00
|
|
|
|
2011-09-13 19:46:37 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="keep_in_inbox"
|
2011-09-19 21:58:23 +00:00
|
|
|
android:title="Keep new messages"
|
2011-09-13 19:46:37 +00:00
|
|
|
android:summaryOff="Incoming SMS will not be stored in Messaging inbox"
|
|
|
|
android:summaryOn="Incoming SMS will be stored in Messaging inbox"
|
2011-09-18 01:38:16 +00:00
|
|
|
></CheckBoxPreference>
|
|
|
|
|
2011-09-19 17:19:34 +00:00
|
|
|
<ListPreference
|
|
|
|
android:key="wifi_sleep_policy"
|
|
|
|
android:title="Wi-Fi sleep policy"
|
|
|
|
android:defaultValue="never"
|
|
|
|
android:entries="@array/wifi_sleep_policies"
|
|
|
|
android:entryValues="@array/wifi_sleep_policies_values"
|
|
|
|
>
|
2011-09-19 21:58:23 +00:00
|
|
|
</ListPreference>
|
2011-09-19 17:19:34 +00:00
|
|
|
|
2011-09-29 23:02:37 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="network_failover"
|
|
|
|
android:title="Network Failover"
|
|
|
|
android:summaryOff="Do nothing if phone can't connect to server via Wi-Fi"
|
|
|
|
android:summaryOn="Automatically switch to mobile data if phone can't connect to server via Wi-Fi"
|
|
|
|
></CheckBoxPreference>
|
|
|
|
|
2011-09-19 21:58:23 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="test_mode"
|
|
|
|
android:title="Test mode"
|
2011-09-22 23:16:46 +00:00
|
|
|
android:summaryOff="Test mode is off (EnvayaSMS forwards all SMS)"
|
|
|
|
android:summaryOn="Test mode is on (EnvayaSMS only forwards SMS to/from specific phones)"
|
2011-09-19 21:58:23 +00:00
|
|
|
></CheckBoxPreference>
|
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:key="test_numbers"
|
|
|
|
android:title="Sender phones"
|
|
|
|
android:dependency="test_mode"
|
2011-09-22 23:16:46 +00:00
|
|
|
android:summary="Configure the phone numbers that EnvayaSMS will handle"
|
2011-09-19 21:58:23 +00:00
|
|
|
>
|
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.MAIN"
|
2011-09-22 23:16:46 +00:00
|
|
|
android:targetPackage="org.envaya.sms"
|
|
|
|
android:targetClass="org.envaya.sms.ui.TestPhoneNumbers" />
|
2011-09-19 21:58:23 +00:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
2011-10-01 06:03:06 +00:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="help"
|
|
|
|
android:title="About EnvayaSMS"
|
|
|
|
>
|
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.MAIN"
|
|
|
|
android:targetPackage="org.envaya.sms"
|
|
|
|
android:targetClass="org.envaya.sms.ui.Help" />
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
2010-10-04 00:11:48 +00:00
|
|
|
</PreferenceScreen>
|