USING LOGCAT IN NETBEANS1) First, you'll have to add the adb tools path the Windows global variable (if you're on a mac you'll have to google how to do this). See http://www.shahz.net/
android/adb-installation-and- how-to-logcat.html2) Then, whenever you run your app and it crashes (or anytime you want to debug), open the command prompt and enter:adb logcat -v time > logcat.txtThis will create a file in the current folder with the current LogCat logs. You'll have a lot of stuff in there so it's important that you've used LogCat properly in your code so that you know what to look for. Run "start logcat.txt" to take a look.3) To to use LogCat in your code you'll first need to import the Log library:import android.util.Log;Then, down where you would normally print something out, you'll replace "System.out.println("HERE");" with:Log.d("LOGCAT", "HERE");4) Now, run the logcat command again, then open the text file with the start command:adb logcat -v time > logcat.txtstart logcat.txt5) Now, use CTRL-F "LOGCAT" to look through all your LOGCAT debugging statements.Also - If your app is crashing try searching for "E/AndroidRuntime"... this will take you to the information on what caused the error.
So far I've always used Eclipse for anything Android. It's been really nice and I like it a lot. In ISYS 403 we're doing an Android app using NetBeans. The setup is simple if you have the SDK already installed, you just go here and follow the instructions to download and install the Android plugins. See http://kenai.com/projects/nbandroid/pages/Install