Android Example B4Acalendar

Discussion in 'Tutorials & Examples' started by Johan Schoeman, Apr 23, 2017.

  1. Johan Schoeman

    Johan Schoeman Expert Licensed User

    Probably not the most elegant way to do this calendar but it is working. It displays 42 days and will "grey out" the days of the previous/next month within the calendar month being displayed. The below pic is what it looks like on my cell with Lollipop.

    You need to enable the JavaObject library (I am using version 2.05) in the libs tab of the B4A project.

    Leaving it up to you to make sense of it and to adapt/change to suite your purposes (should you have any such need to do so)

    Click on the arrow icons to move to the next/previous month.

    All done with B4A and a bit of inline Java code


    Attached Files:

    Last edited: Apr 23, 2017
  2. Johan Schoeman

    Johan Schoeman Expert Licensed User

    Some bug fixes to sort out the colors of cells that belongs to the previous/next month of the present month being shown.

    Attached Files:

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice