Can I use dll files (commonly used in windows Application) in Android application?
If you have the src files for the DLL, try recompiling as an ELF32 shared object, then link that instead into your Android code (- below is a Windows solution):
set NDK_HOME=C:\Android\android-ndk-r9c // customize this var for your own location
set LD_LIBRARY_PATH=%NDK_HOME%\platforms\android-18\arch-arm\usr\lib
cd
REM -- TEMPORARILY COPY SOME LIBS COMPILER MAY NEED
copy %NDK_HOME%\platforms\android-18\arch-arm\usr\lib\crtbegin*.o .
copy %NDK_HOME%\platforms\android-18\arch-arm\usr\lib\crtend*.o .
REM -- GENERATE YOUR OBJ FILE
%NDK_HOME%\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin\arm-linux-androideabi-gcc.exe -g -I%NDK_HOME%\platforms\android-18\arch-arm\usr\include -c -fPIC YourLib.c -o YourLib.o
REM -- GENERATE SHARED OBJ FROM OBJ FILE
%NDK_HOME%\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin\arm-linux-androideabi-gcc.exe -g -L%NDK_HOME%\platforms\android-18\arch-arm\usr\lib -shared -o YourLib_so.so YourLib_so.o
REM -- finally, remove the libraries previously copied to src directory
del .\crtbegin*.o
del .\crtend*.o
You should now be able to use the resulting .so file in your Android project.