Sorry, just to correct myself, it's not linking error but a compilation error. Native MediaPlayer member function calls is throwing error, e.g. below: undefined reference to `android::MediaPlayer::MediaPlayer()
Please help in finding the correct way of using native MediaPlayer APIs. Thanks & Regards, Nikhil On Feb 27, 3:24 pm, Nikhil <[email protected]> wrote: > Hi All, > > I am creating my library in native in /external directory and my > library needs to use native MediaPlayer APIs. > > I have includedlibmediain my Makefile in the following way > LOCAL_SHARED_LIBRARIES :=libmedia > > But still I am getting linking error as > undefined reference to `android::MediaPlayer::MediaPlayer() > > I know that it is strictly instructed NOT to use native mediaPlayer > APIs but still it will be great if you guys can help me in solving the > linking problem. > > Can anyone please help me in knowing how to linklibmedia.so with my > own library which is there in /external folder. > > Thanks & Regards, > Nikhil --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
