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'
|
2012-04-04 21:16:26 +00:00
|
|
|
android:summaryOn="New messages will be forwarded between phone and server"
|
|
|
|
android:summaryOff="New messages will not be forwarded between phone and server"
|
|
|
|
></CheckBoxPreference>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="Server Settings">
|
2011-09-13 23:06:50 +00:00
|
|
|
|
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>
|
2012-04-04 21:16:26 +00:00
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="Messaging Settings">
|
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"
|
2012-04-04 21:16:26 +00:00
|
|
|
android:summaryOff="Incoming messages will not be stored in Messaging inbox"
|
|
|
|
android:summaryOn="Incoming messages will be stored in Messaging inbox"
|
2011-09-18 01:38:16 +00:00
|
|
|
></CheckBoxPreference>
|
|
|
|
|
2012-03-16 00:20:23 +00:00
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="call_notifications"
|
|
|
|
android:title="Call notifications"
|
2012-04-04 22:13:14 +00:00
|
|
|
android:summaryOff="EnvayaSMS will not notify server when phone receives an incoming call"
|
|
|
|
android:summaryOn="EnvayaSMS will notify server when phone receives an incoming call"
|
2012-04-04 21:16:26 +00:00
|
|
|
></CheckBoxPreference>
|
|
|
|
|
|
|
|
<PreferenceScreen
|
|
|
|
android:key="send_limit"
|
|
|
|
android:title="SMS rate limit"
|
|
|
|
android:summary="..."
|
|
|
|
>
|
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.MAIN"
|
|
|
|
android:targetPackage="org.envaya.sms"
|
|
|
|
android:targetClass="org.envaya.sms.ui.ExpansionPacks" />
|
|
|
|
</PreferenceScreen>
|
|
|
|
|
2011-09-29 23:02:37 +00:00
|
|
|
<CheckBoxPreference
|
2012-04-04 21:16:26 +00:00
|
|
|
android:key="forward_sent"
|
|
|
|
android:title="Forward sent messages"
|
|
|
|
android:summaryOff="SMS sent from Messaging app will not be forwarded to server"
|
|
|
|
android:summaryOn="SMS sent from Messaging app will be forwarded to server"
|
|
|
|
></CheckBoxPreference>
|
2011-09-29 23:02:37 +00:00
|
|
|
|
2011-11-26 03:36:04 +00:00
|
|
|
<PreferenceScreen
|
|
|
|
android:key="ignored_numbers"
|
|
|
|
android:title="Ignored phones"
|
|
|
|
android:summary="Configure the phone numbers that EnvayaSMS will ignore"
|
|
|
|
>
|
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.MAIN"
|
|
|
|
android:targetPackage="org.envaya.sms"
|
|
|
|
android:targetClass="org.envaya.sms.ui.IgnoredPhoneNumbers" />
|
2012-04-04 21:16:26 +00:00
|
|
|
</PreferenceScreen>
|
2011-11-26 03:36:04 +00:00
|
|
|
|
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" />
|
2012-04-04 21:16:26 +00:00
|
|
|
</PreferenceScreen>
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
2011-09-19 21:58:23 +00:00
|
|
|
|
2012-04-04 21:16:26 +00:00
|
|
|
<PreferenceCategory android:title="Networking Settings">
|
|
|
|
|
|
|
|
<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"
|
|
|
|
>
|
|
|
|
</ListPreference>
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="AMQP Settings (Real-Time Connection)">
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="amqp_enabled"
|
|
|
|
android:title="Enable AMQP"
|
|
|
|
android:summaryOff="AMQP is disabled"
|
|
|
|
android:summaryOn="AMQP is enabled"
|
|
|
|
></CheckBoxPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_host"
|
|
|
|
android:title="AMQP Host"
|
|
|
|
android:inputType="textUri"
|
|
|
|
android:defaultValue=""
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_port"
|
|
|
|
android:title="AMQP Port"
|
|
|
|
android:inputType="number"
|
|
|
|
android:defaultValue="5672"
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_vhost"
|
|
|
|
android:title="AMQP Virtual Host"
|
|
|
|
android:inputType="text"
|
|
|
|
android:defaultValue="/"
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<CheckBoxPreference
|
|
|
|
android:key="amqp_ssl"
|
|
|
|
android:title="AMQP SSL"
|
|
|
|
android:summaryOff="Off (Plain text)"
|
|
|
|
android:summaryOn="On (Encrypted)"
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></CheckBoxPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_user"
|
|
|
|
android:title="AMQP User"
|
|
|
|
android:defaultValue=""
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_password"
|
|
|
|
android:title="AMQP Password"
|
|
|
|
android:defaultValue=""
|
|
|
|
android:password="true"
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_queue"
|
|
|
|
android:title="AMQP Queue Name"
|
|
|
|
android:defaultValue=""
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
<EditTextPreference
|
|
|
|
android:key="amqp_heartbeat"
|
|
|
|
android:title="AMQP Heartbeat (sec)"
|
|
|
|
android:inputType="number"
|
|
|
|
android:defaultValue="60"
|
|
|
|
android:dependency="amqp_enabled"
|
|
|
|
></EditTextPreference>
|
|
|
|
|
|
|
|
</PreferenceCategory>
|
|
|
|
|
|
|
|
<PreferenceCategory android:title="Help">
|
|
|
|
<PreferenceScreen
|
|
|
|
android:key="help"
|
|
|
|
android:title="About EnvayaSMS"
|
|
|
|
>
|
2011-10-01 06:03:06 +00:00
|
|
|
<intent
|
|
|
|
android:action="android.intent.action.MAIN"
|
|
|
|
android:targetPackage="org.envaya.sms"
|
|
|
|
android:targetClass="org.envaya.sms.ui.Help" />
|
|
|
|
</PreferenceScreen>
|
2012-04-04 21:16:26 +00:00
|
|
|
</PreferenceCategory>
|
2011-10-01 06:03:06 +00:00
|
|
|
|
2010-10-04 00:11:48 +00:00
|
|
|
</PreferenceScreen>
|