Android Question problem with librairy Notification

electro179

Active Member
Licensed User
Longtime User
Hi

I use the notificationbuilder and NotificationBigTextStyle librairies

Before with the version 3.2. It worked

Since I installed 5.2 the phone vibrates but no text displays and none in the notification bar


The code is called in the service
Code:
B4X:
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)
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

barx

Well-Known Member
Licensed User
Longtime User
Hi

I use the notificationbuilder and NotificationBigTextStyle librairies

Before with the version 3.2. It worked

Since I installed 5.2 the phone vibrates but no text displays and none in the notification bar


The code is called in the service
Code:
B4X:
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)

Check your code against the code output from the demo app when the BigTextStyle option is selected.

There are a few items you are missing, that may be required. Also, make sure your icon file still exists in the projects Objects\res\drawable folder and is name as set above.
 
Upvote 0
Top