[G1 Android Development] Amon_RA:
Thanks for the info!

I'm using RC30.

I took some logs and noticed that MyFaves is indeed sending messages to 453!!

Luckily my operator hasn't defined shortcode 453, so I am not being billed for this! The G1 however does communicate with the SMS-C of your operator causing unnecessary traffic (and thus battery drain).

Apparently the MyFaves app also retries a few times when the SMS-C is not accepting your message....

Look at the logs and see if you find any "action : delivered" if you want to know whether your mobile operator's SMS-C is accepting the messages (and thus bill you) or not.

If you see something like this you are being billed :

SMSStatusReceiver.onReceive(extras: Bundle[{id=100, pdu=[B@*******}]; resultCode: -1); action: delivered

Example when you are being billed :

01-13 14:44:45.847: INFO/MyFaves(116): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 14:44:45.847: INFO/MyFaves(116): handleMessage(9)
01-13 14:44:46.287: INFO/MyFaves(116): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 14:44:46.287: INFO/MyFaves(116): handleMessage(10)
01-13 14:44:46.407: INFO/MyFaves(116): sending msg: 16******************000000000000000000000000000000000000000000000000000000000000 to 453
01-13 14:44:48.747: INFO/MyFaves(116): SMSStatusReceiver.onReceive(extras: Bundle[{id=100}]; resultCode: -1); action: sent
01-13 14:44:48.767: INFO/MyFaves(116): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 14:44:48.767: INFO/MyFaves(116): handleMessage(0)
01-13 14:44:55.797: INFO/MyFaves(116): SMSStatusReceiver.onReceive(extras: Bundle[{id=100, pdu=[***********]; resultCode: -1); action: delivered
01-13 14:44:55.847: INFO/MyFaves(116): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 14:44:55.847: INFO/MyFaves(116): handleMessage(12)

Example when you are not being billed :

01-13 13:48:23.427: INFO/MyFaves(113): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:48:23.437: INFO/MyFaves(113): handleMessage(9)
01-13 13:48:23.877: INFO/MyFaves(113): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:48:23.877: INFO/MyFaves(113): handleMessage(10)
01-13 13:48:23.987: INFO/MyFaves(113): sending msg: 16******************000000000000000000000000000000000000000000000000000000000000 to 453
01-13 13:48:41.487: INFO/MyFaves(113): SMSStatusReceiver.onReceive(extras: Bundle[{id=100}]; resultCode: 1); action: sent
01-13 13:48:41.517: INFO/MyFaves(113): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:48:41.537: INFO/MyFaves(113): handleMessage(11)
01-13 13:49:09.047: INFO/MyFaves(113): starting service with intent: Intent { flags=0x4 comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:49:09.047: INFO/MyFaves(113): handleMessage(0)
01-13 13:49:09.087: INFO/MyFaves(113): sending msg: 16******************000000000000000000000000000000000000000000000000000000000000 to 453
01-13 13:49:24.207: INFO/MyFaves(113): SMSStatusReceiver.onReceive(extras: Bundle[{id=100}]; resultCode: 1); action: sent
01-13 13:49:24.247: INFO/MyFaves(113): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:49:24.247: INFO/MyFaves(113): handleMessage(11)
01-13 13:50:39.127: INFO/MyFaves(113): starting service with intent: Intent { flags=0x4 comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:50:39.127: INFO/MyFaves(113): handleMessage(0)
01-13 13:50:39.167: INFO/MyFaves(113): sending msg: 16******************000000000000000000000000000000000000000000000000000000000000 to 453
01-13 13:50:54.307: INFO/MyFaves(113): SMSStatusReceiver.onReceive(extras: Bundle[{id=100}]; resultCode: 1); action: sent
01-13 13:50:54.347: INFO/MyFaves(113): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:50:54.347: INFO/MyFaves(113): handleMessage(11)
01-13 13:55:39.217: INFO/MyFaves(113): starting service with intent: Intent { flags=0x4 comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:55:39.217: INFO/MyFaves(113): handleMessage(0)
01-13 13:55:39.257: INFO/MyFaves(113): sending msg: 16******************000000000000000000000000000000000000000000000000000000000000 to 453
01-13 13:55:54.387: INFO/MyFaves(113): SMSStatusReceiver.onReceive(extras: Bundle[{id=100}]; resultCode: 1); action: sent
01-13 13:55:54.427: INFO/MyFaves(113): starting service with intent: Intent { comp={com.tmobile.myfaves/com.tmobile.myfaves.MyFavesService} (has extras) }
01-13 13:55:54.427: INFO/MyFaves(113): handleMessage(11)

I advice everyone not having a T-mobile SIM to upgrade to RC8 or ADP...