Android Question NB6 BigPictureStyle Notification expanded?

Douglas Farias

Expert
Licensed User
Longtime User
Hi All.
i m using this example of @Erel to show notifications on my apps.
https://www.b4x.com/android/forum/threads/nb6-notifications-builder-class-2018.91819/

i have a simples questions, i m using BigPictureStyle to show a image on the notification, but the user dont know when the notification have image or not, its possible show the notification opned (expanded)? already showing the image, and not require the user interactions?

what is the best way to alert the user that this is an image notification? many users will not know that it is a notification that they can expand to see the image.

it possible expand this via code? or already notify this opned?

thx
 
Good question. The MAX priority doesn't exist in Android 8+. You should pass "HIGH" to the initialize method.

If you want to use MAX priority on Android 6-7 then change line 52 of NB6 to:
Code: Copy
Dim pm As Map = CreateMap("MIN": -2, "LOW": -1, "DEFAULT": 0, "HIGH": 2) '2 instead of 1 for HIGH
 
Upvote 0
Back
Top