This code is transfered from apr ( apache portable runtime ), in the folder apr4android, there is android part, you can enter it,can use NDK to complie it, note: I had compile it successfully in the android 2.2 above,when complied ,test4apr will be producer, it is just an executable file, you can push it into emulator,and check whether or not it can run successfully . Any Comment will be appreciated.