Ikôn: Create shorcut to AGPS Update screen

This question is answered

Hi,

 

I'd like my users to able to force a AGPS update, they're not allowed to access all the settings so they're shielded from all programs and settings by a shell, now I'd like them to be able click a button that redirects to the AGPS screen and ONLY that screen.

 

How would one be able to do this?

 

Kind Regards,

 

Miguel

Verified Answer
  • Below is a little example on how to use GetDownloadStatus.

    Dim oHelper As PsionTeklogix.AGPS.Helper
    Dim oStatus As PsionTeklogix.AGPS.Helper.DownloadStatus

    oHelper = New PsionTeklogix.AGPS.Helper()
    oStatus = New PsionTeklogix.AGPS.Helper.DownloadStatus()

    oHelper.GetDownloadStatus(oStatus)

    MsgBox(oStatus.nextScheduledDownload)

     

All Replies
  • Hello,

    can you use the SDK AGPS API - see below:

    A utility class for use with AGPS. More...

    List of all members.

    Classes

    class   DownloaderConfiguration
      This class encapsulates configuration settings of the AGPS downloader. More...
    class   DownloadStatus
      Download status of the AGPS data. More...
    class   DriverConfiguration
      Configuration settings of the AGPS driver. More...

    Public Types

    enum   DownloadPeriod {
      Manual = 0, Period_12 = 12, Period_18 = 18, Period_24 = 24,
      Period_36 = 36, Period_48 = 48, Period_72 = 72
    }
     

    Typical download periods.

    More...

    Public Member Functions

    void  SetDownloadPeriod (DownloadPeriod hours)
      Set the current AGPS data download period.
    void  GetDownloaderConfig (ref DownloaderConfiguration config)
      Query the downloader service for it's configuration information.
    void  SetDownloaderConfig (DownloaderConfiguration config)
      Set the downloader service's configuration.
    void  GetDriverConfig (ref DriverConfiguration config)
      Query the downloader service for it's configuration information.
    void  SetDriverConfig (DriverConfiguration config)
      Set the downloader service's configuration.
    void  RequestDownloadNow ()
      Request a download of the emphermeral data.
    void  GetDownloadStatus (ref DownloadStatus dlStatus)
      Get the download status information A null entry indicates that a particular event has not yet occurred
  • Hi,

    Thanks but when I try those links I get: Oops! Google Chrome can't find msitstorec?

    Kind Regards,

    Miguel

  • Yes sorry.  Those links will not work here.

    You just need to go to the SDK help file.

  • Hi,

    I keep getting a NullReferenceException even though I have manually updated the AGPS...

    Could anyone share a snippet to clarify the use of GetDownloadStatus in VB.NET ?

    Kind Regards,

    Miguel

  • We will look into this and get back with you.

  • Below is a little example on how to use GetDownloadStatus.

    Dim oHelper As PsionTeklogix.AGPS.Helper
    Dim oStatus As PsionTeklogix.AGPS.Helper.DownloadStatus

    oHelper = New PsionTeklogix.AGPS.Helper()
    oStatus = New PsionTeklogix.AGPS.Helper.DownloadStatus()

    oHelper.GetDownloadStatus(oStatus)

    MsgBox(oStatus.nextScheduledDownload)

     

  • Hi,

    Thanks for the clarification, I'm quite new to VB.NET :)

    Kind Regards,

    Miguel

  • Hi,

    Thanks for the aid with GetDownloadStatus :)

    Kind Regards,

    Miguel