B4A Library Lock9View V1.0.2

Discussion in 'Additional libraries, classes and official updates' started by DonManfred, May 14, 2015.

  1. DonManfred

    DonManfred Expert Licensed User

    • Lock9View
      • onFinish (password As String)
      • ba As BA
      • AddToParent (Parent As ViewGroup, left As Int, top As Int, width As Int, height As Int)
      • BringToFront
      • DesignerCreateView (base As PanelWrapper, lw As LabelWrapper, props As Map)
      • Initialize (EventName As String)
      • Invalidate
      • Invalidate2 (arg0 As Rect)
      • Invalidate3 (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • IsInitialized As Boolean
      • RemoveView
      • RequestFocus As Boolean
      • SendToBack
      • SetBackgroundImage (arg0 As Bitmap)
      • SetColorAnimated (arg0 As Int, arg1 As Int, arg2 As Int)
      • SetLayout (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int)
      • SetLayoutAnimated (arg0 As Int, arg1 As Int, arg2 As Int, arg3 As Int, arg4 As Int)
      • SetVisibleAnimated (arg0 As Int, arg1 As Boolean)
      • refresh
      • Background As Drawable
      • Color As Int [write only]
      • Enabled As Boolean
      • Height As Int
      • Left As Int
      • LineColor As Int
        Get/Set the LineColor
      • LineWidth As Float
        Get/Set the LineWidth
      • NodeOnSrc As Drawable
        Get/Set the highlighted NodeSource drawable
      • NodeSrc As Drawable
        Get/Set the normal NodeSource drawable
      • Tag As Object
      • Top As Int
      • Visible As Boolean
      • Width As Int

    This library is Donationware. You can download the library, you can test the library. But if you want to USE the library in your App you need to Donate for it.
    Please click here to donate (You can donate any amount you want to donate for the library (or my work) :)


    Sub Globals
    'These global variables will be redeclared each time the activity is created.
        'These variables can only be accessed from this module.

    Private lock9 As Lock9View
    Private locked As Boolean = True
    Private btnLock As Button
    End Sub

    Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
        lock9.LineColor = 
        lock9.LineWidth = 
    End Sub
    Sub lock9_onFinish(password As String)
    If password = "123698745" Then
            lock9.Visible = 
            locked = 
    End If
    End Sub
    Sub Activity_Resume
    If locked = True Then
            lock9.Visible = 
    End If
    End Sub
    Sub Activity_Pause (UserClosed As Boolean)
    End Sub
    Sub btnLock_Click
        locked = 
        lock9.Visible = 
    End Sub

    Attached Files:

  2. ArminKH

    ArminKH Well-Known Member

    Opps! This is great :)
  3. itgirl

    itgirl Active Member Licensed User

    I'm trying to keep up with your libs:oops: .... amazing work thanks;)
  4. scsjc

    scsjc Active Member Licensed User

    Hello DonManfred,
    again i test your librarys (very good work...really)

    this library work perfectly on ANDROID 5.1 LOLLIPOP, but i try on android 2.3 don't work..(not message error not display)
    can you tellme if possible work in 2.3

    thanks a lot.
    juan carlos
  5. DonManfred

    DonManfred Expert Licensed User

    I think it will work Form maybe v3 or v4 Android. I did not have an old device to test. My oldest device has Android 4.2
    Last edited: Jun 24, 2015
  6. ArminKH

    ArminKH Well-Known Member

    what is your compile api?one suggestion is compile your project with api 10 to work on android 2.3
    mostafakazemimk likes this.
  7. scsjc

    scsjc Active Member Licensed User

    i try, but don't work

  8. tcgoh

    tcgoh Active Member Licensed User


    I had download you lock9viewv1.0.2 for testing. But I am get error "system.outofmemeroyexception"!!

    I am only running on basic4android V3.0 only. Do you require Ver 5.0 and above to work?

  9. DonManfred

    DonManfred Expert Licensed User

    dont know.
    Maybe time to update B4A ;-)