Including virtual keyboard widget in layout

by swapnil kamble » Wed, 03 Feb 2010 22:38:57 GMT


Sponsored Links
 I want to include virtual keyboard in my layout file.I am using foll.
code.

Is there anything I am missing ?
   <android.inputmethodservice.KeyboardView
           android:id="@android:id/keyboardView"
           android:background="@android:color/transparent"
           android:layout_alignParentBottom="true"
           android:layout_width="fill_parent"
           android:layout_height="wrap_content"
           android:keyTextSize="22sp"
           />


Is there anyone who know about it ?

Thanks in advance,
Swapnil

--



Other Threads

1. error in my Android app

I keep getting the following error in my Android app:


Thread [<1> main] (Suspended (exception RuntimeException))
        ActivityThread.performLaunchActivity(ActivityThread
$ActivityClientRecord, Intent) line: 1622
        ActivityThread.handleLaunchActivity(ActivityThread
$ActivityClientRecord, Intent) line: 1638
        ActivityThread.access$1500(ActivityThread, ActivityThread
$ActivityClientRecord, Intent) line: 117
        ActivityThread$H.handleMessage(Message) line: 928
        ActivityThread$H(Handler).dispatchMessage(Message) line: 99
        Looper.loop() line: 123
        ActivityThread.main(String[]) line: 3647
        Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
        Method.invoke(Object, Object...) line: 507
        ZygoteInit$MethodAndArgsCaller.run() line: 839
        ZygoteInit.main(String[]) line: 597
        NativeStart.main(String[]) line: not available [native method]

Anyone know what this means?

-- 

2. SIGSTKFLT from DefaultHttpClient

I run a set of AsyncTasks that are using the DefaultHttpClient to
access a server. From time to time, I'm seeing the following error,
which appears to be due to some sort of lock contention. This only
happens when I'm driving the system hard (>15 AsyncTasks at once). Is
it possible that the client is timing out waiting for a lock? Do I
need to parcel out the work in batches or is there a system setting I
can adjust to have it done for me?

