1

I'm trying to send MMS using code sample from How to send image via MMS in Android?, but the last step HttpUtils.httpConnection throws an exception:

java.lang.RuntimeException: This thread forbids HTTP requests

What's the problem? Please help me.

Community
  • 1
  • 1
Tom
  • 13
  • 3

1 Answers1

1

This question has been asked before, here is the answer.

Community
  • 1
  • 1
cjk
  • 44,524
  • 9
  • 79
  • 111