mirror of
https://github.com/cwinfo/envayasms.git
synced 2025-06-26 10:49:23 +00:00
use POST in http requests; use different url for outgoing sms; poll for outgoing sms more frequently; notify server when sms messages are sent
This commit is contained in:
43
res/xml/prefs.xml
Normal file → Executable file
43
res/xml/prefs.xml
Normal file → Executable file
@ -1,26 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<EditTextPreference
|
||||
android:key="server_url"
|
||||
android:title="Server URL"
|
||||
android:defaultValue="http://192.168.70.1:3000/"
|
||||
></EditTextPreference>
|
||||
|
||||
<EditTextPreference
|
||||
android:key="pref_target_url"
|
||||
android:title="Target URL"
|
||||
android:summary="URL to load when the SMS is received"
|
||||
android:defaultValue="http://qkhack.appspot.com/kalsms_demo"
|
||||
></EditTextPreference>
|
||||
|
||||
<EditTextPreference
|
||||
android:key="pref_identifier"
|
||||
android:title="SMS Identifier"
|
||||
android:summary="Handle only SMS messages starting with this string (leave empty to handle all messages)"
|
||||
android:defaultValue="kal "
|
||||
></EditTextPreference>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="pref_poll_switch"
|
||||
android:title="Server Polling"
|
||||
android:disableDependentsState="false"
|
||||
android:summary="Poll target URL every 15 minutes (Note: increases power usage)"
|
||||
></CheckBoxPreference>
|
||||
|
||||
<EditTextPreference
|
||||
android:key="phone_number"
|
||||
android:title="Your Phone Number"
|
||||
android:defaultValue="16507993371"
|
||||
></EditTextPreference>
|
||||
|
||||
<EditTextPreference
|
||||
android:key="password"
|
||||
android:title="Password"
|
||||
android:password="true"
|
||||
></EditTextPreference>
|
||||
|
||||
<CheckBoxPreference
|
||||
android:key="detailed_log"
|
||||
android:title="Detailed log messages?"
|
||||
android:disableDependentsState="false"
|
||||
></CheckBoxPreference>
|
||||
</PreferenceScreen>
|
Reference in New Issue
Block a user