|
| Data "push" limitations on Symbian |
 |
Tue, 13 Dec 2005 14:42:23 +010 |
Hello all !
Symbian MIDP 2 based devices have excellent support of the "Push
Registry".
http://developers.sun.com/techtopics/mobility/midp/articles/pushreg/
I have tried out one of the more straight-forward feature of launching a
Midlet dynamically from a native environment, which always works like a
charm.
It is also possible, in the same step, to send data, "as information
becomes
available" (see first line of the above link), further increasing the power
of the PR.
My question is:
"Is there a limit to the amounts of data that can be pushed this way?"
(on
Symbian only)
(e.g. what if I wanted to "push" upto 2MB that become available
dynamically?)
Any hints at all are greatly appreciated !
Kind regards, Arvind.
--
http://www.midpjni.com/ - MIDP JNI
|
| Post Reply
|
| Re: Data "push" limitations on Symbian |
 |
Tue, 13 Dec 2005 17:26:45 +010 |
Hello again !
http://developers.sun.com/techtopics/mobility/midp/articles/pushreg/
(In the section "About Inbound Connections")
"Some of these connections may buffer incoming data before MIDlet
activation, as SMS does. Other types, such as sockets or datagrams, do no
buffering; the MIDlet is activated by an incoming connection."
This rather reads like it is not a feature for TCP sockets / datagrams at
all - just SMS. Then again the article is very old (January 2003).
Is it possible to "push" large amounts of data over TCP sockets this
way,
presently?
Thanks in advance and kind regards.
|
| Post Reply
|
| Re: Data "push" limitations on Symbian |
 |
Wed, 14 Dec 2005 15:20:23 -000 |
Hi Arvind
Yes, you should be able to push data over a TCP/IP socket, using the Push
Registry. You would accept the incoming socket and read the incoming data in
the startApp method. However 2MB?!!! in one stream, be sensible, this is
MIDP! You're asking for trouble.
Regards
Martin
"Arvind Gupta" <arvvv@gmx.net> wrote in message
news:23UrbFAAGHA.2748@extapps30...
> Hello again !
>
> http://developers.sun.com/techtopics/mobility/midp/articles/pushreg/
>
> (In the section "About Inbound Connections")
>
> "Some of these connections may buffer incoming data before MIDlet
> activation, as SMS does. Other types, such as sockets or datagrams, do no
> buffering; the MIDlet is activated by an incoming connection."
>
> This rather reads like it is not a feature for TCP sockets / datagrams at
> all - just SMS. Then again the article is very old (January 2003).
>
> Is it possible to "push" large amounts of data over TCP sockets
this way,
> presently?
>
> Thanks in advance and kind regards.
>
>
|
| Post Reply
|
| Re: Data "push" limitations on Symbian |
 |
Wed, 14 Dec 2005 17:04:27 +010 |
Hi Martin !
Thanks very much ! Helps a lot :-) .
Yes, I thought so - was just forwarding an inquiry just in case ;-)
Have you got any idea what the de-facto limit could be?
Thanks again and kind regards, Arvind.
|
| Post Reply
|
| Re: Data "push" limitations on Symbian |
 |
Thu, 15 Dec 2005 12:47:35 -000 |
There probably is no hardcoded limit as such, the failure will be as a
result of an out of memory exception/error. When this occurs will depend on
the memory available on the device, the number of open applications etc etc.
Regards
Martin
"Arvind Gupta" <arvvv@gmx.net> wrote in message
news:oATundMAGHA.1944@extapps30...
> Hi Martin !
>
> Thanks very much ! Helps a lot :-) .
>
> Yes, I thought so - was just forwarding an inquiry just in case ;-)
>
> Have you got any idea what the de-facto limit could be?
>
> Thanks again and kind regards, Arvind.
>
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|