none
Is It possible to develop an app without UI? RRS feed

  • 问题

  • I need to develop an no-UI app for WP8. That is, the app will schedule an backend task on startup and exit, not show any UI. I try to do this by add code in Application_Launching() of App class like this :

    private void Application_Launching(object sender, LaunchingEventArgs e)
            {
                ScheduledAgent.schedule();
                Terminate();
            }

    It seems to work, but the screen will turn black and then back to main screen while the app is launched, which not  what I really want.

    Anyone know how to do this?

    Thx.

    2012年11月22日 7:21