I can confirm that joe.scheidegger information about data sms does
work on device. However, the port specified on the receiver does not
seem to matter.
Joe wrote:
receiver android:name=.YourBroadcastReceiver
intent-filter
action
android:name=android.intent.action.DATA_SMS_RECEIVED /
Sorry this was meant to be a reply to this thread:
http://groups.google.com/group/android-developers/browse_frm/thread/c51383cc8761ffd5?tvc=1q=sms+port
There was no reply button.
On Mar 26, 8:57 am, thesquib thesq...@gmail.com wrote:
I can confirm that joe.scheidegger information about data
Hi,
The permissions you need to receive and send SMS are
uses-permission android:name=android.permission.RECEIVE_SMS /
uses-permission android:name=android.permission.SEND_SMS /
About binarys SMS, AFAIK is not possible to emulate binanies SMS from
DDMS. Maybe there is an option via telnet
Though I have not sent a binary SMS,i think this would work
Cristina,
First off, thanks for the code, I have been looking everywhere for
this and was annoyed to only find references to code from the outdated
SDK's.
Just a couple of questions for you. I'm trying to implement your code
above and was wondering what permissions need to be added to the
Hi Joe,
Firt of all, thanks for the code.
However I have tested your code with the emulator and does not work
for me. So there must be something I am doing wrong. Have you checked
that with the emulator or with the G1? I am doing my tests in the
emulator because I still don't hava a phone yet.
Thanks for the code example, I tried and it worked just fine.
However, I would like to know if in version 1.0 there are other ways
of reacting to an SMS and parsing its data, it seems to me a little
bit weird that there is no high level way to do this.
Have fun,
Mihai
On Sep 24, 12:21 pm,
Hi,
Very nice.
Does this mean that only your application will handle the incoming
SMS?
Or does it mean you can read the incoming SMS but they will also be
directed to the regular SMS app?
Thanks
On 24 Sep, 12:21, Cristina [EMAIL PROTECTED] wrote:
Hi,
I do not know if it is the right way,
Hi Justin,
Related to the problem of sending binary sms to port, I have changed
that parameter to null, and I send the data message using a port from
5554 emulator to 5556. This seems to work looking to the log
files.
The problem is that I am not able to receive the SMS data message in
the 5556
Cristina,
Set the second parameter to null. The scAddress relates to the address
of the server on the cellular network that will handle the message, it
is not the address of the sender.
Cheers,
Justin
Android Team @ Google
On Sep 24, 5:55 am, Cristina [EMAIL PROTECTED] wrote:
I have just done
There's a bit of confusion upthread, so I'm just confirming that
Cristina's code sample works perfectly.
Using it you can listen for incoming SMS messages and extract each
message from the Intent. Thanks Christina!
Cheers
Reto Meier
-
Professional Android Application Development
Hi,
I have been trying the receive sms app myself. It worked fine in 0.9
version. But, in the 1.0 version, there is no
android.provider.Telephony class and I see no other intents which I
can use to retrieve a received SMS. Please let me know if you have any
working code in the latest SDK.
In reply please also include sending SMS capability in 1.0 for
background connection to the cloud reasons
On Sep 24, 1:15 am, Reto Meier [EMAIL PROTECTED] wrote:
Is it still possible to listen for incoming SMS messages in the latest
1.0 SDK release?
The SMS_RECEIVED_ACTION string used to
please also include sending SMS capability in 1.0
From what I've seen it looks like sending SMS is still supported in
1.0, it's just receiving SMSs that's changed / gone.
On Sep 24, 9:57 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
In reply please also include sending SMS capability in 1.0
Hi,
I do not know if it is the right way, but I have found a way to get
the message.
Here I include my code to get the SmsMessages. I hope it helps you
public class ServerMessagesReceiver extends BroadcastReceiver {
static final String ACTION =
android.provider.Telephony.SMS_RECEIVED;
Hello, I've tried your code but it failed! my application failed. Have you
tried and succeed?
2008/9/24 Cristina [EMAIL PROTECTED]
Hi,
I do not know if it is the right way, but I have found a way to get
the message.
Here I include my code to get the SmsMessages. I hope it helps you
hello, it works,sorry
2008/9/24 De San Nicolas Jean Philippe [EMAIL PROTECTED]
Hello, I've tried your code but it failed! my application failed. Have you
tried and succeed?
2008/9/24 Cristina [EMAIL PROTECTED]
Hi,
I do not know if it is the right way, but I have found a way to get
the
I have just done a text to send a messege to a port using this
SmsManager smsManager = SmsManager.getDefault();
short port = 16001;
smsManager.sendDataMessage(5556,5554, port, Hola.getBytes(),
null, null);
I use two emulators, one is launched at 5554 and the other at 5556 and
I try to send the
18 matches
Mail list logo