The same code seems to work fine on the phone build using version 8.
It seems something is up with honeycomb.
Here is the log cat:
04-27 10:20:38.410: INFO/Farah(2579): UploadIntentParamObj [_absPath=/
mnt/sdcard/Music/Matthew_Sweet-Girlfriend.mp3, _authToken=567,
_fileId=null, _filename=Matthew_Sweet-Girlfriend.mp3, _folderId=0,
_folderPath=All Files, _isSentToUpload=false, _thumbnail=null,
_thumnailPrev=null, _fileSize=null]
04-27 10:20:38.650: DEBUG/Tablet/NotificationPanel(2535):
notificationCount=3
04-27 10:20:38.720: DEBUG/Tablet/NotificationPanel(2535):
notificationCount=4
04-27 10:20:44.375: DEBUG/Tablet/NotificationPanel(2535):
notificationCount=4
04-27 10:20:44.775: DEBUG/Tablet/NotificationPanel(2535):
notificationCount=4
04-27 10:20:49.625: WARN/ActivityManager(133): Launch timeout has
expired, giving up wake lock!
04-27 10:20:49.655: WARN/ActivityManager(133): Activity idle timeout
for ActivityRecord{4096d588 com.farah.android/.activities.AllFiles}
04-27 10:20:50.795: DEBUG/AlarmManagerService(133): Kernel timezone
updated to 240 minutes west of GMT
04-27 10:20:50.795: DEBUG/SystemClock(213): Setting time of day to
sec=1303914048
04-27 10:20:48.068: ERROR/TelephonyManager(253): Hidden constructor
called more than once per process!
04-27 10:20:48.068: ERROR/TelephonyManager(253): Original:
com.google.android.location, new: com.google.android.gsf
04-27 10:20:48.068: VERBOSE/AlarmClock(2626): AlarmInitReceiver
finished
04-27 10:20:48.878: INFO/TelephonyRegistry(133): notifyServiceState: 0
roaming 310004 EvDo rev. A CSS supported 6 17500 RoamInd=0
DefRoamInd=0 EmergOnly=false
04-27 10:20:56.868: WARN/ActivityManager(133): Activity destroy
timeout for ActivityRecord{40dd9480
com.farah.android/.activities.UploadFile}
04-27 10:21:10.018: WARN/ActivityManager(133): Timeout of broadcast
BroadcastRecord{40a8e168 android.intent.action.TIME_TICK} -
receiver=android.os.BinderProxy@41515058, started 10000ms ago
04-27 10:21:10.018: INFO/Process(133): Sending signal. PID: 2535 SIG:
3
04-27 10:21:10.018: INFO/dalvikvm(2535): threadid=4: reacting to
signal 3
04-27 10:21:10.018: WARN/ActivityManager(133): Receiver during
timeout: BroadcastFilter{40fcace0 ReceiverList{40fd0210 2535
com.android.systemui/1000 remote:41515058}}
04-27 10:21:10.038: INFO/dalvikvm(2535): Wrote stack traces to '/data/
anr/traces.txt'
04-27 10:21:10.038: INFO/Process(133): Sending signal. PID: 133 SIG: 3
04-27 10:21:10.038: INFO/dalvikvm(133): threadid=4: reacting to signal
3
04-27 10:21:10.068: INFO/dalvikvm(133): Wrote stack traces to '/data/
anr/traces.txt'
04-27 10:21:10.068: INFO/Process(133): Sending signal. PID: 213 SIG: 3
04-27 10:21:10.068: INFO/dalvikvm(213): threadid=4: reacting to signal
3
04-27 10:21:10.078: INFO/dalvikvm(213): Wrote stack traces to '/data/
anr/traces.txt'
04-27 10:21:10.288: DEBUG/dalvikvm(133): GC_EXPLICIT freed 967K, 34%
free 16454K/24775K, paused 3ms+5ms
04-27 10:21:10.678: DEBUG/dalvikvm(2535): GC_CONCURRENT freed 2553K,
27% free 21314K/28807K, paused 2ms+4ms
04-27 10:21:10.858: INFO/Process(133): Sending signal. PID: 2535 SIG:
9
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '40802b20
NotificationPanel (server)' ~ Consumer closed input channel or an
error occurred. events=0x8
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '40802b20
NotificationPanel (server)' ~ Channel is unrecoverably broken and will
be disposed!
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '409b1e18
NotificationPeekWindow (server)' ~ Consumer closed input channel or an
error occurred. events=0x8
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '409b1e18
NotificationPeekWindow (server)' ~ Channel is unrecoverably broken and
will be disposed!
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '40b04be0
RecentsPanel (server)' ~ Consumer closed input channel or an error
occurred. events=0x8
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '40b04be0
RecentsPanel (server)' ~ Channel is unrecoverably broken and will be
disposed!
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '40cd6ee8
InputMethodsPanel (server)' ~ Consumer closed input channel or an
error occurred. events=0x8
04-27 10:21:10.878: ERROR/InputDispatcher(133): channel '40cd6ee8
InputMethodsPanel (server)' ~ Channel is unrecoverably broken and will
be disposed!
04-27 10:21:10.878: INFO/WindowManager(133): WINDOW DIED
Window{40802b20 NotificationPanel paused=false}
04-27 10:21:10.878: INFO/WindowManager(133): WINDOW DIED
Window{409b1e18 NotificationPeekWindow paused=false}
04-27 10:21:10.878: INFO/WindowManager(133): WINDOW DIED
Window{40b04be0 RecentsPanel paused=false}
04-27 10:21:10.878: INFO/ActivityManager(133): Process
com.android.systemui (pid 2535) has died.
04-27 10:21:10.878: INFO/WindowManager(133): WINDOW DIED
Window{40cd6ee8 InputMethodsPanel paused=false}
04-27 10:21:10.878: WARN/ActivityManager(133): Scheduling restart of
crashed service com.android.systemui/.SystemUIService in 1250ms
04-27 10:21:10.888: ERROR/InputDispatcher(133): channel '40ec6550
StatusBar (server)' ~ Consumer closed input channel or an error
occurred. events=0x8
04-27 10:21:10.888: ERROR/InputDispatcher(133): channel '40ec6550
StatusBar (server)' ~ Channel is unrecoverably broken and will be
disposed!
04-27 10:21:10.888: INFO/WindowManager(133): WIN DEATH:
Window{40ec6550 StatusBar paused=false}
04-27 10:21:10.888: INFO/ActivityManager(133): Start proc
com.android.systemui for restart com.android.systemui: pid=2638
uid=1000 gids={3003, 3002, 3001}
04-27 10:21:10.908: INFO/WindowManager(133): WIN DEATH:
Window{41527af8 NotificationTicker paused=false}
04-27 10:21:10.908: WARN/WindowManager(133): Failed looking up window
04-27 10:21:10.908: WARN/WindowManager(133):
java.lang.IllegalArgumentException: Requested window
android.os.BinderProxy@4099fea0 does not exist
04-27 10:21:10.908: WARN/WindowManager(133): at
com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:
9423)
04-27 10:21:10.908: WARN/WindowManager(133): at
com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:
9414)
04-27 10:21:10.908: WARN/WindowManager(133): at
com.android.server.WindowManagerService$WindowState
$DeathRecipient.binderDied(WindowManagerService.java:8153)
04-27 10:21:10.908: WARN/WindowManager(133): at
android.os.BinderProxy.sendDeathNotice(Binder.java:385)
04-27 10:21:10.908: WARN/WindowManager(133): at
dalvik.system.NativeStart.run(Native Method)
04-27 10:21:10.908: INFO/WindowManager(133): WIN DEATH: null
04-27 10:21:10.908: INFO/WindowManager(133): WINDOW DIED
Window{40ec6550 StatusBar paused=false}
04-27 10:21:11.698: INFO/Farah(2579): new fetchImage request:
https://www.farah.net/api/thumbs/27x30/audio/m4a.gif, 2131492880
04-27 10:21:12.138: DEBUG/SystemUIService(2638): loading: class
com.android.systemui.statusbar.tablet.TabletStatusBar
04-27 10:21:12.138: DEBUG/SystemUIService(2638): running:
com.android.systemui.statusbar.tablet.TabletStatusBar@407c2c00
04-27 10:21:12.138: INFO/StatusBar.HeightReceiver(2638): Resizing
status bar plugged=false height=48 old=0
04-27 10:21:12.228: DEBUG/dalvikvm(2638): GC_CONCURRENT freed 138K, 4%
free 6560K/6791K, paused 2ms+2ms
04-27 10:21:12.268: DEBUG/dalvikvm(2638): GC_FOR_ALLOC freed 30K, 5%
free 6680K/6983K, paused 20ms
04-27 10:21:12.278: INFO/dalvikvm-heap(2638): Grow heap (frag case) to
7.448MB for 876076-byte allocation
04-27 10:21:12.318: DEBUG/dalvikvm(2638): GC_FOR_ALLOC freed 71K, 6%
free 7463K/7879K, paused 19ms
04-27 10:21:12.368: DEBUG/dalvikvm(2638): GC_CONCURRENT freed 3K, 4%
free 7598K/7879K, paused 1ms+2ms
04-27 10:21:12.388: DEBUG/dalvikvm(2638): GC_FOR_ALLOC freed 2K, 4%
free 7642K/7943K, paused 19ms
04-27 10:21:12.388: INFO/dalvikvm-heap(2638): Grow heap (frag case) to
8.042MB for 513744-byte allocation
04-27 10:21:12.438: DEBUG/dalvikvm(2638): GC_FOR_ALLOC freed <1K, 4%
free 8144K/8455K, paused 20ms
04-27 10:21:12.468: DEBUG/dalvikvm(2638): GC_CONCURRENT freed <1K, 4%
free 8148K/8455K, paused 1ms+2ms
04-27 10:21:12.568: INFO/StatusBarManagerService(133):
registerStatusBar bar=com.android.internal.statusbar.IStatusBar$Stub
$Proxy@409c6a60
04-27 10:21:12.568: DEBUG/Tablet/NotificationPanel(2638):
notificationCount=0
04-27 10:21:12.568: DEBUG/Tablet/NotificationPanel(2638):
notificationCount=0
04-27 10:21:12.598: DEBUG/Tablet/NotificationPanel(2638):
notificationCount=1
04-27 10:21:12.608: DEBUG/Tablet/NotificationPanel(2638):
notificationCount=2
04-27 10:21:12.608: DEBUG/Tablet/NotificationPanel(2638):
notificationCount=3
04-27 10:21:12.618: DEBUG/Tablet/NotificationPanel(2638):
notificationCount=4
04-27 10:21:12.618: DEBUG/SystemUIService(2638): loading: class
com.android.systemui.power.PowerUI
04-27 10:21:12.618: DEBUG/SystemUIService(2638): running:
com.android.systemui.power.PowerUI@40a68ed0
04-27 10:21:12.628: INFO/StatusBar.HeightReceiver(2638): Resizing
status bar plugged=false height=48 old=48
04-27 10:21:12.628: DEBUG/StatusBar.NetworkController(2638): changing
data overlay icon id to 0
04-27 10:21:27.128: INFO/TelephonyRegistry(133): notifyServiceState: 0
roaming 310004 EvDo rev. A CSS supported 6 17500 RoamInd=0
DefRoamInd=0 EmergOnly=false
04-27 10:21:30.498: DEBUG/WifiService(133): releaseWifiLockLocked:
WifiLock{NetworkLocationProvider type=2
binder=android.os.BinderProxy@4080d6d0}
04-27 10:22:25.488: DEBUG/WifiService(133): acquireWifiLockLocked:
WifiLock{NetworkLocationProvider type=2
binder=android.os.BinderProxy@4080d6d0}
04-27 10:22:27.018: INFO/TelephonyRegistry(133): notifyServiceState: 0
roaming 310004 EvDo rev. A CSS supported 6 17500 RoamInd=0
DefRoamInd=0 EmergOnly=false
04-27 10:22:30.508: DEBUG/WifiService(133): releaseWifiLockLocked:
WifiLock{NetworkLocationProvider type=2
binder=android.os.BinderProxy@4080d6d0}
On Apr 26, 5:57 pm, faah <[email protected]> wrote:
> My application is uploading a file to a server and the progress of the
> upload is displayed in thenotificationarea. I have implemented a
> custom expanded view for thenotificationarea.
>
> The way this works is that when user chooses a file, application
> starts a service and the service starts a asyntask to upload the file.
> In onProgressUpdate I am updating the progress bar. Unfortunately, the
> app stops responding when I start the upload. I cannot click on
> thenotificationarea and my app will not respond for atleast 4 mins. The
> application does *not* crash and all the inputs get discarded(as seen
> on the log cat).
>
> I am building for sdk 11 with compatibility support for versions
> between 8 and 10.
>
> Is there a reason WHY the app stops responding. This started happening
> after I added the progress bar.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en