walterf25 Expert Licensed User Longtime User Dec 21, 2012 #1 Hello all, i apologize before hand, but i could not find the answer to this question anywhere in the forums, i'm working on an application which will intercept incoming text messages, but for some reason when there's a long text message i can only intercept part of the message. my code looks like this! Code: Copy Dim SI As SmsInterceptor SI.Initialize2("SI", 999) 'messagerecieved sub Sub SI_MessageReceived (From As String, Body As String) As Boolean Log("Message From: " & From) Log("Message Body: " & Body) Return True End Sub This text is received ok This is a test to intercept a text message and then send it to an e-mail address Click to expand... a text longer than this gets truncated and only part of it is received, is there a way to receive all the text in a long text message? Thanks all for you help! Cheers, Walter
Hello all, i apologize before hand, but i could not find the answer to this question anywhere in the forums, i'm working on an application which will intercept incoming text messages, but for some reason when there's a long text message i can only intercept part of the message. my code looks like this! Code: Copy Dim SI As SmsInterceptor SI.Initialize2("SI", 999) 'messagerecieved sub Sub SI_MessageReceived (From As String, Body As String) As Boolean Log("Message From: " & From) Log("Message Body: " & Body) Return True End Sub This text is received ok This is a test to intercept a text message and then send it to an e-mail address Click to expand... a text longer than this gets truncated and only part of it is received, is there a way to receive all the text in a long text message? Thanks all for you help! Cheers, Walter
F fdx12345 Active Member Licensed User Longtime User Dec 21, 2012 #2 Just went through all of that I just went through the exact thing and meant to post what I have learned. Give me a littele while to put it all together. Bill Upvote 0
Just went through all of that I just went through the exact thing and meant to post what I have learned. Give me a littele while to put it all together. Bill
walterf25 Expert Licensed User Longtime User Dec 21, 2012 #3 SMS interception Hi there fdx, thank you so much for your reply, and take your time, i really hope your solution works for me as well! Take care, Walter Upvote 0
SMS interception Hi there fdx, thank you so much for your reply, and take your time, i really hope your solution works for me as well! Take care, Walter
F fdx12345 Active Member Licensed User Longtime User Dec 21, 2012 #4 It will work I had my doubts also, but some wise gentleman clued me in and it works great. I have posted the instructions. Bill Upvote 0
It will work I had my doubts also, but some wise gentleman clued me in and it works great. I have posted the instructions. Bill
walterf25 Expert Licensed User Longtime User Dec 21, 2012 #5 SMS interception is this what you are referring to? http://www.b4x.com/forum/basic4android-updates-questions/8862-sms-receive-problem.html If so, what i was really wondering is how to get the full text message, when i send a text message that contains more than 105 characters the SI_ReceivedMessage sub does not intercept all of the text, i would like to know how to go around thds if possible. Thanks, Walter Upvote 0
SMS interception is this what you are referring to? http://www.b4x.com/forum/basic4android-updates-questions/8862-sms-receive-problem.html If so, what i was really wondering is how to get the full text message, when i send a text message that contains more than 105 characters the SI_ReceivedMessage sub does not intercept all of the text, i would like to know how to go around thds if possible. Thanks, Walter