Android Question start service when notification clicked

Hi
i use nb6 for show notification
for sample i use this code:

B4X:
Dim n As NB6
n.Initialize("default3", "Class", "HIGH").AutoCancel(True).OnGoing(False).SmallIcon(Application.Icon)
n.SetDefaults(True, True, True)
n.Build("Error", "Helllllo", "status", test)

when i click on notification, activity will start
and if i replace activity with service class and click on notification, nothing happen
so, i want start service and handle intent in service when i clicked on notification! How can do this?
sorry for bad translation. thanks
 
Top