I am creating an app that connect to a service and get a notification from service ,I need that when app is close or don't use check internet connection then if connected internet, send my notification to user, I don't like to use a live thread in background and check for example per 1 hour I need that whenever internet connected then active my service for notification.
            Asked
            
        
        
            Active
            
        
            Viewed 132 times
        
    0
            
            
        - 
                    Possible duplicate: http://stackoverflow.com/questions/6169059/android-event-for-internet-connectivity-state-change – Shaishav Aug 01 '16 at 06:52
- 
                    This link is not my solution .Thanks a lot – Aug 01 '16 at 07:10
- 
                    without using bradcast receiver how u will know that internet is connected or not, after get that onreceiver then call your service to check app is opened or not. – Hanuman Aug 01 '16 at 07:16
- 
                    I knew if I did not question. – Aug 01 '16 at 07:26