How to port OpenCore multimedia code to beagleboard with android software.

Hi all,
I am new to the android environment and I had ported the android gingerbread on to Beagleboard-XM rev B following the links.
How to generate library files of OpenCore PacketVideo or any multimedia software libraries, using which we can play audio/video files.
(Building of frame work module in Android OS)

Regards,
Sudheer.