Android development contribution

Started by Marco Incalcaterra, January 14, 2012, 09:32:58 PM

Previous topic - Next topic

Marco Incalcaterra

Hi Victor,

I had a look into the sources for the Android console, I'm not familiar with Android programming but I modified the original version to add a couple of features:

1) When clicking on a notification it goes directly to the alarm view (no more on the main menu)
2) From the alarm list it is possible to jump directly to the last values for the node that has generated the alarm
3) From the last values view it is possible to select one of the last values reported and draw a graph (currently it is possible to select last: 30min, 1hour, 2hours, 4hours, 1day and 1week)

Graph section should be improved but I guess that for now it's enough to show trend of values. It is currently based on the GraphViewLibrary of Jonas Gehring (http://www.jjoe64.com/p/graphview-library.html), published under LGPL.

I don't have much free time but I will be glad to continue if there are no restrictions. Before going on please let me know if my contribution can be useful and how can I send it to you for evaluation.

Best regards,
Marco.


Victor Kirhenshtein

Hi!

That's excellent news! There are no restrictions, and I'm very happy that someone will take care about Android client. I have a lot of work with the core and main UI. For now, you can send me your modified version, and if you plan to continue development, I'll ask Alex to assign you commit rights for svn repository.

Best regards,
Victor

Marco Incalcaterra

Quote from: Victor Kirhenshtein on January 15, 2012, 12:24:16 AM
Hi!

That's excellent news! There are no restrictions, and I'm very happy that someone will take care about Android client. I have a lot of work with the core and main UI. For now, you can send me your modified version, and if you plan to continue development, I'll ask Alex to assign you commit rights for svn repository.

Best regards,
Victor


Hi Victor,

here attached you can find the package as modified by me. Since I'm a newbie to Android programming and to NetXMS API, maybe there are bad things I did. Hope you can have a look and suggest changes so that I can go in the right direction (graph section it's really rough, it has to be enhanced).

Best regards,
Marco

Victor Kirhenshtein

Hi!

Graphs looks great! I can imagine a lot of things to enhance (first thing that comes to my mind is to implement scrollable/zoomable graphs, which GraphView supports), but I like the direction. I'm not an Android development guru either, so we are in same position here.

For now, I have committed your changes into subversion, and publish new console on a web site (as an 1.1.9 version). Please send me your desired login name for subversion so you be able to commit changes directly.

Best regards,
Victor