locked
Can i run Wpf base application in any Tablet? RRS feed

  • Question

  • Hi All

    How can i run WPF Application (Xbap) in any tablet

    i need your suggestions for type of tablets, type technologies

     


    Thanks & Regards Manoj Patel


    • Edited by Manoj_Patel Wednesday, July 3, 2013 4:37 PM
    Wednesday, July 3, 2013 4:36 PM

Answers

All replies

  • WPF will require a "tablet" which is running a full version of Windows.  If you want to use .NET 4.5, this will require the tablet run Windows 7 or later.

    Note that you cannot run WPF at all on Windows 8 RT tablets (those will only work with Windows Store applications).


    Reed Copsey, Jr. - http://reedcopsey.com - If a post answers your question, please click Mark As Answer on that post. If you find a post helpful, please click Vote as Helpful.

    • Proposed as answer by Lisa Zhu Thursday, July 4, 2013 10:50 AM
    • Marked as answer by Lisa Zhu Wednesday, July 10, 2013 11:13 AM
    Wednesday, July 3, 2013 4:37 PM
  • You're right... some have brought the question in blogs. If your device is running on Windows 7 or even better Windows 8 [not Windows 8 RT...] then I wouldn't see why not...

    In my case I own a Samsung Series 7 Slate 128 Gb 
    [which came with Windows 7 but which I upgraded to Windows 8 Pro] and I don't recall having any
    problem running WPF app. IMHO I see the slate much more like a small pocket size portable... anyway

    As you may well know there are also WPF touchscreen coding features which you can take advantages of.

    Most popular 3rd party tools vendors will even offer "Metro" like templates which you can use in WPF as Jesse Liberty mentioned in one of his blog.

    http://blogs.telerik.com/jesseliberty/posts/13-04-11/supporting-touch-in-wpf-applications-the-windows-8-touch-theme

    Note you can even go further... 
    It's fairly easy to detect if a user's screen device is touchscreen enabled through similar C# code... 

    var isTouchDevice = Tablet.TabletDevices.Cast<TabletDevice>().Any(dev => dev.Type == TabletDeviceType.Touch);

    so basically using "isTouchDevice" boolean variable, if it's true then select "Metro UI Style" template, otherwise use default...  

    Hope it helps ;)


    • Edited by MawashiKid Saturday, August 10, 2013 5:19 PM
    Saturday, August 10, 2013 5:08 PM