Consumer closed input channel or an error occurred. events=0x8 - android

So, I was testing my app out on various devices, and on some with less memory, it decides to crash after playing for a while. I think I have a memory leak somewhere, but that isn't the issue.
When it dies, it doesn't throw any exceptions, this is what the logcat gave me:
07-16 14:05:55.424 1318 1318 I ActivityManager: Starting: Intent {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.waldev.platformer/.Menu } from pid 4631
07-16 14:05:56.213 1318 1349 I ActivityManager: Displayed org.waldev.platformer/.Menu: +613ms
07-16 14:05:58.252 1318 1509 I ActivityManager: Starting: Intent { cmp=org.waldev.platformer/.Platformer } from pid 4623
07-16 14:05:58.510 1220 1316 I ExtendFileSource: filename = /data/app/org.waldev.platformer-1.apk
07-16 14:05:58.533 1220 10962 I ExtendFileSource: filename = /data/app/org.waldev.platformer-1.apk
07-16 14:05:58.549 1220 7923 I ExtendFileSource: filename = /data/app/org.waldev.platformer-1.apk
07-16 14:05:58.557 1220 1220 I ExtendFileSource: filename = /data/app/org.waldev.platformer-1.apk
07-16 14:05:58.783 1318 1349 I ActivityManager: Resumed Activity: org.waldev.platformer/.Menu totalTime: 3361 ms
07-16 14:05:58.783 1318 1349 I ActivityManager: Displayed org.waldev.platformer/.Platformer: +496ms
07-16 14:05:59.682 1220 1220 I ExtendFileSource: filename = /data/app/org.waldev.platformer-1.apk
07-16 14:08:04.619 1220 10961 I ExtendFileSource: filename = /data/app/org.waldev.platformer-1.apk
07-16 14:09:56.283 1318 1551 I ActivityManager: Process org.waldev.platformer (pid 4623) has died.
07-16 14:09:56.369 1318 1351 E InputDispatcher: channel '405409f8 org.waldev.platformer/org.waldev.platformer.Menu (server)' ~ Consumer closed input channel or an error occurred. events=0x8
07-16 14:09:56.369 1318 1351 E InputDispatcher: channel '405409f8 org.waldev.platformer/org.waldev.platformer.Menu (server)' ~ Channel is unrecoverably broken and will be disposed!
07-16 14:09:56.416 1318 6514 I WindowManager: WIN DEATH: Window{40576908 org.waldev.platformer/org.waldev.platformer.Menu paused=false}
07-16 14:09:56.557 1318 1537 I WindowManager: WIN DEATH: Window{405409f8 org.waldev.platformer/org.waldev.platformer.Menu paused=false}
07-16 14:09:56.572 1318 2103 I WindowManager: WIN DEATH: Window{409f0b80 org.waldev.platformer/org.waldev.platformer.Menu paused=false}
07-16 14:09:56.580 1318 1464 I WindowManager: WIN DEATH: Window{40543cf0 org.waldev.platformer/org.waldev.platformer.Menu paused=false}
07-16 14:09:56.603 1318 1509 I WindowManager: WIN DEATH: Window{4090ec68 org.waldev.platformer/org.waldev.platformer.Platformer paused=false}
07-16 14:09:56.853 1318 1551 I ActivityManager: Start proc org.waldev.platformer for activity org.waldev.platformer/.Menu: pid=5332 uid=10103 gids={1015}
07-16 14:09:58.291 1318 1349 I ActivityManager: Displayed org.waldev.platformer/.Menu: +1s677ms
It just seems like it decided to destroy my process without it ever telling me why. I looked around to see what causes android to do this, but I didn't see anything.
I saw the other questions about this on here, but none of them seemed to really answer why it was doing it, and that's more of what I am looking for. Does anyone know?

Related

Kivy aplication crashes on splash screen

