Is Windows Phone 7 programming different from regular .NET programming?

I know that there should be some differences. I have a Silverlight ( Timeline ) component and I want it to work on Windows Phone 7. Do I need to make a lot of changes? I know .NET and Silverlight, but I'm new to programming mobile phones.

+4
source share
2 answers

I do not know Silverlight, but most of the .NET infrastructure is not available in WinMo (this usually says on the MSDN pages if it is available or not).
You may need to change your application for other reasons, as it will have a smaller screen, and you have to be careful with using the battery, etc.

The following link has a list of differences:
http://msdn.microsoft.com/en-us/library/ff426930%28VS.96%29.aspx

+1
source

The Windows Phone 7 user interface component should be the same as Silverlight 3, so your timelines should work if they work correctly in Silverlight 3.

Differences in APIs (phone-specific accelerometers, location, etc.) and BCL (base class libraries), because Windows Phone 7 uses the .Net Compact Framework, where Silverlight uses its own BCL implementation.

These problems, combined with a smaller screen and differences in usability based on a small touch screen, will make it so that you simply can’t just run the same application on your phone. However, you can transfer a lot of code, including most of your viewing code, when porting to your phone.

+6
source

Source: https://habr.com/ru/post/1307339/


All Articles