How to get the device token in windows phone 8 sliverlight application?

Hi,
I am developing a windows phone 8 silverlight application . For my application I want to add push notification service , for this service I have to call one web service in my app . This api requires device token , device id ..etc , I am able to get the all
the things except devicetoken .
How to get the device token of a device ?
any help?
Thanks...
Suresh.M

Most probably device token is the push channel url which is returned by MPNS when a request is made to it.
Step 3 here: Push notifications for Windows Phone 8
http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

Similar Messages

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • HELP!! How to get the position of active windows in the desktop

    How to get the position of active windows in the desktop

    You mean, active windows other than the program you're running, or windows the program puts there? And a real desktop (like where MyComputer is), or a desktop pane?

  • How to get carrier company name on windows phone 8.1?

    how to get carrier company name on windows phone 8.1?

    excuse me, i referrer the link http://stackoverflow.com/questions/26973111/get-carrier-name-cellular-mobile-operator-name-using-windows-phone-8-1 to
    modify my universal app.
    but i always get 0 count from the GetNetworkNames() method. 
    if my sim card is for 3G, but i setting 4G in highest connection speed. i got the "the pipe is being closed".
    how can i solve the problem? thank you.

  • How to get the mail item opened window?

    Hi,
    I need to get the window of the opened mail.
    Within the mailItem.Open() event tried to get the Application.ActiveExplorer() but it returns the main outlook window.
    From the load of the addin tried as follows, but hwndSource always returns null.
    activeWindow = _mailItem.Application.ActiveWindow()
    ((Microsoft.Office.Interop.Outlook.ExplorerEvents_10_Event)activeWindow).Deactivate += MyEvent
    public void MyEvent()
    System.Diagnostics.Process[] processes = System.Diagnostics.Process.GetProcesses();
    foreach (System.Diagnostics.Process process in processes)
    if (process.MainWindowTitle.StartsWith (_mailItem.Subject))
    IntPtr handle = process.MainWindowHandle;
    System.Windows.Interop.HwndSource hwndSource = System.Windows.Interop.HwndSource.FromHwnd(handle);
    System.Windows.Window window = hwndSource.RootVisual as System.Windows.Window;
    Any suggestions to get the mail item opened window? Please help.
    VS2010 C# with Outlook 2007.

    Hi Damian,
    When the Open event is fired, the Inspector object
    is initialized but not yet displayed.
    You can handle the
    NewInspector event of the Inspectors class which is fired whenever a new inspector window is
    opened, either as a result of user action or through program code. Then the
    Activate event of the Inspector class is fired, when an inspector becomes the active window,
    either as a result of user action or through program code. 

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • How to get the trace file name for current running application?

    Hi, I want to know if it is possible to get the file name directly for current running application instance which is launched by javaws.
    There is a property "deployment.user.logdir" tells the log directory, it would be great if a file name property
    is available. something like "instance.trace.file".
    Our application wants it because we would like our client send use the application log by clicking a "send error"
    button, the codes finds the trace file and compress it and send it by using a smtp server.
    In 1.5, we can do it by using a shell program.

    I found other asked it before, but I tried to set both properties, but neither works. my sun JRE version :java version "1.6.0_04"
    <property
    name="deployment.javaws.traceFileName"
    value="abcfefsfdsf"/>
    <property
    name="deployment.javapi.trace.filename"
    value="235235235"/>
    But it always write to one trace file with name lik javaws63645.trace

  • How to get the Share Name in windows using java...

    Hi....
    i want to get the Share names of the shared folders in windows.
    I used the command line tool "net share" to get it .But i can't extract the
    share names correctly if the share name contains space.
    Regards
    ~ Suresh G

    Of course there is, if the user running it has "root" privileges (actually root userid or groupid if the permissions have been changed), but if you are going to do that, then why use the lookup at all, simply hardcode it in the program.
    If it is because you don't know how to do it, then I would say to find someone you know who can show you how. That is infinately easier than trying to explain the structure and purpose of the hosts file to you here.

  • Web Services: How to get the username token?

    Hello everybody,
    I wrote an EJB, Exposed it as a web service.
    I'm using encryption+username as the inbound policy.
    The client is adding a username token to the message.
    I understood that the userpassword are checked automatically and I don't need to implement that myself but I need the userpassword from this token for another reason.
    How can I get this information in the EJB's code?
    Thanks, Adi.

    You can get the user from Session Bean's context.
    myContext.getCallerPrincipal();
    I think you cannot get the password. That way, it would be easy to disguise your WS as another one you could want to crack.
    Regards.

  • How to get the device number

    hi,
    anyone help me how can i get Mobile number in through J2me API
    thanks

    U can open the device and issue the following ioctls
    DKIOCGGEOM, DKIOCGVTOC, DKIOCINFO.
    See man dkio

  • How to get the status of a window?

    Is there a way to get the status of a display window? I'm looking specifically for whether or not it is open and what image is being displayed in it.
    If there is no easy way to do this, can it be added to the list of suggestions for the next version?

    Right now there is no way to determine these attributes from software. When I went to enter a suggestion to R&D, I found that a very similar one was submitted recently. I added your suggestions to the current one. I'm sorry there isn't an easy solution.
    Kyle V.

  • I bought my I Phone 5S from Dubai, it doesnt have facetime, how to get the same on my I phone. I am based in India

    I am based in India, and during my travel to Dubai in recent past i bought I phone 5 S. After reaching my country and i started using my new phone and i am surprised to find that it doesnt have facetime. How do i get the same??

    rakeshfromkolkata wrote:
    How do i get the same??
    You get a new phone not made for KSA and UAE markets. There is no way to get FT on your phone as it has been permanently crippled by law.

  • How to get the schema in a windows machine?

    In Active Directory, we can see the schema using AD schema snap-in.The following link gives the step to be done to view AD schema :
    http://technet.microsoft.com/en-us/library/cc732110.aspx
    Similar to this how can we see the schema of local users and groups of a local windows machine?

    Hi,
    >>
    Similar to this how can we see the schema of a local windows machine?
    As far as I know, the schema is the Active Directory component that defines all the objects and attributes that the directory service uses to store
    data. The physical structure of the schema consists of the object definitions. The schema itself is stored in the directory.
    Regarding Schema, the following articles can be referred to for more information.
    How the Active Directory Schema Works
    http://technet.microsoft.com/en-us/library/cc773309(v=WS.10).aspx
    Schema
    http://technet.microsoft.com/en-us/library/cc756876(v=WS.10).aspx
    Best regards,
    Frank Shen

  • How to I determine the Device ID on Windows Moblile 5 and CreMe Java

    Hi there,
    I was wondering if there is an easy way to determine the Device ID (the number that shows up when you bring up the dmagent application).
    I want to use this number as part of a unique barcode number (ie xxxx xxxx 0101 xxxx), but I am not sure how to go about finding it from the windows mobile client.
    Is it stored in any of the tables within the oracle lite database, or is it reachable through the Java API?
    Thanks,
    Allen

    sorry, replied to the wrong questioner:
    Here is how to get the device-id (scrambled) from any language that can access the olite-dbs (I've used 'msql' as generic db-access)
    on Win XP SP3. (should work similarly on other OSs)
    access consroot:
    msql system/manager@jdbc:polite:consroot
    SQL> select * from c$user_list;
    in the column “CLIENT” you can find the (main-) user name, e.g. "JOHN"
    with this user name access conscli
    msql system/manager@jdbc:polite:JOHN_conscli
    SQL> select * from c$client_preferences;
    in the column “APPS_ROOT”
    you can will find something like "c:\mobileclient\oldb40\"
    replace "oldb40" by "bin"
    that's where you can find the "polite.ini" file
    in the "polite.ini" look for the entry "DEVICE_ID"
    you will find something like "DEVICE_ID=AJ9DMxxkfK8VwZjsL2ZMRg=="
    this value should be unique
    Maybe this value is somewhere in the conscli as well but I couldn't find it

  • How to get the disk size

    Hi, everyone, does anyone know how to get the size of the disk, say hard disk? In the Writing Device Driver it says that the block device driver must create an 'nblocks' property for each minor block device. I want to get the size of the block device in another driver. Is there any DDI/DKI kernel function for this?
    How to get the same thing in a user mode application? Is there any API to do this?
    Thank you very much.

    I just found a function in include/sys/conf.h. The prototype is:
    extern int bdev_size(dev_t);
    Can I use this function to get the disk size of the device dev_t? I couldn't find the documentation of this function.
    Thanks

Maybe you are looking for