I have a simple app for android written in python 2.7.12 32-bit, kivy 1.9.1 on ubuntu 16.04 64. I am able to build the app with buildozer debug deploy but the app won't start. It crashes while loading itself but stays in the 'background'. I inspected the logcat and there seems to be only one error:
build.xml: Failed to find version-tag string. File must be updated.
In order to not erase potential customizations, the file will not be automatically regenerated.
If no changes have been made to the file, delete it manually and run the command again.
If you have made customizations to the build process, the file must be manually updated.
It is recommended to:
Copy current file to a safe location.
Delete original file.
Run command again to generate a new file.
Port customizations to the new file, by looking at the new rules
file located at /tools/ant/build.xml
Update file to contain version-tag: custom to prevent file from
being rewritten automatically by the SDK tools.
I have been searching for the solution and even found some related topics but none of them seems to be related to building with buildozer. I would do what the above list instructs but i was unable to locate the /tools/ant/build.xml.
I am adding the output of terminal where app dies or at least I think it happens here:
12-25 09:58:34.762 1142 1153 I ActivityManager: Start proc 4509:org.test.localmapper:python/u0a220 for activity org.test.localmapper/org.renpy.android.PythonActivity
12-25 09:58:34.920 1142 1152 I ActivityManager: Killing 4384:com.sonymobile.android.addoncamera.styleportrait/u0a67 (adj 15): empty #17
12-25 09:58:35.120 1142 1162 I WindowManager: Focus moving from null to Window{d1f6d91 u0 org.test.localmapper/org.renpy.android.PythonActivity}
12-25 09:58:35.121 1142 1162 I WindowManager: Gaining focus: Window{d1f6d91 u0 org.test.localmapper/org.renpy.android.PythonActivity}
12-25 09:58:35.140 1142 2380 I ActivityManager: Start proc 4532:com.swiftkey.swiftkeyconfigurator/u0a178 for broadcast com.swiftkey.swiftkeyconfigurator/.PackageRemovedReceiver
12-25 09:58:35.144 1142 2380 I ActivityManager: Killing 4399:com.sonymobile.cameracommon/u0a27 (adj 15): empty #17
12-25 09:58:35.265 1142 2140 I RuntimeSkinInfo: com.sonymobile.runtimeskinning.LAF_VERSION in android blocks runtime skin from being applied, version value=2
12-25 09:58:35.265 1142 2140 I RuntimeSkinInfo: com.sonymobile.runtimeskinning.LAF_VERSION in com.android.systemui blocks runtime skin from being applied, version value=2
12-25 09:58:35.343 1142 1568 W ActivityManager: Skip forceProcessStateUpTo() to newState 11
12-25 09:58:35.367 1142 1152 I ActivityManager: Killing 3951:com.android.exchange/u0a36 (adj 15): empty #17
12-25 09:58:35.436 1142 2383 I NetworkIdentity: buildNetworkIdentity:
12-25 09:58:35.436 1142 2383 I NetworkIdentity: networkId = GNX324C50
12-25 09:58:35.448 1142 1357 I ActivityManager: Start proc 4562:com.sony.nfx.app.sfrc/u0a182 for broadcast com.sony.nfx.app.sfrc/.SocialifeUpdateReceiver
12-25 09:58:35.633 1142 1152 W ActivityManager: Skip forceProcessStateUpTo() to newState 11
12-25 09:58:35.918 1142 2144 I ActivityManager: Start proc 4584:com.google.android.apps.photos/u0a132 for broadcast com.google.android.apps.photos/.backgroundsignin.BackgroundSignInBroadcastReceiver
12-25 09:58:35.920 1142 2144 I ActivityManager: Killing 4053:com.sonymobile.runtimeskinning.core/u0a185 (adj 15): empty #17
12-25 09:58:36.077 1142 2146 W ActivityManager: Skip forceProcessStateUpTo() to newState 11
12-25 09:58:36.522 1142 1569 I RuntimeSkinInfo: com.sonymobile.runtimeskinning.LAF_VERSION in android blocks runtime skin from being applied, version value=2
12-25 09:58:36.522 1142 1569 I RuntimeSkinInfo: com.sonymobile.runtimeskinning.LAF_VERSION in com.android.systemui blocks runtime skin from being applied, version value=2
12-25 09:58:36.720 1142 1152 I WindowState: WIN DEATH: Window{d1f6d91 u0 org.test.localmapper/org.renpy.android.PythonActivity}
12-25 09:58:36.721 1142 1152 W WindowManager: Force-removing child win Window{56b40f7 u0 SurfaceView} from container Window{d1f6d91 u0 org.test.localmapper/org.renpy.android.PythonActivity}
12-25 09:58:36.729 1142 1568 W WindowManager: Failed looking up window
12-25 09:58:36.729 1142 1568 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy#8ea04f6 does not exist
12-25 09:58:36.729 1142 1568 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9194)
12-25 09:58:36.729 1142 1568 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9185)
12-25 09:58:36.729 1142 1568 W WindowManager: at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1209)
12-25 09:58:36.729 1142 1568 W WindowManager: at android.os.BinderProxy.sendDeathNotice(Binder.java:566)
12-25 09:58:36.729 1142 1568 I WindowState: WIN DEATH: null
12-25 09:58:36.731 1142 2146 I ActivityManager: Process org.test.localmapper:python (pid 4509) has died
12-25 09:58:36.731 1142 2146 W ActivityManager: Force removing ActivityRecord{1afe009 u0 org.test.localmapper/org.renpy.android.PythonActivity t1334}: app died, no saved state
12-25 09:58:36.742 1142 1162 I WindowManager: Focus moving from Window{d1f6d91 u0 org.test.localmapper/org.renpy.android.PythonActivity} to null
12-25 09:58:36.742 1142 1162 I WindowManager: Losing focus: Window{d1f6d91 u0 org.test.localmapper/org.renpy.android.PythonActivity}
12-25 09:58:36.767 1142 1162 I WindowManager: Focus moving from null to Window{93f1d2e u0 com.sonyericsson.home/com.sonymobile.home.HomeActivity}
12-25 09:58:36.767 1142 1162 I WindowManager: Gaining focus: Window{93f1d2e u0 com.sonyericsson.home/com.sonymobile.home.HomeActivity}
12-25 09:58:36.777 1142 2377 W InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 4509 uid 10220
12-25 09:58:36.925 1142 1568 W BroadcastQueue: Permission Denial: broadcasting Intent { act=android.intent.action.USER_PRESENT flg=0x24000010 } from com.android.systemui (pid=14393, uid=10068) is not exported from uid 10048 due to receiver com.sonymobile.mx.android/.receivers.StopMessageReceiver
12-25 09:58:36.947 1142 2146 I ActivityManager: Start proc 4613:com.sonymobile.ree/u0a52 for broadcast com.sonymobile.ree/.service.UserPresentReceiver
12-25 09:58:37.122 1142 2382 W ActivityManager: Skip forceProcessStateUpTo() to newState 11
12-25 09:58:37.221 1142 1569 I ActivityManager: Killing 4066:com.sonyericsson.updatecenter/u0a71 (adj 15): empty #17
12-25 09:58:37.334 1142 2377 I ActivityManager: Start proc 4633:deezer.android.app/u0a200 for broadcast deezer.android.app/com.deezer.push.BootParseBroadcastReceiver
12-25 0
Thank you!
Sounds like version string in buildozer.spec
Explained here, answer by eviltnan : https://stackoverflow.com/a/20898873/7153696

