How to build WebKit on NDK

599 views
Skip to first unread message

headwire

unread,
Oct 4, 2010, 11:54:14 AM10/4/10
to android-ndk
Hello.
I'd like to know, how can I build a nightly version of WebKit for
Android 2.2 platform?
Do I have to replace Android WebKit lib/framework or just "compile" it
via NDK?
Any suggestions or guides?

Thanx.

David Turner

unread,
Oct 4, 2010, 4:16:10 PM10/4/10
to andro...@googlegroups.com
I don't think this is possible. The WebKit source code in Android depends on many other internal system libraries that are not exposed by the NDK.


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


headwire

unread,
Oct 5, 2010, 5:45:15 AM10/5/10
to android-ndk
But, is it possible if I will not replace the original WebKit
framework?
Just compile separate WebKit as an stand-alone NDK lib + attach it to
my app?
I'm searching the way to add a "full" HTML5 support to our custom
application, not to internal web browser.
Any ideas?

On Oct 4, 11:16 pm, David Turner <di...@android.com> wrote:
> I don't think this is possible. The WebKit source code in Android depends on
> many other internal system libraries that are not exposed by the NDK.
>
>
>
> On Mon, Oct 4, 2010 at 5:54 PM, headwire <bp.headw...@gmail.com> wrote:
> > Hello.
> > I'd like to know, how can I build a nightly version of WebKit for
> > Android 2.2 platform?
> > Do I have to replace Android WebKit lib/framework or just "compile" it
> > via NDK?
> > Any suggestions or guides?
>
> > Thanx.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-ndk" group.
> > To post to this group, send email to andro...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-ndk...@googlegroups.com<android-ndk%2Bunsubscribe@googlegr oups.com>
> > .

Gregory Ray

unread,
Oct 5, 2010, 6:00:36 AM10/5/10
to andro...@googlegroups.com
What David was saying isn't dependent on rather or not you replace the original WebKit, that would be impossible with the NDK. What he is saying is that WebKit depends on allot of libraries that handle things like SSL that we as 3rd party developers don't necessarily have access to. If you were to rebuild and link in the required libraries you might have a hairy mess of duplicate symbols, it would be a huge pain to get the dependency chain up and running but I think it is theoretically possible. I think you would need to look at the dependencies of webkit and see what is exposed and what is not and start downloading the sources of those that are not and trying to build with the NDK. I would think most of the hardware I/O would be through c sockets and probably abstracted by a library like libcurl which is why it seems theoretically possible to me but seems like it would be a major pain to get it running and playing nice.

To unsubscribe from this group, send email to android-ndk...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.




--
Gregory Ray
Co-founder, Seek Mobile Interactive, Inc.

---

This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

Reply all
Reply to author
Forward
0 new messages