Monday, May 14, 2012

An alternative to Android"s webview


Does anyone knows an alternative to Android's webview component ? For some reasons, it's functionality's are insufficient for me : I need to be able to catch every single request to some url, when i'm browsing a wml page (wap). Anyway, I need to be able to do stuff that Android's webview is not made for. I thought "hey, let's play with the source code, I'm pretty sure that webviews are using apache.org librairies to access internet". Oh boy was I mistaken. Webviews use native code, and that's where I'm stuck.



So I was wondering if anyone knew of another web browser view, in pure java, that would be open source and nice. It's not a problem if it's slow, i'm displaying some basic wap pages...



Thanks in advance.


Source: Tips4all

2 comments:

  1. Try to see how was Opera Mini programmed.

    But I think you must program it if you want another one . But i would be surprised if it has a nice performance.

    ReplyDelete
  2. Try this:

    goButton4.setOnClickListener(new OnClickListener() {
    public void onClick(View view) {
    Uri uri = Uri.parse("http://tory.com/");
    Intent intent = new Intent(Intent.ACTION_VIEW, uri);
    startActivity(intent);
    }
    });

    ReplyDelete