Friday 17 August 2012

Android is connected to Internet Snippet

This function will return true if you can access the internet (or false if you can't). You can change the parameter being return when roaming (read the comments).


/*
* @return boolean return true if the application can access the internet
*/
private boolean haveInternet(){
    NetworkInfo info = ((ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERVICE)).getActiveNetworkInfo();
    if (info==null || !info.isConnected()) {
        return false;
    }
    if (info.isRoaming()) {
        // here is the roaming option you can change it if you want to disable internet while roaming, just return false
        return true;
    }
    return true;
}

Popup Facebook

Hi friends,
ProIdeaClub is now coming up with android application known as Popup Facebook,

First Preview for all my friends !!! Please comment on this and let us know your feedback!!!!
 

 

Thinking what it is really about, Pop Facebook same as pop-up SMS but now this application is for Facebook lovers, where you don't have visit Facebook to read all your post. You will get a popup and notification where you can comment, like,dislike, share and other all functionality of Facebook without visiting the site.
Isn't this amazing?
So friends wait till we release the Pop Facebook.
Screen shots would be soon added....
Also share your ideas on what type of features should be included and what is not to be included.
Waiting for your comments...