Multiple pages WBXML support about org.kxml2.wap.WbxmlSerializer in dalvik/libcore/xml/src/main/java/org/kxml2/wap

by Dengxiang . Zhou » Tue, 04 Nov 2008 07:53:07 GMT


Sponsored Links
 Dear friends,

In dalvik/libcore/xml/src/main/java/org/kxml2/wap/
WbxmlSerializer.java, the function

public void setTagTable(int page, String[] tagTable) {

contents these code lines:
        if (page != 0)
            return;

But in the original org/kxml2/wap/WbxmlSerializer.java on
 http://downloads.sourceforge.net/kxml/kxml2-src-2.3.0.zip?modtime=1151079334& ;big_mirror=0,
there is not these lines.

The question is that with these lines, WbxmlSerializer cannot support
multiple pages WBXML.

Could anyone tell me why android add these lines to disable multiple
WBXML pages support?

Best Regards,.
--~--~---------~--~----~------------~-------~--~----~



Multiple pages WBXML support about org.kxml2.wap.WbxmlSerializer in dalvik/libcore/xml/src/main/java/org/kxml2/wap

by Mark Murphy » Tue, 04 Nov 2008 12:56:48 GMT


 


You will have better luck on a mailing list related to the Android 
source code:

 http://source.android.com/discuss 

android-platform, in the "Open source mailing lists", might be the one 
you want.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 

Android Training on the Ranch! -- Mar 16-20, 2009
 http://www.bignerdranch.com/schedule.shtml 

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


Sponsored Links


Other Threads

1. How to display the output fast?

Hi, I need to display the sensors data on the phone, and I'm currently
using ViewText.setText(). But it seems not fast enough. Since I'm
using the FASTEST sampling rate for the sensors, the display just
can't catch up with the sensors data changing. Also, I need to display
the data as fast as possible in order not to introduce delay for the
sensor sampling. So could anybody suggest me another way to display
the data on the phone fast? Thank you!
--~--~---------~--~----~------------~-------~--~----~

2. about android wifi problem

LInux:2.6.27

rootfs:android1.5

usb wifi:rt3070


# ifconfig ra0 up
[ 727.970373] CEEPDQ
[ 727.973934] #
[ 727.990331] CEEPDQ
[ 727.993865] #
[ 728.010325] CEEPDQ
[ 728.013855] #
[ 728.030324] CEEPDQ
[ 728.033854] #
[ 728.050326] CEEPDQ
[ 728.053856] #
[ 728.070324] CEEPDQ
[ 728.073854] #
[ 728.090324] CEEPDQ
[ 728.093854] #
[ 728.110324] CEEPDQ
[ 728.113856] #
[ 728.130323] CEEPDQ
[ 728.133853] #
[ 728.150324] CEEPDQ
[ 728.153855] #
[ 728.170324] CEEPDQ
[ 728.173856] #
[ 728.190324] CEEPDQ
[ 728.193856] #
[ 728.210324] CEEPDQ
[ 728.213855] #
[ 728.230330] CEEPDQ
[ 728.233863] #
[ 728.250325] CEEPDQ
[ 728.253857] #
[ 728.266879] #
[ 728.280314] CEEPDQ
[ 728.283855] #
[ 728.300313] CEEPDQ
[ 728.303853] #
[ 728.320313] CEEPDQ
[ 728.323854] #
[ 728.340322] CEEPDQ
[ 728.343873] #
[ 728.360313] CEEPDQ
[ 728.363855] #
[ 728.380312] CEEPDQ
[ 728.383853] #
[ 728.400311] CEEPDQ
[ 728.403852] #
[ 728.420312] CEEPDQ
[ 728.423852] #
[ 728.440312] CEEPDQ
[ 728.443853] #
[ 728.460312] CEEPDQ
[ 728.463852] #
[ 728.480312] CEEPDQ
[ 728.483852] #
[ 728.500311] CEEPDQ
[ 728.503851] #
[ 728.520330] CEEPDQ
[ 728.520381] #
[ 728.530348] CEEPDQ
[ 728.533880] #
[ 728.550326] CEEPDQ
[ 728.550359] #
[ 728.560312] CEEPDQ
[ 728.563854] #
[ 728.580312] CEEPDQ
[ 728.583853] #
[ 728.600312] CEEPDQ
[ 728.603853] #
[ 728.627635] ifconfig: page allocation failure. order:6, mode:0x1
[ 728.630806] [<c010441c>] (dump_stack+0x0/0x14) from [<c0150a0c>]
(__alloc_pages_internal+0x310/0x3fc)
[ 728.640070] [<c01506fc>] (__alloc_pages_internal+0x0/0x3fc) from
[<c0105d54>] (__dma_alloc+0x118/0x490)
[ 728.649378] [<c0105c3c>] (__dma_alloc+0x0/0x490) from [<c010615c>]
(dma_alloc_coherent+0x60/0x68)
[ 728.658335] [<c01060fc>] (dma_alloc_coherent+0x0/0x68) from [<c02c5560>]
(hcd_buffer_alloc+0x60/0xa8)
[ 728.667485] r7:c88a1002 r6:00000002 r5:00000020 r4:c88a1194
[ 728.673073] [<c02c5500>] (hcd_buffer_alloc+0x0/0xa8) from [<c02b9c70>]
(usb_buffer_alloc+0x2c/0x30)
[ 728.682102] r5:00000000 r4:c88a1150
[ 728.685659] [<c02b9c44>] (usb_buffer_alloc+0x0/0x30) from [<bf0c9a1c>]
(NICInitTransmit+0xbc/0x828 [rt3070sta])
[ 728.695731] [<bf0c9960>] (NICInitTransmit+0x0/0x828 [rt3070sta]) from
[<bf0ca1e4>] (RTMPAllocTxRxRingMemory+0x5c/0xd4 [rt3070sta])
[ 728.707520] [<bf0ca188>] (RTMPAllocTxRxRingMemory+0x0/0xd4 [rt3070sta])
from [<bf0b3b84>] (rt28xx_open+0xb8/0x5b0 [rt3070sta])
[ 728.718865] r5:c6c90000 r4:00000000
[ 728.722376] [<bf0b3acc>] (rt28xx_open+0x0/0x5b0 [rt3070sta]) from
[<bf0b4460>] (MainVirtualIF_open+0xec/0x150 [rt3070sta])
[ 728.733403] [<bf0b4374>] (MainVirtualIF_open+0x0/0x150 [rt3070sta]) from
[<c0315d84>] (dev_open+0xa4/0x100)
[ 728.743124] r5:c6c9002c r4:c6c90000
[ 728.746680] [<c0315ce0>] (dev_open+0x0/0x100) from [<c0314c28>]
(dev_change_flags+0x78/0x180)
[ 728.755188] r5:c6c90000 r4:00000041
[ 728.758745] [<c0314bb0>] (dev_change_flags+0x0/0x180) from [<c0357d58>]
(devinet_ioctl+0x774/0x86c)
[ 728.767843] r7:00000000 r6:00000000 r5:c7bd4000 r4:beb3e9b8
[ 728.773414] [<c03575e4>] (devinet_ioctl+0x0/0x86c) from [<c035855c>]
(inet_ioctl+0x1ac/0x1c4)
[ 728.781921] [<c03583b0>] (inet_ioctl+0x0/0x1c4) from [<c030626c>]
(sock_ioctl+0xc8/0x24c)
[ 728.790081] [<c03061a4>] (sock_ioctl+0x0/0x24c) from [<c0180a14>]
(vfs_ioctl+0x34/0x98)
[ 728.798095] r7:c4df2620 r6:beb3e9b8 r5:00008914 r4:c4df2620
[ 728.803707] [<c01809e0>] (vfs_ioctl+0x0/0x98) from [<c0180c7c>]
(do_vfs_ioctl+0x204/0x338)
[ 728.811955] r7:c4df2620 r6:beb3e9b8 r5:c4df2620 r4:00000003
[ 728.817596] [<c0180a78>] (do_vfs_ioctl+0x0/0x338) from [<c0180df0>]
(sys_ioctl+0x40/0x68)
[ 728.825755] r9:c7bd4000 r8:c00ffe48 r7:c4df2620 r6:00008914 r5:beb3e9b8
[ 728.832264] r4:00000003
[ 728.834870] [<c0180db0>] (sys_ioctl+0x0/0x68) from [<c00ffca0>]
(ret_fast_syscall+0x0/0x2c)
[ 728.843210] r7:00000036 r6:00000000 r5:00000004 r4:000ba6c7
[ 728.848844] Mem-info:
[ 728.851101] DMA per-cpu:
[ 728.853619] CPU 0: hi: 42, btch: 7 usd: 35
[ 728.858433] Active:9815 inactive:4101 dirty:68 writeback:0 unstable:0
[ 728.858443] free:8283 slab:996 mapped:3229 pagetables:467 bounce:0
[ 728.871124] DMA free:33132kB min:1440kB low:1800kB high:2160kB
active:39260kB inactive:16404kB present:130048kB pages_scanned:0
all_unreclaimable? no
[ 728.884476] lowmem_reserve[]: 0 0 0
[ 728.887904] DMA: 2455*4kB 2126*8kB 256*16kB 27*32kB 11*64kB 5*128kB
0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 33132kB
[ 728.898755] 7330 total pagecache pages
[ 728.902486] 0 pages in swap cache
[ 728.905791] Swap cache stats: add 0, delete 0, find 0/0
[ 728.911050] Free swap = 0kB
[ 728.913856] Total swap = 0kB
[ 728.924840] 32768 pages of RAM
[ 728.925056] 8509 free pages
[ 728.928870] 8112 reserved pages
[ 728.930958] 996 slab pages
[ 728.933646] 12045 pages shared
[ 728.936684] 0 pages swap cached
[ 728.939897] <-- ERROR in Alloc TX TxContext[2] HTTX_BUFFER !!
[ 728.945863] <-- RTMPAllocTxRxRingMemory, Status=3
[ 728.950392] ERROR!!! RTMPAllocDMAMemory failed, Status[=0x00000003]
[ 728.956567] !!! RT2870 Initialized fail !!!
ifconfig: SIOCSIFFLAGS: Operation not permitted

anyone knows ?
thanks

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. android ndk audio eac busy

4. Determining keyboard vibrate setting

5. Cyanogen 4.2.1

6. repo: command not found

7. WebView clearHistory() problem