G
G
Grigory Lugovoy2014-02-24 08:08:42
Android
Grigory Lugovoy, 2014-02-24 08:08:42

Strange behavior of Android application (Entering OnTargetExited)?

Good day friends! I continue to debug my first application for Android on Xamarin
, I encountered a strange behavior of the program, namely on Android 4.2.2 (it does not repeat on version 2.3.5) the following happens:
1) I minimize the application
while using the Internet, my application stops working, in VS output I see the following information:
Mono.Android.VisualStudio.MonoAndroidPackage Verbose: 0 : Entering OnTargetExited for: Mono.Android.VisualStudio.MonoAndroidDebuggerSession
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand ]: 6HU8RSHMNBTS7LBY am force-stop com.application.xxx
The program 'Mono' has exited with code 0 (0x0).
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start ForceStop - 02/24/2014 10:42:37 (1773ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] am force-stop com.application.xxx
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End ForceStop --
If you do not use the Internet, the application also closes after a certain period of time, this can also happen, if a call was made to/from a telephone.
Debuggable = false is set in the project settings, debug information is disabled, the problem repeats in debug and release modes. If the application is installed from the apk file, then it behaves the same way.
Perhaps someone has fresh thoughts about this, or someone faced a similar problem ... in general, I will be glad for any information on the topic.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question