locked
ControlChannelTrigger-enabled app terminated when put into background

    Question

  • I have an app with CCT-enabled, and frequently when I put the app into the background, it is terminated by the operating system.
    Here are the steps I take to replicate:
    1) Start CCT-enabled connection and send data over it
    2) Go to Internet Explorer on Desktop
    3) Watch a video on YouTube

    Within seconds, my app is terminated.  The app is reasonably large and complex, and I'm not able figure out a way to provide a small sample that replicates the issue (though I can provide the whole code offline if it is useful to Microsoft).
    Is there a way that I can debug/troubleshoot the issue, identify the reason for the termination, or identify the root cause?

    Friday, January 3, 2014 4:42 PM

All replies

  • Hi Яков,

    From above, I know you have a CCT- enabled project, and when you put your app into background and open a video from YouTube which is showed on IE(you opened on desktop), your app is terminated.

    If I misunderstand you, please feel free to let me know. :)

    I think, we firstly need to confirm if the reason is from IE(desktop), please open IE from start screen(so, it is running on WinRT environment), open a video and test if your app is still terminated.

    Secondly, I need to know what is CCT, would you mind to sharing with me what is the CCT, if you could give a link about it, I think I could know it better.

    Regards!

    Xiaoliang


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 6, 2014 7:25 AM
    Moderator
  • Secondly, I need to know what is CCT

    CCT is ControlChannelTrigger.

    I think, we firstly need to confirm if the reason is from IE(desktop), please open IE from start screen(so, it is running on WinRT environment), open a video and test if your app is still terminated.

    It is unlikely possible because the only way I can see that the app is terminated is via Task Manager, which is desktop application.

    Regards,

    Iakov

    Monday, January 6, 2014 1:23 PM
  • Hi Яков,

    I mean you could confirm if your app works with IE which runs in WinRT environment will still be terminated, you still could look at task manager, The only change is the IE needs to be execute in start screen instead of desktop screen.

    I don't know how do you use the ControlChannelTrigger, and its usage is very simple. If you use it follow this sample, it won't be a reason.

    http://code.msdn.microsoft.com/windowsapps/ControlChannelTrigger-TCP-20c56711

    And from the original post, I know your issue appears while your app deals with IE. So it may be a suspicious point. But for this, I need to know how do you deal with IE.

    Regards!

    Xiaoliang 


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, January 7, 2014 2:35 AM
    Moderator
  • The app is terminated when IE is running.

    I believe that my use of the ControlChannelTrigger follows the sample.

    Tuesday, January 7, 2014 12:54 PM
  • Hi Яков,

    So, I think I need to know how do you deal with IE. Would you mind to sharing with me the code about how do you interact with IE?


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Friday, January 10, 2014 9:11 AM
    Moderator
  • I don't interact with IE.
    Friday, January 10, 2014 10:03 AM
  • So, you should share with us your guess about the issue, you told us your app is terminated with IE, but from above, I am doubt about it. If your app don't do anything about IE, why do you post them together?
    Monday, January 13, 2014 1:39 AM