Commit Graph

76 Commits

Author SHA1 Message Date
santimunin 04cb80614d 2012-06-01 Santiago Munín <burnin1@gmail.com>
* Little changes on the whole app: Fixed some Lint errors.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-01 13:48:48 +00:00
santimunin 75ebce15a2 2012-06-01 Santiago Munin <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Core.java: Added image setting methods.
	* src/pandroid_event_viewer/pandorafms/EventList.java: Removed image setting methods.
	* res/layout/item_list_event_layout.xml: Removed not needed ImageViews.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-01 12:30:33 +00:00
santimunin 9e3000e6e8 2012-05-31 Santiago Munín <burnin1@gmail.com>
* src/pandroid_event_viewer/pandorafms/Main.java: Added tag retrieving.
	* res/layout/main.xml: Added tags' spinner.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-31 17:19:05 +00:00
santimunin e9a8e26a7e 2012-05-30 Santiago Munin <burnin1@gmail.com>
* 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
2012-05-30 11:40:24 +00:00
santimunin 2a29945239 2012-05-29 Santiago Munin <burnin1@gmail.com>
*src/pandrod_event_viewer/pandorafms/EventList.java: Now tags are links to their urls (if have).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-29 17:11:17 +00:00
santimunin 28f0284bc3 2012-05-25 Santiago Munín <burning1@gmail.com>
* 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
2012-05-25 10:06:48 +00:00
santimunin 64f1128125 2012-05-22 Santiago Munín <burning1@gmail.com>
* PandroidEventviewerService.java, PandroidEventviewerActivity.java: Added group filter.
	* res/layout/main.xml: Enabled group spinner.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-22 14:53:15 +00:00
santimunin 6283e5052f 2012-05-12 Santiago Munín <burning1@gmail.com>
* 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
2012-05-14 11:59:53 +00:00
mdtrooper d38a58a439 2012-12-27 Miguel de Dios <miguel.dedios@artica.es>
* 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
2012-04-27 12:30:31 +00:00
mdtrooper bb90e4b4ba 2011-10-24 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-10-24 16:26:51 +00:00
mdtrooper 67b703a844 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-10-05 12:08:33 +00:00
mdtrooper 04a087959d 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* src/pandroid_event_viewer/pandorafms/PandroidEventviewerActivity.java
	
	* res/layout/about.xml: upload the file again.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-04 15:41:32 +00:00
mdtrooper 575516b858 2011-10-04 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-10-04 14:23:25 +00:00
mdtrooper 1904727957 2011-10-03 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added permission to vibrate 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/Options.java,
	src/pandroid_event_viewer/pandorafms/EventListItem.java,
	src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more values.
	
	* res/drawable-ldpi/tick_off.png, res/drawable-ldpi/tick.png: added images.
	
	* res/layout/list_view_layout.xml, res/layout/item_list_event_layout.xml,
	res/layout/item_list_event_extended.xml: wip and fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-10-03 19:51:37 +00:00
mdtrooper 724f3bc406 2011-09-30 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: level up the sdk requirements.
	
	* 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/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more values.
	
	* res/layout/item_list_event_extended.xml: wip and fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-30 12:17:47 +00:00
mdtrooper 1e16be6ddd 2011-09-29 Miguel de Dios <miguel.dedios@artica.es>
* AndroidManifest.xml: added activity about.
	
	* 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/EventList.java: wip and fixes.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings and array values.

	* res/menu/options_menu_list_events.xml,
	res/menu/options_menu.xml: added about menu

	* 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,
	res/drawable-ldpi/pandorafms_logo.png: change the images.

	* res/drawable-ldpi/about.png: added image.
	
	* res/layout/item_list_event_extended.xml, res/layout/about.xml: added about
	and fixes the extended view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-29 15:33:15 +00:00
mdtrooper a54cb57c32 2011-09-28 Miguel de Dios <miguel.dedios@artica.es>
* 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/Options.java,
	src/pandroid_event_viewer/pandorafms/EventList.java: wip and fixes.
	
	* res/values/strings.xml, res/values-en/strings.xml,
	res/values-es/strings.xml: added more strings and array values. 
	
	* res/menu/options_menu_list_events.xml: added custom menu for event list.

	* res/drawable-ldpi/refresh.png: icon for the refresh.
	
	* res/layout/main.xml, res/layout/options.xml: modify the layer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-28 17:23:19 +00:00
mdtrooper 20741b2cd3 2011-09-27 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-27 16:50:19 +00:00
mdtrooper 0e25e30995 2011-09-23 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-23 20:53:46 +00:00
mdtrooper c8d65de5c1 2011-09-22 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-22 21:31:45 +00:00
mdtrooper 094b4e06f7 2011-09-21 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-21 20:50:34 +00:00
mdtrooper af9bb24f5a 2011-09-20 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-20 14:49:05 +00:00
mdtrooper 8fda5a8933 2011-09-19 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-19 09:52:18 +00:00
mdtrooper 8f3817d4e3 2011-09-16 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-16 11:19:54 +00:00
mdtrooper 9731f86ab6 2011-09-15 Miguel de Dios <miguel.dedios@artica.es>
* 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
2011-09-15 13:34:52 +00:00
mdtrooper c66e51bb5b 2011-09-13 Miguel de Dios <miguel.dedios@artica.es>
* *.*: added first version of Pandroid Event Viewer.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-13 14:33:44 +00:00