W whoami0260 New Member Sep 8, 2017 #1 hi im a newbie in b4a.. our teacher want us to add a calendar in our project. can you teach me how to create a calendar.. thanks in advance
hi im a newbie in b4a.. our teacher want us to add a calendar in our project. can you teach me how to create a calendar.. thanks in advance
BillMeyer Well-Known Member Licensed User Longtime User Sep 8, 2017 #2 Welcome Here Newbie !! In the top right corner of this forum, there is a search field. I put "Calendar" in there and it came back with this: https://www.b4x.com/android/forum/threads/calendar-library.12495/ I trust this will help you. Upvote 0
Welcome Here Newbie !! In the top right corner of this forum, there is a search field. I put "Calendar" in there and it came back with this: https://www.b4x.com/android/forum/threads/calendar-library.12495/ I trust this will help you.
Star-Dust Expert Licensed User Longtime User Sep 8, 2017 #3 whoami0260 said: hi im a newbie in b4a.. our teacher want us to add a calendar in our project. can you teach me how to create a calendar.. thanks in advance Click to expand... B44 Code Snipped https://www.b4x.com/android/forum/threads/sd-datedialog-calendar-picker.79007/ Library https://www.b4x.com/android/forum/threads/sd-dialogs.80529/#content Upvote 0
whoami0260 said: hi im a newbie in b4a.. our teacher want us to add a calendar in our project. can you teach me how to create a calendar.. thanks in advance Click to expand... B44 Code Snipped https://www.b4x.com/android/forum/threads/sd-datedialog-calendar-picker.79007/ Library https://www.b4x.com/android/forum/threads/sd-dialogs.80529/#content
eps Expert Licensed User Longtime User Sep 8, 2017 #4 Although some caution with that link - Calendar access in the 'early days' was undocumented and then changed and permissions etc changed. Upvote 0
Although some caution with that link - Calendar access in the 'early days' was undocumented and then changed and permissions etc changed.
An Schi Well-Known Member Licensed User Sep 8, 2017 #5 He won't be able to download libraries as non-licensed member. Upvote 0
Star-Dust Expert Licensed User Longtime User Sep 8, 2017 #6 An Schi said: He won't be able to download libraries as non-licensed member. Click to expand... But you can download Code snippets Upvote 0
An Schi said: He won't be able to download libraries as non-licensed member. Click to expand... But you can download Code snippets
OliverA Expert Licensed User Longtime User Sep 9, 2017 #8 whoami0260 said: our teacher want us to add a calendar in our project Click to expand... Curiosity: Is your class is using B4A or are you using B4a (on your on volition) for the class project? Does the teacher want you to use a library or come up with something from scratch? Upvote 0
whoami0260 said: our teacher want us to add a calendar in our project Click to expand... Curiosity: Is your class is using B4A or are you using B4a (on your on volition) for the class project? Does the teacher want you to use a library or come up with something from scratch?
KMatle Expert Licensed User Longtime User Sep 9, 2017 #9 OliverA said: come up with something from scratch Click to expand... I assume the teacher wants them to create (not copy & paste) a calendar. So @whoami0260 : As a month has 31 days max., just add 31 labels to the activity. Start with the current month and use a loop to fill the labels. Start with 1 (first day of the month). Use the date functions: https://www.b4x.com/android/help/core.html#datetime to add 1 day for the next day and so on. If the day changes to 1 again, stop (exactly: September has 30 days. If you add another day with Code: Copy DateTime.Add(DateTime.Now, 0, 0, 1) the sequence ist 27th, 28th, 29th, 30th, 1st of October -> don't display because next month). You can get the day, month very easy (see the link) to display it. The rest is up to you. Have fun! Upvote 0
OliverA said: come up with something from scratch Click to expand... I assume the teacher wants them to create (not copy & paste) a calendar. So @whoami0260 : As a month has 31 days max., just add 31 labels to the activity. Start with the current month and use a loop to fill the labels. Start with 1 (first day of the month). Use the date functions: https://www.b4x.com/android/help/core.html#datetime to add 1 day for the next day and so on. If the day changes to 1 again, stop (exactly: September has 30 days. If you add another day with Code: Copy DateTime.Add(DateTime.Now, 0, 0, 1) the sequence ist 27th, 28th, 29th, 30th, 1st of October -> don't display because next month). You can get the day, month very easy (see the link) to display it. The rest is up to you. Have fun!
Cableguy Expert Licensed User Longtime User Sep 9, 2017 #10 Also, beware, as an unlicensed user your IDE usage is somewhat limited! The major limitation is, no external libs, other than the core ones Upvote 0
Also, beware, as an unlicensed user your IDE usage is somewhat limited! The major limitation is, no external libs, other than the core ones
W whoami0260 New Member Sep 9, 2017 #11 No.. our teacher dont taught us android programming.. they say you need a unique tittle.. that why i was using b4a.. sorry for wrong english.. LoL... Im creating a family planning application.. and after my teacher see my system. He want me to add a period tracker.. Upvote 0
No.. our teacher dont taught us android programming.. they say you need a unique tittle.. that why i was using b4a.. sorry for wrong english.. LoL... Im creating a family planning application.. and after my teacher see my system. He want me to add a period tracker..