01-20 17:11:26.321: INFO/dalvikvm(12090): "Binder Thread #1" prio=5
tid=6 NATIVE
01-20 17:11:26.321: INFO/dalvikvm(12090):   | group="main" sCount=1
dsCount=0 s=Y obj=0x4476a440 self=0x11e5a0
01-20 17:11:26.321: INFO/dalvikvm(12090):   | sysTid=12095 nice=0
sched=0/0 cgrp=default handle=1178872
01-20 17:11:26.321: INFO/dalvikvm(12090):   | schedstat=( 304260238
317352301 809 )
01-20 17:11:26.321: INFO/dalvikvm(12090):   at
dalvik.system.NativeStart.run(Native Method)
01-20 17:11:26.321: INFO/dalvikvm(12090): "Compiler" daemon prio=5
tid=5 VMWAIT
01-20 17:11:26.321: INFO/dalvikvm(12090):   | group="system" sCount=1
dsCount=0 s=N obj=0x44765348 self=0x11fb70
01-20 17:11:26.321: INFO/dalvikvm(12090):   | sysTid=12094 nice=0
sched=0/0 cgrp=default handle=1172656
01-20 17:11:26.321: INFO/dalvikvm(12090):   | schedstat=( 1851837165
854217465 10038 )
01-20 17:11:26.321: INFO/dalvikvm(12090):   at
dalvik.system.NativeStart.run(Native Method)
01-20 17:11:26.321: INFO/dalvikvm(12090): "JDWP" daemon prio=5 tid=4
VMWAIT
01-20 17:11:26.321: INFO/dalvikvm(12090):   | group="system" sCount=1
dsCount=0 s=N obj=0x447652a0 self=0x124880
01-20 17:11:26.321: INFO/dalvikvm(12090):   | sysTid=12093 nice=0
sched=0/0 cgrp=default handle=1172384
01-20 17:11:26.321: INFO/dalvikvm(12090):   | schedstat=( 4089356
2716063 18 )
01-20 17:11:26.321: INFO/dalvikvm(12090):   at
dalvik.system.NativeStart.run(Native Method)
01-20 17:11:26.321: INFO/dalvikvm(12090): "Signal Catcher" daemon
prio=5 tid=3 VMWAIT
01-20 17:11:26.321: INFO/dalvikvm(12090):   | group="system" sCount=1
dsCount=0 s=N obj=0x447651e8 self=0x125b80
01-20 17:11:26.321: INFO/dalvikvm(12090):   | sysTid=12092 nice=0
sched=0/0 cgrp=default handle=1152504
01-20 17:11:26.321: INFO/dalvikvm(12090):   | schedstat=( 518799
5676269 2 )
01-20 17:11:26.321: INFO/dalvikvm(12090):   at
dalvik.system.NativeStart.run(Native Method)
01-20 17:11:26.321: INFO/dalvikvm(12090): "HeapWorker" daemon prio=5
tid=2 MONITOR
01-20 17:11:26.321: INFO/dalvikvm(12090):   | group="system" sCount=1
dsCount=0 s=N obj=0x431a9d80 self=0x126f18
01-20 17:11:26.321: INFO/dalvikvm(12090):   | sysTid=12091 nice=0
sched=0/0 cgrp=default handle=1251760
01-20 17:11:26.329: INFO/dalvikvm(12090):   | schedstat=( 441986082
367523194 238 )
01-20 17:11:26.329: INFO/dalvikvm(12090):   at
org.apache.harmony.xnet.provider.jsse.OpenSSLSessionImpl.finalize(OpenSSLSessionImpl.java:~460)
01-20 17:11:26.329: INFO/dalvikvm(12090):   - waiting to lock
<0x40012550> (a java.lang.Class) held by threadid=46 (AsyncTask #37)
01-20 17:11:26.329: INFO/dalvikvm(12090):   at
dalvik.system.NativeStart.run(Native Method)
01-20 17:11:26.329: DEBUG/dalvikvm(12090): threadid=32: sending two
SIGSTKFLTs to threadid=2 (tid=12091) to cause de{*filter*}d dump
01-20 17:11:28.337: DEBUG/dalvikvm(12090): Sent, pausing to let
de{*filter*}d run
01-20 17:11:28.344: INFO/DEBUG(1003): *** *** *** *** *** *** *** ***
*** *** *** *** *** *** *** ***
01-20 17:11:28.344: INFO/DEBUG(1003): Build fingerprint: 'verizon/
voles/sholes/sholes:2.2.1/FRG83D/75603:user/release-keys'
01-20 17:11:28.344: INFO/DEBUG(1003): pid: 12090, tid: 12091  >>>
com.quickdroid <<<
01-20 17:11:28.344: INFO/DEBUG(1003): signal 16 (SIGSTKFLT), fault
addr 00002f3a
01-20 17:11:28.344: INFO/DEBUG(1003):  r0 fffffe00  r1 00000080  r2
00000002  r3 00000000
01-20 17:11:28.344: INFO/DEBUG(1003):  r4 002a1ac0  r5 00000002  r6
00000000  r7 000000f0
01-20 17:11:28.344: INFO/DEBUG(1003):  r8 00000002  r9 00000000  10
00126f18  fp 100ffe30
01-20 17:11:28.344: INFO/DEBUG(1003):  ip 805a24c8  sp 100ffaa0  lr
afd103bc  pc afd0eb68  cpsr 80000010
01-20 17:11:28.344: INFO/DEBUG(1003):  d0  643a64696f72646e  d1
6472656767756265
01-20 17:11:28.344: INFO/DEBUG(1003):  d2  448cf948448cf703  d3
448358184478c701
01-20 17:11:28.344: INFO/DEBUG(1003):  d4  448cf7f0448f73d0  d5
4478c758448cf948
01-20 17:11:28.352: INFO/DEBUG(1003):  d6  448132c0447a4ba0  d7
448b4a30447ba858
01-20 17:11:28.352: INFO/DEBUG(1003):  d8  0000000000000000  d9
0000000000000000
01-20 17:11:28.352: INFO/DEBUG(1003):  d10 0000000000000000  d11
0000000000000000
01-20 17:11:28.352: INFO/DEBUG(1003):  d12 0000000000000000  d13
0000000000000000
01-20 17:11:28.352: INFO/DEBUG(1003):  d14 0000000000000000  d15
0000000000000000
01-20 17:11:28.360: INFO/DEBUG(1003):  d16 000000000b0407ba  d17
3fe999999999999a
01-20 17:11:28.360: INFO/DEBUG(1003):  d18 42eccefa43de3400  d19
3fe00000000000b4
01-20 17:11:28.360: INFO/DEBUG(1003):  d20 4008000000000000  d21
3fd99a27ad32ddf5
01-20 17:11:28.360: INFO/DEBUG(1003):  d22 3fd24998d6307188  d23
3fcc7288e957b53b
01-20 17:11:28.360: INFO/DEBUG(1003):  d24 3fc74721cad6b0ed  d25
3fc39a09d078c69f
01-20 17:11:28.368: INFO/DEBUG(1003):  d26 0000000000000000  d27
0000000000000000
01-20 17:11:28.368: INFO/DEBUG(1003):  d28 0000000000000000  d29
0000000000000000
01-20 17:11:28.368: INFO/DEBUG(1003):  d30 0000000000000000  d31
0000000000000000
01-20 17:11:28.368: INFO/DEBUG(1003):  scr 80000012
01-20 17:11:28.516: INFO/DEBUG(1003):          #00  pc 0000eb68  /
system/lib/libc.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #01  pc 000103b8  /
system/lib/libc.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #02  pc 0004d096  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #03  pc 0004d856  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #04  pc 0001775c  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #05  pc 00022794  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #06  pc 00021634  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #07  pc 0005c5cc  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #08  pc 0005c7fc  /
system/lib/libdvm.so
01-20 17:11:28.516: INFO/DEBUG(1003):          #09  pc 0005203e  /
system/lib/libdvm.so
01-20 17:11:28.524: INFO/DEBUG(1003):          #10  pc 000520ca  /
system/lib/libdvm.so
01-20 17:11:28.524: INFO/DEBUG(1003):          #11  pc 000525a0  /
system/lib/libdvm.so
01-20 17:11:28.524: INFO/DEBUG(1003):          #12  pc 0004f9ec  /
system/lib/libdvm.so
01-20 17:11:28.524: INFO/DEBUG(1003):          #13  pc 00010ed4  /
system/lib/libc.so
01-20 17:11:28.524: INFO/DEBUG(1003):          #14  pc 000109c0  /
system/lib/libc.so
01-20 17:11:28.524: INFO/DEBUG(1003): code around pc:
01-20 17:11:28.524: INFO/DEBUG(1003): afd0eb48 0afffff7 e8bd4010
e12fff1e e1010090
01-20 17:11:28.524: INFO/DEBUG(1003): afd0eb58 e12fff1e e92d0090
e3a070f0 ef000000
01-20 17:11:28.524: INFO/DEBUG(1003): afd0eb68 e8bd0090 e12fff1e
e92d0090 e1a03002
01-20 17:11:28.524: INFO/DEBUG(1003): afd0eb78 e1a02001 e3a01000
e3a070f0 ef000000
01-20 17:11:28.524: INFO/DEBUG(1003): afd0eb88 e8bd0090 e12fff1e
e92d0090 e1a02001
01-20 17:11:28.524: INFO/DEBUG(1003): code around lr:
01-20 17:11:28.524: INFO/DEBUG(1003): afd1039c e3500000 0a00000e
e3560000 e3865002
01-20 17:11:28.524: INFO/DEBUG(1003): afd103ac 03a07080 13a07000
ea000000 ebfff9fb
01-20 17:11:28.524: INFO/DEBUG(1003): afd103bc e1a01004 e1a00005
ebfff9e2 e1a01007
01-20 17:11:28.524: INFO/DEBUG(1003): afd103cc e1a02005 e3a03000
e1560000 e1a00004
01-20 17:11:28.524: INFO/DEBUG(1003): afd103dc 1afffff5 e3a00000
e8bd87f0 ebfffc8a
01-20 17:11:28.524: INFO/DEBUG(1003): stack:
01-20 17:11:28.524: INFO/DEBUG(1003):     100ffa60  afd43724  /system/
lib/libc.so
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa64  10420e6c
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa68  00000001
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa6c  afd43760  /system/
lib/libc.so
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa70  100ffad0
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa74  4184ff88
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa78  4184ff74
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa7c  afd0be0d  /system/
lib/libc.so
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa80  100ffad0
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa84  4184ffa0
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa88  00000018
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa8c  afd43850  /system/
lib/libc.so
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa90  00126f18  [heap]
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa94  af0943ac  /system/
lib/libcrypto.so
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa98  df002777
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffa9c  e3a070ad
01-20 17:11:28.532: INFO/DEBUG(1003): #00 100ffaa0  002a1ac0  [heap]
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffaa4  00000080
01-20 17:11:28.532: INFO/DEBUG(1003): #01 100ffaa8  002a1ab0  [heap]
01-20 17:11:28.532: INFO/DEBUG(1003):     100ffaac  00000000
01-20 17:11:28.539: INFO/DEBUG(1003):     100ffab0  00126f18  [heap]
01-20 17:11:28.539: INFO/DEBUG(1003):     100ffab4  002a1ac0  [heap]
01-20 17:11:28.539: INFO/DEBUG(1003):     100ffab8  80517000  /system/
lib/libdvm.so
01-20 17:11:28.539: INFO/DEBUG(1003):     100ffabc  00000000
01-20 17:11:28.539: INFO/DEBUG(1003):     100ffac0  00126f18  [heap]
01-20 17:11:28.539: INFO/DEBUG(1003):     100ffac4  8054d099  /system/
lib/libdvm.so
01-20 17:11:29.657: INFO/DEBUG(1003): de{*filter*}d committing suicide to
free the zombie!
01-20 17:11:29.680: INFO/BootReceiver(1085): Copying /data/tombstones/
tombstone_00 to DropBox (SYSTEM_TOMBSTONE)

-- 

3. What to use for user feedback?

4. newbie - contact journey td sync?

5. Solved - Error install aplikSi

6. Build.SERIAL deprecated?

7. ListAdapter design advice