Shift calendar

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
AZJIO
Addict
Addict
Posts: 1313
Joined: Sun May 14, 2017 1:48 am

Shift calendar

Post by AZJIO »

Shift calendar (first try)

Download Calendar (old): yandex upload.ee
Download CalendarAlarmPB (Windows, Linux): yandex upload.ee
Download for Android: yandex upload.ee

Specify the date of the first shift in the ini-file and the program will calculate from it.
Months must also be specified in the ini-file in your language.

Link to screenshot in Linux

Image Image
Last edited by AZJIO on Mon Mar 13, 2023 4:50 pm, edited 12 times in total.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5342
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Shift calendar

Post by Kwai chang caine »

Nice calandar, thanks for sharing 8)
ImageThe happiness is a road...
Not a destination
AZJIO
Addict
Addict
Posts: 1313
Joined: Sun May 14, 2017 1:48 am

Re: Shift calendar

Post by AZJIO »

Who wants to try this on a phone?
Download APK file and source for android
Fred
Administrator
Administrator
Posts: 16618
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Shift calendar

Post by Fred »

You should use Github, getting zip files from unknow source is not very encouraging
User avatar
Caronte3D
Addict
Addict
Posts: 1027
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Shift calendar

Post by Caronte3D »

I like to see all the code directly here in the forum :? except if it's to much large
AZJIO
Addict
Addict
Posts: 1313
Joined: Sun May 14, 2017 1:48 am

Re: Shift calendar

Post by AZJIO »

Any source over which I have no control is unreliable to me. I can control the reliability only by specifying the checksum, and after downloading, check it.
It is convenient for me to update files on this resource, I throw the file into the browser window and it replaces the old file with a new one.
On github, I don’t understand what’s going on, I don’t understand how it works, everything is in English there, maybe I haven’t grown up to this system yet. Many also upload their files in the cloud, even on this site.

I heard a request from many people to post it on github, but I could not understand the reason. Maybe to compare versions (?), to recognize authorship due to the first publication (?)
Caronte3D wrote: Fri Dec 16, 2022 1:00 pm I like to see all the code directly here in the forum :? except if it's to much large
Without an icon, the code is incomplete.

Update, now in the phone the choice of the month and year in the form of a menu as in the normal version for PC.
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: Shift calendar

Post by Bisonte »

AZJIO wrote: Fri Dec 16, 2022 1:58 pm I heard a request from many people to post it on github, but I could not understand the reason. Maybe to compare versions (?), to recognize authorship due to the first publication (?)
The reason for github : So that you can see in advance what it is and what the program might do. :!:
AZJIO wrote: Fri Dec 16, 2022 1:58 pm Without an icon, the code is incomplete.
Supplying an icon is not impossible here in the forum. Why do we have the "img" tags here ? ;)
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
User avatar
mk-soft
Always Here
Always Here
Posts: 5335
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Shift calendar

Post by mk-soft »

I have set up two sources for downloading my projects.
1. my own server at home (requires external DSN service and a decent internet connection and firewall).
2. a public folder at Microsoft OneDrive (anyone can set this up, all you need is a Microsoft account).
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
AZJIO
Addict
Addict
Posts: 1313
Joined: Sun May 14, 2017 1:48 am

Re: Shift calendar

Post by AZJIO »

Updated APK for phone.
Now there is an alarm clock for those who work on a 4-day shift. You can set an alarm for any day. When installing on your phone, enable it to run as a background process. They also say that on new phones there is a battery optimization, when the program is unloaded if the battery is low, it must also be allowed there.
See the Readme file for how to set up.
Last edited by AZJIO on Thu Jan 05, 2023 2:08 am, edited 2 times in total.
User avatar
Caronte3D
Addict
Addict
Posts: 1027
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Shift calendar

Post by Caronte3D »

How do you make an apk? SpiderBasic?
AZJIO
Addict
Addict
Posts: 1313
Joined: Sun May 14, 2017 1:48 am

Re: Shift calendar

Post by AZJIO »

Caronte3D wrote: Sun Jan 01, 2023 11:52 am How do you make an apk? SpiderBasic?
Yes that's right

Update
APK updates for android
Added "Style" item to easily select one of 7. In the "\assets\www\data\" folder, files 1 to 7 contain only color.
Style correction (css) - blue title, correct window lines, etc.
The background color of the calendar when the program starts is immediately black.
Increased menu font.

Added menu item "Save settings" for saving in the cache and subsequent reading of the data when the program starts..
Picking up the default settings in "\assets\www\data\set0.ini" at the first start allows you to repack the apk file with your settings.

Added reading parameters from ini-file (Cycle, Play, Snooze).
Added sorting alarms.
Added menu item "Set number of days", which defines a recurring cycle of shifts.

Added button - Postpone the timer for 10, 20, 30, 60 minutes.
Correction of the timer, now it periodically restarts to check the time in order to be executed accurately.
AZJIO
Addict
Addict
Posts: 1313
Joined: Sun May 14, 2017 1:48 am

Re: Shift calendar

Post by AZJIO »

Updated for Windows, Linux. Now all the features that are in the APK have been transferred to the program for Windows and Linux.
Updated. +DPI
Post Reply