2012-07-09 10:35: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
|
2013-05-14 08:59:20 +02:00
|
|
|
// GNU General Public License for more details.
|
|
|
|
-->
|
2012-08-03 06:54:40 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:id="@+id/setupnosim"
|
|
|
|
android:layout_width="fill_parent"
|
2013-05-14 08:59:20 +02:00
|
|
|
android:layout_height="fill_parent" >
|
2012-08-03 06:54:40 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent" >
|
|
|
|
|
|
|
|
<ScrollView
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent" >
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical" >
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2013-04-28 03:57:17 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkNotification"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-14 08:59:20 +02:00
|
|
|
android:paddingTop="5sp"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/notificationCheck"
|
|
|
|
android:textColor="#bbbbbb"
|
2013-05-14 08:59:20 +02:00
|
|
|
android:textSize="14sp" />
|
2012-08-03 06:54:40 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/field1"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingTop="5dp"
|
|
|
|
android:text="@string/serverAddr" />
|
|
|
|
|
|
|
|
<EditText
|
|
|
|
android:id="@+id/serverAddrInput"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-05-14 08:59:20 +02:00
|
|
|
android:inputType="textNoSuggestions"
|
2012-08-03 06:54:40 +02:00
|
|
|
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:inputType="number"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<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:inputType="number"
|
|
|
|
android:singleLine="true" />
|
|
|
|
|
|
|
|
<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"
|
2013-05-14 08:59:20 +02:00
|
|
|
android:inputType="textNoSuggestions"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:singleLine="true" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-03 06:54:40 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/field5"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/bufferSize" />
|
2012-08-03 06:54:40 +02:00
|
|
|
|
|
|
|
<EditText
|
2013-04-28 03:57:17 +02:00
|
|
|
android:id="@+id/bufferSize"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:inputType="number"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:singleLine="true" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2013-04-27 07:53:47 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/field6"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/mobileWebURL" />
|
2013-04-27 07:53:47 +02:00
|
|
|
|
|
|
|
<EditText
|
2013-04-28 03:57:17 +02:00
|
|
|
android:id="@+id/mobileWebURLInput"
|
2013-04-27 07:53:47 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:inputType="textUri"
|
2013-04-27 07:53:47 +02:00
|
|
|
android:singleLine="true" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-03 06:54:40 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/goToWebButton"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/go_to_web" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2013-04-28 03:57:17 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/field7"
|
|
|
|
android:layout_width="fill_parent"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/taskToReport" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-19 Mark Holland <mark@mark-holland.me.uk>
* res/layout/drawable-hdpi: Added help and about icons
from sdk
* res/layout/drawable-ldpi: Added new vector images.
Added help and about icons from sdk.
* res/layout/drawable-mdpi:Added help and about icons
from sdk.
* res/layout/drawable-xhdpi: Added new higher
resolution images. Added help and about icons from sdk
* res/layout/password_choose.xml: UI tweak
* res/layout/password_create.xml: UI tweak
* res/layout/setup.xml: Changed webURL id, moved position
of task spinner.
* res/layout/setupnosim.xml: Changed webURL id, moved
position of task spinner.
* res/layout/status.xml: Removed start, stop, show and
hide xml buttons.
* res/layout/statusnosim.xml: Removed start, stop, show
and hide xml buttons.
* res/layout/welcome.xml: Added splash screen view with
pandroid logo and version 3.0 text.
* res/values/strings.xml: Changed order of strings to be
more structured, removed unused correct_update string,
fixed the "..." in loading string, fixed copyright symbol,
added strings for seconds, runnning and stopped that were
previously hardcoded, fixed apostrophe in don't.
* res/values-de/strings.xml: Added strings for German locale
* res/values-es/strings.xml: Added strings for Spanish locale
* res/values-fr/strings.xml: Added strings for French locale
* res/values-it/strings.xml: Added strings for Italian locale
* res/values-ja/strings.xml: Added strings for Japanese locale
* res/values-pt/strings.xml: Added strings for Portuguese locale
* res/values-zh/strings.xml: Added strings for Chinese(simplified)
locale
* src/pandroid/agent/About.java: Changed URL to pandorafms.com from
.org
* src/pandroid/agent/core.java: Changed mobile url variable,
* src/pandroid/agent/Installation.java: Added comment explaining class.
* src/pandroid/agent/PandroidAgent.java: Added splash screen dialog
* src/pandroid/agent/PandroidAgentListener.java: Added loading toast on
connect, moved contact into an asynctask, added application inventory to
xml(app name;version;package name), fixed battery level to work on first
connect, made all get methods private.
* src/pandroid/agent/setup.java: Auto add http:// to mobile web url.
* src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name.
* src/pandroid/agent/status.java: swapped hardcoded strings to ones from
res.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 08:23:11 +02:00
|
|
|
<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>
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
<CheckBox
|
2013-04-28 03:57:17 +02:00
|
|
|
android:id="@+id/checkTaskReport"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/taskReport"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:textColor="#bbbbbb"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
<CheckBox
|
2013-04-28 03:57:17 +02:00
|
|
|
android:id="@+id/checkGpsReport"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/gpsReport"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:textColor="#bbbbbb"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBatteryLevelReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/BatteryLevelReport"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
android:textSize="14sp" />
|
2012-08-03 06:54:40 +02:00
|
|
|
|
2013-04-28 03:57:17 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkMemoryReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/memoryReport"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
android:textSize="14sp" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-03 06:54:40 +02:00
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkDeviceUpTimeReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/uptimeReport"
|
|
|
|
android:textColor="#bbbbbb"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:textSize="14sp" />
|
2013-12-11 13:45:11 +01:00
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBytesReceivedReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/BytesReceivedReport"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
android:textSize="14sp" />
|
|
|
|
|
|
|
|
<CheckBox
|
|
|
|
android:id="@+id/checkBytesSentReport"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/BytesSentReport"
|
|
|
|
android:textColor="#bbbbbb"
|
|
|
|
android:textSize="14sp" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-03 06:54:40 +02:00
|
|
|
<CheckBox
|
2013-04-28 03:57:17 +02:00
|
|
|
android:id="@+id/checkInventoryReport"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/InventoryReport"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:textColor="#bbbbbb"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:textSize="14sp" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
<CheckBox
|
2013-04-28 03:57:17 +02:00
|
|
|
android:id="@+id/checkHelloSignalReport"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:text="@string/HelloSignalReport"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:textColor="#bbbbbb"
|
2013-04-28 03:57:17 +02:00
|
|
|
android:textSize="14sp" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/update"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/update" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
2012-08-03 06:54:40 +02:00
|
|
|
<Button
|
|
|
|
android:id="@+id/set_password"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/set_password" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
|
|
|
<Button
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:id="@+id/stopAgent"
|
2012-08-03 06:54:40 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:text="@string/stopAgent" />
|
2013-05-14 08:59:20 +02:00
|
|
|
|
|
|
|
<Button
|
2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
ic_launcher
* res/drawable-hdpi: Added notification icon
* res/drawable-ldpi: Added notification icon
* res/drawable-mdpi: Added notification icon
* res/drawable-xhdpi: Added notification icon
* res/layout/setup.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/layout/setupnosim.xml: Added inventory report checkbox,
notification checkbox and stop/restart listener buttons.
* res/values/strings.xml: Added strings for notification and
stop/restart buttons, reflected in all locales
* src/pandroid/agent/core.java: Added variables for notification
and inventory report, fixed agentname, mobileurl mixup.
* src/pandroid/agent/PandroidAgent.java: Removed splash screen,
Added check if app launched before and only restarts listener in
this case. Added onPause and onDestroy methods to ensure no settings
loss.
* src/pandroid/agent/PandroidAgentListener.java: Added optional
notification when pandroid alarm is enabled, removed loading toast,
added inventory enabled check, added cancel notification method,
changed xml format to utf-8(untested)
* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or
https:// then http:// added automatically. Added stop/restart listener
buttons, added inventory report and notification checkbox
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 04:57:53 +02:00
|
|
|
android:id="@+id/restartAgent"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/restartAgent" />
|
2012-08-03 06:54:40 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</RelativeLayout>
|