Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


android app with service only


android app with service only  using -'android,service'

I am creating a application whose only component is a service which keeps on running in background (basically a proxy server) but I am not able to find a way how to start that service. Application can not have any UI or user interaction so I am not using Activity.
Broadcast receiver can listen to BOOT broadcast but how do I start service first time when it is installed and how can I keep it running?
or is there a broadcast which I can listen after app is installed e.g. may be TIME_TICK but that has to be registered from activity i think
    

asked Oct 13, 2015 by gauravsinghal83
0 votes
2 views



Related Hot Questions



Government Jobs Opening


...