mspocketpc.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Implementing Push Registry functionality in WM

 
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers
Author Message
Nitin



Joined: 14 Feb 2008
Posts: 4

PostPosted: Wed Feb 13, 2008 9:13 pm    Post subject: Implementing Push Registry functionality in WM Reply with quote

Hi,

My question is, is it possible to implement Push Registry functionality in WM?
If yes can we able to register our application to listen SMS on particular
port like in J2ME?

Thanks
-Nitin

Archived from group: microsoft>public>smartphone>developer
Back to top
View user's profile Send private message
dbgrick



Joined: 15 Aug 2007
Posts: 173

PostPosted: Thu Feb 14, 2008 11:58 am    Post subject: RE: Implementing Push Registry functionality in WM Reply with quote

If you are asking if you can create a mapi rule filter to listen for sms
messages, then the answer is yes. You can find documentation and examples on
MSDN for writing the filter.

Regards,
Rick D.

"Nitin" wrote:

> Hi,
>
> My question is, is it possible to implement Push Registry functionality in WM?
> If yes can we able to register our application to listen SMS on particular
> port like in J2ME?
>
> Thanks
> -Nitin
>
Back to top
View user's profile Send private message
Nitin



Joined: 14 Feb 2008
Posts: 4

PostPosted: Thu Feb 14, 2008 3:17 pm    Post subject: RE: Implementing Push Registry functionality in WM Reply with quote

Hi,
No, my question is, is it possible to implement a functionality using which
we can register our application to receive SMS from some port and if server
pushes the SMS on that port our application should get invoked. This is
possible in case of J2ME they called this functionality as push registry.

-Nitin

"dbgrick" wrote:

> If you are asking if you can create a mapi rule filter to listen for sms
> messages, then the answer is yes. You can find documentation and examples on
> MSDN for writing the filter.
>
> Regards,
> Rick D.
>
> "Nitin" wrote:
>
> > Hi,
> >
> > My question is, is it possible to implement Push Registry functionality in WM?
> > If yes can we able to register our application to listen SMS on particular
> > port like in J2ME?
> >
> > Thanks
> > -Nitin
> >
Back to top
View user's profile Send private message
dbgrick



Joined: 15 Aug 2007
Posts: 173

PostPosted: Thu Feb 14, 2008 3:52 pm    Post subject: RE: Implementing Push Registry functionality in WM Reply with quote

I've implemented a push solution using the standard sms outlook. I created a
MAPI rule filter and intercepted the message. Then if the message met
certain criteria (i.e. from a specific sender) I process the message and mark
it as handled or delete it. This way the user is not notified of push
messages. Then you can send windows messages to your application and process
accordingly.

Regards,
Rick D.

"Nitin" wrote:

> Hi,
> No, my question is, is it possible to implement a functionality using which
> we can register our application to receive SMS from some port and if server
> pushes the SMS on that port our application should get invoked. This is
> possible in case of J2ME they called this functionality as push registry.
>
> -Nitin
>
> "dbgrick" wrote:
>
> > If you are asking if you can create a mapi rule filter to listen for sms
> > messages, then the answer is yes. You can find documentation and examples on
> > MSDN for writing the filter.
> >
> > Regards,
> > Rick D.
> >
> > "Nitin" wrote:
> >
> > > Hi,
> > >
> > > My question is, is it possible to implement Push Registry functionality in WM?
> > > If yes can we able to register our application to listen SMS on particular
> > > port like in J2ME?
> > >
> > > Thanks
> > > -Nitin
> > >
Back to top
View user's profile Send private message
Nitin



Joined: 14 Feb 2008
Posts: 4

PostPosted: Sun Feb 17, 2008 1:52 am    Post subject: RE: Implementing Push Registry functionality in WM Reply with quote

Thanks,
I know about the creating a MAPI rule in register for invoking our
application based on certain token or from certain sender number. But what I
want is to invoke my application if any server pushes the SMS on some port.

Nitin

"dbgrick" wrote:

> I've implemented a push solution using the standard sms outlook. I created a
> MAPI rule filter and intercepted the message. Then if the message met
> certain criteria (i.e. from a specific sender) I process the message and mark
> it as handled or delete it. This way the user is not notified of push
> messages. Then you can send windows messages to your application and process
> accordingly.
>
> Regards,
> Rick D.
>
> "Nitin" wrote:
>
> > Hi,
> > No, my question is, is it possible to implement a functionality using which
> > we can register our application to receive SMS from some port and if server
> > pushes the SMS on that port our application should get invoked. This is
> > possible in case of J2ME they called this functionality as push registry.
> >
> > -Nitin
> >
> > "dbgrick" wrote:
> >
> > > If you are asking if you can create a mapi rule filter to listen for sms
> > > messages, then the answer is yes. You can find documentation and examples on
> > > MSDN for writing the filter.
> > >
> > > Regards,
> > > Rick D.
> > >
> > > "Nitin" wrote:
> > >
> > > > Hi,
> > > >
> > > > My question is, is it possible to implement Push Registry functionality in WM?
> > > > If yes can we able to register our application to listen SMS on particular
> > > > port like in J2ME?
> > > >
> > > > Thanks
> > > > -Nitin
> > > >
Back to top
View user's profile Send private message
jraven



Joined: 19 Feb 2008
Posts: 3

PostPosted: Tue Feb 19, 2008 5:54 pm    Post subject: RE: Implementing Push Registry functionality in WM Reply with quote

I needed to do the same thing - Here is the deal.
WM has no concept of the 'port' so you must get the header and parse it
yourself,
to make it work like pushing to a J2me port.
You CAN'T do this on WM 5.
But you can on WM6 - what you need to do is get the RAW data.
It was not availbel on WM5 because tmail curshed it.
on WM 6 try getting:
PR_CE_SMS_RAW_HEADER
PR_CE_SMS_RAW_BODY
then write a simple parser to get the Port out of the Header yourself.
Luck.


--
John Raven


"Nitin" wrote:

> Thanks,
> I know about the creating a MAPI rule in register for invoking our
> application based on certain token or from certain sender number. But what I
> want is to invoke my application if any server pushes the SMS on some port.
>
> Nitin
>
> "dbgrick" wrote:
>
> > I've implemented a push solution using the standard sms outlook. I created a
> > MAPI rule filter and intercepted the message. Then if the message met
> > certain criteria (i.e. from a specific sender) I process the message and mark
> > it as handled or delete it. This way the user is not notified of push
> > messages. Then you can send windows messages to your application and process
> > accordingly.
> >
> > Regards,
> > Rick D.
> >
> > "Nitin" wrote:
> >
> > > Hi,
> > > No, my question is, is it possible to implement a functionality using which
> > > we can register our application to receive SMS from some port and if server
> > > pushes the SMS on that port our application should get invoked. This is
> > > possible in case of J2ME they called this functionality as push registry.
> > >
> > > -Nitin
> > >
> > > "dbgrick" wrote:
> > >
> > > > If you are asking if you can create a mapi rule filter to listen for sms
> > > > messages, then the answer is yes. You can find documentation and examples on
> > > > MSDN for writing the filter.
> > > >
> > > > Regards,
> > > > Rick D.
> > > >
> > > > "Nitin" wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > My question is, is it possible to implement Push Registry functionality in WM?
> > > > > If yes can we able to register our application to listen SMS on particular
> > > > > port like in J2ME?
> > > > >
> > > > > Thanks
> > > > > -Nitin
> > > > >
Back to top
View user's profile Send private message
Nitin



Joined: 14 Feb 2008
Posts: 4

PostPosted: Wed Feb 20, 2008 3:16 pm    Post subject: RE: Implementing Push Registry functionality in WM Reply with quote

Thanks Jraven, I will try this.

"Nitin" wrote:

> Hi,
>
> My question is, is it possible to implement Push Registry functionality in WM?
> If yes can we able to register our application to listen SMS on particular
> port like in J2ME?
>
> Thanks
> -Nitin
>

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Push error when trying to push a table to SQL Server I am trying to push a table from my pocket pc to my SQL Server but I recive an error "The table cannot be opened " "The specified table does not exist ". I recive this error when I have made changes to my table and then want to push it back to SQL Server.

Paste functionality required? Hello Group, I am using vs2007 and vb.net. I have a multiline textbox and I need Paste (Copy would be nice as well) Thanks in advance for any help offered.

Giving PPC Menu a Smartphone Menus functionality Hi, The default menu on a Smartphone prefixes each menu option with a number. Enter that number on the keypad and that menu item is selected. I would like to implement this same functionality on a PPC. Is there a quick and easy way of makin

Registry settings Would 2 pda's that are the same model have the same reg settings direct from the factory? I need to know if I have one master device that has all the settings I need can I simply export the whole registry to the other devices. Cheers SteveW

Registry Editor What is the recommended Smartphone Mobile 5 registry editor for use on a device (Motorola Q) with a 320x240 screen? .... Thom Thom Little - - Thom Little Associates, Ltd.
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group