how to go about this one

Cableguy

Expert
Licensed User
Longtime User
Hi guys... making some noise!!

I have an idea for an app, to show/maitain the schedule of a Shift-Worker...
I'm taking as an example a friend of mine who is a nurse in an hospital in his twon, and also works in a health related call-center... all by shifts, wich sometimes are dificult to get right for him...
So i started thinking about how to tackle the subject...
To display a calendar is something not that hard to do, but I want to over-impose the shifts... Something like this
sample.png

The shifts will be represented by the 3 colored bars below the day number, and their length will be variable...
I know I can put sveral views on top of each other, but with about 40 of these in one calendar may take a while to populate...
I stated wondering about the OpenGL,if it would be faster and how to achieve this, but I realy know NOTHING about OpenGL...
Inputs, links, etc...are welcome
 

klaus

Expert
Licensed User
Longtime User
Hi Paulo,
Nice to see you back.
It wouldn't be complicated to simply draw the different informations either on a Panel or directly on the Activty with a Canvas.
How many days would you like to have at the same time on the screen?
Even with a 1 day, 1week and 1 month display it wouldn't be complicated to update the different screens.
How do you imagine the data structure ?

Best regards.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
I am thinking on saving the info in a small db, so it would be easier to fetch/update the data as needed... The exact format is still to be thought of.
I imagine tthe app working like a "normal" pocket agenda would, with a montly view, then detailing in the "day view", chosen by the user...

Since this is a "niche" app, I am considering making it available on the market, with both free and payed version...
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Hi Paulo,
I played a bit with your project and made a small demonstrator showing what can be done with drawings.
The program shows a whole month.
The user can:
- select a day and show it in a big picture.
- change the month by 'sliding' with the finger.
- when one day is displayed change the day by 'sliding' with the finger.
- a long click shows a screen to modify the shift states.

Best regards.
 

Attachments

  • Scheduler.zip
    11.4 KB · Views: 171
  • Scheduler0.jpg
    Scheduler0.jpg
    68.5 KB · Views: 203
  • Scheduler1.jpg
    Scheduler1.jpg
    51.8 KB · Views: 173
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
You're NO FUN!!!:sign0188:

Just kidding, obviously... I will have a look at your demonstrator, and take ideas from it... For the moment I am concentrating on the graphical aspect of things, and adjustind the 42+7 Labels that make up my calendar, wich will be based on (i believe to be ) corwin's date/time picker...
I'm planning to create/test th DB in the weekend just to see it suites my needs..
 
Upvote 0
Top