Using java Syntax Highlighting
- ConnectivityManager connManager = (ConnectivityManager) getSystemService(Context.CONNECTIVITY_SERVICE);
- NetworkInfo netInfo = connManager.getActiveNetworkInfo();
- if ( !netInfo.isConnected() ) {
- ...
Parsed in 0.032 seconds, using GeSHi 1.0.8.4
The second line causes an immediate force close upon running the application.
I am rather new to Eclipse, and debuggers in general, but I didn't see anything that looked relevant when I stepped through it.
Do any answers jump out at anyone? Or does anyone have a suggestion for an alternate method to achieve the same goal?
Thank you.

