Android Application Development Tutorial - 90 - WebView navigation methods

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

thanks! It would have taken me a week to find that solution without this post...

Thumbs up from me...

idiotsnightmare
Автор

Thank you this also helped me spot the mistake I did :)

cajogos
Автор

When I hit the go button it brings up my systems browser instead of the the simple browser.

Murphys
Автор

i had a problem that i could not use my keyboard to type and could only use the softkeys on the emu. The reason is that in SDK rev 20 it is standing default to off.

to solve this you have to change "hw.keyboard=no" to yes
in the config.ini file (or add it if it is not there)

if you start the avd manager you should see the location of your virtual devices

djayjinx
Автор

same problem here, been testing some examples downloaded from the Google Developer site but it does the same. Maybe it's a problem with the new SDK versions? Probably it'll show how to fix it in the next tutorial :-)

haplillo
Автор

The site is not rendered in the webview as seen in the tutorial. It gets rendered in the new browser intent. Any one face similar situation?

pras
Автор

i did make one modification to this... I put the setWebViewClient above the switch so i didn't have to worry about setting it in each case...

idiotsnightmare
Автор

Did you figure this out? i am having the same problem. When I type an address and hit go it crashes

janellesalisbury
Автор

where you set up the WebView in the onCreate you need to delete the WebView... it should just be ourBrow = (WebView) findViewById(R.id.wv...)

janellesalisbury
Автор

My issue was I was using an "ImageButton", my solution was:
Change the ImageButton to a normal Button, then set the background on the button to your image like this~
android:background="Your drawable .png/.jpg/.xml"
This should work, otherwise try importing ImageButton rather than Button

LeviRockerSker
Автор

When I add the "onClickListener(this);" my application crashes. Why?

LeviRockerSker
Автор

dude my app keeps crashing when I try to run it.

Saps
Автор

how about to add proxy before we loadUrl in webview?

MrKimbum
Автор

@pras1106 Hi! Same thing is happening to me. Did you figure out how to solve that? Thanks.

JoseRacionero
Автор

Im getting the same error, any updates on this?

kristjanmik
Автор

I don't see any need of putting if(ourBrow.canGoBack)) ||  if(ourBrow.canGoForward) since they perfectly work without them.

Rassy_
Автор

ist doesnt load any website? strange. Any ideas?

klofisch
Автор

the best language is not always the best to learn

OscarFPV
Автор

tried youtube website still did same thing as with google

evgenytofler
Автор

I did :( and I don't know how to solve it :(

VEGETADTX
join shbcf.ru