02/10/2010, 05:48 PM
|
#1 (permalink) |
|
Editor Emeritus
![]() ![]() Join Date: Feb 2001
Location: Sunnyvale, CA
Posts: 4,872
Likes Received: 6
Thanks: 290
Thanked 1,362 Times in 360 Posts
|
Title says it all - I'd love a patch or homebrew app to automatically forward sms messages to another number (ideally with the contact's name if known). The ability to auto-reply to the original sender might be nice too.
Background: I'm going to Europe for MWC next week and this darn CDMA phone won't be of any use to me. I can forward calls, but I can't forward texts.
__________________
|
03/21/2010, 11:36 AM
|
#5 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
Guess it's kind of late, but I just saw this when you bumped it. I am looking into this. Getting the notifications was pretty easy to get working. I'm digging for the code to send a message without user-intervention, which is disabled for security reasons.
|
03/21/2010, 12:12 PM
|
#6 (permalink) |
|
Member
![]() Join Date: Nov 2009
Location: Wisconsin
Posts: 942
Likes Received: 8
Thanks: 413
Thanked 1,298 Times in 369 Posts
|
I'm curious...Would some thing like this work, or is this what's disabled?
Code:
this.controller.serviceRequest('palm://com.palm.applicationManager', {
method: 'sendMessageFromCompose',
parameters: {
id: 'com.palm.app.messaging',
params: {
value: [FOWARD DEST HERE]
messageText: [POSSIBLE TXT HERE]
}
}
});
__________________
a.k.a. Josh... Please don't forget your thanks button. --- Appreciate my efforts? -- Donate?Various patches I've worked on: Faster Cards|Emoticons|Shake Reload|Default Call Log|Call Log Styling|Msg Count|New Events|DM Media Vol|Megamix+MediaVol|3G icon|Gmaps fullscreen|Msg Greeting/Sig|Send Img Msg|No Ans Tstone|Dpad on Call|Vid Delete Btns|AutoSpeaker via ProxSensor |
03/21/2010, 11:41 PM
|
#7 (permalink) | |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
Quote:
Last edited by Grabber5.0; 03/26/2010 at 10:49 AM. |
|
03/22/2010, 08:59 AM
|
#8 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
After a *bunch* of banging my head on the desk and staring at the code in the messaging app, I finally figured it out. There are several hand-offs of the parameters, and just before calling the service, the code in messaging-luna-service.js uses $H to create a hash of the parameters before passing them to the serviceRequest() function. After I added code to create the hash, the message was sent and added to the conversation history for the phone # I used.
If someone with more experience calling a java service or using hashes can provide some input on why that was needed, I would appreciate it. Last edited by Grabber5.0; 03/22/2010 at 09:08 AM. |
03/22/2010, 05:36 PM
|
#9 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
For those wanting this, throw me some ideas of scenarios/features you think are important in addition to what Dieter stated in the first post. The first release will probably be a pretty basic but functional app, just to get some feedback.
As far as details, I have access to the sender's name if they are a contact, address (phone number, or email if sent to your number@messaging.sprintpcs.com), summary (subject), message text, message type. I haven't looked into accessing attachments (no attachment id shows up in the JSON string), but I suspect I can get it it if necessary, but it does not seem like it would be preferred to forward MMS content which could be pretty large and potentially costly). |
04/11/2010, 11:38 AM
|
#10 (permalink) |
|
Editor Emeritus
![]() ![]() Join Date: Feb 2001
Location: Sunnyvale, CA
Posts: 4,872
Likes Received: 6
Thanks: 290
Thanked 1,362 Times in 360 Posts
|
My sole use of this would be to forward every text message I get on my pre to another phone for when I am traveling or want to switch phones for a day. I would simply need:
- choosing the number for forward to - have the forwarding include the sender's name from the address book if at all possible. At least it shield include the phone number. Pretty simple, actually.
__________________
|
04/11/2010, 06:14 PM
|
#12 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
Thanks for making me get off my butt and get this thing finished. I actually have a functioning app (and have for a while), but I need to work out a little kink. I think I am going to replace the forward # field with a contact picker, because that will get me the missing piece of information to resolve it. It seems reasonable to say the forward number should be a contact.
|
04/15/2010, 11:39 PM
|
#13 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
I would like to do a private beta test of what I've done so far. I'd like some feedback on the UI (no, don't just say it's ugly, real feedback
), because I have thought of a few different ways to do it, and want to know what others think. If you are interested in testing this app and giving some feedback, send me a PM with your email address and I will send you a copy of the ipk that you can install with webosqi.Current features (that I can remember right now) -Allows forwarding messages, replying to them, or both. -If the incoming message is from a contact, forwarded message will include their name, otherwise it will be the address only (phone number or email address) -For MMS messages, forwards only the sender's name or number and any text found -Disallow forwarding messages to your device's phone number -Do not reply to messages from your device's phone number -Do not reply to messages from sms email gateway (i.e. device@messaging.sprintpcs.com) -Displays number of messages that have been forwarded since app was opened -Allows manual entry of forward number or via selecting a contact using people picker -Verifies that selected contact has a mobile number (automatically selects first mobile number for contact) Known issues - If forwarding to a number that is in your contacts, it is best to pick the contact entry, to ensure that forwarded messages go to conversation history for contact -- Resolved - The same quirk applies to replies due to the fact that the incoming message does not contain the contact id for known contacts, so the reply does not go to their conversation history. It shows up as a separate conversation to that phone number. -- Resolved Last edited by Grabber5.0; 04/20/2010 at 12:18 AM. |
04/20/2010, 12:10 AM
|
#14 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
I found the reverseLookup API the other day and started adding it, and tonight I made some time to get it functioning. That resolves the quirks with manually entering a forward number and sending a reply to existing contacts. I've tested it pretty thoroughly on the emulator, and verified that the lookup portion works on my Pre. Tomorrow I will do some more testing on my phone, and then I will send out the updated ipk.
|
04/20/2010, 10:58 AM
|
#16 (permalink) | |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
Um, that means you love the app, right?
![]() Quote:
(Do spam bots harvest donate links? Would it be best to put it in my signature? ) I found it. It will have to wait though.. I would feel pretty weird putting a donate button in my sig when the app is only in a small beta test.
Last edited by Grabber5.0; 04/23/2010 at 11:32 AM. |
|
05/23/2010, 06:09 PM
|
#17 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Dec 2008
Location: Kansas City, MO
Posts: 1,742
Likes Received: 86
Thanks: 198
Thanked 362 Times in 291 Posts
|
This app is now in the homebrew catalog. Official app thread: http://m.forums.precentral.net/homeb...ard-reply.html
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



