Hi, Even we faced similar kind of problem for accessing some other hardware. It works good when tested independently but when integrated it fails.. Please check at userleve if you have read/write access to device or not.
Regards Girish On Feb 12, 8:30 am, Haojun Zhou <[email protected]> wrote: > Hi all, > > I have wrote some code to invoke hardware decoder using OMX > interfaces. > > When i compiled the code to executable native c++ program, everything > was fine. The decoder could be invoked and do right decoding thing. > > But when i compiled the code to shared library and invoked using JNI, > there was some failure when initializing the hardware decoder. My > testing phone is Milestone, Android 2.1. Here is the error > information: > > D/TI_Video_Decoder( 7380): VIDDEC_InitDSP_H264Dec():7130 > LCML_InitMMCodec Failed!...80001009 > D/TI_Video_Decoder( 7380): VIDDEC_HandleCommand():2517 LCML Error 1 > > I also tried to add HARDWARE_TEST and FACTORY_TEST permissions to the > manifest, but it did not work at all. > > Any advice?? -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