Can't find the root cause that app been kill by android

We're working on an Android game, developing with Cocos2d-x.
Our game seems to be killed by android, but we can't find the root cause about the game close. The adb's log is dumped as follows:
adb's log
Critical portion:
D/dalvikvm( 501): GC_CONCURRENT freed 875K, 19% free 4478K/5464K, paused 2ms+2ms, total 22ms
E/Surface ( 965): queueBuffer: error queuing buffer to SurfaceTexture, -12
W/dalvikvm( 965): trying to work around app JNI bugs, but didn't find 0x41906cd8 in table!
W/dalvikvm( 965): JNI WARNING: DeleteLocalRef(0x41906cd8) failed to find entry
I/FrameQueueManage( 174): FrameQueueManage::~FrameQueueManage end!
D/Zygote ( 172): Process 965 terminated by signal (11)
I/ActivityManager( 501): Process igs.rd5.SuperSoccer (pid 965) has died.
I/WindowState( 501): WIN DEATH: Window{41a365d8 u0 igs.rd5.SuperSoccer/org.cocos2dx.cpp.AppActivity}
W/WindowManager( 501): Force-removing child win Window{41a4fcb0 u0 SurfaceView} from container Window{41a365d8 u0 igs.rd5.SuperSoccer/org.cocos2dx.cpp.AppActivity}
W/ActivityManager( 501): Force removing ActivityRecord{41975d20 u0 igs.rd5.SuperSoccer/org.cocos2dx.cpp.AppActivity t2}: app died, no saved state
W/WindowManager( 501): Failed looking up window
W/WindowManager( 501): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy#41a4be58 does not exist
W/WindowManager( 501): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8102)
W/WindowManager( 501): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8093)
W/WindowManager( 501): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1047)
W/WindowManager( 501): at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
W/WindowManager( 501): at dalvik.system.NativeStart.run(Native Method)
I/WindowState( 501): WIN DEATH: null
D/mali_winsys( 680): new_window_surface returns 0x3000
W/InputMethodManagerService( 501): Got RemoteException sending setActive(false) notification to pid 965 uid 10047
W/Binder ( 652): Caught a RuntimeException from the binder stub implementation.
W/Binder ( 652): java.lang.NullPointerException
W/Binder ( 652): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:284)
W/Binder ( 652): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
W/Binder ( 652): at android.os.Binder.execTransact(Binder.java:404)
W/Binder ( 652): at dalvik.system.NativeStart.run(Native Method)
We don't see any native library's crash dump, and nearly can't see any java's exception that has senses. Cound anybody tell us why our game is killed by android?

