I’ve updated the roadmap – thought of another couple of things I wanted to add, so I’ve shoehorned them in. One of them is down as point 0.2 now, (“0.2 – Add edit note and add note to long press menu”). This I did last weekend, and uploaded the result to the android marketplace. The add note function was easy, as I could just copy the command from the menu item, but the edit note option took a little more thinking. Managed to get it in though, and updated to the market.
The next item on the list is a little more tricky (“0.3 – preserve notes after switch off, tickbox next to notes”). The notes are already preserved after switch off, it seems (I’m guessing that the database that the app creates is preserved somewhere on the SD card automatically – which is interesting as I don’t have permissions to write data).
On my current build at home, I’ve added the tickbox, but I want to get it to the right of the screen, rather than just after the text. Adding the tickbox seems to have broken the functionality of clicking or long clicking on the list items (possibly because rather than just a list item, there’s now a linear layout containing the list item and the tickbox), and if I want the tickbox to take on a value stored in the DB, I’m not too sure how to do it. I can get multiple values and use them to populate the list, but I think they need to be of the same type. The title is a string, and I don’t know if I can put a string and a boolean in an array together. I may need to store the current state of the tickbox as a string, and interpret when we come to display the list.
Planning on doing some more work on it on Sunday – with any luck, 0.3 will be released on time 🙂
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/33/d120862225/htdocs/zelazny/android/wp-includes/class-wp-comment-query.php on line 405