How to use offline map for windows store app using c# and xaml

Hi friends,
I want to integrate offline map in my windows store app but I am not able to achieve that.
Below is my requirement:
When a user wants to go somewhere where she/he doesn't want to use wi-fi or mobile data but wants to use map to assist her/him to roam around. For this I want to give an option to download the map for that region/area before leaving for that place and there
she/he can use map even in offline.
Is it possible that I can achieve this using Bing maps?
If yes then tell me the processes to follow.
If no then can I achieve this using "Here" or by using any other API or by tweaking any way?
Note: I am showing maps in case of online and user can search for directions or any places in that. I am using Bing maps for that.
Thanks,
S.Sandeep

Hi Sandeepmsandy,
There is no available code sample for this scenario. You may write your own.
Step 1: Get pdf URL from sqlite database. Please refer to the following MSDN blog and see a code sample.
http://blogs.msdn.com/b/robertgreen/archive/2012/11/13/using-sqlite-in-windows-store-apps.aspx. Note, you need to retarget the project to 8.1 and then get two sqlite packages from NuGet before building this sample.
Step 2: Use some special classes to get file from serer.
HttpWebRequest can help download small pdf files. For more information to see
https://social.msdn.microsoft.com/Forums/windowsapps/en-US/de96a61c-e089-4595-8349-612be5d23ee6/download-file-with-httpwebrequest?forum=winappswithcsharp. It’s easy for use, but if you want to download the larger or many files, it’s recommend to use
BackgroundTransfer namespace. The classes in this namespace provide a power way to transfer files in the background. See a code sample from MSND.
https://code.msdn.microsoft.com/windowsapps/Background-Transfer-Sample-d7833f61.
Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate
the survey.

