Technically it's feasible if you download all the Android source code
and roll your own code, so I'm not going to say it's impossible. But
we are not going to support it, and there is a 99% chance we are going
to break your app in the future when we release the next platform.

There will be an official way to access JNI in the near future, but
the native codec API's you want are still a long ways off.

On Apr 17, 12:36 am, Sheado <[email protected]> wrote:
> Thanks for your response..
>
> one more question, to which I think the answer is no:
>
> If I write my own JNI code to access the phone's encoders, would I be
> able to run it? Or does the Android virtual machine prohibit JNI-
> supporting native code?
> For example, I'm thinking to write a shared object (.so), put it in a
> jar file, figure out how to deploy that jar into an Android app, then
> at run-time unpack the .jar and link-to and execute the shared object
> code. It is on Linux after all.
>
> (sorry if that was a dumb question =)
>
> Thanks!!
>
> On Apr 16, 1:24 pm, Dave Sparks <[email protected]> wrote:
>
> > No, this would be impractical to do in Java.
>
> > On Apr 15, 11:16 pm,Sheado<[email protected]> wrote:
>
> > > Howdy,
>
> > > Does anybody know of a way to directly access the Video Encoders
> > > provided by the (android.media.MediaRecorder) API? I'd like to make
> > > changes to the raw camera data "before" it gets encoded.
>
> > > Thanks in advance!!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to