2011-01-26 20:15:48 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-07-09 10:35:48 +02:00
|
|
|
<!--
|
|
|
|
// 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.
|
|
|
|
-->
|
2011-01-26 20:15:48 +01:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="pandroid.agent"
|
2011-10-28 12:12:23 +02:00
|
|
|
android:versionCode="2"
|
|
|
|
android:versionName="1.5">
|
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
|
|
|
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name">
|
2011-10-12 20:58:48 +02:00
|
|
|
<activity
|
|
|
|
android:name=".PandroidAgent"
|
|
|
|
android:label="@string/app_name"
|
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:configChanges="keyboardHidden|orientation"
|
2011-10-12 20:58:48 +02:00
|
|
|
android:theme="@android:style/Theme.NoTitleBar"
|
|
|
|
>
|
2011-01-26 20:15:48 +01:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2011-10-12 20:58:48 +02:00
|
|
|
|
|
|
|
<activity android:name=".Status" />
|
|
|
|
<activity android:name=".Setup" />
|
|
|
|
|
2011-02-01 18:36:54 +01:00
|
|
|
<service android:enabled="true" android:name="pandroid.agent.PandroidAgentListener" />
|
|
|
|
<receiver android:name="pandroid.agent.EventReceiver" />
|
2012-08-24 03:43:50 +02:00
|
|
|
|
|
|
|
<receiver
|
|
|
|
android:name="pandroid.agent.StartMyServiceAtBootReceiver"
|
|
|
|
android:enabled="true"
|
|
|
|
android:exported="true"
|
|
|
|
android:label="StartMyServiceAtBootReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<service android:enabled="true" android:name="pandroid.agent.MyStartService" />
|
|
|
|
|
|
|
|
|
2011-10-20 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added new activies and permission of batery.
* src/pandroid/agent/PandroidAgent.java, src/pandroid/agent/Setup.java,
src/pandroid/agent/Status.java,
src/pandroid/agent/PandroidAgentListener.java,
src/pandroid/agent/EventReceiver.java, src/pandroid/agent/Help.java,
src/pandroid/agent/About.java: wip.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added strings and translations into spanish.
* res/menu/options_menu.xml: added a menu file.
* res/drawable-ldpi/help.png, res/drawable-ldpi/about.png,
res/drawable-ldpi/pandorafms_logo.png: added image files.
* res/layout/setup.xml, res/layout/status.xml, res/layout/help.xml,
res/layout/about.xml: wip and added the need layout for new activies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 15:01:42 +02:00
|
|
|
<activity
|
|
|
|
android:name=".About"
|
|
|
|
android:label="@string/pandroid_agent_str"
|
|
|
|
android:theme="@android:style/Theme.Dialog"
|
|
|
|
/>
|
|
|
|
<activity
|
|
|
|
android:name=".Help"
|
|
|
|
android:label="@string/help_str"
|
|
|
|
android:theme="@android:style/Theme.Dialog"
|
2012-06-20 00:37:03 +02:00
|
|
|
/>
|
|
|
|
|
|
|
|
<receiver android:name=".SMSBroadcastReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.provider.Telephony.SMS_RECEIVED"></action>
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
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
|
|
|
|
2011-01-26 20:15:48 +01:00
|
|
|
</application>
|
2011-02-01 18:36:54 +01:00
|
|
|
|
2011-10-12 20:58:48 +02:00
|
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
2011-02-07 17:53:49 +01:00
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
2011-09-30 10:35:34 +02:00
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
2011-10-12 20:58:48 +02:00
|
|
|
<uses-permission android:name="android.permission.GET_TASKS"/>
|
2011-10-20 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added new activies and permission of batery.
* src/pandroid/agent/PandroidAgent.java, src/pandroid/agent/Setup.java,
src/pandroid/agent/Status.java,
src/pandroid/agent/PandroidAgentListener.java,
src/pandroid/agent/EventReceiver.java, src/pandroid/agent/Help.java,
src/pandroid/agent/About.java: wip.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added strings and translations into spanish.
* res/menu/options_menu.xml: added a menu file.
* res/drawable-ldpi/help.png, res/drawable-ldpi/about.png,
res/drawable-ldpi/pandorafms_logo.png: added image files.
* res/layout/setup.xml, res/layout/status.xml, res/layout/help.xml,
res/layout/about.xml: wip and added the need layout for new activies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-20 15:01:42 +02:00
|
|
|
<uses-permission android:name="android.permission.BATTERY_STATS"/>
|
2012-06-20 00:37:03 +02:00
|
|
|
<uses-permission android:name="android.permission.RECEIVE_SMS"/>
|
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
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
2012-07-04 03:32:06 +02:00
|
|
|
<uses-permission android:name="android.permission.READ_SMS"/>
|
2012-08-24 03:43:50 +02:00
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
2012-08-03 06:54:40 +02:00
|
|
|
|
2011-02-07 17:53:49 +01:00
|
|
|
<uses-feature android:name="android.hardware.sensor.light" />
|
|
|
|
<uses-feature android:name="android.hardware.location" />
|
2011-02-07 18:44:13 +01:00
|
|
|
|
2011-09-30 10:35:34 +02:00
|
|
|
<uses-sdk android:minSdkVersion="8"/>
|
2011-01-26 20:15:48 +01:00
|
|
|
</manifest>
|