Your approach is totally fine. I would recommend to add a package Utils to your project and put Helper-Classes in there. So instead of a class CheckInternetConnecting, create a class NetworkHelper and put your static method in there.
Adding a package:
On the left side of eclipse, in your package explorer right click your src folder and add a new package. It's important to include your package name, e.g when your package name is com.my.project than add a package called com.my.project.utils... Then you can add your NetworkHelper class to the new package by e.g right clicking and adding a new file. Copy your static code into the NetworkHelper and then you're all set...