h...@nnes wrote:
> So I made the decision of jumping into Android development and putting
> that service in a webview...  But honestly, starting from
> superscratch, it's kind of tough start ! I got the code below
> compiling and running on the emulator, the only catch is that it is
> neither fullscreen, nor does the respectivly called URL load up, but
> stays offline. Do you have any idea why is that? Chrome is online
> though.

With respect to the called URL not loading, note that Google's home page
requires Javascript, and Javascript is disabled by default. Add:

wv.getSettings().setJavaScriptEnabled(true);

With respect to fullscreen, Android doesn't do fullscreen by default.
Here's a blog post on the topic, with many comments from the core
Android team pointing out how I'm a moron ;-):

http://androidguys.com/?p=3333

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to