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. system_server SIGSEGV.

Can anyone help me to solve this issue?
I'm trying to porting android on Realview ARM 11 board.


I/DEBUG   (   52): de{*filter*}d: Apr 28 2009 13:10:13
I/vold    (   51): Android Volume Daemon version 2.0
I/DEBUG   (   52): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
*** ***
I/DEBUG   (   52): Build fingerprint:
'generic/generic/generic/:1.5/CUPCAKE/eng.sathish.20090428.151606:eng/test-keys'
I/DEBUG   (   52): pid: 51, tid: 51  >>> /system/bin/vold <<<
I/DEBUG   (   52): signal 11 (SIGSEGV), fault addr 00000000
I/DEBUG   (   52):  r0 00000000  r1 00000000  r2 00000000  r3 00000000
I/DEBUG   (   52):  r4 00000000  r5 00000000  r6 00000000  r7 00000000
I/DEBUG   (   52):  r8 50a1214a  r9 00000000  10 afe2e128  fp 00000010
I/DEBUG   (   52):  ip 00000000  sp bea99c88  lr 00000000  pc afe2e178  cpsr
20000010
I/DEBUG   (   52):          #00  pc 0002e178  /system/lib/libc.so
I/DEBUG   (   52):          #01  pc 00015e46  /system/lib/libc.so
I/DEBUG   (   52): stack:
I/DEBUG   (   52):     bea99c48  00000000
I/DEBUG   (   52):     bea99c4c  00000000
I/DEBUG   (   52):     bea99c50  00000000
I/DEBUG   (   52):     bea99c54  00000000
I/DEBUG   (   52):     bea99c58  00000000
I/DEBUG   (   52):     bea99c5c  bea99fa2  [stack]
I/DEBUG   (   52):     bea99c60  bea99f1c  [stack]
I/DEBUG   (   52):     bea99c64  50a1214a
I/DEBUG   (   52):     bea99c68  50a1214a
I/DEBUG   (   52):     bea99c6c  00000000
I/DEBUG   (   52):     bea99c70  00000000
I/DEBUG   (   52):     bea99c74  50a1214a
I/DEBUG   (   52):     bea99c78  00000000
I/DEBUG   (   52):     bea99c7c  afe2e128  /system/lib/libc.so
I/DEBUG   (   52):     bea99c80  df002777
I/DEBUG   (   52):     bea99c84  e3a070ad
I/DEBUG   (   52): #00 bea99c88  bea99c90  [stack]
I/DEBUG   (   52):     bea99c8c  afe15e49  /system/lib/libc.so
I/DEBUG   (   52): #01 bea99c90  00000002
I/DEBUG   (   52):     bea99c94  50a1214a
I/DEBUG   (   52):     bea99c98  00000000
I/DEBUG   (   52):     bea99c9c  00000000
I/DEBUG   (   52):     bea99ca0  00000000
I/DEBUG   (   52):     bea99ca4  00000000
I/DEBUG   (   52):     bea99ca8  00000000
I/DEBUG   (   52):     bea99cac  00000000
I/DEBUG   (   52):     bea99cb0  00000000
I/DEBUG   (   52):     bea99cb4  00000000
I/DEBUG   (   52):     bea99cb8  bea99d14  [stack]
I/DEBUG   (   52):     bea99cbc  afe39dd0
I/DEBUG   (   52):     bea99cc0  0000eb20  /system/bin/vold
I/DEBUG   (   52):     bea99cc4  bea99f1c  [stack]
I/DEBUG   (   52):     bea99cc8  00000000
I/DEBUG   (   52):     bea99ccc  00000075
I/DEBUG   (   52):     bea99cd0  00000001
I/DEBUG   (   52):     bea99cd4  00000000
I/vold    (   63): Android Volume Daemon version 2.0
I/vold    (   63): New MMC card 'SD01G' (serial 1352737098) added @
/class/mmc_host/mmc0/mmc0:e624
E/vold    (   63): Unable to open '/sys/class/switch' (m)
D/vold    (   63): Bootstrapping complete
D/AndroidRuntime(   54):
D/AndroidRuntime(   54): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
D/AndroidRuntime(   54): CheckJNI is ON
I/dalvikvm(   54): DexOpt: source file mod time mismatch (3a959567 vs
3a9c6032)
D/dalvikvm(   54): Stale deps in cache file; removing and retrying
I/        (   55): ServiceManager: 0xac38
W/AudioHardwareInterface(   55): Using stubbed audio hardware. No sound will
be produced.
I/AudioFlinger(   55): AudioFlinger's thread ready to run for output 0
I/CameraService(   55): CameraService started: pid=55
D/dalvikvm(   54): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
D/dalvikvm(   67): Ignoring duplicate verify attempt on Ljava/lang/Object;
D/dalvikvm(   67): Ignoring duplicate verify attempt on Ljava/lang/Class;
D/dalvikvm(   67): DexOpt: load 876ms, verify 7665ms, opt 519ms
D/dalvikvm(   54): DexOpt: --- END 'core.jar' (success) ---
D/dalvikvm(   54): DEX prep '/system/framework/core.jar': unzip in 3431ms,
rewrite 31263ms
I/dalvikvm(   54): DexOpt: source file mod time mismatch (3a959597 vs
3a9c6081)
D/dalvikvm(   54): Stale deps in cache file; removing and retrying
D/dalvikvm(   54): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
D/dalvikvm(   68): DexOpt: load 3465ms, verify 2722ms, opt 120ms
D/dalvikvm(   54): DexOpt: --- END 'ext.jar' (success) ---
D/dalvikvm(   54): DEX prep '/system/framework/ext.jar': unzip in 620ms,
rewrite 12081ms
I/dalvikvm(   54): DexOpt: source file mod time mismatch (3a9595d7 vs
3a9c60e1)
D/dalvikvm(   54): Stale deps in cache file; removing and retrying
D/dalvikvm(   54): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
D/dalvikvm(   69): DexOpt: load 6849ms, verify 12221ms, opt 669ms
D/dalvikvm(   54): DexOpt: --- END 'framework.jar' (success) ---
D/dalvikvm(   54): DEX prep '/system/framework/framework.jar': unzip in
4119ms, rewrite 48569ms
I/dalvikvm(   54): DexOpt: source file mod time mismatch (3a95985b vs
3a9c63c6)
D/dalvikvm(   54): Stale deps in cache file; removing and retrying
D/dalvikvm(   54): DexOpt: --- BEGIN 'android.policy.jar' (bootstrap=1) ---
D/dalvikvm(   70): DexOpt: load 7960ms, verify 2410ms, opt 387ms
D/dalvikvm(   54): DexOpt: --- END 'android.policy.jar' (success) ---
D/dalvikvm(   54): DEX prep '/system/framework/android.policy.jar': unzip in
37ms, rewrite 12247ms
I/dalvikvm(   54): DexOpt: source file mod time mismatch (3a9598c5 vs
3a9c645d)
D/dalvikvm(   54): Stale deps in cache file; removing and retrying
D/dalvikvm(   54): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) ---
I/DEBUG   (   52): *** *** *** *** *** *** *** *** *** *** *** *** *** ***
*** ***
I/DEBUG   (   52): Build fingerprint:
'generic/generic/generic/:1.5/CUPCAKE/eng.sathish.20090428.151606:eng/test-keys'
I/DEBUG   (   52): pid: 71, tid: 71  >>> /system/bin/dexopt <<<
I/DEBUG   (   52): signal 11 (SIGSEGV), fault addr 00000008
I/DEBUG   (   52):  r0 00000000  r1 00000000  r2 00000000  r3 bede2fc8
I/DEBUG   (   52):  r4 00000000  r5 cccccccc  r6 0ccccccc  r7 00000009
I/DEBUG   (   52):  r8 00000000  r9 00000000  10 00000000  fp 00000000
I/DEBUG   (   52):  ip 0000001a  sp bede2a90  lr 0000000a  pc 00000008  cpsr
40000010
I/DEBUG   (   52):          #00  pc 00000008
I/DEBUG   (   52):          #01  lr 0000000a  <unknown>
I/DEBUG   (   52): stack:
I/DEBUG   (   52):     bede2a50  a9d470e0
I/DEBUG   (   52):     bede2a54  a9d29017  /system/lib/libutils.so
I/DEBUG   (   52):     bede2a58  a9d46b88
I/DEBUG   (   52):     bede2a5c  00000001
I/DEBUG   (   52):     bede2a60  00000046
I/DEBUG   (   52):     bede2a64  afe0e964  /system/lib/libc.so
I/DEBUG   (   52):     bede2a68  0000b270  [heap]
I/DEBUG   (   52):     bede2a6c  0006d8b5
I/DEBUG   (   52):     bede2a70  00000407
I/DEBUG   (   52):     bede2a74  b00003c9  /system/bin/linker
I/DEBUG   (   52):     bede2a78  aac0201a  /system/lib/libsqlite.so
I/DEBUG   (   52):     bede2a7c  afe02144  /system/lib/libc.so
I/DEBUG   (   52):     bede2a80  afe39dd0
I/DEBUG   (   52):     bede2a84  0000000a
I/DEBUG   (   52):     bede2a88  df002777
I/DEBUG   (   52):     bede2a8c  e3a070ad
I/DEBUG   (   52): #00 bede2a90  bede2fc9  [stack]
I/DEBUG   (   52):     bede2a94  00000039
I/DEBUG   (   52):     bede2a98  00000000
I/DEBUG   (   52):     bede2a9c  00000007
I/DEBUG   (   52):     bede2aa0  ffff8ba4
I/DEBUG   (   52):     bede2aa4  bede2fc8  [stack]
I/DEBUG   (   52):     bede2aa8  ffff8ba4
I/DEBUG   (   52):     bede2aac  afe3a134
I/DEBUG   (   52):     bede2ab0  00000000
I/DEBUG   (   52):     bede2ab4  afe1785d  /system/lib/libc.so
I/DEBUG   (   52):     bede2ab8  00000bec
I/DEBUG   (   52):     bede2abc  afe226ed  /system/lib/libc.so
I/DEBUG   (   52):     bede2ac0  bedc3000
I/DEBUG   (   52):     bede2ac4  bede2c28  [stack]
I/DEBUG   (   52):     bede2ac8  afe463b0
I/DEBUG   (   52):     bede2acc  bede2c74  [stack]
I/DEBUG   (   52):     bede2ad0  bede2cb0  [stack]
I/DEBUG   (   52):     bede2ad4  afe1fd2b  /system/lib/libc.so
W/dalvikvm(   54): DexOpt: --- END 'services.jar' --- status=0x000b, process
failed
E/dalvikvm(   54): Unable to extract+optimize DEX from
'/system/framework/services.jar'
D/dalvikvm(   54): Failed on '/system/framework/services.jar' (boot=1)
D/dalvikvm(   54): VM cleaning up
D/dalvikvm(   54): LinearAlloc 0x0 used 4100 of 4194304 (0%)
W/dalvikvm(   54): JNI_CreateJavaVM failed
E/AndroidRuntime(   54): JNI_CreateJavaVM failed
D/AndroidRuntime(   72):
D/AndroidRuntime(   72): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<



sathish

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:  http://www.***.com/ 
-~----------~----~----~----~------~----~------~--~---

2. RIL and datacall (CSD)

Hello
I tried to establish datacall between android phone and other phone,
and I failed.

AFAIK, CSD is recognized using %CPI (call progress infromation),
looking in reference-ril.c:onUnsolicited it seems that RIL handle
following unsolicited commands:
* CTZV: Unsolicited result code for time zone change events
* CRING, RING, NO CARRIES, CCWA: - ringing, call waiting
* CMT: Notification of a directly delievered SMS message
* CREG: network registration
* CDS: sms
* CGEV: gprs

So, current RIL and probably jave framework can not recognize datacall
also framework does not support this.

Is there any plan for extending this functionality?

for extending SW?

Best regards
Mile

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

3. where is "bionic/libc/kernel/original"??

4. USSD feature on Android

5. Wi Fi connection

6. regarding soap client and webservices

7. Google I/O 2008 - Dalvik VM Internals - implicit labeling