WebView and 1.60

NJDude

Expert
Licensed User
Longtime User
I'm having some issues playing flash in a webview, I have the following line of code:

B4X:
WebView1.LoadHtml("<iframe width='460' height='240' src='http://www.youtube.com/embed/zO2vfYNaIbk?autoplay=1' frameborder='0' allowfullscreen></iframe>")

On version 1.5 this line did nothing, meaning, didn't play at all (on my EVO 4G and a "generic and cheap" testing tablet), after I installed 1.6, the table still doesn't play the video but now my EVO just closes the app, no error messages, it just loads the app, displays the white frame where the webview is and closes, if I set 'JavaScriptEnabled' to FALSE on the designer, the EVO doesn't close the window (but doesn't play the video either) if I set it to TRUE the problem mentioned above repeats.

Anyone has this problem as well, or am I a lucky one? :D
 

NJDude

Expert
Licensed User
Longtime User
Ok, this is the log:

B4X:
GetAvailableMs
startOutput() output 1, stream 1
Enable ALT for speaker
ALT batt temp = 402
Starting activity: Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=com.BTT/.main }
Start proc com.BTT for activity com.BTT/.main: pid=6078 uid=10092 gids={3003}
Setting rotation to 1, animFlags=1
Config changed: { scale=1.0 imsi=310/120 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=2 layout=34 uiMode=17 seq=140}
AUDIO_START: start kernel pcm_out driver.
write blocked for 178 msecs, 29 delayed writes, thread 0x155e8
+ProcessAOLC ResetAOLC delta=9397 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
OutputStreamProcess::ResetAOLC()
GC_EXTERNAL_ALLOC freed 7827 objects / 439704 bytes in 116ms
Displayed activity com.BTT/.main: 355 ms (total 355 ms)
** Activity (main) Create, isFirst = true **
GC_FOR_MALLOC freed 7167 objects / 360296 bytes in 43ms
PluginManager::getPluginDirectories
PluginManager::getPluginDirectories target:/data/data/com.htc.flashliteplugin/lib
GC_FOR_MALLOC freed 6469 objects / 527992 bytes in 732ms
PluginManager::getPluginDirectories target:/data/data/com.adobe.flashplayer/lib
PluginManager::getPluginDirectories add:/data/data/com.adobe.flashplayer/lib
Settings::setMixedPluginEnabled 1
htcFlashPlugin::htcFlashPlugin
** Activity (main) Resume **
Settings::setMixedPluginEnabled 1
[JWebCoreJavaBridge::resume] >> do resume
queueRequest to set proxy
setProxyConfig mProxyHost=null
queueRequest with mProxyHost=null for http://www.youtube.com/embed/zO2vfYNaIbk?autoplay=1
GC_FOR_MALLOC freed 3060 objects / 185752 bytes in 42ms
GetAvailableMs
createPlugin (460,240) screen proportion:0.970464, content ratio:1.916667 mainUrl:file:///
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'sprint/htc_supersonic/supersonic/supersonic:2.2/FRF91/294884:user/release-keys'
pid: 6078, tid: 6084  >>> com.BTT <<<
signal 11 (SIGSEGV), fault addr 006c0070
 r0 006c0072  r1 00000000  r2 0025ca04  r3 00000000
 r4 002f61f0  r5 00000007  r6 00000000  r7 00000000
 r8 47ca7b80  r9 4320cea4  10 4320ce8c  fp 47ca7ed8
 ip 006c0070  sp 47ca6e68  lr a8491a7d  pc a840dc7c  cpsr 80000030
 d0  6472656767756265  d1  6565726373202965
 d2  726f706f7270203a  d3  392e303a6e6f692f
 d4  63202c3436343037  d5  7220746e65746e6f
 d6  392e313a6f697461  d7  616d203736363631
 d8  3ffeaaaaa0000000  d9  3fef0e0ac0000000
 d10 0000000000000000  d11 0000000000000000
 d12 0000000000000000  d13 0000000000000000
 d14 0000000000000000  d15 0000000000000000
 d16 3fe40fd000000000  d17 3e24a9b6a81fa000
 d18 3fe0000000000000  d19 3fe00000014a9b6b
 d20 3fe3333340000000  d21 3fd3333340000000
 d22 3fd51eb860000000  d23 40e01d100abe0000
 d24 40dd4c2013880000  d25 40ed4c1013880000
 d26 40cd4c4013880000  d27 0000000000000000
 d28 0000000000000000  d29 0000000000000000
 d30 0000000000000000  d31 0000000000000000
 scr 20000013
         #00  pc 0010dc7c  /system/lib/libwebcore.so
         #01  pc 00191a78  /system/lib/libwebcore.so
         #02  pc 00191b96  /system/lib/libwebcore.so
         #03  pc 0019434a  /system/lib/libwebcore.so