Delphi Android App crash on keyboard connect/disconnect

Create an Android App, drop an edit box, run the App.
Connect a barcode scanner, the App Crash.
Connect the barcode scanner and run the App, everything works fine.
Disconnect the scanner and the App crash.
If the App is runnig you cannot connect/disconnect a keyboard/barcode scanner no matter if it is bluetooth or wired.
Any ideas?
Similar to App crashes when closing Keyboard on Android Delphi Xe7
but it is not the same issue.
LogCat from Running App and then connect the barcode scanner
01-28 15:23:26.724 I/ActivityManager(668): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity} from pid 2642
01-28 15:23:26.779 I/ActivityManager(668): Start proc com.embarcadero.HeaderFooterApplication for activity com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity: pid=17902 uid=10178 gids={50178, 3002, 3001, 1006, 3003, 5012, 1028, 1015}
01-28 15:23:28.424 I/ActivityManager(668): Displayed com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity: +1s655ms
01-28 15:23:28.884 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] setSynchronousMode: SurfaceTexture has been abandoned!
01-28 15:23:28.884 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] queueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:28.884 W/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] cancelBuffer: BufferQueue has been abandoned!
01-28 15:23:28.889 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:28.889 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:28.889 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:28.889 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:36.054 I/WindowState(668): WIN DEATH: Window{41d09040 u0 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity}
01-28 15:23:36.054 I/ActivityManager(668): Process com.embarcadero.HeaderFooterApplication (pid 17902) has died.
01-28 15:23:36.054 W/ActivityManager(668): Force removing ActivityRecord{41612fe0 u0 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity}: app died, no saved state
01-28 15:23:49.274 I/ActivityManager(668): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity} from pid 2642
01-28 15:23:49.434 I/ActivityManager(668): Start proc com.embarcadero.HeaderFooterApplication for activity com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity: pid=18029 uid=10178 gids={50178, 3002, 3001, 1006, 3003, 5012, 1028, 1015}
01-28 15:23:51.094 I/ActivityManager(668): Displayed com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity: +1s668ms
01-28 15:23:51.589 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] setSynchronousMode: SurfaceTexture has been abandoned!
01-28 15:23:51.589 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] queueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:51.589 W/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] cancelBuffer: BufferQueue has been abandoned!
01-28 15:23:51.589 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:51.594 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:51.594 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:51.599 E/BufferQueue(142): [com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity] dequeueBuffer: SurfaceTexture has been abandoned!
01-28 15:23:59.329 W/InputDispatcher(668): channel '419b5198 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
01-28 15:23:59.329 E/InputDispatcher(668): channel '419b5198 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-28 15:23:59.329 W/InputDispatcher(668): Attempted to unregister already unregistered input channel '419b5198 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity (server)'
01-28 15:23:59.329 I/WindowState(668): WIN DEATH: Window{419b5198 u0 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity}
01-28 15:23:59.334 I/ActivityManager(668): Process com.embarcadero.HeaderFooterApplication (pid 18029) has died.
01-28 15:23:59.334 W/ActivityManager(668): Force removing ActivityRecord{419ef278 u0 com.embarcadero.HeaderFooterApplication/com.embarcadero.firemonkey.FMXNativeActivity}: app died, no saved state
Solution from Embarcadero Community site (updated with additional items as suggested by Ernie Thomason)
You need to add keyboard into the Android Manifest template AndroidManifest.template.xml to avoid app termination when connecting/disconnecting an external USB keyboard.
Current file:
android:configChanges="orientation|keyboardHidden"
Updated file:
android:configChanges="orientati‌​on|keyboard|keyboardHidden|navigation|screenLayout|screenSize"
Here is some additional information about the template file:
When you build your project, RAD Studio uses AndroidManifest.template.xml as a template to generate AndroidManifest.xml in the output directory. You will need to edit the template file which lives in the same folder as your project.

