using an intent to react when an sms is sent?

by phlogi phlog » Sat, 27 Dec 2008 18:30:16 GMT


Sponsored Links
 Hi there

I'm planning to write some code that allows to send sms over a http service.

So basically I need to achieve that the current messaging application calls
a
function from my class of my appliction. Then I need to get the text and
establish a connection and so on. Furthermore I need to be able to exit my
app
if there is no internet connection - in such a case the sms should be sent
using the normal method.

For me developing on android is totally new. (I'm now at ex2 of the notepad
tutorial, and read the basic docs).

So how can I do what I would like to? Maybe someone can help me with the
basics: Lets say that a popUp is generated when an sms is sent. Will I use
an
Indent on the method of sendTextMessage ?

Thanks a lot for your help.

Cyrill Helg

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Input question.

Hi,
I am very new to java/android, mostly a C/php/perl programmer.  What
is the simplest way to get input from the keyboard?

in C pretty much I am looking for fgets();  Do I need to create an
input method for every type of input regardless of complexity?

-- 

2. Application not installed on Hero

Our app installs fine on phones running v1.5 and has been sucessfully
installed on G1's and Nexus, however for some reason when we try and
istall the app on a HTC Hero we see error

"Application not installed, XXXXXX could not be installed on this
phone"

has anyone else had any issue running apps on the Hero, even though it
runs 1.5 ? Any thoughts would be appreciated

-- 

3. A new site to open blocked sites, and forbidden

4. android.location.Location.distanceTo algorithm

5. CFP: droidcon 2010 - Business and Development in the Android Ecosystem (deadline 9 april 2010)

6. Prevent screen rotation

7. Errors in sample code