In the documentation it says that using the map control in windows phone 8.0 is obsellete using this method. But I could not find how to implement the api maps in windows phone 8.0 silverlight?
<maps:Map x:Name="bingMap" >
<maps:Map.Center>
<Location:GeoCoordinate Altitude="NaN"
Course="NaN"HorizontalAccuracy="NaN"
Longitude="-2.922363"
Latitude="54.6128"
Speed="NaN"
VerticalAccuracy="NaN"/>
</maps:Map.Center>
</maps:Map>
Can you please provide the namespace from your code?
I'm currently developing a Windows Phone 8 Silverlight app and I'm using this one:
xmlns:maps="clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps"
Besides, I've only found this note in Msdn documentation, but it is about another Map API:
"The new Maps API in Windows Phone 8 is different from the Bing Maps available in Windows Phone OS 7.1. The Bing Maps control is still supported in Windows Phone 8, but is deprecated. Typically, the only time you should use the Bing Maps control is in an existing app that you have upgraded from Windows Phone OS 7.1 to Windows Phone 8."
I have since found this excellent article thanks to the team of msdn about using the new maps bing api.
http://blogs.msdn.com/b/bingdevcenter/archive/2014/06/24/using-maps-in-universal-apps.aspx
Related
I've been struggling to add a calendar control to my windows phone 8.1 silverlight application but i found nothing, i used syncfusion calendar control once but it was a windows phone 8.1 application not silverlight one, please anyone can provide a useful information?
You could take a look at the Calendar control for WindowsPhone Silverlight from ComponentOne. You could download it from https://www.componentone.com/Downloads/Download/?downloadID=133 and refer to its documentation at : http://helpcentral.componentone.com/nethelp/WPCalendar/
I am creating a windows 8 app. I have a requirement to save MAC address of my device but I could not find a way to get the MAC Address.
Can anybody help me out??
This thread says that it is not possible from a Windows Store app, by design. The comments offer some alternatives:
List of WIN32 and COM API that can be accessed from Windows Store apps: http://msdn.microsoft.com/en-us/library/windows/desktop/br205757.aspx
Use ASHWID a unique identifier, using this you can make per device logic for apps: http://msdn.microsoft.com/en-us/library/windows/apps/jj553431.aspx
Sample from Microsoft for download that successfully gets information like the system model and system manufacturer: http://code.msdn.microsoft.com/windowsapps/Device-Enumeration-Sample-a6e45169
Over the course of time I received a number of comments on my blog in this area. Many questions were asked like “Can you use WinRT from Desktop applications?”, “Can you use WinRT from .NET applications?”, “Can you use WinRT from .NET applications?” etc? If so, how?
Yes, you can and for more information refer to http://kishore1021.wordpress.com/2012/08/14/can-you-use-windows-8-winrt-api-from-net-desktop-applications/
Coming to architecting such applications, the best way to go forward is to develop a Portable Class Library and access the API's that can be used from Desktop, Store and Phone apps. By this kind of design, you don't rewrite the business logic code for each device. For detailed information on PCL, see http://channel9.msdn.com/Shows/This+Week+On+Channel+9/TWC9-August-10-2012
The subset of the Win32 and COM API that can be used in a Metro style app is indicated in the header files in the Windows Software Development Kit (SDK) for Metro style Apps. Look for the following statements in the header files:
#pragma region Application Family
#pragma region Desktop Family
More of that sort:
From CodeProject
From Intel Developer Zone
Has anybody yet looked at using Text to Speech in a Windows 8 Metro app. Functionality should be fine with a desktop app, but according to MS, metro apps require a 3rd party library/plugin.
http://social.msdn.microsoft.com/Forums/en-SG/winappswithcsharp/thread/553abb2c-19ef-41b0-b189-37b8f6b38713
I've looked, and looked and looked. Has anybody looked at this yet, or have any idea if there are currently third party libraries available or under development? If so, could you point me somewhere useful?
Bing is not useful to me - this needs to operate offline too.
You can use Bing Translator. It has both TTS and ASR but you have to access it via the network.
http://www.bing.com/translator
You can also look at Project Hawaii
http://research.microsoft.com/en-us/projects/hawaii/download.aspx
This supposedly works for windows phone not sure if you can use it with windows 8
http://ttsforwindowsphone7.codeplex.com/discussions
Trying to find a non-networked solution myself but so far everything's on the cloud
We have created a C# windows form application that uses an ActiveX control to display video stream. Now we are planning to develop the same application in windows phone.
Is it possible to use ActiveX controls (OCX Files) in windows phone development?
No its not. You can only use Silverlight and XNA on Windows Phone.
You already have a Media content available using Silverlight that you can use to stream Video. You can find more information here:
http://msdn.microsoft.com/en-us/library/ff426928(v=VS.95).aspx
It can get as simple as something like this: