L lxracer Member Licensed User Longtime User Jul 8, 2013 #1 i have a question i did this B4X: Service.StartForeground(0,Null) seems to work fine no error came out, is there a better way to do it? it is a widget that doesnt need notification or using Null is fine? Thanks in advanced Last edited: Jul 8, 2013
i have a question i did this B4X: Service.StartForeground(0,Null) seems to work fine no error came out, is there a better way to do it? it is a widget that doesnt need notification or using Null is fine? Thanks in advanced
Erel B4X founder Staff member Licensed User Longtime User Jul 9, 2013 #3 You should pass a Notification object instead of the Null value. Null is not allowed in this case and may fail on some devices. Upvote 0
You should pass a Notification object instead of the Null value. Null is not allowed in this case and may fail on some devices.