Using WeakSubscribe from MvvmCross

I need to subscribe to INotifyPropertyChanged of one of my models in my ViewModel. My research led me to: How do I update the parent viewmodel when child viewmodel is updated.
I tried using WeakSubscribe as suggested in #3 but after entering and leaving the view several times my whole application either freezes or crashes.
Here's my code from Init() in the ViewModel:
foreach (var sale in Model.Sales)
{
sale.WeakSubscribe(delegate
{
Model.CalculateSalesTotals();
});
}
when the app is crashing, I'm getting SIGSEGV:
I/mono-stdout(30334): mvx:Diagnostic:227.00 Showing ViewModel InvoiceAuthorizationViewModel
I/ActivityManager( 391): START u0 {flg=0x10000000 cmp=com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView (has extras)} from pid 30334
I/mono-stdout(30334): mvx:Diagnostic:227.19 Loading new ViewModel from Intent with Extras
D/dalvikvm(30334): GC_EXPLICIT freed 783K, 5% free 17252K/18068K, paused 2ms+8ms, total 53ms
I/mono-stdout(30334): MvxBind:Warning:227.59 Unable to bind: source property source not found Cirrious.MvvmCross.Binding.Parse.PropertyPath.PropertyTokens.MvxPr
opertyNamePropertyToken on null-object
I/mono-stdout(30334): MvxBind:Warning:227.61 Unable to bind: source property source not found Cirrious.MvvmCross.Binding.Parse.PropertyPath.PropertyTokens.MvxPr
opertyNamePropertyToken on null-object
I/mono-stdout(30334): MvxBind:Warning:227.63 Unable to bind: source property source not found Cirrious.MvvmCross.Binding.Parse.PropertyPath.PropertyTokens.MvxPr
opertyNamePropertyToken on null-object
I/dalvikvm(30334): Jit: resizing JitTable from 4096 to 8192
I/ActivityManager( 391): Displayed com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView: +755ms (total +1s259ms)
I/ActivityManager( 391): Displayed com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView: +1s279ms
I/ActivityManager( 391): Process com.android.vending (pid 30179) has died.
E/mono-rt (30334): Stacktrace:
E/mono-rt (30334):
E/mono-rt (30334):
E/mono-rt (30334): =================================================================
E/mono-rt (30334): Got a SIGSEGV while executing native code. This usually indicates
E/mono-rt (30334): a fatal error in the mono runtime or one of the native libraries
E/mono-rt (30334): used by your application.
E/mono-rt (30334): =================================================================
E/mono-rt (30334):
I/ActivityManager( 391): Process com.desco.escMobile (pid 30334) has died.
I/WindowState( 391): WIN DEATH: Window{42cf2e60 u0 com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView}
W/ActivityManager( 391): Force removing ActivityRecord{42e05b20 u0 com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView}: app died, no saved st
ate
I/WindowState( 391): WIN DEATH: Window{427bfbf0 u0 com.desco.escMobile/escmobile.android.views.DispatchListView}
I/WindowState( 391): WIN DEATH: Window{42b32b50 u0 com.desco.escMobile/escmobile.android.views.InvoiceDetailsView}
I/WindowState( 391): WIN DEATH: Window{43003e48 u0 com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView}
I/WindowState( 391): WIN DEATH: Window{42aea920 u0 com.desco.escMobile/escmobile.android.views.DispatchDetailsView}
D/dalvikvm(30434): Late-enabling CheckJNI
I/ActivityManager( 391): Start proc com.desco.escMobile for activity com.desco.escMobile/escmobile.android.views.InvoiceAuthorizationView: pid=30434 uid=10086
gids={50086, 3003, 1015, 1028}
D/Zygote ( 129): Process 30334 exited cleanly (255)
Any suggestions?

Application dies with "Low Memory: No more background processes."

