Hi folks,

I'm just writing a little app to have a convenient way to send SMS
through a free web-base SMS gateway. This wouldn't be much of a
problem for itself, but for the reason of "seamlessness", I would like
to fully integrate the program into Android. When the user sends a new
message, a dialog should appear to let him choose between normal
sending and sending through the gateway. But for doing so, I need a
way to have my app/service started after the press on "Send".
When sending an SMS, logcat shows the following:
[code]
I/ActivityManager(  564): Starting activity: Intent
{ action=android.intent.action.MAIN categories=
{android.intent.category.LAUNCHER} flags=0x10200000 comp=
{com.android.mms/com.android.mms.ui.ConversationList} }
W/IInputConnectionWrapper(  607): showStatusIcon on inactive
InputConnection
I/ActivityManager(  564): Displayed activity
com.android.mms/.ui.ConversationList: 1186 ms
D/dalvikvm(  607): GC freed 4153 objects / 116272 bytes in 139ms
I/ActivityManager(  564): Starting activity: Intent { comp=
{com.android.mms/com.android.mms.ui.ComposeMessageActivity} }
I/ActivityManager(  564): Displayed activity
com.android.mms/.ui.ComposeMessageActivity: 670 ms
D/dalvikvm(  604): GC freed 4418 objects / 252872 bytes in 151ms
W/KeyCharacterMap(  629): No keyboard for id 0
W/KeyCharacterMap(  629): Using default keymap: /system/usr/keychars/
qwerty.kcm.bin
D/dalvikvm(  629): GREF has increased to 201
D/SmsProvider(  604): insert url=content://sms/outbox, match=8
I/ActivityManager(  564): Stopping service:
com.android.mms/.transaction.SmsReceiverService
[/code]

Is there a way to hook into the message queue to get the result of
ComposeMessageActivity, or even better, to have the call of
SmsProvider redirected to my service?

Many thanks in advance and best regards,
Philipp

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

Reply via email to