B4A Class TextClock

Discussion in 'Additional libraries, classes and official updates' started by udg, Jun 11, 2014.

  1. udg

    udg Expert Licensed User

    TextClock was added in API 17 (Android 4.2 Jelly Bean MR1) and substitutes the deprecated DigitalClock.

    Please find attached a project that shows how to use the included Android Developers | TextClock object both as a Designer's Custom View and as a stand-alone class through its manual installation.
    Having no previous experience with the Reflection lib, the above was made possible by what I believe to be one of the best tutorials read so far in this NG: @stevel05 's RatingBar library.

    Looking at the code of this class you will easily agree that it is a very preliminary step and it should evolve in a more mature object once a clearer growing path would become evident from its use.


    Attached Files:

    Last edited: Jun 11, 2014
    RonkyOne, Erel and stevel05 like this.
  2. stevel05

    stevel05 Expert Licensed User

    Nice, Thanks for sharing.
  3. udg

    udg Expert Licensed User

    @stevel05 : I simply learned from you, magister (lat. for master).
    @Erel : I always appreciate your attention and all the time you devote to support us

    Frankly, this is not an object we will use so frequently, but if anyone comes with a good idea on how to improve it I'll be glad to spend some more time on it.

  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