Android Question Notifications

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Is there any library to make notifications on screen, like Facebook Messenger ?
 

Marcos Alves

Well-Known Member
Licensed User
Longtime User
Please use the search function before opening a thread ;-)
Hello my friend,

I always do an extensive research before posting any question. In this case, my post is because THIS -> https://www.b4x.com/android/forum/t...cations-and-miniapps.41136/page-4#post-248935 - I found some time ago a lib that does a "buble" on screen, like Fb Messenger. But, after going to project pages, including the developer site, and tested the program, I realized that maybe the support of the lib was discontinued or at least there is a development "gap" - there are some "running issues" and problems, and no feedback from authors...
Today I use this -> https://www.b4x.com/android/forum/threads/notification-builder-library.27376/#content - from @barx , but it's not a "buble notification"... That's why I decided to post a thread here - please, if you fond any "buble notifications lib", please, give me the link. I really didn't find up to now.
Update: @Erel released this: https://www.b4x.com/android/forum/threads/nb6-notifications-builder-class-2018.91819/#content - it's not a "buble notifications" also :(
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You can create a transparent activity. See this post for quite old code that does it: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 (it is not the best solution as it sets an old theme).

Another option is to draw above other apps. This requires special permission. Informatix has included such a feature in this library: https://www.b4x.com/android/forum/threads/probundle-chargeable.58754/ (I do not know whether it deals with the permissions).

Handling the SYSTEM_ALERT_WINDOW permission: https://www.b4x.com/android/forum/threads/draw-on-top-of-other-apps-permission.90513/#content
 
Upvote 0

Marcos Alves

Well-Known Member
Licensed User
Longtime User
You can create a transparent activity. See this post for quite old code that does it: https://www.b4x.com/android/forum/threads/hiding-an-activity.14824/#post-84047 (it is not the best solution as it sets an old theme).

Another option is to draw above other apps. This requires special permission. Informatix has included such a feature in this library: https://www.b4x.com/android/forum/threads/probundle-chargeable.58754/ (I do not know whether it deals with the permissions).

Handling the SYSTEM_ALERT_WINDOW permission: https://www.b4x.com/android/forum/threads/draw-on-top-of-other-apps-permission.90513/#content
Thanks @Erel . I just donated to @Informatix to get his lib.
You're right. A transparent Activity is not really the best solution and wold also capture the click events on entire screen, leading to the user a strange behavior...
 
Upvote 0
Top