问题描述
android自带的email在cmwap下无法登陆,不知道为什么,谁告知下?如何修改源码实现在cmwap登陆?另有email中判断用户名和密码的正确的方法如何实现的? 问题补充:地球小野花 写道
解决方案
email中判断用户名和密码的正确的方法如何实现的这个知道代码是啥么? 这个你要跟一下代码。这个应该不影响吧。还有你确认一下cnwap 网络是否支持邮件服务?你可以测试一下GMAIL是否能够正常工作来验证cnwap 网络是否支持邮件服务!下面是cmnet 切换到cnwap 的链接。D/RIL ( 353): => requesting data connection to APN 'cmnet'I/RIL ( 353): => info : pppd interface is upD/RILJ ( 156): [0363]< SETUP_DATA_CALL {1, ppp0, 10.229.130.146}D/GSM ( 156): [GsmDataConnection-1] DcActivatingState msg.what=EVENT_SETUP_DATA_CONNECTION_DONED/GSM ( 156): [GsmDataConnection-1] interface=ppp0 ipAddress=10.229.130.146 gateway= DNS1=10.11.12.13 DNS2=10.11.12.14D/GSM ( 156): [GsmDataConnection-1] DataConnection setup result='SUCCESS' on cid=1D/GSM ( 156): [GsmDataConnection-1] DcInactiveState: setEnterNoticationParams cp,causeD/GSM ( 156): [GsmDataConnection-1] DcActiveState: enter notifyConnectCompletedD/GSM ( 156): [GsmDataConnection-1] notifyConnection at 1262353833845 cause=No ErrorD/GSM ( 156): [DataConnection] Start poll NetStatD/RILJ ( 156): [0364]> SIGNAL_STRENGTHD/RIL ( 353): onRequest: SIGNAL_STRENGTHD/AT ( 353): AT> AT+CSQD/AT ( 353): AT< +CSQ: 22,99D/AT ( 353): AT< OKD/RILJ ( 156): [0364]< SIGNAL_STRENGTH {22, 99, 0, 0, 0, 0, 0}D/GSM ( 156): Get PreferredAPND/GSM ( 156): [GsmDataConnection-1] DcActiveState msg.what=EVENT_DISCONNECTD/GSM ( 156): [GsmDataConnection-1] tearDownData radio is on, call deactivateDataCallD/RILJ ( 156): [0365]> DEACTIVATE_DATA_CALL 1D/RIL ( 353): onRequest: DEACTIVATE_DATA_CALLE/RIL ( 353): ====> requesting deactivating data connection with CID '1'D/GSM ( 156): [DataConnection] Stop poll NetStatD/GSM ( 156): Get PreferredAPND/RILJ ( 156): [0365]< DEACTIVATE_DATA_CALL D/GSM ( 156): [GsmDataConnection-1] DcDisconnectingState msg.what=EVENT_DEACTIVATE_DONED/GSM ( 156): [GsmDataConnection-1] DcInactiveState: setEnterNoticationParams dpD/GSM ( 156): [GsmDataConnection-1] DcInactiveState: enter notifyDisconnectCompletedD/GSM ( 156): [GsmDataConnection-1] NotifyDisconnectCompletedD/GSM ( 156): [GsmDataConnection-1] msg.what=25 msg.obj=apnChangedD/GSM ( 156): [GsmDataConnection-1] clearSettingsD/GSM ( 156): [DSAC DEB] trySetupData with mIsPsRestricted=falseI/GSM ( 156): Preferred APN:46000:46000:cmwap, 203, 46000, cmwap, , http://mmsc.monternet.com, 010.000.000.172, 80, , -1, default, suplI/GSM ( 156): Waiting APN set to preferred APND/GSM ( 156): [GsmDataConnectionTracker] Create from allApns : [CHina Mobile MMS, 193, 46000, cmwap, 10.0.0.172, http://mmsc.monternet.com, 10.0.0.172, 80, 80, -1, mms][cmnet, 202, 46000, cmnet, null, null, null, null, null, -1, default, supl][cmwap, 203, 46000, cmwap, , http://mmsc.monternet.com, 010.000.000.172, 80, , -1, default, supl]D/GSM ( 156): [GsmDataConnection-1] DcInactiveState msg.what=EVENT_CONNECTD/GSM ( 156): [GsmDataConnection-1] Connecting to carrier: 'cmwap' APN: 'cmwap' proxy: '' port: 'D/RILJ ( 156): [0366]> SETUP_DATA_CALL 1 0 cmwap 3D/RIL ( 353): onRequest: SETUP_DATA_CALLD/RIL ( 353): => requesting data connection to APN 'cmwap'D/RILJ ( 156): [0367]> SIGNAL_STRENGTHI/RIL ( 353): => info : pppd interface is upD/RIL ( 353): onRequest: SIGNAL_STRENGTHD/AT ( 353): AT> AT+CSQD/RILJ ( 156): [0366]< SETUP_DATA_CALL {1, ppp0, 10.231.68.236}D/GSM ( 156): [GsmDataConnection-1] DcActivatingState msg.what=EVENT_SETUP_DATA_CONNECTION_DONED/GSM ( 156): [GsmDataConnection-1] interface=ppp0 ipAddress=10.231.68.236 gateway= DNS1=10.11.12.13 DNS2=10.11.12.14D/GSM ( 156): [GsmDataConnection-1] DataConnection setup result='SUCCESS' on cid=1D/GSM ( 156): [GsmDataConnection-1] DcInactiveState: setEnterNoticationParams cp,causeD/GSM ( 156): [GsmDataConnection-1] DcActiveState: enter notifyConnectCompletedD/GSM ( 156): [GsmDataConnection-1] notifyConnection at 1262353858374 cause=No Error
解决方案二:
你们用的是什么模组?查看一下cmwap 下基带是否能够正常工作?建议cmnet为默认的拨号。其实如果网络正常工作应该不影响工作。