there are 2 types of push registration, static via jad file attribute (user
defined in eclipseme), or dynamic registration via
pushregistry.registerconnection.
of course, they all need permission access to the api which defined in the JAD
file.
-----Original Message-----
From: Håkansson, Jonas <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thu, 20 Sep 2007 11.33am
Subject: Re: [Eclipseme-users] How to - Push Registry with EclipseME
If you want to statically register a push application port or app-id, then you
ave 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
onas
-----Original Message-----
rom: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
n Behalf Of Markus Sinner
ent: torsdag den 20 september 2007 11:11
o: Ashish Patil
c: [email protected]
ubject: Re: [Eclipseme-users] How to - Push Registry with EclipseME
What exactly do you mean? Working on the PushRegistry does not need any
settings
n the JAD-File, only for OTA-Installations you may need to add the permissions
n your JAD-File.
If the latter is your point then pleas take a look at the JAD generated by WTK,
nd 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
n indication that this MIDlet requires permission to use a datagram connection
or inbound push messages. (See Security of Push Functions in the package
verview for details about MIDlet
ermissions.) Note: this sample is appropriate for bursts of datagrams.
t is written to loop on the connection, processing received messages."
MIDlet-Permissions: javax.microedition.io.PushRegistry,
avax.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]
ttp://www.psitronic.de
psitronic IT-Solutions
arkus Sinner
-Rathenau-Str. 14 - 68642 Bürstadt
el.: (+49)6206 / 963513
ax: (+49)6206 / 963514
-------------------------------------------------------------------------
his SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R)
isual Studio 2005.
ttp://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
______________________________________________
clipseme-users mailing list
[EMAIL PROTECTED]
ttps://lists.sourceforge.net/lists/listinfo/eclipseme-users
-------------------------------------------------------------------------
his SF.net email is sponsored by: Microsoft
efy all challenges. Microsoft(R) Visual Studio 2005.
ttp://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
______________________________________________
clipseme-users mailing list
[EMAIL PROTECTED]
ttps://lists.sourceforge.net/lists/listinfo/eclipseme-users
________________________________________________________________________
Get a FREE AOL Email account with unlimited storage. Plus, share and store
photos and experience exclusively recorded live music Sessions from your
favourite artists. Find out more at http://info.aol.co.uk/joinnow/?ncid=548.
-------------------------------------------------------------------------
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