B4A Library toasty lib

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.
 

Attachments

  • libtoasty.zip
    6.8 KB · Views: 215
  • toastyExample.zip
    32.1 KB · Views: 214
Last edited:

DonManfred

Expert
Licensed User
Longtime User
1. copy all the res\drawable folders,layout and values to your project res folder,and set all to READONLY.
the correct way is to create a new Folder in the projectdir with the same folderstructure

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

rkxo

Active Member
Licensed User
Longtime User
hi,
i get error

thanks
 

carycai

Member
Licensed User
Longtime User
got.I have changed the example.Thank you.
 

carycai

Member
Licensed User
Longtime User
hi,
i get error


thanks
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
 

DonManfred

Expert
Licensed User
Longtime User
1. copy all the addRes folders to your project folder,and add #AdditionalRes:addRes-path in your project,like this:#AdditionalRes:..\addRes
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
 

carycai

Member
Licensed User
Longtime User
I uploaded again.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…