April, 2013

  • Wriju's BLOG

    GIDS Windows Store Apps Workshop


    On May 7th I and Goutham will be delivering 3 hour workshop on Windows Store Apps both in XAML and in HTML at Great Indian Developer Summit. Keep watching this space for more information


    Developing Windows Store App in both XAML/C# and HTML/JS has been so easy. This is a series of eight hands-on lab modules that guide you through development of Contoso Cookbook, a realistic Windows Store app that incorporates many of the key new features available in Windows 8. You’ll learn to work with Windows 8 controls, view states, contracts, tiles and notifications, the Windows Store APIs, and other Windows 8 features. Choose the version of the lab series for the programming language you prefer: JavaScript and HTML, or C# and Extensible Application Markup Language (XAML).

    System Requirement

    ·         Supported operating systems: Windows 8

    ·         Also required: Microsoft Visual Studio 2012

    ·         Internet Connection (optional but good to have)

    Download Links

    Must to have

    Attendee must have the Windows 8 installed with Visual Studio 2012. Internet connection is desired.

  • Wriju's BLOG

    Windows Store App displaying Data in two more columns in ListView


    Windows Store apps comes with some amazing data bound controls. The most favorite among them is ListView and GridView. The ListView shows data in vertical scrolling mode and GridView shows data in horizontal scrolling.

    My pal was building an app where she needs to display data in two columns while having the vertical scrolling enabled. This forced to have two data in two columns within ListView. We tried many things on it, even reached at an extent to have two image control in DataTemplate of ListView's ItemTemplate, but anyways it was obvious that approach was wrong. Because the inside DataTemplate if we click it considers all as one item. Then we found this trick of using WrapGrid this allows the column to be formatted. So we said there will be maximum of 2 columns and the size of the image needs to be defined inside it. The whole magic of displaying data is in MaximumRowsOrColumns

    <ListView x:Name="lstData" Grid.Row="1">
                <Image Source="{Binding Path=ImagePath}" Stretch="Fill" HorizontalAlignment="Left" 
                   Margin="10,10,0,0" VerticalAlignment="Top"/>
                <WrapGrid ItemHeight="100" ItemWidth="150" Orientation="Horizontal" MaximumRowsOrColumns="2"/>


  • Wriju's BLOG

    Windows Phone Adding Rating Button in Apps


    Often times as a developer we get motivated to see ratings being given to our Windows Phone apps. However, this is possible only when one downloads and installs it in the Phone from Marketplace/Store.

    I was not aware that the app list (not the desktop) has the context menu to rate, earlier to that I used to go to marketplace and rate if I really like the apps. This takes some efforts considering the fact that I am using Windows Phone unlike desktop. But we have context menu in the app list apart from the two “Uninstall” & “Pin this..”. Anyways, I would love to see AppBar button which lets me rate the apps from the app itself without navigating away. This is possible through the SDK API but you need to do what I like to call as “blind coding”. Let me explain the reason behind it. Unless your app is in the store the code you write to invoke the marketplace rating page will not work. So follow the people who has tried this and working well. We need to use the “Task” and the code looks as below

    MarketplaceReviewTask rev = new MarketplaceReviewTask();

    This would show up the rating page of Marketplace and hence you are.


  • Wriju's BLOG

    Windows Phone Emulator Orientation is not working


    Another classic problem of Windows Phone emulator is that it does not respond as expected if we have the support for both the orientations (Portrait & Landscape) by mentioning


    it still not changing in Emulator. What could be the reason, think?

    It is because you have removed the On-Screen keyboard by pressing Ctrl+Page Up (I discussed this in my previous post), so you just need to get them back to the default mode by pressing ctrl+Page Down.

    This behavior is not regular, if you are lucky your Emulator should work as is without this trick as well. This is what I found during my tryouts.


  • Wriju's BLOG

    Windows Phone : How to use PC keyboard in Emulator


    In Windows Phone when we use PC emulator and launch app there we could type using mouse through the onscreen keyboard. However, this is not very convenient and we would like to use our own keyboard while typing.

    So its very simple, to disable the on screen keyboard you need to press Ctrl+Page Up, to revert press Ctrl+Page Down

    But there is a problem and I am going to discuss in my next blog.


Page 1 of 1 (5 items)