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
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
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
Indent on the method of sendTextMessage ?

Thanks a lot for your help.

Cyrill Helg


Other Threads

1. Setting a built in theme (Theme_Light)

Hi all,

I've been kicking the tires on Android programming and have begun to
explore themes.  Based on what I've read on this site regarding the
built in themes, all I should have to do is call setTheme() before I
load the view as follows:

@Override public void onCreate(Bundle SavedInstanceState)




I can't find any other requirements so I what I expected here was a
white(ish) background with dark text.  What I get is a black
background with text that is dark grey (making it hard to read).

It works fine when I put the style in the manifest under either the
application or activity element, but what I was hoping was to give the
user the ability to select which theme he/she wanted so setting the
theme programmatically seemed the logical choice.

What am I missing here?




2. Merry Xmas & Happy New Year 2010

Wishing u a wonderful & joyful CHRISTMAS. & HAPPY NEW YEAR 2010 to all my 
beloved friends who celebrate it...Let's celebrate it with purifying heart & 


bimo wicaksono

Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to

To request to subscribe to this group:


3. MediaRecorder - how to continuously record in memory (using a circular buffer)

4. Kuota Data

5. Created my app - how do i put it onto my g1 phone?

6. Creating SetContentView

7. Subscript