I have to create a notification like an android toast notification but I need to throw it from a service and I need to close it when I want. standard toast notification would be perfect, but it's too much short.
I tried with a DialogFragment, but it takes the focus (not like toast) and I could not throw it from a service, but only from a FragmentActivity.
Thanks!!