Scheduling Alarms and Reminders from Background Task

I need to schedule alarm or a reminder from a background task.. When I try, I got the following error:
System.InvalidOperationException: BNS Error: The API can only be called from foreground app
I Know the message is pretty clear, but... Is there a workaround? I need to warn the user from time to time... depeding on a server information..

Refer following links
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/jj709906.aspx
http://gauravsofts.blogspot.in/2014/08/create-scheduled-toast-notification-in.html
Gaurav Khanna | Microsoft .NET MVP | Microsoft Community Contributor

Similar Messages

  • Recovering Notes and Reminders from Time Machine Backup

    There doesn't seem to be any consistency for how Time Machine recovery works with apps.  With some apps, like mail, if you're in mail when you enter Time Machine, you actually see your old (backed-up) versions of mail from which you can simply recover an email message.  I just upgraded from Lion to Mountain Lion and Notes and Reminders are now their own apps.  If I open Time Machine with either Notes or Reminders on the screen, TM opens with a Finder window.  Is there any way to recover individual Notes or Reminders (as in mail) through TM?  Or, is there a way to recover an entire Notes database from TM?
    Thanks,
    John

    First run Time Machine to make a current backup of all your files.
    Next, make a backup of your current notes by mailing them to yourself. 
    Then backup Reminders using
         Reminders > File > Export...
    To restore Notes and Reminders from Time Machine:
    - Login to iCloud.com.
    - Notes.
    - Mail each note to yourself as a backup.
    - Quit iCloud.
    - Reminders > File > Export...
    - Turn off wi-fi.
    - Quit Notes.
    - Option-Go > Library > Containers .
    - Enter Time Machine.
    - Select a date.
    - Restore com.apple.notes .
    - Restore com.apple.reminders .
    - Start Notes.
    - Start Reminders.
    - Turn on wi-fi.

  • Launch page auto from Background Task Same Reminder

    i need to deploy page  auto  same reminder but i want first my page launch  so reminder solution does not my solution 
    and background task does not permit me for launch page from run method  so i do not have other solution for this question.
    please help me for this requirement,please do not give advise that what this question or what this requirement.this requirement for 
    users .

    hi dear , tnx from you, i develop one app that it is same reminder for wake up that off reminder by solving mathematical problem or using Step Counter Sensor that if some one step over 10 ... step reminder off 
    mean of my app for people , their sleep so hard and they can not wake up simple,
    so i need for first off reminder (solving mathematical problem i need page), i know reminder but i want first my page launch no any page same reminder dismiss pop up so i think background task suitable for me but this not launch UI
    please help me  tnx

  • Microsoft band. Send notification from background task

    Hi, everybody. Has anybody tried to use the Microsoft's Band sdk from a background task? I've installed and referenced the sdk to the background project and inside the Run I'm trying to use the code to get the list of the paired bands
    IBandInfo[] pairedBands = await BandClientManager.Instance.GetBandsAsync();
    but the BandClientManager is not recognized. I have instead the IBandClientManager. Running the same code from the app's main page works as expected. Can somebody help?

    The Band team is following the Microsoft-band tag on StackOverflow. See the previously asked question
    Microsoft Band SDK Preview - NotificationManager within a backgroundtask .

  • How can I live trace a hand sketch line work and cut from background to apply to new coloured backgr

    I placed a hand drawn scanned photo of artwork to illustrator cs4 in an attempt to trace the lines and remove from paper and add the line drawing to a brochure artwork. this to give illusion of an old artist's manuscript with drawings. first attempt with the psd file in trying to apply trace as a "hand drawn " method crashed illustrator. I tried again and used ink drawing which came out blotchy. Tried simple trace and got a warning that the file was too large. I'm thinking that the drawing itself is very soft and the paper around it is grainy and dim. I had tried to brighten   and lighten in the scan mode.I did get it as far as a trace at one point and used outline stroke but then couln't fill in the lines or cut it out. I have taken it to photoshop and drew a pen selection around the soft lines and used a transparent background on it, hoping to stroke it in illustrator and drag it off over to the brochure template .But didn't try it yet. I also just made the resolution 250 and the size document to 6 x 9 in approx. But now am fearful of another experiemental attempt. Am I on the right track or is there another method to bringing in a line drawing that is not defined well and getting it to trace and remove from it's background to apply onto the illustrator document being worked on. I have done placing and tracing before but not a line work. Any suggestions that won't crash my program would be welcome. As an artist I will want to do this again and again so want to know the proper method or what I am missing. I've been using illustrator for 7 months now.

    Maybe Li[ve trace] is not t]he way[ to go
    I have some suggestion one leave it as is and use a blending mode of multiply to give it a color background like this
    leave it as is make it a grayscale tiff import int Illustrator and color it it in Illustrator like this
    Or trace over it with the brush tool aand then give it a color ground.
    Or do the original over and do a cleaner job with no tone or a minimum of tone. Then Live trace.

  • Known issue: Cortana voice commands cannot be modified from background task (Windows 10 Insider Preview SDK and tools, April 2015 release)

    When implement a voice command as a background app, calls to modify voice command may not work as expected. For example, calling SetPhraseListAsync on a command set may result in a FileLoadException with the message "The process cannot access
    the file because it is being used by another process."

    There is no workaround for this issue. You may modify voice command definitions from a foreground task or app.

  • How do I retrieve my notes and reminders from my old iPhone to my new iPhone?

    All my notes on my iPhone 3Gs are not visible on iTunes. With iCloud enabled they still do not sync to my new iPhone. However the opposite occurs. New notes written on my iPhone 5 are syncing back to my 3Gs.
    Is there any way I can just view them from my Mac and copy them from one iPhone to the other?

    iOS- Transferring information from your current iPhone, iPad, or iPod touch to a new device
    How to Transfer Everything from an Old iPad to New iPad
    The Complete Guide to Transferring your Content to a new iPhone, iPad or iPod touch

  • Hi, i would like to sync my calander and reminders from my iphone to my outlook 2010.

    is it possible to do so with icloud or should i do it only with itunes?
    i'm syncing to only one computer- at my home.
    i would like to update my calander in my iphone and to be able to see it in my office's pc and to be able to edit the calander from both places.

    This is what you are looking for
    Transfer iPhone Contacts to New Computer

  • Capture DDL for Oracle Scheduled Jobs and job from DBMA_JOBS

    I have trying at this for while and now I am stuck...so I need some help or advice.
    I am doing a DB migration and I need to capture the DDL for all Oracle Scheduled Jobs as well as DBMS_JOBS. Anyone have a good way?
    I took a datapump export last week. Can I run a impdp and capture the DDL for this VIA the sqlfile parameter? If so, how? What would be the script for it. Something like this maybe (par file)?
    directory=DP_IMPORT
    DUMPFILE=dump1.dmp
    SCHEMAS=A,B,C...X,Y,Z
    LOGFILE=JOBS.LOG
    EXCLUDE=TABLE,INDEX,CONSTRAINT
    PARALLEL=4
    INCLUDE=JOBS
    ????

    Hello,
    It's JOB, see following table for possible options , I recommend you to read throught this thoroughly before starting.
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#BGBIEDIA
    Regards

  • HT4901 Can I restore my calendars and reminders from iCal?  If not, can I restore them from Time Machine?

    Apparently I allowed iCloud to delete all of my calendar and reminder information from my Mac.
    Can I restore it from iCloud, if not can I restore it from Time Machine?

    It sounds as though it's not in iCloud anymore.
    You may find that restoring from Time Machine results in the information simply disappearing again. You might try this: disable iCloud syncing, restore from Time Machine, re-enable syncing and choose the merge option when presented.

  • Multiple alarms and reminders application

    Hey
    I was wondering if there is any application that allows multiple alarms/reminders for several days. This is extremely important towards my health so please reply ASAP. Thank you very much.

    Please pursue the discussion here:
    /discussions/board/message?board.id=apps&thread.id=10330
    It is pointless asking the same question in multiple message boards.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Storing and Linking from background

    Hi Experts,
    We have documents stored in OmniDocs Document Management systems. These documents need to be linked to SAP Business Objects (Sales Order etc.). Our development environment is Java/JCo. I had seen several posts with this scenario but need the exact BAPIs calls either ArchiveLink or DMS .
    Any help in answering will be greatly appreciated
    1. How to create a entry in TAO1 table or DIR?  Documents in OmniDocs  have doc ids .
    2. How to link the entry in TAO1 table or DIR to a SAP Business Object (Sales Order)?
    3. Can a SAP Business Object (sales order)  be searched ? eg. by Sales Order number.
    Thanks you all in advance.
    James Kriplani

    The FM ARCHIV_CONNECTION_INSERT requires the following parameters
              archiv_id             =  Z1  (REPOSITORY NAME)
              arc_doc_id            =  1234567  (ARCHIVE DOCUMENT ID)
              ar_object             =  ZFIINVOICE
              mandant               = CLIENT #
              object_id             =  0000006201  (invoice#)
              sap_object            = BUS20XX  (Invoice object Type)
              doc_type              =  PDF
    pass the parameters and execute the function.
    Please let me know if this helped.

  • Background Task running under initiator not under WF-BATCH

    Hi All,
      I am trying to resolve a problem with a Background task running under intiator. Since the initiator does not have authorization to execute the task, it is not working.
    My understanding was, all background tasks will run under WF-BATCH!!. Is it correct?.  in 4.7, it is working this way.
    However in ECC 6.00  the background task before the first dialog work item is executed under 'intiator' in this case.  I have moved the same task after first dialog work item, and it was executed under WF-BATCH.. I cannot move the task after the dialog workitem as the task need to be executed immediatly after the creation of workflow.
    1. How can I run the task in backgroud under WF-BATCH?
    2. Inside the task, I am running a BDC to update a flag in downpayment transaction created using F-47. How can I run the process under batch user to overcome the authorization issue that initiator will not authorization.
    I am running this workflow in SAP ECC 6.0 level 13
    Any help is really appreciated..
    thanks in advance for your help.
    johnson

    This issue can be resolved with triggering the event using the additional flag export parameter 'CREATOR' in function module  ''SWE_EVENT_CREATE_FOR_UPD_TASK' as WF-BATCH. I was not passing this parameter and hence it didn't work in ECC 6.0 as it take who ran the process as creator and ran the background task under that users id.
    Thanks Rachid for your input to resolve this problem.
    johnson zavier

  • How do I backup iCloud calendar and reminders without a Mac?

    I rely quite heavily on calendar and reminders to organise tasks and events.
    I cannot see any way to make a backup, however. What happens if I accidentally delete a calendar or reminders list? What happens if something gets corrupted?
    The instructions given here are all well and good for owners of a Mac, but I don't have one.

    The way that EAS(Exchange Activesync) this is not possible on the device side. Your IT might be able to see if there is a way to do that on the server side.
    Post back if you have more questions

  • Windows 8.1 background task Javascript - Call angular controller function from task js

    Hi,
    The Ionic Side menu starter template for windows 8.1 is a very good option to run the ionic apps on Windows  8.1 phones.
    I am not sure whether this is related to Ionic/angular or VS2013 CTP 3.1 but if anyone can give some tips ,that would be great. I registered a background task as per the VS tutorial (Run JS task in background) and i tested it with windows toast notifications.However
    my requirement is to access webservice in background which I am not able to implement.
    The setup for background task is path to the js file but my requirement is to call a function defined within a controller.Is there any way i can access the controller function from an outside js file.I am new to Ionic,Angular and VS 2013.Any help would be great
    The structure of background task js file is as below
    (function() {
       --- I need to call my controller/service  function here---
        var notifications = Windows.UI.Notifications;
        var template = notifications.ToastTemplateType.toastImageAndText01;
        var toastXml = notifications.ToastNotificationManager.getTemplateContent(template);
        var toast = new notifications.ToastNotification(toastXml);
        var toastTextElements = toastXml.getElementsByTagName("text");
        toastTextElements[0].appendChild(toastXml.createTextNode("From Background!"));
        var toastNotifier = notifications.ToastNotificationManager.createToastNotifier();
        toastNotifier.show(toast);
        close();
     

    Are there any updates on this issue? I'm currently seeing this on a Lumia 822 with WP8.1, and the app has never been published to the store. I've only ever deployed the app from Visual Studio to my device. It worked when deploying the Debug build, then I
    tried a Release build, and it crashed immediately upon launch when trying to register the background task, but then I was able to go back to deploying/debugging the Debug build on the device for awhile. I made more changes, and now neither Debug nor Release
    builds work--both fail on the BackgroundTaskBuilder.Register() call with the error described in the original question:
    "The drive cannot locate a specific area or track on the disk. (Exception from HRESULT: 0x80070019)"
    I've tried changing the Task name during registration, rev-ing the version number of the application, adding the call to BackgroundExecutionManager.RemoveAccess() before BackgroundExecutionManager.RequestAccessAsync(), changing the name of the IBackgroundTask
    concrete implementation and changing the corresponding EntryPoint in the package.appxmanifest (as well as in the BackgroundTaskBuilder instance), and changing the package DisplayName to a new reserved name, all to no avail. The only thing I didn't try
    was associating with an entirely new app in the app store or paving my phone, as these are both fairly undesirable "workarounds."
    Even if this won't affect clients downloading the app from the store, this is a major roadblock during development, as we can essentially only use the emulator to test an app specifically designed to help solve problems involving moving around physically
    in the real world.
    Any more information would be greatly appreciated. If there's any information I can provide, please let me know.

Maybe you are looking for

  • How can I highlight a particular person in a video clip?

    I'm working on a project in iMovie that involves video clips of baseball games. There's a particular player that I'd like to highlight somehow; like place an arrow to point him out, or place a circle around him, etc. Does anyone know of a way to do t

  • Unable to save changes to embedded PDF inside Excel 2007

    I'm using Excel 2007 & opening a document (in xls format).  I embed an Acrobat 9 Pro PDF file into it.  I right-click on the embedded PDF & choose Open, then make changes to it & try to save but I get "The document could not be saved.  Cannot write t

  • Officejet 8000 VS Deskjets ink quality? Which is better?

    Which uses better ink quality?  Officejet Pro 8000 or Deskjets?   Officejet Pro 8000 uses pigments and the Deskjets uses dye.  Pigment inks are supposed to be better than dye inks. However, the inks for the Officejet Pro 8000 (HP 940) are so much che

  • Trouble syncing, lost music

    Can someone help? I deleted my iTunes library from my hard drive thinking it would be safe on my external hard drive. While I've still got all my music on my ipod the computer won't allow me to sync it, as it says it is already synced to another user

  • Flash & Shockwave Players refuse to work

    Got a new MacBook for my staffers; can't get Flash 8 or Shockwave Players to install & work under Safari (2.0.3 (417.8)). Is this a Known Issue or am I missing something? Never had this problem b'fore when installing from DMG's off Macro/dobe's websi