maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] 1Up: Simple counting app hosting some nice features (https://talk.maemo.org/showthread.php?t=58373)

antoarts 2010-07-13 16:06

[ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
4 Attachment(s)
Good day fellow maemoers!

I created this simple app quite so quickly, but it seems stable and bug free to me and it also hosts some nice features.

It's a counting app, and the UI contains just a button with a number (other than the app menu). Clicking that button increases that number by one (counts up). It can be useful for counting visitors coming to an event you're hosting or similiar, basically anywhere you need to do simple counting (you can do it in your head, but sometimes you don't want to get lost, and sometimes it can be a whole lot easier to just tap a screen).

Other features, than the button with basic counting are:
  • Save/load: will ask if you want to save your count when exiting. It will then automatically load that the next time you launch the application
  • Subtract by one: subtracts one from your count. Good if you mistakely hit the screen
  • Set value: will set the value to whatever you want
  • Reset count: resets the count to zero, if you want to start from the begining
  • Copy to clipboard: copies the current state (number) your count is at so you can paste that text into another application
  • Portrait mode support: all parts of the application are 100% usable in portrait and landscape mode. Screen is automatically rotated, as you would expect
The following are new in v1.1:
  • Keyboard controls support
  • Volume/zoom keys support
  • Confirm on reset
  • Note saying the app has copied the value to the clipboard when it has done that


I will very much appreciate your ideas (although I want to keep this application simple, but that doesn't mean it isn't allowed to have some good features in it) and reports about any bugs you have experienced while using this application. Hope you will have some use of it! :)

*Extras version (1.0)
*Extras Testing version (v1.1)

Last but not least, some screenshots:

ToJa92 2010-07-13 16:24

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Although I don't need it, why not use the accelerometer? Shake, then count++. With an option to turn it off, obviously. Rotating the screen could be done with a menu option, right?

antoarts 2010-07-13 16:27

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Quote:

Originally Posted by ToJa92 (Post 750522)
Although I don't need it, why not use the accelerometer? Shake, then count++. With an option to turn it off, obviously. Rotating the screen could be done with a menu option, right?

Quite a good idea, I will think about that whenever I start working on a new version ;)

ToJa92 2010-07-13 16:33

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Quote:

Originally Posted by antoarts (Post 750525)
Quite a good idea, I will think about that whenever I start working on a new version ;)

If you add this, consider adding a sensitivity option as well, like the Pedometer widget does(that way you can control how easy it should be to add one to the count).

albertozerox 2010-07-14 11:20

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
install but when you open closes

antoarts 2010-07-14 11:31

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Launch it from the terminal:

python2.5 /opt/oneup/one_up.py

what do you get for output in the terminal?

Bingley Joe 2010-07-14 12:34

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
I've used the counting app from Ovi a number of times, and the one thing I've noticed every time is that tapping the screen can be a bit hit-or-miss (so to speak ;)) sometimes..

Since your app seems to already put that one to shame with features, why not add one more:

Allow the use of the rocker (volume) buttons to count up/down

That would be much more reliable IMO.

antoarts 2010-07-14 13:37

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Quote:

Originally Posted by Bingley Joe (Post 751434)
I've used the counting app from Ovi a number of times, and the one thing I've noticed every time is that tapping the screen can be a bit hit-or-miss (so to speak ;)) sometimes..

Since your app seems to already put that one to shame with features, why not add one more:

Allow the use of the rocker (volume) buttons to count up/down

That would be much more reliable IMO.

Thanks for that request as well, good idea IMO ;)

antoarts 2010-07-14 14:24

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
I think I have found the problem. It lies within portrait.py (file to turn device into portrait). It imports gpodder, as this script was originally for gpodder, but the program now won't start on devices without gpodder installed. Will upload a new version within some moments, sorry :(

cashclientel 2010-07-14 14:59

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
two small ideas/thoughts;
an "undo" button for if the reset is accidentally hit.
if the app crashes of the phone dies will the program remember its place?

antoarts 2010-07-14 15:05

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Quote:

