You are posting to android-developers, for talking about writing
applications using the SDK, which does not currently support native code, so
you can't use JNI at all.

If you post on android-platform or android-framework, however, about adding
code to the platform itself, the answer may be very different. ;)

On Fri, Jan 9, 2009 at 1:37 AM, pinguin <[email protected]> wrote:

>
> Ok, thanks. So it would be able when i have a SIP stack written in C.
> Is there any restrictions using JNI in adroid. Can i load all libs of
> my sip stack ?
>
> On 8 Jan., 18:08, "David Turner" <[email protected]> wrote:
> > first, you cannot have C++ code in the kernel.
> >
> > however, depending on how your stack is designed, you may be able to use
> it
> > from Java through JNI
> >
> > given that you give absolutely no information about your stack's
> interface,
> > it's really difficult to answer your question
> >
> > On Thu, Jan 8, 2009 at 5:57 PM, pinguin <[email protected]> wrote:
> >
> > > Can i port SIP stack written in C++ to android and let it running as
> > > service in kernel ?
> > > and the GUI will communicate with SIP stack through JNI ?
> >
> >
> >
>


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