locked
MobileBroadbandAccount.AvailableNetworkAccountIds Returns an Empty List

    Question

  • I'm trying to make Metro style app which uses Mobile Broadband API.

    But MobileBroadbandAccountAvailableNetworkAccountIds Returns an Empty List.

    The sample source code is "Mobile broadband account and device management sample".

    I searched the information about the error.

    I downloaded the "dev-guide-creating-mobile-operator-apps.docx", and check it.

    * Instructions what I did.

    Step 1: Install Windows 8 and Tools

    I installed newly Windows 8 Release Preview, VisualStudio 2012 Pro RC and WDK for Windows 8 Release Preview.

    Step 2: Select Correct Publisher Certificate

    I don't have Store account, because my client has it.
    So I created a alternate publisher certificate using Visual Studio.
    I install it as the Trusted Root Certification Authorities from the internet option.

    Step 3: Add Required Fields to package.appxmanifest

    I added the Publisher name and appication name into the package.appxmanifest
    I use Mobile Broadband sample, it already has the device capability.

    Step 4: Enable Test Signing in Windows 8

    Type the command "bcdedit ?set testsigning on" in admin command prompt.
    The command successfully finished.
    Reboot Windows.

    Step 5: Author Service Metadata Package using Mobile Broadband Metadata Authoring Wizard

    I created a dummy metadata, I added IMSI range.
    At the [Applications] page, I added below.
    [Metro style Device App]
    Package Name = aaa
    Publisher   = aaa
    App ID = aaa
    [Privileged Application]
    Package Name = mobile
    Publisher   = test

    Step 6: Install Service Metadata Package

    After I created the metafile, I copy itonto the Store folder using Explorer.

    Step 7: Plug in or Enable Windows 8?Certified Mobile Broadband Device

    I installed the mobile broadband device.
    The device image appears in the list of device and printer.
    I suppose the metadata is recognized correctly.

    The registry entry "ServiceProviderIconPath" and "ServiceProviderFriendlyName" exist.

    Step 8: Start Developing Metro style Device App for Mobile Network Operators

    I build the mobile broadband API sample project, and execute it.
    But the MobileBroadbandAccount::AvailableNetworkAccountIds is empty.


    * Collecting the WWAN Logs

    I clllected the log. It show the error below.

    [Microsoft-Windows-Mobile-Broadband-Experience-Api]MobileBroadbandAccount.AvailableNetworkAccountIds: There are no account IDs that this app can use. This app's package is not in the list of approved package family names in serviceinfo.xml inside the associated metadata package.

    I checked serviceinfo.xml in the metadata. but there is no package family name tag in it.

    What should I do ?

    I have Metro Style App Developer ID using my Live ID.
    Should I get Windows Store Developer ID ?
    Actually, my client has Windows Store Developer ID.

    I use a mobile broadband device which is Windows 7 style device.

    I checked [Windows 7 style device metadata pacakge(single locate per package)] in the authoring tool.


    kata.



    • Edited by kata._ Monday, June 25, 2012 8:09 AM
    Monday, June 25, 2012 4:03 AM

Answers

All replies

  • Kata,

    This functionality is only available to mobile operator apps and Metro style apps given privileged access by mobile network operators. 

    Best Wishes - Eric


    Monday, June 25, 2012 8:30 AM
    Moderator
  • Hi Eric san,

    Thank you for your comment.

    Yes, I know.

    My client gave me the solution.

    So, I will remove this question later.


    kata.

    Monday, June 25, 2012 11:53 PM
  • Hi kata,

    We're facing the same issue.

    We're trying to repeat the steps you've listed above and we're having problems filling the service metadata (the provider ID and ICCID ranges in order to create the hardware ID). Can you please help. we have the ICC# provided by operator but we don't know how to use it, it's giving an error that the numbers entered are invalid or greater than maximum length.

    Thanks

    Thursday, June 28, 2012 9:36 AM
  • Hi LucyWin8 san,

    I use GSM Provider(IMSI).

    I cannot tell you the specific ID.

    For example,

    Provider ID = "12345"

    Begin = 123450000000000", End = 123459999999999

    Then, it should work.


    kata.

    • Proposed as answer by LucyWin8 Friday, July 6, 2012 12:23 PM
    Friday, June 29, 2012 6:48 AM
  • Tuesday, March 19, 2013 6:59 AM