Your app WILL break, guaranteed, on different platform versions and on
different manufacturer's devices.  What you are doing is deliberately going
around the supporting APIs of the NDK, to use private APIs. Private APIs are
private usually because they change, and these particular APIs most
certainly do.

Just please don't do this.  And if you insist on doing it, you'd better not
complain about Android becoming "fragmented" as your app breaks on different
devices, because what you are doing is not intended to be support across
devices for applications.

Also if you are doing anything with the NDK please please please follow the
android-ndk group, where there are lots of people who know how to use the
NDK, support from developers about continued work on the NDK, and lots of
advice already posted.

On Thu, Nov 12, 2009 at 5:48 AM, Bytes <[email protected]> wrote:

> Hi PJ,
>
> Thanks for your response.
>
> Now my requirements got changed, even little bit inconsistency in
> voice seems to be OK.
>
> But I've few questions:
>
> 1. Lot of my code is developed in C, and I'm porting it on Android
> using NDK. So I wanna to avaid JNI for every read/write (to process
> the data). For this what I did earlier is,
>
> a. Pulled libmedia.so and its dependent libraries from the device
> (G1),
> b. Used Android source code header files "frameworks/base/libs"
> c. Used AudioRecord.cpp and AudioTrack.cpp present in media/
> libmedia... instead of
>
> android.media.AudioRecord/AudioTrack packages.
>
> Compile and run on the device and voice is acceptable.
>
> As this is out of NDK, is it leagal ? Does Android Market allows this
> approach ?
>
> Thank you very much for your time.
>
> regards
> -Bytes
>
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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