How to make a DATA call?
Hi, there.
I need some way to dial a number and establish a DATA call between two apps on two mobile phones and then exchange some data. I couldn't find anything on this topic wherever I looked. I wonder if it's entirely possible? Maybe some vendor specific APIs exist?
Thank you guys for the answers. :)
[325 byte] By [
tekmona] at [2007-11-27 2:20:06]

# 1
ok, I've figured out, that it's possible to connect to the loopback serial port like this:
CommConnection cc = (CommConnection) Connector.open("comm:0.......
then i theoretically could ATD arbitrary number and do my dirty business
on the sun wtk 2.5 that i use the only port identifier that kinda connects if COM1, but it doesn't seem to really work either, it blocks indefinitely on an attempt to write something to it
CommConnection cc = (CommConnection) Connector.open("comm:COM1", Connector.READ_WRITE);
OutputStreamWriter wr = new OutputStreamWriter(cc.openOutputStream(), "ASCII");
wr.write("ATV1\r"); // here it hangs
any ideas?