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. Thread Local Storage and GDB server

Hi,

In porting android to our A8 cortext based board, we have enabled TLS.
This works fine with bionic in general, however, it seems to cause problems with gdbserver. Looking at the gdbserver source, it tries to get an address for td_thr_tls_get_addr, which is not implemented in bionics thread-db library. Can anyone tell me if google are planning on adding support for this to their thread-db library, or give me hints on how to implement this myself? When I last looked at this a while ago (cant remember where in the source I saw it), it looked like bionic (specifically the linker) assumed a set format and address for the TLS area, which may not be compatible with glibc (presumably what gdbserver is targetting). Certainly the function to get the TLS address i seem to remember just used a macro which gave a known address plus and offset for the TLS address. Does anyone know if just implementing the function that gdb expects to just call the tls address macro (cant remember the name off hand) would work, or would the TLS structure in memory be incompatible with gdb. The only other alternative would be for us to disable TLS support, which other manufacturers seem to do. Can someone comment on why TLS is not gernerally enabled? Thanks Bob -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

2. Discriminating Against South Korea On Android Market

Today I removed my Last Call Widget from the South Korean part of the
Android Market...
http://bit.ly/crVdfH

-- 

3. Webview and native http requests clash

4. need help para suhu buat install custom rom on Milestone n samsung gs(klo bisa tutorial lengkap klo tidak kita ketmuan)

5. Collecting my Market installation statistics

6. Connection device problem

7. Explicit intents