[G1 Android Development] Der Wichtel:
Allright, I found out that my htc magic 32b connects to my wifi station when I reboot the phone.

However the wifi menu doesn't change anymore. If I click scan, then it always shows me the same page even if I turn of my wireless router off.

And I cannot connect to other networks either. Furthermore if I turn wifi off and on again, the menu says that there are no wireless accesspoints available and it doesn't connect to them as well.

I don't really know how to do logcat. here is what I have:

te_period is 30.0 min
D/UpdateService( 323): 6 : force update for widget
I/ActivityManager( 92): Process com.google.android.apps.maps:FriendService (pi
d 301) has died.
D/UpdateService( 323): 6 : request weather informations update
D/VoiceDialerReceiver( 221): onReceive Intent { action=android.intent.action.PA
CKAGE_CHANGED data=package:com.android.stk comp={com.android.voicedialer/com.and
roid.voicedialer.VoiceDialerReceiver} (has extras) }
D/RecognizerEngine( 221): deleteCachedGrammarFiles /data/data/com.android.voice
dialer/files/openentries.txt
D/ForcastHelper( 323): queryLocation() with lat=49.007284, lon=8.419565, days=4

D/MediaScannerService( 193): start scanning volume external
D/ForcastHelper( 323): http://www.google.com/ig/api?weather=Karlsruhe,,,4900728
4,8419565&hl=de
V/MediaProvider( 193): /sdcard volume ID: 1409814080
I/InetAddress( 323): Unknown host www.google.com, throwing UnknownHostException

