Discussion:
Inheriting MediaPlayer.cpp class to implement own methods
Mayank Agarwal
2014-02-06 02:32:11 UTC
Permalink
Hi,

How can i inherit Android MediaPlayer.cpp class to implement my own methods.
Also i want to use hardware decoder omx il component instead of
omx.google.h264.decoder.

How do i go about changing the code in .cpp files using android ndk.
Do i have to load all media_lib.so and other dependabe iso's in java file
before i can make any changes in cpp code.
Also should i have to include header files.
Is there any framework or method which allows us to inherit android .cpp
file
and implement our own methods anactions.

Regards
Mayank
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/groups/opt_out.
Glenn Kasten
2014-02-06 04:53:13 UTC
Permalink
MediaPlayer.cpp is part of the platform, and not intended for direct usage
from application via NDK. I suggest you first learn how to build the
platform "as is"
from source for some appropriate reference device, then start making
small changes as you get more familiar with the code.
Post by Mayank Agarwal
Hi,
How can i inherit Android MediaPlayer.cpp class to implement my own methods.
Also i want to use hardware decoder omx il component instead of
omx.google.h264.decoder.
How do i go about changing the code in .cpp files using android ndk.
Do i have to load all media_lib.so and other dependabe iso's in java file
before i can make any changes in cpp code.
Also should i have to include header files.
Is there any framework or method which allows us to inherit android .cpp
file
and implement our own methods anactions.
Regards
Mayank
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at http://groups.google.com/group/android-ndk.
For more options, visit https://groups.google.com/groups/opt_out.
Loading...