我在手机上看到一个奇怪的问题,我正试图想出一种方法来解决它以了解更多信息。
是否可以使用 Android SDK 以编程方式从 MMS 消息中访问消息的 X-Mms-Content-Location 属性?
这是我正在调查的错误的一个示例。如果我可以访问该属性,那么我可以编写一个修复它的应用程序,以便消息检索成功。
04-26 19:11:35.573 V/RetrieveTransaction( 299): X-Mms-Content-Location: http://69.78.70..70/servlets/mms?message-id=<GUID_REMOVED_FOR_PRIVACY>
<snip>
04-26 19:11:35.783 I/InetAddress( 299): Unknown host 69.78.70..70, throwing UnknownHostException
04-26 19:11:35.793 V/RetrieveTransaction( 299): Unexpected IOException.
04-26 19:11:35.793 V/RetrieveTransaction( 299): java.io.IOException: Cannot establish route for http://69.78.70..70/servlets/mms?message-id=<GUID_REMOVED_FOR_PRIVACY>: Unknown host
04-26 19:11:35.793 V/RetrieveTransaction( 299): at com.android.mms.transaction.Transaction.ensureRouteToHost(Transaction.java:206)
04-26 19:11:35.793 V/RetrieveTransaction( 299): at com.android.mms.transaction.Transaction.getPdu(Transaction.java:171)
04-26 19:11:35.793 V/RetrieveTransaction( 299): at com.android.mms.transaction.RetrieveTransaction.run(RetrieveTransaction.java:147)
04-26 19:11:35.793 V/RetrieveTransaction( 299): at java.lang.Thread.run(Thread.java:1058)
04-26 19:11:35.793 E/RetrieveTransaction( 299): Retrieval failed.