I'm not sure if the question is clear at all but here is what I want to do..
I am loading a webpage using WebView.. my code looks like this..
what this simple code does is load the website that I want to view.. fine..
But this site also has things like "Reply", "Register", "Login" and etc..
I'm trying to change it so that the user has to click the buttons that I create for him/her that will do basically the same thing.
Is this possible?
I asked on stackoverflow and only received two answers, one of them wasn't very clear.
do I HAVE to actually know javascript too?
I was wondering if I can just use java to do this and hoping one of the android classes handles such things.
I am loading a webpage using WebView.. my code looks like this..
Code:
public void open() {
myWebViewV = new WebView(this);
setContentView(myWebViewV);
myWebViewV.setWebViewClient(new WebViewClient() {
@Override
public boolean shouldOverrideUrlLoading(WebView view, String url){
view.loadUrl(url);
return true;
} });
myWebViewV.loadUrl("http://www.mywebsite.org");
}
what this simple code does is load the website that I want to view.. fine..
But this site also has things like "Reply", "Register", "Login" and etc..
I'm trying to change it so that the user has to click the buttons that I create for him/her that will do basically the same thing.
Is this possible?
I asked on stackoverflow and only received two answers, one of them wasn't very clear.
do I HAVE to actually know javascript too?
I was wondering if I can just use java to do this and hoping one of the android classes handles such things.