Dim nb As NotificationBuilder
nb.Initialize
nb.AutoCancel = True
nb.DefaultLight = True
nb.DefaultSound = True
nb.DefaultVibrate = True
nb.ContentTitle = "Alert"
nb.ContentText = "Body"
nb.CustomSound = File.Combine(File.DirRootExternal,"notification.mp3")
In my app,i dont need to write external storage but this library need to copy noification sound in external storage
and play from it
Is there way for prevent use external storage write permission?
1- Target SDK <= 22
2- Do Not save to Root external, if the user uninstalls your app, all the files you copied there (in this case .MP3) will remain and they will take unnecessary space, better save them on DirDefaultExternal.
1- Target SDK <= 22
2- Do Not save to Root external, if the user uninstalls your app, all the files you copied there (in this case .MP3) will remain and they will take unnecessary space, better save them on DirDefaultExternal.
If the notification builder lib has a minimum SDK requirement and is SDK > 22 then there's no way to prevent that you will have to handle the permissions.
There's a way to save to the external storage based on your package name, you could do a quick search on the forums.
If the notification builder lib has a minimum SDK requirement and is SDK > 22 then there's no way to prevent that you will have to handle the permissions.
There's a way to save to the external storage based on your package name, you could do a quick search on the forums.
If the notification builder lib has a minimum SDK requirement and is SDK > 22 then there's no way to prevent that you will have to handle the permissions.
There's a way to save to the external storage based on your package name, you could do a quick search on the forums.
I use DirDefaultExternal instead of DirExternalRoot in every where of my project
And it working
Maybe have problem in some device due to use DirDefaultExternal?