If you want to statically register a push application port or app-id, then you 
have to add it in the jad file like this:

MIDlet-Push-1: sms://:1234, SMSPushStatic, * 

I think you have to use "user defined" tab to add this row from within Eclipse.

BR
Jonas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Markus Sinner
Sent: torsdag den 20 september 2007 11:11
To: Ashish Patil
Cc: [email protected]
Subject: Re: [Eclipseme-users] How to - Push Registry with EclipseME

What exactly do you mean? Working on the PushRegistry does not need any 
settings in the JAD-File, only for OTA-Installations you may need to add the 
permissions in your JAD-File.

If the latter is your point then pleas take a look at the JAD generated by WTK, 
and then just copy+paste the permissions into the JAD used by EclipseME.

The documentation of midp sais
(see docs/api/midp/javax/microedition/io/PushRegistry.html ) "It also includes 
an indication that this MIDlet  requires permission to use a datagram 
connection for inbound push messages. (See  Security of Push Functions in the 
package overview for details about MIDlet
permissions.) Note: this sample is appropriate for bursts of datagrams.
It is written to loop on the connection, processing received messages."

MIDlet-Permissions: javax.microedition.io.PushRegistry,
javax.microedition.io.Connector.datagramreceiver

I hope that helps!

Markus

Ashish Patil schrieb:
> Hi,
>  
> I am using EclipseME 1.7.6 and Eclipse 3.2. I want to work on 
> PushRegistry. But the JAD editor don't have any such option to add 
> PushRegistry settings and permissions. The Settings box in WTK 2.5 has 
> better interface. Am I missing something? Has anyone tried writting 
> Push Registry midlet with EclipseME?
> 
> ---
> Ashish Patil
> 
> 
> ----------------------------------------------------------------------
> --
> 
> ----------------------------------------------------------------------
> --- This SF.net email is sponsored by: Microsoft Defy all challenges. 
> Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> 
> 
> ----------------------------------------------------------------------
> --
> 
> _______________________________________________
> Eclipseme-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/eclipseme-users

-- 

*********************************
[EMAIL PROTECTED]
http://www.psitronic.de

psitronic IT-Solutions
Markus Sinner
W-Rathenau-Str. 14 - 68642 Bürstadt
Tel.: (+49)6206 / 963513
Fax:  (+49)6206 / 963514

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) 
Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to