Similar Messages

  • Which Nuget Package for Azure Service Bus can I use for Windows Store apps?

    Hi,
    I want to use the Azure Service Bus Topics. I have an app that needs to subscribe to the Service bus Topic. The Nuget-Package for Azure Service Bus is not applicable for Windows Store Apps (I get an error during install), thats why I used the Windows Azure
    Service Bus managed for Windows Store. Unfortunatelly this API throws a Serialization Exception when I create a subscription. What can I do to use the Service bus in Windows store apps?
    Thats how I try to create the subscription:
    await Microsoft.WindowsAzure.Messaging.Subscription.CreateAsync(TOPIC_NAME, SUBSCRIPTION_NAME, CONNECTION_STRING);

    Yes this is the one I used.
    But creating a subscription with the code above throws the SerializationException mentioned in this question:
    http://social.msdn.microsoft.com/Forums/de-DE/1acb887e-d5f1-4bfb-8eb9-f8ce7390ae7b/microsoftwindowsazuremessagingsubscriptioncreateasync-throws-an?forum=servbus&prof=required.
    Maybe I do something wrong? Do I Need to do something before creating the subscription?
    I haven't found any sample that shows how you can subscribe to a Topic and receive Messages using the restricted Api for winrt :(
    Any suggestions?

  • How to create an unsigned appxbundle file for windows store app?

    Hi,
    Is it possible create an unsigned appxbundle file for windows store app and later sign it with my company certificate?
    If yes, how can I achieve it?
    Thanks

    You would create your own appx pacakge using
    MakeAppx.exe.
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Wi-Fi SSID in Windows Store App using Win32 API

    Hi Friends,
    I am trying to get the available WiFi SSID and Signal strength of the networks. As there is no managed API that supports in Windows Store App, I though to creating Win32 DLL of  the WiFi SSID
    code and access from my C# code. Well I am able to access the Win32 DLL from my Windows Store App using C# code but the code fails at
    dwResult = WlanOpenHandle(dwMaxClient, NULL, &dwCurVersion, &hClient);
    if (dwResult != ERROR_SUCCESS) {
    wprintf(L"WlanOpenHandle failed with error: %u\n", dwResult);
    return 1;
    // You can use FormatMessage here to find out why the function failed
    I think its because the Windows Store App doesn't have support to access the network so it refuse the Win32 code as well. Please correct me if I am wrong.
    Then I was trying to find a way, and for C++/CX, will this help me, or a better solution if any.
    My goal is to get the SSID and the signal strength of the networks.
    And could you please let me know if there any way to get the Signal Frequency also, So that I can apply this
    formula.
    Regards
    Somnath

    WlanOpenHandle is available to desktop apps only: see the version information in the docs.

  • Calendar Control for Windows store apps

    Im searching for a calendar control for windows store apps
    something like this, that when i select a day i get to see information about that day , like meetings and such 
    is there anything of sorts ? , free if possible.

    Hi Thought2,
    Sorry, as far as I know currently there is no in-build calendar control, but there are quite lot of third party calendar control developed by communities also companies, try to search with key words: "windows store app calendar control", you would
    be able to find some.
    Hope this helps.
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Local Database Options for Windows Store Apps

    I am looking to create an application that will allow for entry of data from a user and write it to a database file system locally within the application.
    I am new to Windows Store type app development and are a senior developer for ERP systems for the enterprise which have rich databases and client apps that are built with a MVC type configuration. The app communicates with the database which is on the DB
    server (Oracle, IBM DB2, or SQL Server) and writes to the file system.
    For my startup applications I would like to have a simple CRUD type interface that writes to a DB that is part of the application and does not require a connection to a file server or DB server.  Internally I would like something with a few tables,
    etc.. that I can write to and then report from locally.
    In the Windows 8x development world, what is the best method and technology to use for Store Apps for this scenario?  What is the best approach? 
    Mike

    There is SQLite for Windows RT and Windows Phone.
    Search "SQLite" in vs extensions and updates

  • Solution for Windows Store app "projectname.exe" does not contain a static 'Main' method suitable for an entry point . Error.

    Hi,
    I'm developed a blog reader for windows 8 store app. It was perfectly worked before. But suddenly it started to miss behave and I got an
    error. No other errors were there other than that.
    Error 
    Program c:\Users\.........\Desktop\Blog_Reader\Blog_Reader\obj\Release\intermediatexaml\Blog_Reader.exe' does not contain a static 'Main'
    method suitable for an entry point. 
    C:\Users\..........\Desktop\Blog_Reader\Blog_Reader\CSC    Blog_Reader
    But I found the solution while I fixing it.
    Solution for that is like below.
    Go to your App.Xaml and Right-Click thenGo to Properties
    Check whether the Build Action is
    ApplicationDefinition
    If not change it to ApplicationDefinition.
    Clean the code (solution) and Deploy
    Now the error is fiexed.

    Hi Robana, 
    Good sharing on the Technet. 
    This will definitely benefit other who may encounter the same issue as yours.
    Thanks for your sharing again. 
    Kate Li
    TechNet Community Support

  • Export Grid to PDF file In windows Store app using Xaml and C#

    I am working on windows store and have multiple data field  which I have to export to PDF  file 
    In wpf  project i easily export gridview data to pdf file but need help to do same thing in windows metro app.
    Thanks in Advance

    There is no in-box PDF writing API. You will need to find a third party component. If you search the forum there are several threads (as recent as yesterday) with discussing this with component suggestions.

  • Use offline maps for Nokia Drive

    Go to
    Nokia Drive > Settings > Manage Maps 
    Add your favourite maps & use them offline in future to save your data connection & battery.
    Give your feedback.
    Solved!
    Go to Solution.

    mathe226 wrote:
    cjlim wrote:
    WP is a completely different OS. The team effectively started from scratch. Whwn the Lumia 800 was first launched, even Drive didn't do offline. The plan is to eventually provide the same user experience for WP. Will see how far they have gone with the next iteration.
    And no one were thinking of starting the development earlier, so that the Lumia navigation had been at least as good as on several years old Symbian when the Lumias were released almost a year ago?
    Maps and Drive on my Lumia 920 can now be fully used in Offline mode. You can search for addresses and use turn by turn navigation without the need for an internet connection.
    Ray.

  • Best Authentication Library for Windows Phone 8.1 & Windows Desktop 8.1 Windows Store apps using Open Connect 1.0

    What's the best go forward framework (Web Authentication Broker, WPF, other) to use when authenticating against an Open Connect 1.0 authentication server (that's OpenID + oAuth v2.0)?  My developer says that Web Authentication Broker is not supported
    in Windows Desktop 8.1 (so if you can confirm this that would be great also).
    We've created a universal app to support Windows Destkop, Tablet, Phone (8.1 and up) and plan to add support for iOS and Android via Xamarin later.
    Your feedback is appreciated.
    Jacob Hall [email protected]

    Hi Jacob,
    This is not the correct forum for your question, I'll move it to [where is this forum for...] forum, where the moderator may direct you to the correct forum.
    Thanks for your understanding.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use local .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • How to use .sdf database in a windows store apps

    Hi,
    I am new in windows store app development. I have been working in WPF application development for long time. Now I want develop windows store apps. I am studying on it. I got a problem. I what to store data from windows store app in .sdf database file. I
    confused is .sdf database is compatible with windows store apps.
    I want Deploy the apps in windows apps store. Is .sdf database support in client machine while he download it and run his own machine.
    Please Suggest me about it with sample reference. It will be very helpful for me.
    bye
    With Regards
    Sadequzzaman Monoj
    Bangladesh

    SDF files are used by Microsoft SQL Server Compact Edition. SQL CE is not supported for Windows Store Apps/Universal Apps. Only WP Silverlight Apps can use SQL CE. You will have to switch to a different database format.
    As far as I know the only DB currently supported for local deployment with Windows Store Apps is SQLite.
    This article gives an introduction on how to get started with SQLite in Universal Apps:
    http://blog.tpcware.com/2014/04/universal-app-with-sqlite-part-1/

  • Can I use the new Bing Maps control released in Feb 2015 in my windows store app?

    Can I use the new Bing Maps control released in Feb 2015 in my windows store app?  If not, will there be a release of the store app version that has all or most of the updates that are in the new map control for WPF/Silverlight?

    The FEB 2015 release was for the WPF map control which is for desktop only. There is an existing Bing Maps SDK for Windows Store apps which has a lot more functionality than the WPF map control already. You can find this SDK here:
    https://visualstudiogallery.msdn.microsoft.com/224eb93a-ebc4-46ba-9be7-90ee777ad9e1
    You can find documentation this SDK here:
    https://msdn.microsoft.com/en-us/library/hh846481.aspx
    Also, I have written a free ebook on this SDK here:
    https://rbrundritt.wordpress.com/my-book/
    You can also find lots of code samples here:
    https://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=Topic&f%5B0%5D.Value=Bing%20Maps&f%5B1%5D.Type=Platform&f%5B1%5D.Value=Windows%20RT&f%5B1%5D.Text=Windows%20Store%20apps
    You can also find a bunch of blog posts on this control on the Bing Maps blog. Here is a filtered list of blogs for Windows Store Apps:
    http://blogs.bing.com/maps/tag/windows-store-app/
    http://rbrundritt.wordpress.com

  • How to find out if the company account for developing windows store apps is verified/approved?

    We have created the account for windows store app. How can I find out if the account was approved (the identity of the company)? 

    Hi,
    There is one more method,i know
    Set the JAVA_HOME and PATH
    then execute the
    $WL_HOME\wlserver_10.3\server\bin>setWLSEnv.cmd
    Go to directory which contains weblogic.jar ($WL_HOME\server\lib) and run below command
    $WL_HOME\wlserver_10.3\server\lib>java -cp weblogic.jar weblogic.version
    WebLogic Server 10.3.4.0 Fri Dec 17 20:47:33 PST 2010 1384255
    Hope this will be helpful,
    Regards
    Fabian

  • Trigger Windows Store Apps update by script at first login

    Hi
    Is it possible to trigger Windows 8.1 to check for Windows Store Apps updates at first login?
    My issue is that when I add language packs to my Windows 8.1 images, the default apps (Mail, Calendar, Food and Drinks) are still in English. Not until the Windows Store apps are updated will they change to the correct language (Language of the
    OS). I have turned on autodownload in the registry using this registry key:
    REG ADD "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate" /v "AutoDownload" /t REG_DWORD /d 4 /f
    It seems kind of random how long it takes before the autodownload kicks in. Some times it just a reboot and other times it takes like 24 hours. Can I trigger this update to start with some kind of script?
    Thomas | MCP | http://www.techwork.dk

    I'd probably stick with the TechNet side:
    https://social.technet.microsoft.com/Forums/en-us/home?category=w8itpro&filter=alltypes&sort=lastpostdesc
    Don't retire TechNet! -
    (Don't give up yet - 13,225+ strong and growing)

Maybe you are looking for

  • 2 iphones with the same itunes account...

    Hi All Just wondering if anyone has the answer i need! A friend of mine and his wife are using the same itunes account for both their iphones, this is causing issues now as the info on the phones are starting to merge with each other so is it possibl

  • IMac, no internal speaker sound on iTunes Only? Tried many fixes...

    QBBettyBoop Have iMac with most recent OS and all updates are installed. Internal speakers work on everything except iTunes? Have Apple TV, and Bose Bluetooth Speaker...plus a few other Bluetooth items(all turned off and still no connection)? Tried e

  • Apple TV Problem with Video green static noise locked screen

    My AppleTV is stuck with solution in sight. Hadn't used it in a while, turned it on noticed speckled noise throughout the screen was getting stuck due to the new version of itunes. i reset it to where it never left the Apple logo screen. Noise throug

  • Java auto casting features?

    heys all, i was wondering if there are any auto cast features in java. (its something like the overriding widening cast operators in Vbnet) an example function that requires a Robot as a parameter: public void test(Robot arg1) { }i have a class Human

  • Botao inicial do ipod touch não funciona, está bloqueado...alguem me ajuda

    Botão inicial do ipod touch não funciona, está bloqueado....alguem me ajuda?????