* src/pandroid_event_viewer/pandorafms/EventList.java: Removed unused methods and added two that will set images to the left of some textviews.
* res/layout/item_list_event_extended.xml: Refactored some linear layouts with textviews and imageviews. Now, it is a single textview with an image on the left.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6365 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/Options.java: Added the option to show or hide advanced options (filter view).
* res/layout/options.xml: Checkbox to select show or hide advanced options.
* res/layout/main.xml: Show/hide advanced options (layout) and tag filter.
* res/values/strings.xml: Added new entries.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java: Adapted event parsing to Pandora FMS v5 and added the tag filter.
* src/pandroid_event_viewer/pandorafms/Main.java: Now, removes advanced filter options if "hide advanced options" is selected in options view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Licenses and javadoc comments added to all files, refactorized code.
* Main.java: fixed a bug which was making the app crash when "Reset" button was clicked.
* res/drawable-ldpi/help.png,
res/drawable-ldpi/cross.png,
res/drawable-ldpi/ok.png,
res/values/styles.xml: Added in order to build the new notification options' UI.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml,
src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/About.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/Info.java,
src/pandroid_event_viewer/pandorafms/EventList.java,
res/values/strings.xml,res/values-en/strings.xml,
res/values-es/strings.xml,res/layout/info.xml: fixed some things and
added more stability and a pretty splashscreen.
MERGED FROM BRANCH 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: update num version.
* res/layout/main.xml: hidden the group for this version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/values/arrays.xml, res/values-en/arrays.xml,
res/values-es/arrays.xml: disabled the element search "all events" for the
actual version Pandora API.
* src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes.
* res/layout/item_list_event_extended.xml: added the style to comments for
avoid overflow in the width dimension.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5040 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
fixed to show "unknow event" when fail the scan of events.
* res/layout/about.xml: added the logo and wrote the company's short name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: change for avoid the crash when rotate mobile.
* src/pandroid_event_viewer/pandorafms/PopupValidationEvent.java,
src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Core.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes, now it
is the first version funcionality of Pandora Event Viewer....I hope.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml: added more strings and array values.
* res/layout/main.xml, res/layout/item_list_event_extended.xml,
res/layout/popup_validation_event.xml: change and added layouts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip in the event
notification, now there are notifications and need that I develop the
hook to activity list event.
* src/pandroid_event_viewer/pandorafms/Core.java: move some functions to
this file for use in other class.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more string values.
* res/drawable-ldpi/criticity_0.png, res/drawable-ldpi/criticity_1.png,
res/drawable-ldpi/criticity_2.png, res/drawable-ldpi/criticity_3.png,
res/drawable-ldpi/criticity_4.png, res/drawable-ldpi/criticity_default.png:
added first version of icons for the notifications.
* res/layout/main.xml: added a third button, the filter, to set the actual
search as filter for the background event watcher.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: added the lines for the service and broadcastreciver.
*src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/AlarmReceiver.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/PandroidEventviewerService.java,
src/pandroid_event_viewer/pandorafms/Options.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip, added the first
version of service to scan in background the event and other fixes and
devs.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml, res/layout/options.xml: added more const.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java,
src/pandroid_event_viewer/pandorafms/EventListItem.java,
src/pandroid_event_viewer/pandorafms/EventList.java: wip, now the list
events run fine, and get asynchronous events and added some checks.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings.
* res/layout/list_view_layout.xml,
res/layout/item_list_event_layout.xml: changes for to show the buttons and
messages.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java: wip
the background execution to get events,
* src/pandroid_event_viewer/pandorafms/Main.java, res/layout/main.xml: added
code to get groups in background process.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: added Options activity.
* src/pandroid_event_viewer/pandorafms/Options.java, res/layout/options.xml:
added ctivity Options to edit application preferences.
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java,
src/pandroid_event_viewer/pandorafms/Main.java: added to hook for the
options activity.
* src/pandroid_event_viewer/pandorafms/EventList.java
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added some strings const.
* res/menu/options_menu.xml: the sublayout for the option key.
*res/layout/list_view_layout.xml: started to show dinamic load items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java:
added to use the PandroidEventviewerActivity class in other parts in
proyect.
* src/pandroid_event_viewer/pandorafms/Main.java: work in progress in the
form, now only I need to write the filter call.
* res/values/arrays.xml, res/values/strings.xml, res/values-en/arrays.xml,
res/values-en/strings.xml, res/values-es/arrays.xml,
res/values-es/strings.xml, res/layout/main.xml: added more values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* res/layout/*: added new layout and some changes in other layout.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added more strings.
* src/pandroid_event_viewer/pandorafms/*: some changes to show opened item
when make click in event list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f