Desktop API of Gears API does not work on Android browser for 1.5

by versae » Thu, 30 Apr 2009 02:05:58 GMT


Sponsored Links
 Since Android 1.5 (API Level 3), if I use the Desktop API of Gears API
in the Android browser, the Javascript flow breaks.

    <script type="text/javascript" src=" http://code.google.com/intl/es/ 
apis/gears/gears_init.js"></script>
    <script type="text/javascript">
    alert("This alert works fine");

    var desktop = google.gears.factory.create('beta.desktop');

    alert("This alert is never shown");
    </script>

No problems with any other API such as Geolocation API or Database
API.

Really I don't know if this issue belongs to Android or Google Gears,
but in previously versions of Android Desktop API worked fine.

Regards.

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



Other Threads

1. problem when Modifying a xml element with dom

Hi all,

I use dom to manipulate a xml file.

It's ok with my getter when I search a element node's value. But my
setter doesn't work. I'm sure that the node exists, and the xpath is
ok.

document.getElementsByTagName(tag).item(0).getFirstChild().setNodeValue(value);

Well I did exactly the same thing with the getter, there is no
problem.

document.getElementsByTagName(tag).item(0).getFirstChild().getNodeValue();

I don't understand at all...

Help please!

Thanks in advance

D.
--~--~---------~--~----~------------~-------~--~----~

2. Java and mobile phones

HI

I have read about Android, it is a great idea. But I did not
understand one thing - can create applications for mobile phones using
this language, for example Sony Ericsson.

Sincerely, InquisiToR
--~--~---------~--~----~------------~-------~--~----~

3. Article about Android

4. Has anybody been able to blur an image?

5. java-bindings for custom c-library on android?

6. How to insert image?

7. How can I get the current page's url of the web browser?