Make clickable UI-elements for windows Phone 8.1 apps maps

Windows Phone 8.1 App , C#
I would like to let the user add Pushpins ( which apparently are called MapIcons ) to the map and when the user clicks the newly created Pushpin some other ui-elements should appear.
But apparently MapIcons are not clickable and you can not inherit from them since they are sealed, so no luck in making them clickable.
I tried to just extend from Windows.UI.Xaml.Controls.Button , but those have not Location, probably because the do not belong to the Windows.UI.Xaml.Controls.Maps-namespace. So I can not really add them to the Windows.UI.Xaml.Controls.Maps.MapControl.Children
or Windows.UI.Xaml.Controls.Maps.MapControl.MapElements, since they will not be on the map where I would want them to be.
So how do you make a clickable ui-element that I can give a location on the map?
I already was here
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn792121.aspx#showing_xaml_controls_and_shapes_on_the_map
But I don't see how I can add clickable elements to my map
I could write something like this of course
        <Maps:MapControl Grid.Row="1"
            x:Name="map"
            MapServiceToken="token"
            >
            <Maps:MapIcon>
            </Maps:MapIcon>
        </Maps:MapControl>
But this MapIcon again is not clickable and it also staticly coded. I want to add mine dynamic.

Hi Michael,
Yes, as you said the MapIcon is not clickable, then for the workaround, please try to check the reply which posted by @Jogy in here:
http://stackoverflow.com/questions/25377526/windows-phone-8-1-mapicon-click-event .
Rest Regards,
Amy Peng
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

  • Create a signature capture for Windows Phone 8.1 App

    I am creating a Windows Phone 8.1 app with signature capture control on one of my page. I am looking for an approach using C# so that I can draw points on a XAML with Canvas control. But it seems like that InkPresenter name space is removed from Windows
    Phone 8.1. Is there anyway I can get it around?
    Thanks, 

    Hi edwlin,
    Please try the suggestion provided by Rob Caplan in this thread:
    https://social.msdn.microsoft.com/Forums/windowsapps/en-US/2a428bef-d7a3-423b-a288-4c4b4efa8034/capture-digital-signature-in-windows-phone-blank-app?forum=wpdevelop
    Quote:
    You can capture the signature by listening to pointer messages and storing the points as they come through. You can then render them as Path segments.
    See Quickstart: Pointers
    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 share content on whatsApp And Instagram for windows phone 8.1 App Development

    I am developing an App using sharie Contract Ux (using DataTransferManager )
    sample code is given below it is showing facebook ,twitter but not showing whatsApp and Instagram .
    Am I missing something ?
    public sealed partial class MainPage : Page
    private DataTransferManager dataTransferManager;
    public MainPage()
    this.InitializeComponent();
    this.NavigationCacheMode = NavigationCacheMode.Required;
    /// <summary>
    /// Invoked when this page is about to be displayed in a Frame.
    /// </summary>
    /// <param name="e">Event data that describes how this page was reached.
    /// This parameter is typically used to configure the page.</param>
    protected override void OnNavigatedTo(NavigationEventArgs e)
    // TODO: Prepare page for display here.
    // TODO: If your application contains multiple pages, ensure that you are
    // handling the hardware Back button by registering for the
    // Windows.Phone.UI.Input.HardwareButtons.BackPressed event.
    // If you are using the NavigationHelper provided by some templates,
    // this event is handled for you.
    this.dataTransferManager = DataTransferManager.GetForCurrentView();
    this.dataTransferManager.DataRequested += new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
    protected override void OnNavigatedFrom(NavigationEventArgs e)
    this.dataTransferManager.DataRequested -= new TypedEventHandler<DataTransferManager, DataRequestedEventArgs>(this.OnDataRequested);
    private void OnDataRequested(DataTransferManager sender, DataRequestedEventArgs args)
    var request = args.Request as DataRequest;
    DataPackage requestData = request.Data;
    requestData.Properties.Title = "MY PHOTO";
    requestData.Properties.Description = "Share App";// The description is optional.
    requestData.Properties.ContentSourceApplicationLink = new Uri("ms-appx-web:///" + "www.google.com");
    // It's recommended to use both SetBitmap and SetStorageItems for sharing a single image
    // since the target app may only support one or the other.
    List<IStorageItem> imageItems = new List<IStorageItem>();
    imageItems.Add(this.imageFile);
    requestData.SetStorageItems(imageItems);
    RandomAccessStreamReference imageStreamRef = RandomAccessStreamReference.CreateFromFile(this.imageFile);
    requestData.Properties.Thumbnail = imageStreamRef;
    requestData.SetBitmap(imageStreamRef);
    // succeeded = true;
    private async void SelectImageButton_Click(object sender, RoutedEventArgs e)
    // CoreApplicationView view = CoreApplication.GetCurrentView();
    //FileOpenPicker imagePicker = new FileOpenPicker
    // ViewMode = PickerViewMode.Thumbnail,
    // SuggestedStartLocation = PickerLocationId.PicturesLibrary,
    // FileTypeFilter = { ".jpg", ".png", ".bmp", ".gif", ".tif" }
    StorageFile logoFile =
    await Package.Current.InstalledLocation.GetFileAsync("Assets\\download.jpg");
    // List<IStorageItem> storageItems = new List<IStorageItem>();
    this.imageFile = logoFile;
    // ImageHolder.Source = "/Assets/download.jpg";
    Output.Visibility = Visibility.Visible;
    ShareStep.Visibility = Visibility.Visible;
    // if (pickedImage != null)
    // this.imageFile = pickedImage;
    // // Display the image in the UI.
    // IRandomAccessStream displayStream = await pickedImage.OpenAsync(FileAccessMode.Read);
    // BitmapImage bitmapImage = new BitmapImage();
    // bitmapImage.SetSource(displayStream);
    // ImageHolder.Source = bitmapImage;
    //// this.rootPage.NotifyUser("Selected " + pickedImage.Name + ".", NotifyType.StatusMessage);
    // ShareStep.Visibility = Visibility.Visible;
    private StorageFile imageFile;
    private void Button_Click(object sender, RoutedEventArgs e)
    DataTransferManager.ShowShareUI();

    Whatsapp and Instagram must not be Share Targets for the type of content you are sharing.
    Bret Bentzinger (MSFT) @awehellyeah

  • Its not actually a question. im requesting adobe to make adobe flash player for windows phones. im hoping that we get it with the final release of windows 10 on phones

    im requesting adobe. plzz do it somehow

    @Chris: That's odd.  I too installed Windows 8 Pro x64 since launch and have been receiving/installing all windows updates including "Patch Tuesday" of every month. In fact I just checked my update history and they all show success -- none failed.  Can you find any specific KB # of any update that Microsoft had issued which included updates to Flash?  Also, I just checked with a friend and they too have the factory-shipped version of Flash still installed while being fully-updated.
    I do see the following installed as well however the actual Flash player version was still the old one:

  • New Skype Emoji not appearing on Skype for Windows Phone

    Posted here because I couldn't select "Skype for mobile" in the Windows 10 Edge browser... I've noticed that emoji like (Windows10) do not appear in Skype on Windows Phone.  Instead, I see an empty white box.  I also don't see the text of the emoji. Seems like an issue with Skype for Windows Phone where the app understands that (Windows10) is an emoji, but can't find the image to display.   

    Please,  run the DirectX diagnostics tool (32-bit option only).
    Go to Windows Start and in the Run box type dxdiag.exe and press the OK button. This will start the DirectX diagnostics program. Run this diagnostics and save the results to a file. Please, attach this file to your post.
    Be aware that you will have to zip this file before attaching it here.

  • Make a flashlight App for Windows Phone 8.1 (TorchControl not supported)

    I want to develop a simple flashlight app for Windows Phone 8.1 (non Silverlight). I used the TorchControl but it returns a false when i tried to run on my Device
    Here is the code i Used
    private async void SwitchOn(object sender, RoutedEventArgs e)
    var mediaDev = new MediaCapture();
    await mediaDev.InitializeAsync();
    var videoDev = mediaDev.VideoDeviceController;
    var tc = videoDev.TorchControl;
    if (tc.Supported)
    if (tc.PowerSupported)
    tc.PowerPercent = 100;
    tc.Enabled = true;
    else
    res.Text = "not Supported";
    Is there any other way to do that..
    Thanks In Advance.
    Gopal Kandoi

    Hi Gopal,
    I would also suggest you to try the solution from this post:
    https://social.msdn.microsoft.com/Forums/en-US/329c40e7-fa9a-4a27-8347-b4a80100842e/cant-turn-on-lumia-1520-wp-81-flashlight-use-videodevicecontrollertorchcontrol?forum=wpdevelop
    Start the video capture first and then start the torch control.
    --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.

  • How to make backward compatibility of windows phone 8.1 app for windows phone 7?

    I developed windows phone 8.1 app which is in windows phone store. Now, i want to make this app compatible for windows 7 also. Is it possible, if yes then how?

    It may be that you are using non-backward compatible capabilities in your Windows Phone 8.1 app(s).
    Developers that want to develop for different OS's usually have platforms with the different OS's on them for developing applications so they work on each platform.
    I suppose you developed for Windows phone 8.1 rather than Windows phone 7. Therefore your app runs on a different framework than a Windows phone 7 has as well as probably newer hardware with greater capabilities.
    So you will probably need to purchase an older phone that came with Windows phone 7 in order to develop for. I couldn't find documentation like the last link below (App capabilities and hardware requirements for Windows Phone 8) for Windows phone 7
    from Microsoft but maybe you can.
    Windows Phone OS 7.1 - Developing a Windows Phone Application from Start to Finish
    Types of Applications
    The Windows Phone application platform provides two frameworks for developing applications:
    Silverlight
    The Silverlight framework supports event-driven, XAML-based application development.
    XNA
    The XNA Framework supports loop-based games.
    Silverlight and XNA can also be combined in a single application.
    The following table lists some of the criteria that you can use to determine whether you should use Silverlight or the XNA Framework for your Windows Phone application. With Windows Phone OS 7.1, you can combine Silverlight and XNA into one application. 
    For more information about Silverlight and XNA, see
    The Silverlight and XNA Frameworks for Windows Phone. For more information about the application platform, see
    Application Platform Overview for Windows Phone.
    What's New in Windows Phone 8.1
    Platform convergence with Windows Store apps
    Windows Phone 8.1 introduces an important change in the Windows Phone developer ecosystem. In this release, Windows Phone converges with the Windows Store apps platform into a single developer platform that runs the same types of apps—Windows Runtime apps.
    Platform convergence began in Windows Phone 8, which supports a small subset of Windows Runtime APIs, but which differs from Windows in many core areas. In Windows Phone 8.1, there’s so much more in common—a much larger API set, a similar app model
    and life cycle, a shared toolset, a common UI framework—Windows Phone and Windows Store app developer platforms truly have become one, single development platform.
    Of course there are still some small differences in behavior and supported features between Windows Phone and Windows Store apps. Some of these are the result of timing of the different product cycles, and they may not appear in future releases. Some differences
    are the result of the different natures of phones and computers, their sizes, and the way people use them. We encourage developers to think in terms of Windows app development—developing for a single Windows Runtime, but targeting two different platforms on
    phones and computers.
    Required Tools for Windows Phone Development
    App capabilities and hardware requirements for Windows Phone
    8
    La vida loca

  • Skype for Windows Phone idea: Make it work

    [Topic title updated by moderator to be more descriptive. Original topic title was: "Re: Submit: Great Skype for Windows Phone ideas"]
    Oh, here's a brilliant idea - make it work. Simple enough?
    Fix resuming the app. Make it fast enough so I can actually pick up a call.
    Decrease battery drain. Currently when using skype my battery usage sometimes reaches 65% per hour. It's not even ridiculous anymore.
    I'm not asking much, I don't need calling skype-skype a pleasant experience. Just make it work without requiring 1Gb/s bandwidth and quad-core processor with 8GB RAM.
    Last but not least - make SkypeOut not a theoretical feature to lure people into paying subscription but something that actually works at least half the time.
    I'm really not asking anything fancy like deleting some old messages or other things people mention. Just the basics of a communication app.
    The funny thing is that we all know you don't give a s* about what we are putting here. Nobody's gonna read it anyway.
    It's sad. I used to like skype, before the mobile revolution. Now... Just keep it going the way it's going and in two, three years you'll be a history like Blackberry or AOL

    As for those "smaller improvements" I think everyone will agree with me that they are way too small, and they take much too long. I mean, seriously, 65% per hour battery drain! I am yet to find an app, ANY app that would be even remotely close to your "achievements". With improvements that small and slow I guess in 5 years skype will be using only 30% battery every hour. If I'm not expecting to be next to a power outlet within an hour or two I'm not even trying to use skype anymore. Exactly the same applies to resuming the app. I understand that there are some improvements but honestly improving by 50 ms is not an improvement that any user would appreciate. Again, in this matter skype is probably the worst or one of the worst among all communication apps in WP store. And it's not like it's a new app. Those "improvements" (exactly the same) have been announced from the very beginning and yet they are virtually unnoticable for an average user. Like I said before, sometimes it's impossible to answer a call because it takes too long to resume skype. And any improvement that doesn't make it possible is not really an improvement, from a user's point of view.
    I really hope this changes and next fixes will be dramatic.
    Now, SkypeOut problem. I cannot agree that it has anything to do with a carrier I'm trying to call. Here's why:
    1. I'm calling the same people from desktop app, from metro app on my tablets and from my phone. Desktop - no problems whatsoever, Metro - pretty much good as well, Windows Phone - unusable most times.
    2. When I try to call people from phone - it doesn't work at all, I tether a laptop/tablet to the phone, thus virtually using the same connection (ATT) - magically it starts working perfectly fine.
    3. I'm calling landlines and all cellular carriers in Poland. Problems are with ALL of them using Windows Phone, and there are no problems using any other platform while calling exactly the same phone numbers. So, unless you have a problem with Poland in general, it wouldn't make any sense to blame the carriers.
    4. For some reason, sometimes it actually works on the phone. But only sometimes.
    Also, I noticed this behavior on Windows Phone:
    1. SkypeOut works bad no matter what internet connection I'm using, whether it's 2Mb/s or 100Mb/s it's just a disaster (most of the times), and whether it's wifi or cellular.
    2. Video calls quality is very poor also on both - wifi and cellular.
    3. Voice calls are actually not that bad. Assuming that I can start the app before they hang up
    I'm using Lumia 920 so I hope this phone is not too weak for your app. If it is - you're killing yourself limiting only to owners of the very newest phones packed with the best hardware available.

  • HP All-in-One Printer Remote App For Windows Phone 8.1 Troublesho​ot

    Dear HP,
    Device                Nokia Lumia 520
    OS                        Windows Phone 8.1
    Printer                HP Officejet Pro 8600 All in One Printer
    I have installed HP All-in-One Printer Remote on my smartphone as well as on my PC having Microsoft Windows 8.1. The PC app is running 
    fine but on my smartphone, app can't find my HP Wireless printer. All Devices(PC, Smartphone, Printer) are connected to same wireless LAN Network.
    Regards
    Sahyog Vishwakarma
    Mob.: +91-7206369455
    Yamuna Nagar
    Haryana

    Hi,
    The app for Windows phone is a BETA version. In my case (also a Nokia) it can find my printer but when sending something to printer, printer won't print. Again, it's only a BETA version.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Need Volume Control API's for windows phone 8.1

    Hi,
       I'm developing a windows phone 8.1 app in which volume need to control. To do this I'm not getting API's to perform this operation, so can any one help to develop this app. if not please post some suggestions why this is not possible.
    Thanks in advance.
    Regards,
    Naresh Kumar

    Hi NareshKumar,
    Volume control always needed by play some media stuff, could you please tell us why and where do you need the volume control.
    Basically as I know if we play the sound by MediaElement, it has a
    Volume property, or what kind of media play control are you using?
    Indeed, there is no API that can directly control the system volume, only user can manage that.
    --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.

  • How is SQLite used for windows phone 8.1 in Visual Studio2013

    Hi, 
           I'm developing app on Windows 8.1 currently. Can any one please help me with the steps to proceed so that I can create a database using SQLite for windows phone 8.1 through Visual Studio2013.

    Hi SwetaSinha,
    Thank you for posting in MSDN forum.
    Since this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help
    System, and Visual Studio Editor.
    Based on your issue, if you want to know how to create a database using SQLite, I suggest you can ask this issue directly to the  SQLite official website:
    http://www.sqlite.org/support.html, maybe you will get better support.
    In addition, since the SQLite is a extension tool for the Windows Phone 8.1, so I suggest you can post this case to the SQLite for Windows Phone 8.1:https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b,
    and then click “Q AND A”, you will get better support there.
    Thanks for your understanding.
    Best 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.

  • QuickControl app for Windows Phone 8.1???

    Hello,
    I'm totally happy with my Thinkpad X240 but I would like to be able to use remote control -for instance to pause/resume VLC player when the Thinkpad is hooked up to my TV. I read that Lenovo has this great program 'QuickControl', but you obviously need an accompanying app on your smartphone.
    I can find the app for iOS and Android, but I happen to own a Windows Phone (with WP8.1)... Since I'm trying to build a 'Windows Only' life after mixed experiences with Android and OSX, I would really like the QuickControl app to be available for Windows Phone. I guess it would make sense for Lenovo -being a manufacturer of PC's- to also develop QuickControl for the Windows Phone...
    Does any of you community members know where to find this app, or if/when it will become available? Or do you know another WP app that can communicate with QuickControl installed on a Thinkpad X240?
    Any help is much appreciated. Oh, and by the way: Happy Holidays everyone!

    Nice free

  • Inking for Windows Phone 8.1 (Not Silverlight)

    Is there any way to use Inking for Windows phone 8.1 application. I am able to use it in Silverlight application for freehand drawing.
    But is there anything available to use for this purpose in WinRT?

    Hi Morichi,
    As far as I known in Windows Phone 8.1 Runtime there is no such a Inking api or control as in Windows Phone 8.1 Silverlight app. If you want to implement the inking function in Windows phone 8.1 Runtime application, please try to refer to
    the @Rob Caplan - MSFT's reply in this thread:
    http://stackoverflow.com/questions/28862500/inking-for-windows-phone-8-1-not-silverlight .
    Best Regards,
    Amy Peng
    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.

  • Is Cisco VPN posible for Windows Phone 8.1

    Hello,
    Microsoft released Windows Phone 8.1 on April and it supports VPN connections.
    So I would like to ask:
    Is Cisco going to release Anyconnect Secure Mobility Client for Windows Phone 8.1?
    Maybe someone managed to make clientless connection with ASA 9.1( for example IKEv2 or SSL-VPN) ?
    Or should I abandon idea of connecting WP 8.1 with ASA?
    Thanks.

    Hi  aurimas88 ,
    Looks like AnyConnect Secure Mobility Client 2.5  is supported for windows phone , however W 8.1 mobile has not been tested by Cisco , We cannot guarantee compatibility. 
    AnyConnect Secure Mobility Client 3.0 Windows Mobile Devices Not Supported
    AnyConnect version 3.0 and later do not support Microsoft Windows Mobile or Windows Phone. However, you can continue to use the ASA to deploy the AnyConnect 2.5 or earlier client for Windows Mobile even after loading the AnyConnect 3.0 package files to the ASA for web deployment.
    AnyConnect Secure Mobility Client 2.5 Windows Mobile Devices Supported
    We designed AnyConnect 2.5 for compatibility with Windows Mobile 6.5, 6.1, 6.0 and 5.0 Professional and Classic for touch-screens only. Users have reported success with most touch-screens running these versions of Windows Mobile. However, to ensure interoperability, we guarantee compatibility only with the devices we test, as follows:
    HTC Imagio running Windows Mobile 6.5
    HTC Tilt 2 running Windows Mobile 6.5
    HTC Touch running Windows Mobile 6.0
    HTC TyTN running Windows Mobile 5.0
    Samsung Epix running Windows Mobile 6.1
    Samsung Omnia Pro 4 running Windows Mobile 6.5
    Samsung Omnia running Windows Mobile 6.1
    Samsung Saga running Windows Mobile 6.1
    Source: 
    http://www.cisco.com/c/en/us/td/docs/security/asa/compatibility/asa-vpn-compatibility.html#pgfId-181897
    Hope this helps 

  • Windows Intune support deployment for windows phone (8.1) *.appx files

    Hi
    We are trying to deploy a windows phone 8.1 appx file with intune (over sccm console). the appx file is signed with a valid symantec certificate.
    the installation of the app fails, either when we upload the file as "Required" (so pushing it automatically to the devices) or when we make the app on the company portal app available. 
    in the sccm console the deployment status says failed -> unkonwn error.
    when we use .xap file of an windows 8.0 app, it works like a charm and the xap file is signed with the same certificate.
    My question is, is there no support for publishing windows phone 8.1 appx files on Intune? Or what can it be?
    Thanks for any hints

    UPDATE
    According to these links and the comments from Mitch Denny, can somebody confirm that .appx files (company apps) cannot be deployed/installed on windows phone 8.1 yet?
    http://blogs.technet.com/b/windowsintune/archive/2014/05/12/what-s-coming-next-with-windows-intune.aspx
    http://blogs.technet.com/b/windowsintune/archive/2014/04/28/availability-of-update-to-windows-intune-for-windows-phone-8-1-and-samsung-knox-standard.aspx
    I would really appreciate if someone can confirm me this, because im struggling with this since days and there is no official statement from MS.
    Thanks

Maybe you are looking for

  • Verizon wireless billing on Samsung Tab 2 for Google Play Coins

    I have a samsung tab 2 tablet. I have google play slot games on it that I play. When I try to purchase coins it give me the option of billing my verizon account, but when I try to enable it it says "sending account verification sms to mobile provider

  • Standard Report for maint order, PR,PO,services

    Hi all, Is there any standard report in PM where i can find Maintenance order number,Purchase Requisition no., Purchase order no. and the services taken in the maint. order. If such a report is not there, pls tell me the logic to create it. Thanks Sa

  • Sap bc or sap xi

    Are there any documents out there that can help in decide why should one replace SAP BC with SAP XI? Also any doc on BC vs XI? Thanks, Bhaskar

  • Choppy playback issues with Premiere CC, advice needed

    Hi folks. I've been using Premiere CC for a while now and for some reason just cannot get footage to playback without setting everything to 1/4 resolution. I've built a decent computer setup thinking that I would finally address this issue but instea

  • Is my backup plan ok?

    Hello, I've had some good advice about backing up (I use Lightroom and import as DNG - I'll be getting Photoshop in due course). I wonder if you'd be kind enough to advise if my backup process is ok - I'm thinking of this: 1) Backup unedited DNGs to