Check internet connection before launch android app.