Can we track info of application apart from the phonenumber while s...

Can we track info of application apart from the phonenumber while s... SearchSearch
Author Message
Sajid Ahmed
New member
Username: Sajid

Post Number: 32
Registered: 10-2008
Posted on Wednesday, November 25, 2009 - 08:34 am:   

Hi Des,

Can you please let me know whether we can pass an attribute saying this message is from xyz application as we do it to smscroute param.

The idea behind this concept.i have an application installed in my phone(iphone/blackberry) which capture image and send it to "n" number of users at a time and the receiving phone(iphone/blackberry) will also have same application installed in his mobile when ever the sms/mms comes to his phone our application need to recognize that the sms/mms is coming from our application so that it can prompt the other user saying," hey sms/mms from xyz application".

when user see the message the user will reply to the sms/mms saying "awesome pic" which will again shown to the initiator i.e receiver.

here i wanna know can we have an attribute which can be passed while sending sms/mms through gateway which can be received by our application to recognize from where its coming.

so the communication while initial call will be iphone->server-->nowsms-->phone

secound when recipient receives the message we have same phone->server-->nowsms-->phone or can we have bidirectional session i.e phone-->nowsms-->server-->phone

Please help me to resolve this..

Thanks & Regards,

Sajid
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1456
Registered: 08-2008
Posted on Wednesday, November 25, 2009 - 03:47 pm:   

Hi Sajid,

The short answer is no. At least with the iPhone. To the best of my knowledge, the iPhone does not support application directed SMS or MMS.

Phones with Java application support, specifically JSR-120 and JSR-205 can support application directed SMS and/or MMS.

There are articles about it here:

http://blog.nowsms.com/2007/06/send-sms-to-java-appmidlet.html
http://blog.nowsms.com/2007/06/send-mms-to-java-appmidlet.html

You may make some progress on the Blackberry, but unfortunately not on the iPhone. To the best of my knowledge, there is no official API for receiving SMS or MMS. (I've seen application written for jailbroken devices that can do this, but no officially approved apps.)

--
Des
NowSMS Support
Sajid Ahmed
New member
Username: Sajid

Post Number: 33
Registered: 10-2008
Posted on Thursday, November 26, 2009 - 04:01 am:   

Hi Des,

you mean to say application directed means iphone->server

where java servlet in server sending message to iphone by using nowsms wont work.In short no sms/mms can be send to iphone through java application through nowsms gateway ?

iphone wont recognize any sms/mms send by nowsms gateway ?

what protocal do you think will be appropriate to enchance the above funcationality.Is there any protocal/layer which can talk to blackberry ? I mean will there be any issues commnunication iphone sms/mms to blackberry ?

Thanks & Regards,
Sajid
Sajid Ahmed
New member
Username: Sajid

Post Number: 34
Registered: 10-2008
Posted on Thursday, November 26, 2009 - 04:09 am:   

Hi Des,

In general can we send an attributes in a sms/mms which can be parsed in received phone application.
When we post sms/mms or which sending to url with params like www.nowsms.com?param1=one&param2=two

while receiving sms/mms can we parse the paramaneters to get its valuse in mobile based applications ?

Thanks & Reagrds,

Sajid
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1461
Registered: 08-2008
Posted on Thursday, November 26, 2009 - 03:33 pm:   

Hi Sajid,

What I am saying is that, at present, you cannot write an application on an iPhone that can read or receive any SMS or MMS messages. (To the best of my knowledge, Apple does not publish any such APIs. They do exist in the world of jailbroken applications, but not in officially sanctioned applications.)


quote:

iphone wont recognize any sms/mms send by nowsms gateway ?




The iPhone will recognize it just fine. What I am saying is that Apple does not publish any APIs that will allow your application to receive this message.


quote:

In general can we send an attributes in a sms/mms which can be parsed in received phone application.
When we post sms/mms or which sending to url with params like www.nowsms.com?param1=one&param2=two




Applications that run on a phone are generally not able to read through all SMS or MMS messages and pick which ones they want to process.

To send an SMS that an application on a phone can receive, you send it to a destination port that your application on the phone is listening to. JSR-120 describes the phone side APIs for the Java environment.

The destination port is the only identifier that you can set that allows an application on the phone to be able to receive the message.

To send an MMS that an application on a phone can receive, you specify a destination application ID that your application on the phone is listening for. JSR-205 describes the phone side APIs for the Java environment.

The destination application id is the only identifier that you can set that allows an application on the phone to be able to receive the message.


--
Des
NowSMS Support
Sajid Ahmed
New member
Username: Sajid

Post Number: 35
Registered: 10-2008
Posted on Thursday, November 26, 2009 - 04:30 pm:   

Hi Des,

Thanks for the details.
Last clarification as you said

Des@
The iPhone will recognize it just fine. What I am saying is that Apple does not publish any APIs that will allow your application to receive this message.

sajid@

A normal message through nowsms can be send to iphone ? so do you think we can send a link to webUI of iphone..click on link(servlet) will get a iphone based webUI

Thanks & Regards,

Sajid}
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1463
Registered: 08-2008
Posted on Monday, November 30, 2009 - 04:57 pm:   

Hi Sajid,

Yes, a normal message is fine.

If you just want to send a regular text message that includes a URL link (prefix with http://), that will work fine. The user just has to click on the link in order to connect to your application.

--
Des
NowSMS Support