B4A Library CircleDisplay

Discussion in 'Additional libraries, classes and official updates' started by Johan Schoeman, Jul 29, 2015.

  1. Johan Schoeman

    Johan Schoeman Expert Licensed User

    The attached project wraps this Github project. The library files (JAR & XML) are in the /files folder of the B4A project. Copy them to your additional library folder. I have used a timer purely for demonstration purposes - it can run without the timer. Follow the B4A code.

    You will also need android-support-v4.jar. You can download it from here. Copy it to your additional library folder.

    Also posting the Java Code. You will need to add a folder named "libs" on the same level as the src folder and copy android-support-v4.jar into the "libs" folder in order to compile the java project into a JAR.

    Quite a nice animation...

    A screenshot:


    Attached Files:

    Last edited: Jul 29, 2015
  2. ArminKH

    ArminKH Well-Known Member

    another great lib
    thank u ;)
    Johan Schoeman likes this.
  3. susu

    susu Well-Known Member Licensed User

    Non-stop library creator! Thanks!
    Johan Schoeman likes this.
  4. Harris

    Harris Well-Known Member Licensed User

    Good God man...

    I just got ArcProgressMaster figured out (with your help) and here you present another temptation!

    Does it ever end with you wrappers...?

    We shall call you MC Hammer... (can't touch this...) lol

    funny... (In Living Color - MC Hammer)
    Last edited: Jul 30, 2015
    Johan Schoeman likes this.
  5. MarcoRome

    MarcoRome Expert Licensed User

    Hi Johan.
    Exist one solution that start with one % example :

    and in second time i add another % example:

    Sub Button1_Click

    For i = 61 To 100
    Dim aa As Float
            aa = i
    Johan Schoeman likes this.
  6. JTKEK

    JTKEK Member Licensed User

    it is possible to do a countdown timer with this library
    i means from 5 to 0
    but the progress increase
  7. Johan Schoeman

    Johan Schoeman Expert Licensed User

    Try it with this new lib files (copy them to your additional library folder). See the line cd1.CountDown = False in the code below that I have added to the original project. It will allow the progress indicator to increase but if you set cd1.CountDown = True the value in the circle will count down.

    cd1.DrawText = True
        cd1.StartAngle = 
    0                       'any value from 0 to 360
        cd1.DrawInnerCircle = True
        cd1.AnimDuration = 
        cd1.ValueWidthPercent = 
        cd1.DimAlpha = 
        cd1.Unit = 
        cd1.FormatDigits = 
    2                  '1 digit after the decimal point
        cd1.Color = Colors.Red
        cd1.TextSize = 
        cd1.InnerCircleColor = 
        cd1.TextColor = 
        cd1.CountDown = 
    False                  'number counts up/down while progress increases

    Attached Files:

    JTKEK and DonManfred like this.
  8. cuellar

    cuellar Member Licensed User

    Hi Johan, the Enabled method not work when I set it False. I want to avoid circle display, change when the user touch them.
  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