I am trying to bypass having to pay an sms gateway company to send sms messages so I thought of a novel idea to turn my Android phone into an sms gateway instead as I get unlimited sms message allowance:
send a push message to Android phone from a server
get broadcast receiver to intercept the push message containing a phone number to send to
forward the message via sms from my phone to the recipient
But there is one problem I found: there is no way to add a sender name such as MyCompany instead of a number.
Does anybody know how to get around this problem?
It's not really possible. When you send a text message, it hits your carriers sms gateway, then the SMS gateway with your carrier chooses to send the message with the number. If you somehow spoofed your number so that it didn't show your phone number when it got to the carrier's gateway, then their sms gateway would decline the message and not send it out to the recipient.
I guess there MIGHT be some hackery you can do to get it to work, but as far as I know it would be illegal to do so.
EDIT: And one other thing. Cell phones do not have inbound caller ID (sms ID) unless the number is programmed into the phone, so even if you found a way to make your number appear differently or hide your number, I really think it would be impossible to make it show a company name on the inbound message, even with awesome hackery.