Google Gears on Android 2?

by Earle » Fri, 13 Nov 2009 07:22:46 GMT


Sponsored Links
 Both the Google+Android2 emulator and the real Motorola DROID device
seem to not be able to run the sample Google Gears applications.

For example, the sample 
 http://code.google.com/apis/gears/samples/hello_world_geolocation.html 
displays a dialog prompting for the installation of Gears - selecting
'ok' redirects to a page that states that Gears is not available for
this platform.

When will Google Gears be made available on Android 2?

--



Other Threads

1. WebView loadData limitations

Hi all,

I've been playing with WebView and trying to see what things I can do
with it.  From my experiments I'm wondering whether the following
limitations exist with the loadData method:

1)  Are there any limitations on the link targets that can be used in
the HTML given to loadData?  Clicking on any links I've included in
the HTML content I've passed to loadData don't seem to do anything.  I
don't see any errors generated in the log either, so perhaps I'm
missing something?  An example:

myWebView.loadData("<a href=\"http://www.cnn.com\">CNN</a>", "text/
html", "utf-8");

The link itself highlights to indicate that it has been clicked, but
the link is never loaded.

2)  Is it possible to override URL loading (i.e. through the
WebViewClient method shouldOverrideUrlLoading) for HTML content that
is loaded into a WebView using its loadData method?  Whenever I click
on any links in the HTML content I've passed to loadData the
shouldOverrideUrlLoading method is not called even though I have
explicitly set the WebView's WebViewClient with
setWebViewClient([subclass of WebViewClient where
shouldOverrideUrlLoading is overridden).  However, if I use
loadUrl("http://www.cnn.com"), for example, with the same WebView
object, the shouldOverrideUrlLoading method is called and I can
intercept the handling.

3)  Is it possible to refer, in the HTML given to loadData, to an
image that has been dynamically stored on the device?  From what I can
currently tell it seems that the only way to do this is to use, for
example: <img src="data:image/png;base64,[image_content]" /> where
image_content is the actual base64-encoded image.

Thanks very much,
Dave

--~--~---------~--~----~------------~-------~--~----~

2. How do i set onClick image

Hi,

Does anyone know how to set the onClick image on a button with custom
image background? For example, with the standard android button, the
button will turn orange on click and then return to its normal color.
How do I do the same thing but with custom images?

thanks for your help
--~--~---------~--~----~------------~-------~--~----~

3. Update for Android Marketplace....

4. For those who still think the "free" G1 in the UK is a bargain...

5. BUILD FAILING FOR UNKNOWN REASONS

6. APIDemo icon gone

7. My first attempt at writing an Android tutorial