B4i Library AwesomeMessage - The popup Message with Blur Effect for B4i

Alberto Iglesias

Well-Known Member
Licensed User



This library was made based on Blur Style Popup-Messages


Installation instructions:

- Copy the *.a and *.h files into the folder "Libs" in your MAC or in your MAC HOSTED by AnywhereSoftware, normally in "B4i-MacServer\Libs" folder

-Copy the iAwesomeMessage.xml to your custom libraries folder in B4i
- Select in your REFERENCED LIBRARIES



Version history:
V1.0.0 (First public release - Freeware):
- Initial version


iAwesomeMessage

Author: Alberto Iglesias (alberto@visualnet.inf.br)
Version: 1.0.0

iAwesomeMessage
Author:
Alberto Iglesias (alberto@visualnet.inf.br)
Version: 1
  • AwesomeMessage
    Events:
    • onHide (Title as String As )
    • onInitialized (EventName As String)
    Methods:
    • Initialize (EventName As String)
      Initializes the object.
    • ShowMessage (Parent As B4IPage*, Title As String, Message As String, ButtonRight As Boolean)
      Show the message
    Properties:
    • Author As String [read only]
      Author of this Library
    • DebugMode As BOOL
      Enable/Disable Debug mode from Library
    • Version As String [read only]
      Library Version






* The version 1.0.0 is fully functional
Please consider a simple €10 donation and I send to you the Library without this message.

Your contribution ensures that our work will thrive and so we will to innovate more and more.
Thanks in advance for your support!

 

Attachments

Last edited:

omidaghakhani1368

Well-Known Member
Licensed User
it get error below
Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-project-headers.hmap
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-own-target-headers.hmap
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-all-non-framework-target-headers.hmap
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-generated-files.hmap
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-all-target-headers.hmap
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage.hmap
/bin/mkdir -p /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7
write-file /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/iAwesomeMessage.LinkFileList

Create product structure
/bin/mkdir -p /Users/administrator/Documents/UploadedProjects/abi89tw/Payload/iAwesomeMessage.app

ProcessInfoPlistFile Payload/iAwesomeMessage.app/Info.plist B4iProject/B4iProject-Info.plist
cd /Users/administrator/Documents/UploadedProjects/abi89tw
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
builtin-infoPlistUtility /Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/B4iProject-Info.plist -genpkginfo /Users/administrator/Documents/UploadedProjects/abi89tw/Payload/iAwesomeMessage.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/administrator/Documents/UploadedProjects/abi89tw/Payload/iAwesomeMessage.app/Info.plist

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o B4iProject/main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/administrator/Documents/UploadedProjects/abi89tw
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-generated-files.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-own-target-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-all-target-headers.hmap -iquote /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-project-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/administrator/Documents/UploadedProjects/abi89tw/Payload -F../../Libs -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.dia -c /Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/main.m -o /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/main.o

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_pagesample.o B4iProject/LS_pagesample.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/administrator/Documents/UploadedProjects/abi89tw
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-generated-files.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-own-target-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-all-target-headers.hmap -iquote /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-project-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/administrator/Documents/UploadedProjects/abi89tw/Payload -F../../Libs -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_pagesample.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_pagesample.dia -c /Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/LS_pagesample.m -o /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/LS_pagesample.o

CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/administrator/Documents/UploadedProjects/abi89tw
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-generated-files.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-own-target-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-all-target-headers.hmap -iquote /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/iAwesomeMessage-project-headers.hmap -I/Users/administrator/Documents/UploadedProjects/abi89tw/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/armv7 -I/Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/administrator/Documents/UploadedProjects/abi89tw/Payload -F../../Libs -MMD -MT dependencies -MF /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.d --serialize-diagnostics /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.dia -c /Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/b4i_main.m -o /Users/administrator/Documents/UploadedProjects/abi89tw/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o
In file included from /Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/b4i_main.m:2:
/Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/b4i_main.h:2:9: fatal error: 'iAwesomeMessage.h' file not found
#import "iAwesomeMessage.h"
^
1 error generated.


Error: ** BUILD FAILED **


The following build commands failed:
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_main.o B4iProject/b4i_main.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
 

Alberto Iglesias

Well-Known Member
Licensed User
Look the instructions to copy the Library in B4i Server
- Copy the *.a and *.h files into the folder "Libs" in your MAC or in your MAC HOSTED by AnywhereSoftware, normally in "B4i-MacServer\Libs" folder

Is different than B4A, you need copy the iAwesomeMessage.h and libiAwesomeMessage.a in your MAC to compile together with others libraries
 

omidaghakhani1368

Well-Known Member
Licensed User
Yes i do.
i copy *.a and *.h in mac server folder and copy xml file to ba4 library but it get error
 

Alberto Iglesias

Well-Known Member
Licensed User
ok but the error say not exist the iAwesomeMessage.h

In one post of Erel, he´s recommended delete the "UploadedProjects" when this type of error apperas, in your case /Users/administrator/Documents/UploadedProjects

Another thing to verify is when you put some new library, stop and start the B4i-Builder, and try again

maybe some "cache" in B4iBuider....
 
Last edited:

omidaghakhani1368

Well-Known Member
Licensed User
I dont have Users/administrator/Documents/UploadedProjects directory and again get error.
I'm sorry maybe i cannot use it
 

susu

Well-Known Member
Licensed User
Nice but how can I use your lib with hosted build?
 

Alberto Iglesias

Well-Known Member
Licensed User
I dont have Users/administrator/Documents/UploadedProjects directory and again get error.
I'm sorry maybe i cannot use it
In your log, appear this line:Users/administrator/Documents/UploadedProjects/abi89tw/B4iProject/b4i_main.m

I think you have some issue with B4i-Builder. Maybe Erel can help you in this case.

You try with another Extra Library?
 

Bruno.im

Member
Licensed User
This is very nice, I would add a timeout so the message would automatically close. A zero value would keep it open.
Great work.
 

Shay

Well-Known Member
Licensed User
Erel can you upload this, I wish to try it
Maybe you should find some way to allow library programmer some upload mechanism to the remote compiler
 

aaronk

Well-Known Member
Licensed User
Is there a way in doing this but load a layout into a panel and then make the background a blur while the panel is showing instead of displaying a message ?
 

omidaghakhani1368

Well-Known Member
Licensed User
Hi.
I use AwesomeMessage library again get error but DatePersian library not get error,what's that problem?
 
Top