Dialing from a PIM?

by GoodDamon » Fri, 22 May 2009 02:06:50 GMT


Sponsored Links
 I have a personal information manager (PIM) that I use to keep track
of all of my contacts (synced with gmail contacts, natch). This PIM
has the ability to run arbitrary operating system commands when you
click on a contact's phone number. It would be really handy to be able
to select a phone number and have my G1 dial that number
automatically, as if I selected that number in the dialer application
on the phone.

Is there a way to do this? I'm not interested in tethering the phone
to my laptop, I just would like to be able to run the dialer
component. I don't care whether it's through the USB cable or through
bluetooth.

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



Other Threads

1. Android Native Code Cross Dev With Latest CodeSourcery Toolchain

Hi,
I am trying to use the latest CodeSourcery G++ Lite ARM cross dev toolchain to 
build native code for Android.
I looked at some messages in the archive from November about doing this but the 
CodeSourcery toolchain seems to have changed since then.
I have a simple "Hello World" in c and try to build it statically for Android 
with:

$ cat build.sh
#!/bin/sh

arm-none-eabi-gcc \
    hello.c \
    -static -o hello \
    -Xlinker --script -Xlinker 
~/CodeSourcery/Sourcery_G++_Lite/arm-none-eabi/lib/generic.ld

which gives me warnings like this:
$ build.sh
/home/shawn/CodeSourcery/Sourcery_G++_Lite/bin/../lib/gcc/arm-none-eabi/4.2.3/../../../../arm-none-eabi/lib/libcs3unhosted.a(unhosted-_close.o):
 warning: IO function '_close' used
[...few more similar warnings...]

This produces an executable:
$ file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, not 
stripped

When I push it to the emulator and run it, it seems to hang without printing 
anything.
strace shows that it is trying to use an unknown system call:
# strace ./hello
execve("./hello", ["./hello"], [/* 10 vars */]) = 0
syscall: unknown syscall trap 0x00002a9c


So, I have a couple of questions.
1. What linker script should I use for Android if not generic.ld?
2. What's the difference between hosted and unhosted?
3. Any suggestions on what I need to do to make this work?

Thanks!
Shawn

--==--==--
Shawn McMurdo
See my Low Vision Guide at
http://lowvisionguide.org



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

2. Is there a roadmap?

Hi there, I just cannot find it on the web or on the wiki so I'll ask
here. Is there a roadmap for the android project? I don't know I'm
interested in the full source code, is it going to be completely
available soon?

Thanks

borzo

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

3. Write an Android book -- Packt Publishing is looking for authors

4. Looking for UML for Android

5. Camera Preview onto SurfaceView using xml

6. WindowsLIve - Google needs to step up

7. how can I open an application using my code