My project is a map fuel injection controller for my motorcycle.
I already have a basic application functionnal, I need to add the following:
I want an activity that displays an array of integers (in a singleton class, global to all activities in the application), 30x28, with scrollbar (honrizontal + vertical) , just like in an excell sheet.
1- I need to be able to edit each cell content with a numeric keypad which will modify the corresponding value in the data array
2- my cell phone has 480 x 800 pixels, I want pinch and zoom to be able to zoom out see all cells in the activity, or zoom in to be able to see less cells but more clarity. (see sattached landscape image)
3a- the left column contains fixed values, i.e. throttle position.
3b- the top row contains fixed values, motor RPM band.
3c- when scrolling, the left column and top row must always remain visible.
4- each cell background color is determined by the value in it (the number in the cell),
formula being: [url removed, login to view]( [url removed, login to view](120+(row_number*4), 255-(column_number*5), 0xFF) );
In fact I started to write the activity (see in [url removed, login to view]) with a tableLayout made with textviews, but both vertical and horizontal scrolls screwed me up completely, since when I scroll AFTER a zoom, the scrolls do not resize automatically.
I have waisted enough time with it.
Can somebody write the code for that, and how much would it cost ?
PS: the array is by default 30x28, but could be changed by interface in an other activity, so it has to be coded, not drawn it the layout "XML" editor.