Originally Posted by cashclientel (Post 751615)
two small ideas/thoughts;
an "undo" button for if the reset is accidentally hit.
if the app crashes of the phone dies will the program remember its place?

1) I could add that, but even easier would be to just add a confirmation box to the reset option, and I think I will do that
2) No, the application resets the value stored instantly after it has been loaded into memory. I will look into changing that.

antoarts 2010-07-14 19:56

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Ok folks, it apparently took longer than it should've taken, but a fixed version is available in extras testing. Try it if you did experience issues, and vote :)

antoarts 2010-08-14 18:15

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Version 1.1 is out featuring keyboard controls, zoom/volume keys control, confirmation on reset, confirmative text saying that the value has been copied to the clipboard and some other things.

It can be found in extras testing & devel. Also the first version (v1.0) can now be found in extras! Thanks everyone for testing this out and voting, as well as everyone giving great feedback :)

zimon 2010-09-22 13:53

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
A feature requst:

(edit: A - absolute limit)
A settable limit, which when is reached, will play a sound (configurable audio file) and/or vibrate the phone (silently).
A toggle on there also, whether to stop counting after the limit, or continue counting. If stop was wanted, vibrate or play the sound again when touched, so the user really notices (s)he has reached the limit.

One use case for this 1up is that you do not want to look at the screen when counting something, but when the limit is reached, you would want to know.

(edit: B - periodic limit)
Also to develop that futher: a settable periodic alarm. Say, play a sound or vibrate for every 12 counts. (12, 24, 36, 48, ...)

Edit: actually, both can be combined, so there is either absolute limit (A) or periodic limit (B). Absolute limit won't continue counting after a limit but alarm again and again if tried, but periodic limit will allow to calculate futher and alarms again when next time the limit is reached.

zimon 2010-10-06 16:25

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Another feature request: Configurable classes of things to count.
So, the screen would be optionally divided to 2, 4, 6, 8, 12, 16 "big" different coloured sections and each of them would have its own counter.

The alarms and limits could be common for all sections to keep it simple.

An example: one is a door monkey and want's to count how many guys and girls gets in.

pelago 2010-10-30 19:33

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
I don't know if this app is still being worked on, but I have some bugs reports/feature suggestions:
  • The prompt to save would look neater if it appeared before closing the window. This would also allow the user to click outside the dialogue box to not quit after all
  • I believe Maemo style guide says that the "Set value" menu item shouldn't have "..." after it
  • The "Copy to Clipboard" menu item shouldn't have second capital C
  • Set value text box should only accept numbers
  • Save file /home/user/MyDocs/one_up_count would be better as something like /home/user/.one_up_count so that it isn't visible to the user
  • The fullscreen flash is distracting - I realise that's because you're using a standard button widget so this may not be easy to fix
  • It would be nice to have an About menu option
  • Have setting whether to save on exit: Yes, No, or Prompt (as current)
  • Setting to make a little sound (different for add/subtract), so can use confidently without looking at screen
  • Setting to not blank screen while app is in the foreground (the same way that media players don't blank the screen), or make the app work if screen blanked (not sure if the latter is possible), so that if the user is counting things that happen less frequently than their screen timeout, they don't have to keep unlocking the screen
  • Ctrl+V to paste (i.e. like Set value but working directly on main screen). Maybe Ctrl+X to copy to clipboard and reset to zero at the same time
  • Handle large numbers better, maybe by reducing the font size, or wrapping to a second line
  • Font/colour options
  • Orientation settings of Landscape, Portrait, and Auto, to allow the user to stick the orientation in, for example, portrait, which helps them use it without looking at the screen so they know that one direction on the rocker will always increment the number whichever way they hold the device
  • Keyboard Controls menu item shouldn't have capital C. The help text itself could be displayed a little better
Hope this helps.

shazosbourne 2010-11-20 22:10

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
Wrong thread. Sorry.

www.rzr.online.fr 2012-01-22 22:55

Re: [ANNOUNCE] 1Up: Simple counting app hosting some nice features
 
did rebuilt it for harmattan wanna test it ?


All times are GMT. The time now is 20:08.

vBulletin® Version 3.8.8