code around pc:
a840dc5c b92b0079 93021851 468c9103 e055461e 
a840dc6c 46331850 46849002 92034631 9a04e007 
a840dc7c 4c02f830 f8321936 31014011 3002191b 
a840dc8c dbf442a9 9a03006c 463c9403 27001960 
a840dc9c 0540eb02 46654629 460b469c d10c4566 
code around lr:
a8491a5c 1b42462b f77b4620 4620f8cd bf00bd70 
a8491a6c 6800b510 b1404613 22006809 f8d8f77c 
a8491a7c 0001f1d0 2000bf38 4608bd10 f9d8f77a 
a8491a8c bf00e7fa 4c26b5f0 bf00b085 4925a300 
a8491a9c ae0318e4 18614605 f77b4630 4631fb15 
stack:
    47ca6e28  47ca6e58  
    47ca6e2c  47ca6e5c  
    47ca6e30  a86dbfd6  /system/lib/libwebcore.so
    47ca6e34  afd0cda1  /system/lib/libc.so
    47ca6e38  00000007  
    47ca6e3c  a836c253  /system/lib/libwebcore.so
    47ca6e40  00000007  
    47ca6e44  a840e05d  /system/lib/libwebcore.so
    47ca6e48  00000007  
    47ca6e4c  00000000  
    47ca6e50  00000007  
    47ca6e54  a840e457  /system/lib/libwebcore.so
    47ca6e58  00000000  
    47ca6e5c  0025ca04  [heap]
    47ca6e60  df002777  
    47ca6e64  e3a070ad  
#00 47ca6e68  a86dbfd6  /system/lib/libwebcore.so
    47ca6e6c  002fa2ec  [heap]
    47ca6e70  006c0070  
    47ca6e74  006c0070  
    47ca6e78  0025ca04  [heap]
    47ca6e7c  a840c7c7  /system/lib/libwebcore.so
    47ca6e80  47ca6ef4  
    47ca6e84  002f61f0  [heap]
    47ca6e88  a87ffad8  /system/lib/libwebcore.so
    47ca6e8c  002fa2ec  [heap]
    47ca6e90  00000000  
    47ca6e94  a8491a7d  /system/lib/libwebcore.so
#01 47ca6e98  002f61f0  [heap]
    47ca6e9c  a8491b9b  /system/lib/libwebcore.so
GC_EXPLICIT freed 867 objects / 58296 bytes in 122ms
AudioHardware pcm playback is going to standby.
OutputStreamProcess::ResetAOLC()
WIN DEATH: Window{4603f940 com.BTT/com.BTT.main paused=false}
Process com.BTT (pid 6078) has died.
fail to set top app changed!
Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_TOMBSTONE)
close_akm, fd=152
Process 6078 terminated by signal (11)
Setting rotation to 0, animFlags=1
Config changed: { scale=1.0 imsi=310/120 loc=en_US touch=3 keys=1/1/2 nav=1/1 orien=1 layout=34 uiMode=17 seq=141}
Unexpected resume of com.htc.launcher while already resumed in com.BTT
GC_EXTERNAL_ALLOC freed 708 objects / 835136 bytes in 93ms
Got RemoteException sending setActive(false) notification to pid 6078 uid 10092
Compass CLOSE 
GetAvailableMs
GC_EXPLICIT freed 443 objects / 35560 bytes in 116ms
Default buffer size used in BufferedOutputStream constructor. It would be better to be explicit if an 8k buffer is required.
handleMessage >1
CdmaCellLocation Available
Adding Alarm{465d66e8 type 2 com.google.android.apps.maps} Dec 16 09:10:08 am
GetAvailableMs
GetAvailableMs
GC_EXPLICIT freed 3232 objects / 198096 bytes in 78ms
GetAvailableMs
GetAvailableMs
GC_EXPLICIT freed 3322 objects / 181336 bytes in 70ms
GetAvailableMs
 
Upvote 0

NJDude

Expert
Licensed User
Longtime User
It seems WebView is broken, I tried to play a flash component and a flash movie (non-YouTube) and got the same results on 3 different devices (the EVO still closes without error).

Thanks for your help.
 
Upvote 0
Top