Right, this is why I figured it should be so easy! On any regular cell
phone that I'm aware of, you can send text messages to an email
address... and that's exactly what I'm trying to do here. In fact, the
company I work for, most of our communication between customers and
our server happens in this way. Customers send a text-message to an
email address of ours using their cell phones, and that will update
something on our end on their behalf. Then, we send them a message
back from our email to their phonenumber@carrier. This method has
worked for us for the last 6 years, and has many benefits for us.

We're developing an app that will basically make this communication
easier for the user... but apparently it can't be done short of re-
writing an entire SMS/Email messaging back-end? That doesn't seem
worth it at all.

If we wanted to interact with our customer in another way, it's sort
of a hassle. We can do this through the web, but it would be visiting
an ugly website like 
www.ourwebsite.com/admin/androidapp.php?usrnum=phonenumber&command
 ... Which is fine, but we don't want the website to be visible when
this happens, and I can't seem to find a way to call the web-browser
in the background, then have it die nicely once the site is loaded.

Do you guys have any suggestions? Is this possible, or are we stuck
having to re-write parts of our website back-end along with parts of
our security procedures to accommodate a different method of
communication ?

On Jan 25, 12:51 am, Kostya Vasilyev <[email protected]> wrote:
> AFAIK, this is typically implemented within the cellular network's
> "smarts" along with other services (like voicemail, or SMS messages
> about missed calls).
>
> Doing this in an application seems possible, but difficult, as you'll
> need to implement your own email messaging back-end, possibly including
> your own mail servers.
>
> -- Kostya
>
> 25.01.2011 1:47, JAlexoid (Aleksandr Panzin) пишет:
>
>
>
> > I am pretty sure that SmsMessenger does not send emails. You use the
> > Email client to do that.
> > Read the error output from LogCat. If then you don't know what is the
> > problem, post it here. Maybe someone will ridicule you for something
> > or there is a genuine problem.
>
> > On 24 янв, 23:12, Jonathan Jenne<[email protected]>  wrote:
> >> anybody?
>
> >> On Jan 21, 12:23 pm, Jonathan Jenne<[email protected]>  wrote:
>
> >>> I'm trying to code an app that sends an SMS message to an email
> >>> gateway. I know this is possible because I can send a message from my
> >>> phone number to an email, and have it receive it properly. Also, I can
> >>> reply to that email and my phone will get it as a text message. The
> >>> problem I'm having is that when I code it this way... the message just
> >>> never happens.
> >>> My code in question is as follows:
> >>> String number = "[email protected]";
> >>>   String st = "testing";
> >>>                   sm.sendTextMessage(number, null, st, null, null);
> >>> So, it should be sending "testing" to my email address... but it just
> >>> seems to die when this method is called? Other operations within this
> >>> method seem to be working as well.
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to