<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>HTTP long polling</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=10039773" />
  <subtitle>HTTP long polling</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=10039773</id>
  <updated>2013-05-20T01:58:37Z</updated>
  <dc:date>2013-05-20T01:58:37Z</dc:date>
  <entry>
    <title>RE: Re: New Message from Peter Livingston in Java MIDlet API (JMAPI) - Tech</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10086868" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10086868</id>
    <updated>2013-01-09T17:08:43Z</updated>
    <published>2013-01-09T17:08:43Z</published>
    <summary type="html">Sounds like known issue: CSCtz35941 - Midlet: HttpConnection request blocks UI input
This should be resolved in later firmware, starting with 1.4(3)SR1</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-01-09T17:08:43Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Peter Livingston in Java MIDlet API (JMAPI) - Technica</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10084944" />
    <author>
      <name>Trevor Rowe</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10084944</id>
    <updated>2013-01-09T16:56:09Z</updated>
    <published>2013-01-09T16:56:09Z</published>
    <summary type="html">On 09/01/2013 16:46, Cisco Developer Community Forums wrote:
&gt; Peter Livingston has created a new message in the forum "Technical 
&gt; Discussion": 
&gt; -------------------------------------------------------------- Hi Dave,
&gt;
&gt; let me respond on Abhi's behalf...
&gt;
&gt; We have an existing web application created by a vendor which runs on 
&gt; safari on an iPhone. We were thinking of deploying the same web 
&gt; application on the 7925G however that would require http long polling 
&gt; support in the browser. Sounds like the 7925G browser does not.
&gt;
&gt; We have also been looking at the java MIDlet approach, and it sounds 
&gt; like that is the best option in this case.
&gt;
&gt; Thanks for your help,
&gt;
&gt; Peter
&gt; --
&gt; To respond to this post, please click the following link: 
&gt; http://developer.cisco.com/web/jmapi/forums/-/message_boards/view_message/10084606 
&gt; or simply reply to this email. 

For what it's worth....

We've hit a problem using long polling in a midlet, works ok in the 
emualtor but on the device it blocks and causes the UI to freeze - we 
asked for a fixed and was told it would be solved but we were never 
given a fix

We ended up making a request once every 10 seconds in a background 
thread and waited for zero seconds on the server - not as good but it's 
the best we could get

Hope this helps

Trev</summary>
    <dc:creator>Trevor Rowe</dc:creator>
    <dc:date>2013-01-09T16:56:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: HTTP long polling</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10084606" />
    <author>
      <name>Peter Livingston</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10084606</id>
    <updated>2013-01-09T16:46:21Z</updated>
    <published>2013-01-09T16:42:11Z</published>
    <summary type="html">Hi Dave,

let me respond on Abhi's behalf...

We have an existing web application created by a vendor which runs on safari on an iPhone.  We were thinking of deploying the same web application on the 7925G however that would require http long polling support in the browser.  Sounds like the 7925G browser does not.

We have also been looking at the java MIDlet approach, and it sounds like that is the best option in this case.

Thanks for your help,

Peter</summary>
    <dc:creator>Peter Livingston</dc:creator>
    <dc:date>2013-01-09T16:42:11Z</dc:date>
  </entry>
  <entry>
    <title>RE: HTTP long polling</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10042579" />
    <author>
      <name>David Staudt</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10042579</id>
    <updated>2013-01-08T18:30:57Z</updated>
    <published>2013-01-08T18:30:57Z</published>
    <summary type="html">Can you provide a few more details about the specific implementation you are looking to build?

If you are referring to the XML services display, this simply formats/displays specific XML documents - there is no scripting or other 'dynamic' capability, beyond refreshing the entire page via Refresh header.

If you are talking about using the Java midlet capabilities, please let us know which API components you are looking to use, and what you require from 'long poll' functionality.  It should be possible to use the midlet HTTP request object to call a URL, providing a lengthy timeout to wait for the server to respond, i.e. the Ajax/long-poll pattern.</summary>
    <dc:creator>David Staudt</dc:creator>
    <dc:date>2013-01-08T18:30:57Z</dc:date>
  </entry>
  <entry>
    <title>HTTP long polling</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10039772" />
    <author>
      <name>Abhi Gupta</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=10039772</id>
    <updated>2013-01-08T17:45:51Z</updated>
    <published>2013-01-08T17:45:51Z</published>
    <summary type="html">Hello,
 
Does the 7925G support HTTP long polling? We are trying to reformat a webpage to display on the phone browser and the webpage requires HTTP long polling</summary>
    <dc:creator>Abhi Gupta</dc:creator>
    <dc:date>2013-01-08T17:45:51Z</dc:date>
  </entry>
</feed>

