18 android apps to get you started

by bumi030207 » Sat, 27 Feb 2010 15:21:26 GMT

Sponsored Links
 buat yang masih bingung milih apps apa kira2 yg kudu di install di robot ijo :))


*18 apps actually, not 12

Powered by Telkomsel BlackBerry


Other Threads

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


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:

-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|
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
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)                           = ?


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

2. Canvas.drawImage too slow?

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

            canvas = (*env)->CallObjectMethod(env, holder,
            // 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);

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

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