2012-07-09 Mark Holland * AndroidManifest.xml: Added Pandora FMS comment to header. * res/layout/About.xml: Swapped hardcoded text for strings. * res/layout/help.xml: Added scrollview. * res/layout/password_choose.xml: View for dialog when choosing whether to have a password. * res/layout/password_create.xml: Added textviews with instructions. * res/layout/password_entry.xml: Swapped hardcoded text for strings. * res/layout/setup.xml: Added checkboxes for all modules. * res/layout/setupnosim.xml: View that only shows checkboxes for modules that don't need a sim card present. * res/values/strings.xml: Updated help string (english only). Lots of new strings, also added to strings-en and strings-es. * src/pandroid/agent/About.java: Added Pandora FMS comment to header. * src/pandroid/agent/core.java: Added Pandora FMS comment to header. Added variable for hello signal. Added reporting variables for all modules. Changed alarm to be accessed in a static way. changed agent identifier from pandroid plus simID to pandroid plus install uid. * src/pandroid/agent/Help.java: Added Pandora FMS comment to header. * src/pandroid/agent/Installation.java: Calculates a unique installation uid. * src/pandroid/agent/PandroidAgent.java: hasSim now works whether phone without sim and also tablet without capability for sim card. On resume sets hello signal to 1. * src/pandroid/agent/PandroidAgentListener.java: Removed unnecessary variables, all defaults come from Core.java. Ensure Hello signal changed to 0 after every connection. Variables for all module reporting, data only added to xml if enabled in setup. * src/pandroid/agent/setup.java: Added Pandora FMS comment to header. Different views loaded depending on whether sim card is present. Added button for changing password. Added checkboxes for all modules. Added dialog for choosing whether to set a password. Added minimum password length and empty to remove password. Keyboard dismissed upon completing dialogs. * src/pandroid/agent/SMSBroadcastReceiver.java: Added Pandora FMS comment to header. * src/pandroid/agent/status.java: Added Pandora FMS comment to header. Remove incorrect toast message when pressing start button. 2012-07-04 Mark Holland * AndroidManifest.xml: Added permissions read_contacts and read_sms * res/layout/password_create.xml: Created view for password creation dialogue * res/layout/password_entry.xml: Created view for password entry dialogue * res/layout/status.xml: Converted most of data into a table layout * res/layout/statusnosim.xml: Created status view only showing the data avaliable when device has no sim card * res/values/strings.xml: Added strings for bytes sent/received and password dialogues * src/pandroid/agent/core.java: added variables for bytes sent/received, hasSim and password. Changed signal strength to integer. * src/pandroid/agent/PAndroidAgent.java: Added check if sim card present. Method for switching tabs from activities. * src/pandroid/agent/PandroidAgentListener.java: Added variables for bytes sent/received. Now if no sim card present SimID, NetworkOperator, SMSSent, NetworkType, PhoneType, SignalStrength, Calls, DataBytes modules aren't used or sent. * src/pandroid/agent/setup.java: Added methods for creating password and entering password when switching to setup tab(not completed). Added checkbox for simId and task reporting * src/pandroid/agent/status.java: Checks if sim present and displays view accordingly. 2012-06-26 Mark Holland * res/layout/setup.xml: Added checkboxes for simID and task reporting. * res/layout/status.xml: Added textviews for new data. * res/values/strings.xml: Added strings for smsReceived, networkType, phoneType and calls. Replicated in values-en and values-es. * 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. 2012-06-19 Mark Holland * res/layout.main.xml: removed as no longer used in pandroid 2.0 * res/values/strings.xml: Added strings for simID, upTime, start, loading and agent stopped. Replicated in values-en and values-es * src/pandroid/agent/core.java: Added variables for simID and upTime * src/pandroid/agent/PandroidAgent.java: commented out unnecessary code from version 1.0. Removed absolute tab height as it interferes with high density screens. * src/pandroid/agent/PandroidAgentListener.java: Android version is now set as per device rather than a fixed string. simID, upTime and networkOperator methods and then added to XML * src/pandroid/agent/setup.java: commented out unnecessary code from version 1.0 * src/pandroid/agent/SMSActivity.java: Started work * src/pandroid/agent/SMSBroadcastReceiver.java: Started work * src/pandroid/agent/status.java: Created onStart method to better follow android standard. run() is executed here. Fixed way toasts for connection messages are handled. Added textviews for simID and upTime values. added start/stop, show and hide XML buttons for debugging purposes. 2012-06-08 Sergio Martin * ChangeLog: Create the android agent change log file