In my application i try launching the browser with the following url:
https://maps.google.com/maps?saddr=indiranagar bangalore&daddr=mgroad bangalore
The browser launches and when the map loads my application gets killed with the following logcat message:
I/ActivityManager( 61): Starting: Intent { act=android.intent.action.VIEW dat=
http://View cmp=com.android.browser/.BrowserActivity (has extras) } from pid 355
I/ActivityManager( 61): Starting: Intent { act=android.intent.action.VIEW dat=
https://maps.google.com/maps?saddr=indiranagar bangalore&daddr=mgroad bangalore
cmp=com.android.browser/.BrowserActivity } from pid 355
D/PhoneWindow( 355): couldn't save which view has focus because the focused vie
w android.widget.EditText#40587640 has no id.
I/ActivityManager( 61): Displayed com.android.browser/.BrowserActivity: +760ms
W/IInputConnectionWrapper( 355): showStatusIcon on inactive InputConnection
I/dalvikvm( 373): Jit: resizing JitTable from 1024 to 2048
I/System.out( 355): Logout Counter:30
D/dalvikvm( 373): GC_CONCURRENT freed 369K, 50% free 3921K/7751K, external 2234
K/2645K, paused 5ms+18ms
D/dalvikvm( 355): GC_EXPLICIT freed 866K, 50% free 3666K/7239K, external 2693K/
3310K, paused 1640ms
D/dalvikvm( 373): GC_CONCURRENT freed 1400K, 54% free 3641K/7751K, external 226
6K/2645K, paused 6ms+26ms
W/browser ( 373): We should not show context menu when nothing is touched
W/browser ( 373): We should not show context menu when nothing is touched
W/browser ( 373): We should not show context menu when nothing is touched
**I/ActivityManager( 61): Process com.aavarp.mobile (pid 355) has died.
I/ActivityManager( 61): Low Memory: No more background processes.**
I/WindowManager( 61): WIN DEATH: Window{408793c0 com.aavarp.mobile/com.aavarp.
mobile.core.ui.ApplicationsActivity paused=false}
E/InputDispatcher( 61): channel '4070e4f8 com.aavarp.mobile/com.aavarp.mobile.
dashboard.ui.components.GraphActivity (server)' ~ Consumer closed input channel
or an error occurred. events=0x8
E/InputDispatcher( 61): channel '4070e4f8 com.aavarp.mobile/com.aavarp.mobile.
dashboard.ui.components.GraphActivity (server)' ~ Channel is unrecoverably broke
n and will be disposed!
I/WindowManager( 61): WIN DEATH: Window{4070e4f8 com.aavarp.mobile/com.aavarp.
mobile.dashboard.ui.components.GraphActivity paused=false}
I/WindowManager( 61): WIN DEATH: Window{406836a8 com.aavarp.mobile/com.aavarp.
mobile.dashboard.ui.components.NotificationList paused=false}
I/WindowManager( 61): WIN DEATH: Window{406825a8 com.aavarp.mobile/com.aavarp.
mobile.dashboard.ui.components.TableListActivity paused=false}
I/WindowManager( 61): WIN DEATH: Window{4083df30 com.aavarp.mobile/com.aavarp.
mobile.dashboard.ui.components.DetailsActivity paused=false}
E/InputDispatcher( 61): Received spurious receive callback for unknown input c
hannel. fd=171, events=0x8
E/InputDispatcher( 61): Received spurious receive callback for unknown input c
hannel. fd=175, events=0x8
E/InputDispatcher( 61): Received spurious receive callback for unknown input c
hannel. fd=181, events=0x8
D/dalvikvm( 61): GC_CONCURRENT freed 1735K, 52% free 4435K/9159K, external 529
2K/6609K, paused 8ms+16ms
D/skia ( 129): purging 38K from font cache [5 entries]
D/dalvikvm( 129): GC_EXPLICIT freed 84K, 52% free 2801K/5767K, external 2117K/2
643K, paused 73ms
Again i tried launching the browser from my application with www.google.com and performed a search and browsed through various pages and navigated back to my application without any issues. I am not sure if am missing some message on the logcat. I use Android 2.3 OS.Could someone kindly help me resolve this issue please. Thanks in advance.
why do you want to load the maps in webview..? you load the map in a map activity or
use Intents List: Invoking Google Applications on Android Devices
String uri = "http://maps.google.com/maps?saddr=" + "9982878"+","+"76285774"+"&daddr="+"9992084"+","+"76286455";
Intent intent = new Intent(android.content.Intent.ACTION_VIEW, Uri.parse(uri));
intent.setClassName("com.google.android.apps.maps", "com.google.android.maps.MapsActivity");
startActivity(intent);
Note: for displaying route you should use map activity canvas

Categories

Resources