user dictionar

by Morris » Wed, 11 Mar 2009 19:54:16 GMT


Sponsored Links
 Hi All:

I couldn't use the function of user dictionary.
Is it not complete for android 1.5 or
Is it my program issue?

Thanks.

Morris
--~--~---------~--~----~------------~-------~--~----~



user dictionar

by Dianne Hackborn » Thu, 12 Mar 2009 02:17:26 GMT


 There is no android 1.5, and cupcake is still in development.  And this
should be asked on the platform groups.






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support.  All such questions should be posted on public
forums, where I and others can see and answer them.

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


Sponsored Links


Other Threads

1. Execute Android native executable in Debian - No such file or directory

Hi,

I have built a helloworld application using NDK. It works fine in
emulator and target.

If I load it to Debian system (armv5te), it would execute:

./helloworld
-bash: ./helloworld: No such file or directory

file helloworld
helloworld: ELF 32-bit LSB executable, ARM, version 1 (SYSV),
dynamically linked (uses shared libs), not stripped

I have put Android libraries into a local directory and set
LD_LIBRARY_PATH accordingly:

ldd helloworld
        libc.so => /root/projects/lib/libc.so (0x40001000)
        libstdc++.so => /root/projects/lib/libstdc++.so (0x40049000)
        libm.so => /root/projects/lib/libm.so (0x4004b000)
        libdl.so => /root/projects/lib/libdl.so (0x4006d000)

Using strace:

strace ./helloworld
execve("./helloworld", ["./helloworld"], [/* 16 vars */]) = -1 ENOENT
(No such file or directory)
dup(2)                                  = 3
fcntl64(3, F_GETFL)                     = 0x20002 (flags O_RDWR|
O_LARGEFILE)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4001e000
_llseek(3, 0, 0xbec38918, SEEK_CUR)     = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: No such file or di"..., 40strace: exec: No
such file or directory
) = 40
close(3)                                = 0
munmap(0x4001e000, 4096)                = 0
exit_group(1)                           = ?

Thanks.

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

2. Canvas.drawImage too slow?

my code is like this, holder is a SurfaceHolder, and colors is a int[]:

            canvas = (*env)->CallObjectMethod(env, holder,
mid_SurfaceHolder_lockCanvas);
            // JNI_TRUE for ARGB8888 and JNI_FALSE for RGB565
            (*env)->CallVoidMethod(env, canvas, mid_Canvas_drawBitmap,
colors, 0, sw, 0, 0, sw, sh, JNI_TRUE, 0);
            (*env)->CallVoidMethod(env, holder,
mid_SurfaceHolder_unlockCanvasAndPost, canvas);
            (*env)->DeleteLocalRef(env, canvas);

this should equal to

SurfaceHolder holder;
int[] colors; //raw rgb data
int sw = holder.getWidth();
int sh = holder.getHeight();
...
// here, too slow???
Canvas canvas = holder.lockCanvas();
canvas.drawImage(colors, 0, sw, 0, 0, sw, sh, true, null);
canvas.unlockCanvasAndPost();

i see drawImage and unlockCanvasAndPost consumes 100ms+ on the emulator, i
can't bear it.


-- 
language: Chinese, Japanese, English

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

3. Java101 strings and ints

4. How to develop a android app store

5. Out of memory in test application.

6. Duplicate strings.xml

7. setRequestedOrientation