Is it advisable to use ApplicationContext
to create Notifications in Android? I have used the same in another one of my applications where I create notifications in a class which I create using the StartActivityModalForResult()
API. I do get time and again crashes. Should I use BaseContext()
instead?
Asked
Active
Viewed 528 times
0

Bradley Wilson
- 1,197
- 1
- 13
- 26
-
1Can you please post your code? – Mavya Soni Dec 21 '16 at 12:02
-
I think this answer can help you: http://stackoverflow.com/a/10641257/5225620 – Rafael Dec 21 '16 at 12:28
-
No one will be able to help you without the crash log and a snippet of your code. – Kamran Ahmed Dec 21 '16 at 12:28