Hi ,I used pppd_gprs to start the pppd for GPRS ,and the board can access Internet through ppp0. but it can not send a mms.
the logcat : D/ConnectivityService( 121): startUsingNetworkFeature for net 0: enableMMS D/ConnectivityService( 121): special network already active E/SendTransaction( 261): java.lang.NullPointerException E/SendTransaction( 261): at com.google.android.mms.pdu.EncodedStringValue.<ini t>(EncodedStringValue.java:76) E/SendTransaction( 261): at com.android.mms.transaction.SendTransaction.run(Se ndTransaction.java: 111) E/SendTransaction( 261): at java.lang.Thread.run(Thread.java:1096) E/SendTransaction( 261): Delivery failed. I followed the codes by Eclipse, and found that the lineNumber in packages/apps/Mms/src/com/android/mms/transaction/SendTransaction.java is null ,so I gave it a value(my phone number ,I don't whether it was correct ) for test. but another problem come up : 801 D/MobileDataStateTracker( 722): Requested host route to ac00000a for mms(null) 802 E/SendTransaction( 912): java.io.IOException: Cannot establish route to proxy -1409286134 803 E/SendTransaction( 912): at com.android.mms.transaction.Transaction.ensureRouteToHost(Transaction.java: 213) 804 E/SendTransaction( 912): at com.android.mms.transaction.Transaction.sendPdu(Transaction.java:164) 805 E/SendTransaction( 912): at com.android.mms.transaction.Transaction.sendPdu(Transaction.java:149) 806 E/SendTransaction( 912): at com.android.mms.transaction.SendTransaction.run(SendTransaction.java: 121) 807 E/SendTransaction( 912): at java.lang.Thread.run(Thread.java: 1096) And I found that this is because : mInterfaceName in frameworks/base/ core/java/android/net/MobileDataStateTracker.java is null(should be ppp0),I modified it manully for test ,but ,it still cannot send mms: [CODE]772 D/ConnectivityService( 745): ConnectivityService FeatureUser expire(0, enableMMS, android.os.binderpr...@43d2bba0), crea ted 60003 mSec ago 773 D/ConnectivityService( 745): stopUsingNetworkFeature for net 0: enableMMS 774 D/ConnectivityService( 745): ignoring stopUsingNetworkFeature as dup is found [/CODE] so could you tell me how to solve this problem? Thanks _weber -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting