Open GoogleCodeExporter opened 9 years ago
Now,the question is solved.
when sign in sipservice, IMSDroid will check the type of Network. If the
network type is neither wifi nor 3G, IMSDroid will auto exit, and give "No
active network".
Now I change the code. When network type is LAN, IMSDroid don't exit, Then
imsdroid work well!
I don't known whether this would introduce other problems, But imsdroid really
work well when network type is LAN.
Original comment by ldf198...@163.com
on 5 Jan 2011 at 5:09
Thanks for the feedback.
Do you know which value (Network Type) is used to identify LAN connection?
Original comment by boss...@yahoo.fr
on 7 Jan 2011 at 3:06
The code in NetworkService.java is:
Log.d(NetworkService.TAG, String.format("++++netType=%d and netSubType=%d;
%s---%s", netType, netSubType, networkInfo.getTypeName(),
networkInfo.getSubtypeName()));
The print is :
D/org.doubango.imsdroid.Services.Impl.NetworkService( 3390): ++++netType=7 and
netSubType=0; ETH---
NetWork Type is 7
Original comment by ldf198...@163.com
on 19 Jan 2011 at 3:22
The code in NetworkService.java is:
Log.d(NetworkService.TAG, String.format("++++netType=%d and netSubType=%d;
%s---%s", netType, netSubType, networkInfo.getTypeName(),
networkInfo.getSubtypeName()));
The print is :
D/org.doubango.imsdroid.Services.Impl.NetworkService( 3390): ++++netType=7 and
netSubType=0; ETH---
NetWork Type is 7
At 2011-01-07 23:07:12��imsdroid@googlecode.com wrote:
Original comment by ldf198...@163.com
on 19 Jan 2011 at 3:24
Original issue reported on code.google.com by
ldf198...@163.com
on 4 Jan 2011 at 2:41