PDA

View Full Version : How to stop data subscribe???


eric
06-06-2008, 10:05 AM
Set up the data request type as SUBSCRIBE, such as below
mdr.setSubscriptionRequestType(SubscriptionRequestTypeFactory.SUBSCRIBE);

and data pop up.

I just wonder that is it possible to stop the data subscribe staus and shift to SnapShot without set up a new session. I other words, how to shift between two status dynamically.


I try like this

mdr.setSubscriptionRequestType(SubscriptionRequestTypeFactory.SNAPSHOT);

but it seems that does not work.The data still pop up.

Help me, please.

Thanks

eric
06-06-2008, 10:11 AM
Stupid question.

forget it.

:p :p :p

Solved.