Discussion Board

Results 1 to 6 of 6
  1. #1
    Nokia Developer Champion somnathbanik's Avatar
    Join Date
    Dec 2008
    Posts
    2,275
    Hi All,
    I have been trying to implement FAS in my application, but I believe its not working for me.
    My app has some pages with Text, Images,Audio and Video in it.
    When the app is running and I go out of the application by pressing the start(window) key, and come back again, I can see my Text and Images. The Audio and Video doesn't play. I believe I need to preserve the state of the Audio and Video.
    I followed this link http://msdn.microsoft.com/en-us/libr...=vs.92%29.aspx But could not make it up nicely.

    So is there any other article which I can follow to preserve my Audio Video state and resume when it comes back.

    One more thing, is it possible to implement FAS in Launching and Chooser, like if I play Video in default device player, can I implement FAS in that.


    Please put some light in this.

  2. #2
    Registered User sreerajvr's Avatar
    Join Date
    Oct 2010
    Location
    Trivandrum ,Kerala
    Posts
    135
    I think you mean this event :

    protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e)
    {
    base.OnNavigatedFrom(e);

    // your code
    }
    This event is called whenever you navigate away from a page, whether by pressing the back button or the home button.

    Some info..This may help you

    MediaElement ( MediaElement can cause troubles with certification if you aren't careful )

    Page.OnNavigatedTo Method

    Page.OnNavigatedFrom Method
    sreerajvr

  3. #3
    Nokia Developer Champion somnathbanik's Avatar
    Join Date
    Dec 2008
    Posts
    2,275
    I know about this event.
    well do you know can we implement FAS in launcher like default video player.

  4. #4
    Registered User sreerajvr's Avatar
    Join Date
    Oct 2010
    Location
    Trivandrum ,Kerala
    Posts
    135
    Please take a look @
    1.How to: Preserve and Restore Application State for Windows Phone
    2.A short video on FAS .

    But I have not done any work on FAS.
    Last edited by sreerajvr; 2011-12-02 at 10:20.
    sreerajvr

  5. #5
    Hi,
    there is a presentation about FAS on channel9 that maybe useful, below is the file name.
    DVC09-HD_Fast Application Switching

  6. #6
    lemme check on this... thanks guys...

Similar Threads

  1. Replies: 3
    Last Post: 2010-12-16, 08:43
  2. background disappear when switching application
    By lit6219 in forum Themes/Carbide.ui
    Replies: 2
    Last Post: 2010-02-13, 20:54
  3. large images from file - fast switching
    By maclun123 in forum Python
    Replies: 1
    Last Post: 2008-10-01, 14:55
  4. application switching events
    By vinayakak in forum Symbian C++
    Replies: 4
    Last Post: 2008-09-01, 09:59

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved