Push Registry: how to use it?

View: New views
6 Messages — Rating Filter:   Alert me  

Push Registry: how to use it?

by Joao Galli :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi everyone,

I'm trying to wake up my application with a SMS Push Registry, but nothing works for me, I
have tried a lot of ports and in a lot of devices (Nokia 6020, 6101, N95, Sony E. K300, K750,
W810 and a BlackBerry Curve) none o this have worked.

Have someone got success with SMS Push registry ever? Wich port should I use?

I know I have sucessfully registered the push, because it gives me no exception and I can
have it in the PushRegistry.listConnections() method. I had Success testing in the WTK
emulator but I can set the port in the sending device.

Someone help me.... I'm stucked.

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: Push Registry: how to use it?

by C. Enrique Ortiz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can't listen for SMS messages directed to the SMS inbox. You can listen for SMS traffic directed to your *own* port. This means your server-side must send to that port your app is listening to (via the user defined header within the SMS message). See the PushRegistry article here:
http://weblog.cenriqueortiz.com/java-me-midp-articles-tech-tips-source-code/

ceo

Joao Galli wrote:
Hi everyone,

I'm trying to wake up my application with a SMS Push Registry, but nothing works for me, I 
have tried a lot of ports and in a lot of devices (Nokia 6020, 6101, N95, Sony E. K300, K750, 
W810 and a BlackBerry Curve) none o this have worked.

Have someone got success with SMS Push registry ever? Wich port should I use?

I know I have sucessfully registered the push, because it gives me no exception and I can 
have it in the PushRegistry.listConnections() method. I had Success testing in the WTK 
emulator but I can set the port in the sending device.

Someone help me.... I'm stucked.

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

--------------------------------
Spam/Virus scanning by CanIt Pro

For more information see
http://www.kgbinternet.com/SpamFilter.htm

To control your spam filter, log in at
http://filter.kgbinternet.com

  

=========================================================================== To unsubscribe, send email to listserv@... and include in the body of the message "signoff KVM-INTEREST". For general help, send email to listserv@... and include in the body of the message "help".

Re: Push Registry: how to use it?

by meinterest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joao,

  I ran into many issues with SMS pushregistry a few years back and collected my experiences in a form of a small book on the information.  It is available at www.cafepress.com/sms_midp2/

 Also I did a talk on the subject a couple years back at JavaOne, and here is a link with the slides, and sample code.  Maybe that will help.
http://onshoresystems.com/smsapi/

-Shawn
[Message sent by forum member 'sfitzjava' (sfitzjava)]

http://forums.java.net/jive/thread.jspa?messageID=286806

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: Push Registry: how to use it?

by meinterest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

How can I read the message I have received via Push? or at least remove it?
[Message sent by forum member 'joaogalli' (joaogalli)]

http://forums.java.net/jive/thread.jspa?messageID=290062

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: Push Registry: how to use it?

by meinterest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In your notifyIncomingMessage() it gets a MessageConnection object, let's call it inConn.

Message inMsg = inConn.receive();
String text = ((TextMessage)inMsg).getPayloadText();
inConn.close();

give that a try.

-Shawn
[Message sent by forum member 'sfitzjava' (sfitzjava)]

http://forums.java.net/jive/thread.jspa?messageID=290121

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".

Re: Push Registry: how to use it?

by meinterest :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks sfitz,

I have made some real tests with real devices and the receive method really removes the message.....
[Message sent by forum member 'joaogalli' (joaogalli)]

http://forums.java.net/jive/thread.jspa?messageID=290152

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff KVM-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".
LightInTheBox - Buy quality products at wholesale price