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=" 
    <script type="text/javascript">
    alert("This alert works fine");

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

    alert("This alert is never shown");

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

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



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


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


I don't understand at all...

Help please!

Thanks in advance


2. Java and mobile phones


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?