Windows Phone 8 with Caliburn.Micro 2.0 - windows-phone-8

I want to write a sample application on Windows Phone 8 using Caliburn.Micro. I have found some tutorials but no one uses Caliburn.Micro 2.0. If anybody could give me any "Hello World" I would be grateful.

It is the same as using Caliburn.Micro 1.5.x from all the tutorials. The sample for WP7 also applies to WP8: https://github.com/Caliburn-Micro/Caliburn.Micro/tree/master/samples/Caliburn.Micro.HelloWP71

Related

HTML parser for Windows Phone 8.1

I'm a iOS developer starting to learn Windows Phone. My project is targeted for 8 and 8.1 and it's about parsing a HTML document. I found a library named HTMLAgilityPack which is most used to parse HTML, but it is not supported for 8.1 version. So i tried to find another way to parse my HTML document and could not find any help online.
Did you try using the HtmlAgilityPack using Linq?
HtmlAgilityPack using Linq for windows phone 8.1 platform
But as far as i know HtmlAgilityPack doesn't support any 8.1 apps for WP. But the blog mentioned in this thread has mentioned about using this parser for Universal apps.
I found a solution using HtmlAgilityPack-PCL which can be accessed here.

How to call calculator in windows phone 8?

I have to create calculator in windows phone 8.
I need api or DLL to call it from windows phone 8.
Is it available calculator for WP8?
Any reference or idea should help me a lot.
Thanks in advance.
I'm afraid this is not possible with the Windows Phone 8 SDK: for launching apps/services, you need to use Launchers but in the launchers list, there isn't the calculator.
On Windows Phone 8 where you have access to more launchers via URI schemes, there is no way to launch the calculator.
It seems like you will need to create your own calculator. Like an exciting one shown here:
http://developer.nokia.com/community/wiki/Speech_Enabled_Calculator_For_Windows_Phone_8

Universal App (WP & WinRT) should i use Cirrious MvvmCross or Galasoft MVVM Light Toolkit

I would like your input, so that i can make a good decision on whether I should use Cirrious MvvmCross or Galasoft MVVM Light Toolkit?
I am going to be developing 2 applications using Universal Apps (Windows Phone 8.1 and Windows 8.1) in XAML/C#. I am not new to developing windows phone and windows 8 apps however i am new to developing MVVM apps and thus would greatly appreciate you into in this?
Should i use Cirrious MvvmCross or Galasoft MVVM Light Toolkit, (should I use something else) what are their strengths and weakness?
Thank you for your time and your help!
Is there an added benefit for using MVVMCross in your app? Will you be developing an Android or IOS APP? If the answer no, then there is no need for MVVMCross or such. The new WinRT API should have 95% of what your app needs. You can add a portable class library to the solution and share third party libraries between the apps as well.
Good Luck.
MvvmCross is the best way to cross-platform work with xamarin for exemple but you can work with it just for create windows and windows phone app.
MvvmLight is really good to implement mvvm pattern in your project.
Just for create ms app, you should work with mvvm light.
MvvmLight does not have support for iOS yet. Support for Android was added in version 4.0 in May 2014. More info here : http://blog.galasoft.ch/posts/2014/05/mvvm-light-v4-4-with-xamarin-android-support/
MvvmCross does not support Universal Apps (yet).
More info here :https://github.com/MvvmCross/MvvmCross/issues/656
A ray of hope here : http://www.microsoft.com/en-gb/developers/articles/week05jun14/mvvmcross-support-for-universal-apps
Looks like you have two options -
MvvmCross allows you to share code with Windows Phone and Windows 8 also. Just not via Universal App project. If the objective is to share code - you can go with MvvmCross. You wil get your WinPhone and WinStore apps along with Android and iOS also.
Start with Mvvmlight on Universal App and hope for Xamarin.iOS support soon.
http://blog.galasoft.ch/posts/2014/04/building-a-universal-application-for-windows-phone-8-1-and-windows-8-1-with-mvvm-light/

Starting with audio in Windows Phone 8

I recently started doing some development in the Windows Phone 8 OS I'm pretty new on this. I was doing some searching about the fact to create an app who play any audio for some specific events/actions.
I was reading the Windows Phone API reference from Windows Phone Dev Center http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff626516%28v=vs.105%29.aspx#BKMK_Win32andCOMAPIforWindowsPhone
But it seems a little confusing to me at first glance and I have the doubt of which one of the following should I use to accomplish my task.
The .Net API for Windows Phone
Win 32 and COM API
... or the Windows Phone Runtime API
Any help would be very appreciate
It really depends what you're trying to do. If you're writing a native application or are interested in cross-compatability with Windows 8 then XAudio2 or the WinRT APIs are definitely the way to go. If you just want to play some infrequent sounds (say, when you pop up a warning dialog) from within a XAML app then I have seen a number of approaches, teh easiest of which is probably just having a MediaElement in your XAML that you use to play the audio.

Windows store app game

I want to create simple 2D game (touch/click to win) and I have experience with C# and XNA for WP7.
But now at W8 there isn't XNA afaik.
What technologies I have to use for this game?
I want to run it on desktop W8 and WinRT.
Thank you for your help!
If the game is simple enough graphically - you could just use Silverlight on Windows Phone and XAML on Windows 8 which would let you share a lot of the code. Another option is to use XNA on Windows Phone and MonoGame on Windows 8. MonoGame is an open source version of XNA. Otherwise - on Windows you can use DirectX with C++ or using SharpDX with C#, but these are not available on WP7. They will probably be on WP8 only. Finally - Unity3D support is coming soon, but the final version is not available yet.