need help to figure out the issue with emulator on Fedora 10 64 bit. I'm new to this development.

by jonnals » Tue, 10 Nov 2009 02:06:03 GMT


Sponsored Links
 sjon...@myhome tools]$ strace ./emulator
execve("./emulator", ["./emulator"], [/* 48 vars */]) = 0
brk(0) = 0x8c8a000
readlink("/proc/self/exe", "/home/sjonnal/android-sdk-linux/tools/
emulator"..., 4096) = 46
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xfffffffff7f1f000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/tls/i686/sse2/
libX11.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/tls/i686/sse2",
0xffe1e9d0) = -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/tls/i686/libX11.so.
6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/tls/i686",
0xffe1e9d0) = -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/tls/sse2/libX11.so.
6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/tls/sse2",
0xffe1e9d0) = -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/tls/libX11.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/tls", 0xffe1e9d0)
= -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/i686/sse2/libX11.so.
6", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/i686/sse2",
0xffe1e9d0) = -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/i686/libX11.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/i686",
0xffe1e9d0) = -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/sse2/libX11.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib/sse2",
0xffe1e9d0) = -1 ENOENT (No such file or directory)
open("/home/sjonnal/android-sdk-linux/tools/../lib/libX11.so.6",
O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/home/sjonnal/android-sdk-linux/tools/../lib", 0xffe1e9d0) =
-1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) =
3
fstat64(3, {st_mode=S_IFREG|0644, st_size=145659, ...}) =
0
mmap2(NULL, 145659, PROT_READ, MAP_PRIVATE, 3, 0) =
0xfffffffff7efb000
close(3) =
0
open("/usr/lib/libX11.so.6", O_RDONLY) =
3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240A
\1\0004\0\0\0("..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1049440, ...}) =
0
mmap2(NULL, 1049332, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
3, 0) = 0x111000
mmap2(0x20e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0xfd) = 0x20e000
mmap2(0x211000, 756, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0x211000
close(3) =
0
open("/lib/libutil.so.1", O_RDONLY) =
3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \n
\0\0004\0\0\0p&q



Other Threads

1. How-to start service automatically on system startup and on installation + custom Contacts ContextMenu



I do agree with this sentiment. However, for my app (Zap's Hitta) I need 
to grab the phone number just as the incoming call appears. Currently I 
do this by starting a service with a listener at boot time. I'd love to 
find a different way. (I also start it when the GUI is opened if needed, 
hence it starts at installation too.)

Related to my app (but sadly not the original subject): I understand 
that there is no way to use Contacts as a picker from my own Activity 
with my own ContextMenu since that particular case is explicitly 
disabled in an if statement.

Is there any way I could add an entry to the existing ContextMenu (in my 
case: "Lookup address" from phone number and store in phonebook) when 
Contacts is used the standard way?

I suspect it is not currently possible. Would adding such an ability be 
against the design goals?

(At the moment I use an ExpandableListActivity, but it's on the crude 
side for this purpose.)

                Thanks in advance / Jonas

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

2. Playback of dynamic MIDI?

For one of my apps I generate MIDI data on the fly.  Is there any way
to play MIDI data from a java.io.InputStream or directly from a byte
[]?  So far I've only seen ways to do MIDI playback from files.  Given
the continuous and dynamic nature of my audio there is no way I can
write it to a file first.

-c

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

3. Logging OpenCore through logcat

4. How to I use touch screen to draw a straight line

5. Bluetooth not working on G1 device (cupcake version)

6. About the call log ?

7. How does one get the current energy consumption rate of the phone? Are there any Android energy profilers?