Closed GoogleCodeExporter closed 8 years ago
I'm afraid we can't solve this problem. I have a HTC Dream (G1) and sometimes
this
problems happens with it too.
The problem is that we cannot notify the system in explicit way to connect to
internet. We just change apn entries and the system itself finds out it and
tries to
connect to internet by it's own decision.
If after you push the switch button, apn entries changed (with removing or
adding
prefix 'apndroid') then app done it's work and the OS begin to rule.
Anyway if it won't be very difficult, send us a log (using 'logged' version of
apndroid) after this problem come again.
Instruction about log send:
http://code.google.com/p/apndroid/wiki/doesNotWorkHelpPage?ts=1259761362&updated
=doesNotWorkHelpPage
Original comment by zeldigas
on 2 Dec 2009 at 1:43
Ok. I see. Thanks for replay (and being so quick :) )
I will try to use log and send it to you.
Thanks again
Original comment by mmo.cue...@gmail.com
on 2 Dec 2009 at 1:53
Dear friend,
I've a new piece of information. I can upload a log with the behaviour
described.
The log represents the moment when connections where off, I turned on by
clicking in
Apndroid widget..and Apndroid worked by I could not connect with 3G.
I hope this could be useful. If you need additional info do not hesitate to
contact me.
Kind regards and thanks for time
Original comment by mmo.cue...@gmail.com
on 2 Dec 2009 at 7:25
Attachments:
I see. Behaviour really differs from my phone. Look at this lines:
{{{
12-02 19:22:23.105 1098:0x44a D/apndroid_dao ]
switch successfull
[ 12-02 19:22:23.105 1098:0x44a I/apndroid.log_tag ]
Switched in 157 ms
[ 12-02 19:22:23.125 1098:0x44a D/apndroid_stat_rcvr ]
Got status change message
[ 12-02 19:22:23.125 1098:0x44a D/apndroid_stat_rcvr ]
Switching current state to on
[ 12-02 19:22:23.185 124:0x7c D/TelephonyProvider ]
Setting numeric '21407' to be the current operator
[ 12-02 19:22:23.205 1098:0x44a D/apndroid.log_tag ]
Got status change message
[ 12-02 19:22:23.225 1098:0x44a D/apndroid.log_tag ]
Target status is on
[ 12-02 19:22:23.295 82:0x5a D/NetworkLocationProvider ]
onDataConnectionStateChanged 3
[ 12-02 19:22:23.305 82:0x5a D/GpsLocationProvider ]
state: DISCONNECTED apnName: null reason: apnChanged
}}}
As you can see here apn droid performed switching and Location provider in last
entry
written current state. After this message i can't see in log any
LocationProvider's
messages, but on G1 it then signals that state switched to 'Connecting' and then
after some time to 'Connected'.
In your case it does not happen. But there are a lot of strange errors about
connection failures to internet address. Currently i have no ideas about it...
Original comment by zeldigas
on 2 Dec 2009 at 8:50
I found what is the problem. Sometimes LocationProvider does not resolve apn
name
(and the log show us this case becausee apnName: null). That's why reconnect to
"on"
state does not happen. I'm downloading android platform source files now, hope
they
can help me to solve this problem.
Original comment by zeldigas
on 2 Dec 2009 at 9:27
I appreciate it, thanks a lot.
Regards
Original comment by mmo.cue...@gmail.com
on 2 Dec 2009 at 9:29
Hey Guys! I'm using another product, but I have the same problem. Is it
possible to (as a
workaround) do an automatic on/off on Airplane Mode (off/on the cell)?
Original comment by dlux.hu
on 8 Jan 2010 at 3:15
Yes you could do that, toggle airplane just to force the network stack to reset
itself.
I have some code that does that in Timeriffic:
http://code.google.com/p/autosettings/source/browse/trunk/AutoSettings/src/com/a
lfray/timeriffic/utils/SettingsHelper.java#378
Original comment by ralfoide
on 8 Jan 2010 at 5:55
Merging all the 'Not working' issues into Issue 12.
Original comment by martin.adamek
on 19 Apr 2010 at 1:27
Original issue reported on code.google.com by
mmo.cue...@gmail.com
on 2 Dec 2009 at 1:27