Results 1 to 4 of 4

Some time ago Blackberry.com had a demo (RIM told me it was a proof of ... Software & Theme Development forum

  1. #1
    HotWax's Avatar
    HotWax no está en línea BES Pro
    Join Date
    Jun 2006
    Posts
    146

    ECL Demo and Push Cache issue - Domino

    Advertisement



    Some time ago Blackberry.com had a demo (RIM told me it was a proof of concept, therefore not supported, when I asked them this question) called ECL(Emergency Contact List). It is basically a copy of the Domino Local Address Book with code wrapped around it to generate simple HTML and then Push it through a BES to a device. Problem is I can't seem to control the Timeout or cache of the app on the BB. Any help would be greatly appreciated.. I'm more Admin. than Developer!!
    The latest thing I've tried is to add the following line to the HTTP Header:

    protected void establishRequestHeaders(HttpURLConnection con)
    {
    con.setRequestProperty("Cache-Control", "max-age=300");
    con.setRequestProperty("Content-Location", _urlBase + "/HTMLView/" + _docID);
    con.setRequestProperty("Content-Type", "text/html");
    con.setRequestProperty("X-RIM-Push-Title", _channelName);
    con.setRequestProperty("X-RIM-Push-Type", "Browser-Channel");
    con.setRequestProperty("X-RIM-Push-Channel-ID", _urlBase + "/HTMLView/" + _docID);
    con.setRequestProperty("X-RIM-Push-UnRead-Icon-URL", _urlBase + "/ecl_unread_icon.gif");
    con.setRequestProperty("X-RIM-Push-Read-Icon-URL", _urlBase + "/ecl_read_icon.gif");

  2. #2
    Rcbjr's Avatar
    Rcbjr no está en línea Stack Pro
    Join Date
    May 2006
    PIN/ID
    PM - Ask
    Posts
    14,848

    Re: ECL Demo and Push Cache issue - Domino

    Beyond my capability but we are trying to clear some unanswered posts. Maybe bring it back up will get a response and some help.

    Rcbjr
    You Ask, We Will Answer
    Can’t Install theme via DM?No Additional Apps Found for Your Device
    Links to Usefull KB Articles

  3. #3
    tommy.hanks's Avatar
    tommy.hanks no está en línea Stack level 1
    Join Date
    Dec 2006
    Posts
    1
    I know this is alitte late in the coming, but I had a similar issue when I was writing an ECL app for my company. Here is how I did my header:

    Request.Headers.Add("Expires", Date.Now.AddDays(30).ToString)

    My program was written in .Net but I think you get the idea.

  4. #4
    Rcbjr's Avatar
    Rcbjr no está en línea Stack Pro
    Join Date
    May 2006
    PIN/ID
    PM - Ask
    Posts
    14,848
    tommy.hanks, Welcome to PinStack.

    Thanks for the suggestion. Maybe it will help HotWax out.

    Rcbjr.
    You Ask, We Will Answer
    Can’t Install theme via DM?No Additional Apps Found for Your Device
    Links to Usefull KB Articles

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •