B4A Library toasty lib

Discussion in 'Additional libraries, classes and official updates' started by carycai, Sep 3, 2019.

  1. carycai

    carycai Member Licensed User

    I want to share my first b4a lib.This is from github:https://github.com/GrenderG/Toasty
    and i have made some changes.

    how to use:
    1. copy all the addRes folders to your project folder,and add #AdditionalRes:addRes-path in your project,like this:#AdditionalRes:..\addRes
    2. copy the lib files to B4A Libraries.
    3. there are five types toasty:success,error,info,warning,normal.
    4. there is libtoastyconfig class,you can change some parameters,and then apply.

    Have fun.
    [​IMG]
     

    Attached Files:

    Last edited: Sep 4, 2019
  2. DonManfred

    DonManfred Expert Licensed User

    the correct way is to create a new Folder in the projectdir with the same folderstructure

    add
    Code:
    #additionalres: ..\yourresfoldername
    to your project to add a reference to this resourcefolder.
    Note that files in this Folders do not need to be READONLY
     
  3. rkxo

    rkxo Member Licensed User

    hi,
    i get error
    thanks
     
  4. carycai

    carycai Member Licensed User

    got.I have changed the example.Thank you.
     
  5. carycai

    carycai Member Licensed User

    I modified the example,you can download and try again.Please set the res path with this command:
    1. copy all the addRes folders to your project folder,and add #AdditionalRes:addRes-path in your project,like this:#AdditionalRes:..\addRes
     
  6. DonManfred

    DonManfred Expert Licensed User

    Note that "Projects exported with FILE Export as ZIP" does not contains any additionalres folders! You need to provide these res-folder(s) in an additional ZIP or manually add them to the project-export zip before uploading.

    None of the uploaded ZIPs from you contains any res-folder
     
  7. carycai

    carycai Member Licensed User

    ;)I uploaded again.
     
    DonManfred likes this.
  8. rkxo

    rkxo Member Licensed User

    thank you very much ,now it works fine:)
     
Loading...
  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