Thanks a lot.

On Thursday, May 7, 2015 at 11:12:21 PM UTC+5:30, Thanasis Delenikas wrote:
>
> So i tried setting source and destination port, assuming that when there 
> are no applications (midlet's) listening on a port to read SMS, it will be 
> in inbox, but that doesn't happen.
>
> Yes, this is the expected behaviour for the majority of phones. The 
> message "gets lost".
>
> On Wed, May 6, 2015 at 1:23 PM, Arthanarisamy Annamalai via SMSLib 
> Discussion Group <
> smslib+apn2wqcg4e-17am-qh1ncs1icgho6i6wnppelf9qhatf-is_1mmdkz...@googlegroups.com
>  
> <javascript:>> wrote:
>
>> Hi,
>>
>> Thanks for the response.
>> I am trying to generalize the process of sending SMS in the project i am 
>> currently working on.
>> My application send and receive SMS from normal messaging app and using 
>> midlet app too.
>>
>> So i tried setting source and destination port, assuming that when there 
>> are no applications (midlet's) listening on a port to read SMS, it will be 
>> in inbox, but that doesn't happen.
>>
>>
>> On Wednesday, May 6, 2015 at 1:34:15 AM UTC+5:30, Thanasis Delenikas 
>> wrote:
>>
>>> Hi,
>>>
>>> When you set source/dest posts, messages may not be delivered in the 
>>> normal message "inbox". These settings are used to deliver messages to 
>>> midlets, etc.
>>>
>>> Is there any reason to use specific ports?
>>>
>>>
>>> On Tue, May 5, 2015 at 5:40 PM, Arthanarisamy Annamalai via SMSLib 
>>> Discussion Group <
>>> smslib+apn2wqcg4e-17am-qh1ncs1icgho6i6wnppelf9qhatf-is_1mmdkz...@googlegroups.com
>>> > wrote:
>>>
>>>> Hi,
>>>>
>>>> Using SMSLib 3.5.4 i am able to receive and send messages to the device.
>>>>
>>>> But the message is not reaching the device when both source and 
>>>> destination port is set to the outbound message. whereas when i do not set 
>>>> any source and destination port it works fine i.e the message is reaches 
>>>> the device.
>>>>
>>>> Code used is below 
>>>>
>>>> OutboundMessage lmsg = new OutboundMessage(no, messageTxt);
>>>> lmsg.setSrcPort(50000);
>>>> lmsg.setDstPort(50000);
>>>> Service.getInstance().sendMessage(lmsg);
>>>>
>>>> No exception being thrown.
>>>>
>>>>
>>>> Thanks in advance.
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "SMSLib Discussion Group" group.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/smslib/ef7fb84c-8827-4acc-b690-54c9346a9f8d%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/smslib/ef7fb84c-8827-4acc-b690-54c9346a9f8d%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>
>>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "SMSLib Discussion Group" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/smslib/2421731b-5227-4158-9451-e76988256ed2%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/smslib/2421731b-5227-4158-9451-e76988256ed2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib Discussion Group" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/smslib/5d136df0-b59d-4ec0-b1fb-3051f9528114%40googlegroups.com.

Reply via email to