Android Question How to input Chinese characters in edittext?

Eric K.F

Member
Hi Everyone,
I am new to here, I am new to B4A also,
I am trying to develop a simple app with B4A,
however, I am facing some problem with that,
1) how to input Chinese characters in a edittext Components
?
2) what I try to use webview, it cause a auto close on my emulator.
Thanks everyone^^

Eric
 

Eric K.F

Member
>>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
CheckJNI is ON
JIT created with code_cache_capacity=2MB compile_threshold=1000
No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
Couldn't load memtrack module (No such file or directory)
failed to load memtrack module: -2
register_android_hardware_Radio DONE
Calling main entry com.android.commands.am.Am
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=b4a.example/.main} from uid 0 on display 0
Registering a buffer in the process that created it. This may cause memory ordering problems.
called unimplemented OpenGL ES API
glCheckFramebufferStatusOES error 2102915518
got GL_FRAMEBUFFER_COMPLETE_OES error while taking screenshot
onPause: false
Shutting down VM
Late-enabling JIT
Start proc 2871:b4a.example/u0a54 for activity b4a.example/.main
JIT created with code_cache_capacity=2MB compile_threshold=1000
Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.activityPaused(android.os.IBinder) from ActivityManagerService.java:6439 waiters=0 for 380ms
Skipped 90 frames! The application may be doing too much work on its main thread.
Skipped 82 frames! The application may be doing too much work on its main thread.
Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.attachApplication(android.app.IApplicationThread) from ActivityManagerService.java:6186 waiters=0 for 371ms
Long monitor contention event with owner method=int com.android.server.wm.WindowManagerService.relayoutWindow(com.android.server.wm.Session, android.view.IWindow, int, android.view.WindowManager$LayoutParams, int, int, int, int, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.graphics.Rect, android.content.res.Configuration, android.view.Surface) from WindowManagerService.java:3097 waiters=0 for 125ms
Skipped 46 frames! The application may be doing too much work on its main thread.
Skipped 33 frames! The application may be doing too much work on its main thread.
Skipped 120 frames! The application may be doing too much work on its main thread.
Skipped 48 frames! The application may be doing too much work on its main thread.
Skipped 46 frames! The application may be doing too much work on its main thread.
Skipped 104 frames! The application may be doing too much work on its main thread.
ClassLoader referenced unknown path: /data/app/b4a.example-2/lib/x86
Skipped 31 frames! The application may be doing too much work on its main thread.
Skipped 34 frames! The application may be doing too much work on its main thread.
Background sticky concurrent mark sweep GC freed 22949(848KB) AllocSpace objects, 0(0B) LOS objects, 70% free, 750KB/2MB, paused 1.700ms total 255.171ms
Skipped 401 frames! The application may be doing too much work on its main thread.
Emulator without GPU emulation detected.
Skipped 236 frames! The application may be doing too much work on its main thread.
Skipped 165 frames! The application may be doing too much work on its main thread.
Skipped 66 frames! The application may be doing too much work on its main thread.
Skipped 231 frames! The application may be doing too much work on its main thread.
Skipped 115 frames! The application may be doing too much work on its main thread.
** Activity (main) Create, isFirst = true **
Loading com.android.webview version 44.0.2403.119 (code 246011910)
ClassLoader referenced unknown path: /system/app/webview/lib/x86
Time to load native libraries: 32 ms (timestamps 9943-9975)
Expected native library version number "",actual native library version number ""
Binding Chromium to main looper Looper (main, tid 1) {ff553d5}
Expected native library version number "",actual native library version number ""
[INFO:library_loader_hooks.cc(120)] Chromium logging enabled: level = 0, default verbosity = 0
Initializing chromium process, singleProcess=true
Attempt to remove non-JNI local reference, dumping thread
ApplicationContext is null in ApplicationStatus
[WARNING:resource_bundle.cc(285)] locale_file_path.empty()
validate_display:255 error 3008 (EGL_BAD_DISPLAY)
validate_display:255 error 3008 (EGL_BAD_DISPLAY)
[ERROR:gl_surface_egl.cc(327)] No suitable EGL configs found.
[ERROR:gl_surface_android.cc(23)] GLSurfaceEGL::InitializeOneOff failed.
[ERROR:browser_main_loop.cc(698)] GLSurface::InitializeOneOff failed
No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp
Requires BLUETOOTH permission
Attempt to remove non-JNI local reference, dumping thread
onDetachedFromWindow called when already detached. Ignoring
** Activity (main) Resume **
Skipped 3959 frames! The application may be doing too much work on its main thread.
Skipped 30 frames! The application may be doing too much work on its main thread.Displayed b4a.example/.main: +7s569ms
[WARNING:data_reduction_proxy_config.cc(423)] SPDY proxy OFF at startup
Skipped 281 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Skipped 83 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Skipped 110 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Skipped 66 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Skipped 72 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Skipped 46 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Attempt to remove non-JNI local reference, dumping thread
Skipped 43 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Attempt to remove non-JNI local reference, dumping thread
Attempt to remove non-JNI local reference, dumping thread
Suspending all threads took: 8.561ms
Attempt to remove non-JNI local reference, dumping thread
Skipped 38 frames! The application may be doing too much work on its main thread.
Attempt to remove non-JNI local reference, dumping thread
Attempt to remove non-JNI local reference, dumping thread
Attempt to remove non-JNI local reference, dumping thread
Background partial concurrent mark sweep GC freed 8354(543KB) AllocSpace objects, 11(1596KB) LOS objects, 24% free, 2MB/3MB, paused 24.468ms total 1.089s
 
Upvote 0

Eric K.F

Member
Process 2871 exited due to signal (6)
WIN DEATH: Window{eac4fcd u0 b4a.example/b4a.example.main}
Process b4a.example has crashed too many times: killing!
Force finishing activity b4a.example/.main
Wtf, activity ActivityRecord{1b4d6ed u0 b4a.example/.main t47 f} in proc activity list not using proc ProcessRecord{7c9092c 2871:b4a.example/u0a54}?!? Using null instead.
Error opening /proc/2871/oom_score_adj; errno=2
Suspending all threads took: 14.344ms
Suspending all threads took: 16.165ms
Killing 2871:b4a.example/u0a54 (adj 9): crash
CollectorTransition marksweep + semispace GC freed 2079(-10KB) AllocSpace objects, 0(0B) LOS objects, 30% free, 1166KB/1678KB, paused 144.337ms total 144.337ms
Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo) from ActivityManagerService.java:12502 waiters=0 for 459ms
Spurious death for ProcessRecord{7c9092c 0:b4a.example/u0a54}, curProc for 2871: null
Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo) from ActivityManagerService.java:12502 waiters=1 for 349ms
Long monitor contention event with owner method=void com.android.server.am.ActivityManagerService.crashApplication(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo) from ActivityManagerService.java:12502 waiters=3 for 265ms
Background sticky concurrent mark sweep GC freed 6554(683KB) AllocSpace objects, 11(1276KB) LOS objects, 10% free, 6MB/6MB, paused 24.754ms total 499.782ms
Got RemoteException sending setActive(false) notification to pid 2871 uid 10054
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…