2011-10-12 20:58:48 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
|
|
// Pandora FMS - http://pandorafms.com
|
|
|
|
// ==================================================
|
|
|
|
// Copyright (c) 2005-2011 Artica Soluciones Tecnologicas
|
|
|
|
// Please see http://pandorafms.org for full contribution list
|
|
|
|
|
|
|
|
// This program is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Lesser General Public License
|
|
|
|
// as published by the Free Software Foundation; version 2
|
|
|
|
|
|
|
|
// This program is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
-->
|
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
>
|
|
|
|
<LinearLayout
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field1"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/serverAddr"
|
|
|
|
android:paddingTop="5dp"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/serverAddrInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field2"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/serverPort"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/serverPortInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field3"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/interval"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/intervalInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:inputType="number"
|
|
|
|
/>
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field4"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/agent"
|
|
|
|
/>
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/agentNameInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:singleLine="true"
|
|
|
|
/>
|
2012-07-09 10:35:48 +02:00
|
|
|
|
2011-10-12 20:58:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkGpsReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/gpsReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
/>
|
2012-07-09 10:35:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBatteryLevelReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/BatteryLevelReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkTaskReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/taskReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
2011-10-12 20:58:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkMemoryReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/memoryReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
/>
|
2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for
smsReceived, networkType, phoneType and calls.
Replicated in values-en and values-es.
* res/layout/setup.xml: Added checkboxes for simID
and task reporting.
* res/layout/status.xml: Added textviews for new data.
* src/pandroid/agent/core.java: set simID
reporting as disabled by default. Added variables
for networkOperator, networkType, phoneType,
signalStrength, incoming, missed and outgoing calls.
* src/pandroid/agent/PandroidAgentListener.java: task,
smsReceived, networkType, phoneType and calls methods
and then added to XML. simID now checks whether
enabled in user configuration.
* src/pandroid/agent/setup.java: Added spinner for task
selection.
* src/pandroid/agent/SMSActivity.java: removed
* src/pandroid/agent/SMSBroadcastReceiver.java: upon
receiving a smsreceived intent, increments the stored
number of smsReceived.
* src/pandroid/agent/status.java: Added textviews for
new methods mentioned above.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 02:47:47 +02:00
|
|
|
<CheckBox
|
2012-07-04 03:32:06 +02:00
|
|
|
android:id="@+id/checkSimIDReport"
|
2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for
smsReceived, networkType, phoneType and calls.
Replicated in values-en and values-es.
* res/layout/setup.xml: Added checkboxes for simID
and task reporting.
* res/layout/status.xml: Added textviews for new data.
* src/pandroid/agent/core.java: set simID
reporting as disabled by default. Added variables
for networkOperator, networkType, phoneType,
signalStrength, incoming, missed and outgoing calls.
* src/pandroid/agent/PandroidAgentListener.java: task,
smsReceived, networkType, phoneType and calls methods
and then added to XML. simID now checks whether
enabled in user configuration.
* src/pandroid/agent/setup.java: Added spinner for task
selection.
* src/pandroid/agent/SMSActivity.java: removed
* src/pandroid/agent/SMSBroadcastReceiver.java: upon
receiving a smsreceived intent, increments the stored
number of smsReceived.
* src/pandroid/agent/status.java: Added textviews for
new methods mentioned above.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 02:47:47 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/simIDReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
/>
|
2012-07-09 10:35:48 +02:00
|
|
|
|
2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for
smsReceived, networkType, phoneType and calls.
Replicated in values-en and values-es.
* res/layout/setup.xml: Added checkboxes for simID
and task reporting.
* res/layout/status.xml: Added textviews for new data.
* src/pandroid/agent/core.java: set simID
reporting as disabled by default. Added variables
for networkOperator, networkType, phoneType,
signalStrength, incoming, missed and outgoing calls.
* src/pandroid/agent/PandroidAgentListener.java: task,
smsReceived, networkType, phoneType and calls methods
and then added to XML. simID now checks whether
enabled in user configuration.
* src/pandroid/agent/setup.java: Added spinner for task
selection.
* src/pandroid/agent/SMSActivity.java: removed
* src/pandroid/agent/SMSBroadcastReceiver.java: upon
receiving a smsreceived intent, increments the stored
number of smsReceived.
* src/pandroid/agent/status.java: Added textviews for
new methods mentioned above.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 02:47:47 +02:00
|
|
|
<CheckBox
|
2012-07-09 10:35:48 +02:00
|
|
|
android:id="@+id/checkDeviceUpTimeReport"
|
2011-10-12 20:58:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2012-07-09 10:35:48 +02:00
|
|
|
android:text="@string/uptimeReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkNetworkOperatorReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/NetworkOperatorReport"
|
2011-10-12 20:58:48 +02:00
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
2012-07-09 10:35:48 +02:00
|
|
|
|
2011-10-12 20:58:48 +02:00
|
|
|
/>
|
2012-07-09 10:35:48 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkNetworkTypeReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/NetworkTypeReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkPhoneTypeReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/PhoneTypeReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkSignalStrengthReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/SignalStrengthReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkReceivedSMSReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/ReceivedSMSReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkSentSMSReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/SentSMSReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkIncomingCallsReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/IncomingCallsReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkMissedCallsReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/MissedCallsReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkOutgoingCallsReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/OutgoingCallsReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBytesReceivedReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/BytesReceivedReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBytesSentReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/BytesSentReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkHelloSignalReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/HelloSignalReport"
|
|
|
|
android:textSize="14dip"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
2011-10-12 20:58:48 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/field5"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/task"
|
|
|
|
/>
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
>
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/loading_task_anim"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
/>
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/processes_combo"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"
|
|
|
|
/>
|
|
|
|
</LinearLayout>
|
2012-07-09 10:35:48 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/set_password"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_password"
|
|
|
|
/>
|
2011-10-12 20:58:48 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/update"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/update"
|
2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for
smsReceived, networkType, phoneType and calls.
Replicated in values-en and values-es.
* res/layout/setup.xml: Added checkboxes for simID
and task reporting.
* res/layout/status.xml: Added textviews for new data.
* src/pandroid/agent/core.java: set simID
reporting as disabled by default. Added variables
for networkOperator, networkType, phoneType,
signalStrength, incoming, missed and outgoing calls.
* src/pandroid/agent/PandroidAgentListener.java: task,
smsReceived, networkType, phoneType and calls methods
and then added to XML. simID now checks whether
enabled in user configuration.
* src/pandroid/agent/setup.java: Added spinner for task
selection.
* src/pandroid/agent/SMSActivity.java: removed
* src/pandroid/agent/SMSBroadcastReceiver.java: upon
receiving a smsreceived intent, increments the stored
number of smsReceived.
* src/pandroid/agent/status.java: Added textviews for
new methods mentioned above.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 02:47:47 +02:00
|
|
|
/>
|
2012-07-04 03:32:06 +02:00
|
|
|
|
|
|
|
|
2012-07-09 10:35:48 +02:00
|
|
|
|
2011-10-12 20:58:48 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|