B4A Library Notification Builder Library.

shashkiranr

Active Member
Licensed User
Longtime User
Hi All,

I am using this library with "Download huge files with HttpUtils2" . I am not able to upload the status of the progress with SetProgress as the download stream count is in Long and SetProgress requires Int. Any workaround for this?

Regards,
SK
 

shashkiranr

Active Member
Licensed User
Longtime User
Hi Erel,

I am using the notification builder along with download huge files. Hence i posted the question here.

Regards,
SK
 

Alankoba

Member
Licensed User
Longtime User
App crash

Zenfone 5

My code:
B4X:
  Dim cnf As NotificationBuilder

cnf.Initialize
  cnf.SmallIcon ="icon"
  cnf.Ticker ="My Message"
  cnf.DefaultLight =True
  cnf.DefaultVibrate =False
  cnf.DefaultSound =False
  cnf.ContentTitle ="ttile"
  cnf.ContentText ="Text"
  cnf.ContentInfo ="info"
  cnf.SubText ="subtext"
  cnf.Notify(1)
 

barx

Well-Known Member
Licensed User
Longtime User

electro179

Active Member
Licensed User
Longtime User
Hi

I use the notificationbuilder and NotificationBigTextStyle librairies

Before with the version 3.2. It worked

The phone vibrates but no text displays and none in the notification bar
B4X:
[INDENT]Main.notb.Initialize
Main.notb.SmallIcon = "icon_not"
Main.notb.Ticker = "New Error In Eurodim TT"
Main.notb.ContentTitle = "Title"
Main.notb.ContentText = "Text"
Main.notb.ContentInfo = ""
Main.nbBigTextStyle.Initialize
Main.nbBigTextStyle.BigText = "x breakers"
Main.nbBigTextStyle.BigContentTitle = "There is 1 error"
Main.notb.SetStyle(Main.nbBigTextStyle)
Main.notb.Notify(3)[/INDENT]
 

barx

Well-Known Member
Licensed User
Longtime User
Where is your sample program for this... Tnx...
There is a link to google play in the first post. Alternatively, the demo is also attached t the first post
 

BarryW

Active Member
Licensed User
Longtime User
It is an apk. I mean a source code... Cuz ur notification only vibrates but not displays... Tnx...
 

barx

Well-Known Member
Licensed User
Longtime User
It is an apk. I mean a source code... Cuz ur notification only vibrates but not displays... Tnx...
are you saying that the demo app only vibrates and doesn't display? if yes, what device / android version are you using?
 

Douglas Farias

Expert
Licensed User
Longtime User
what the minimal api to run this lib?
using this lib will run my app at android 2.3+?
 

barx

Well-Known Member
Licensed User
Longtime User
what the minimal api to run this lib?
using this lib will run my app at android 2.3+?
yes, running on 2.3 is fine but some features are only available on newer versions. i.e. The Styles (inboxStyle, bigTextStyle, etc) are only available in jellybean onwards. If you code for such methods, no errors appear on earlier versions, they just don't work amd the standard notification will show.

I have tried to document the API version required in the docs / tooltips
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…