This is for the OpenCV 2.3.1 version and using the prebuild version from official site.
First,download these three things and remember to set up eclipse with android-sdk.
1.Android-ndk
2.opencv-android
3.cygwin
--------------------------------------------------Install Step----------------------------------------------------------