I/ActivityManager( 92): Start proc com.google.android.gm for broadcast com.goo
gle.android.gm/.GmailReceiver: pid=341 uid=10017 gids={3003}
D/ForcastHelper( 323): impossible to get google weather answer
E/UpdateService( 323): 6 : problem parsing forecast
E/UpdateService( 323): org.koxx.forecast_weather.v2.WeatherForecastProvider.Web
serviceHelper$ForecastParseException: No forecasts found from webservice query
E/UpdateService( 323): at org.koxx.forecast_weather.v2.WeatherForecastP
rovider.GoogleWebserviceHelper.updateForecasts(GoogleWebserviceHelper.java:172)
E/UpdateService( 323): at org.koxx.forecast_weather.v2.UpdateService.ru
n(UpdateService.java:544)
E/UpdateService( 323): at java.lang.Thread.run(Thread.java:1060)
W/System.err( 323): org.koxx.forecast_weather.v2.WeatherForecastProvider.Webser
viceHelper$ForecastParseException: No forecasts found from webservice query
W/System.err( 323): at org.koxx.forecast_weather.v2.WeatherForecastProvider.
GoogleWebserviceHelper.updateForecasts(GoogleWebserviceHelper.java:172)
W/System.err( 323): at org.koxx.forecast_weather.v2.UpdateService.run(Update
Service.java:544)
W/System.err( 323): at java.lang.Thread.run(Thread.java:1060)
I/ActivityThread( 341): Publishing provider com.google.android.gm.attachmentspr
eviews: com.google.android.gm.AttachmentPreviewProvider
I/ActivityThread( 341): Publishing provider com.google.android.gm.status: com.g
oogle.android.gm.SenderStatusProvider
I/ActivityThread( 341): Publishing provider com.google.android.gmail.Suggestion
Provider: com.google.android.gm.SuggestionsProvider
D/UpdateService( 323): 6 : calculated next update too early, throttling for a f
ew minutes
D/UpdateService( 323): 6 : next update at 1251499687970, in 10.0 min
D/UpdateService( 323): 6 : launch view update
D/Gmail ( 341): New email for xxx@googlemail.com unreadCount:0 getAtten
tion:false
D/dalvikvm( 323): GC(2) freed 5372 objects / 360072 bytes in 177ms
I/ActivityManager( 92): Process android.process.im (pid 231) has died.
D/UpdateService( 323): >>>> Requesting next update at 1251499687970, in 9.0 min
<<<<
I/ActivityManager( 92): Stopping service: org.koxx.forecast_weather.v2/.Update
Service
D/dalvikvm( 147): GC(0) freed 4849 objects / 275544 bytes in 423ms
D/dalvikvm( 147): GC(2) freed 11 objects / 648 bytes in 129ms
V/MediaProvider( 193): deleting obsolete album art /sdcard/albumthumbs/RockOn
D/ ( 193): unable to rmdir '/sdcard/albumthumbs/RockOn': Is a directory
(errno=21)
V/MediaProvider( 193): Attached volume: external
D/dalvikvm( 193): GC(0) freed 3380 objects / 215464 bytes in 298ms
W/ActivityManager( 92): finishReceiver called but no pending broadcasts
D/dalvikvm( 144): GC(1) freed 495 objects / 35144 bytes in 260ms
D/MediaScanner( 193): found .nomedia, skipping directory
D/MediaScanner( 193): prescan time: 1162ms
D/MediaScanner( 193): scan time: 5789ms
D/MediaScanner( 193): postscan time: 6ms
D/MediaScanner( 193): total time: 6957ms
D/MediaScannerService( 193): done scanning volume external
I/ActivityManager( 92): Stopping service: com.android.providers.media/.MediaSc
annerService
D/dalvikvm( 173): GC(1) freed 2180 objects / 145808 bytes in 199ms
D/dalvikvm( 193): GC(1) freed 6920 objects / 418384 bytes in 137ms
W/wpa_supplicant( 128): Failed to initiate AP scan.
I/wpa_supplicant( 128): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 128): CTRL-EVENT-SCAN-RESULTS Ready
D/dalvikvm( 178): GC(1) freed 4650 objects / 279712 bytes in 254ms
D/dalvikvm( 270): GC(1) freed 990 objects / 86024 bytes in 134ms
I/wpa_supplicant( 128): CTRL-EVENT-SCAN-RESULTS Ready
D/dalvikvm( 259): GC(1) freed 2724 objects / 203752 bytes in 300ms
D/Sensors ( 92): sensors=00000000, real=00000000
D/AKMD ( 77): Compass CLOSE
D/WifiService( 92): ACTION_SCREEN_OFF
D/SurfaceFlinger( 92): About to give-up screen, flinger = 0x150be0
D/dalvikvm( 221): GC(1) freed 829 objects / 74968 bytes in 170ms
I/wpa_supplicant( 128): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 128): Trying to associate with 00:04:0e:d2:46:81 (SSID='yeeee
haaaa' freq=2412 MHz)
I/wpa_supplicant( 128): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 92): Event [Trying to associate with 00:04:0e:d2:46:81 (SSID='y
eeeehaaaa' freq=2412 MHz)]
V/WifiMonitor( 92): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 92): Changing supplicant state: SCANNING ==> ASSOCIATING
I/wpa_supplicant( 128): CTRL-EVENT-STATE-CHANGE id=6 state=4
V/WifiMonitor( 92): Event [CTRL-EVENT-STATE-CHANGE id=6 state=4]
V/WifiStateTracker( 92): Changing supplicant state: ASSOCIATING ==> ASSOCIATED

I/wpa_supplicant( 128): Associated with 00:04:0e:d2:46:81
V/WifiMonitor( 92): Event [Associated with 00:04:0e:d2:46:81]
I/wpa_supplicant( 128): CTRL-EVENT-STATE-CHANGE id=6 state=5
V/WifiMonitor( 92): Event [CTRL-EVENT-STATE-CHANGE id=6 state=5]
V/WifiStateTracker( 92): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HA
NDSHAKE
I/wpa_supplicant( 128): CTRL-EVENT-STATE-CHANGE id=6 state=5
V/WifiMonitor( 92): Event [CTRL-EVENT-STATE-CHANGE id=6 state=5]
V/WifiStateTracker( 92): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOU
R_WAY_HANDSHAKE
I/wpa_supplicant( 128): CTRL-EVENT-STATE-CHANGE id=6 state=6
V/WifiMonitor( 92): Event [CTRL-EVENT-STATE-CHANGE id=6 state=6]
V/WifiStateTracker( 92): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GRO
UP_HANDSHAKE
I/wpa_supplicant( 128): WPA: Key negotiation completed with 00:04:0e:d2:46:81 [
PTK=CCMP GTK=TKIP]
V/WifiMonitor( 92): Event [WPA: Key negotiation completed with 00:04:0e:d2:46:
81 [PTK=CCMP GTK=TKIP]]
I/wpa_supplicant( 128): CTRL-EVENT-STATE-CHANGE id=6 state=7
V/WifiMonitor( 92): Event [CTRL-EVENT-STATE-CHANGE id=6 state=7]
V/WifiStateTracker( 92): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLE
TED
I/wpa_supplicant( 128): CTRL-EVENT-CONNECTED - Connection to 00:04:0e:d2:46:81
completed (auth) [id=6 id_str=]
I/wpa_supplicant( 128): wpa_supplicant - IPC_EVENT_AUTH_SUCC
V/WifiMonitor( 92): Event [CTRL-EVENT-CONNECTED - Connection to 00:04:0e:d2:46
:81 completed (auth) [id=6 id_str=]]
V/WifiStateTracker( 92): New network state is CONNECTED
D/WifiStateTracker( 92): DhcpHandler: DHCP request started
V/WifiStateTracker( 92): DhcpHandler: DHCP request succeeded
V/WifiStateTracker( 92): IP configuration: ipaddr 192.168.178.26 gateway 192.1
68.178.1 netmask 255.255.255.0 dns1 192.168.178.1 dns2 0.0.0.0 DHCP server 192.1
68.178.1 lease 864000 seconds
D/WifiWatchdogService( 92): (android.server.ServerThread) yeeeehaaaa (00:04:0e
:d2:46:81) does not require the watchdog
D/GpsLocationProvider( 92): updateNetworkState available
D/GpsLocationProvider( 92): NetworkThread out of wake loop
D/GpsLocationProvider( 92): Requesting time from NTP server north-america.pool
.ntp.org
D/dalvikvm( 92): GC(0) freed 16253 objects / 685400 bytes in 260ms
I/ActivityManager( 92): Stopping service: com.android.providers.downloads/.Dow
nloadService
D/SntpClient( 92): round trip: 204 ms
D/SntpClient( 92): clock offset: 64543 ms
D/GpsLocationProvider( 92): calling native_inject_time: 1251499249260 referenc
e: 171921 certainty: 102
D/GpsLocationProvider( 92): xtraDownloadRequest
D/GpsXtraDownloader( 92): Downloading XTRA data from http://xtra3.gpsonextra.n
et/xtra.bin
D/dalvikvm( 92): threadid=65 wakeup: interrupted
D/GpsLocationProvider( 92): calling native_inject_xtra_data
^C
F:\Temp\android-sdk-windows-1.5_r2\tools>