How to stop message subscribe using NFC in windows phone? -


i have 4 pages in application. first page log in page here no use nfc read or write. , second page use both read , write actions of nfc.

finally close second page , navigate first page.

and use nfc card in first page reads nfc card , display contents of nfc card.but don't wrote code nfc actions in first page , use stopsubscribemessage(), it's not working.

  private void stopsubscribemessage()     {         messagebox.show(subscribedmessageid.tostring());         if (subscribedmessageid != -1 && new_device != null)         {             messagebox.show(subscribedmessageid.tostring()+"   stop method");             new_device.stopsubscribingformessage(subscribedmessageid);             subscribedmessageid = -1;         }     } 


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -