android connectivity example.