Archives

Archives / 2011 / March
  • ASP.NET Mobile Handset Detection, Redirection & Development Made Easy

     Today almost all web sites are designed to operate on a desktop or laptop computer. Anyone operating marketing, ecommerce, information or entertainment web sites now needs to consider the mobile phone when designing content and services. Mobile web sites development is increasing day by day and so is the number of different mobile devices trying to access the web sites.

    Major problems for web developers for mobile website development are following:

        * Detect mobile device and redirect user to mobile website E.g. practical client requirement: Apple users should be redirected to an Apple theme URL, RIM (BlackBerry) users should be redirected to a Blackberry theme URL and all other mobile devices should be redirected to a standard mobile theme URL.
        * Mobile device database to fetch mobile capabilities in order to deliver the best possible experience to mobile users

    E.g. does this phone support java or flash, or what kind of entry method is available, such as a qwerty keyboard or a touch screen?

  • Handling XML data with Windows Phone 7

     Data storage and access is nearly an eternal topic in all kinds of applications. In Windows Phone 7, data manipulation still plays a fundamental and important role. Regrettably, in the current Windows Phone 7 Series there is no local database API that can be used. Windows Phone 7, though, does support access to data in several ways: XML, Isolated Storage, and Cloud Storage. In this article I will introduce to you how to handle XML data in Windows Phone 7 for Silverlight applications. In detail, we'll explore three cases: how to load and render a local resource-formed XML file; how to abstract components hidden inside an XAML (XML form in essence) file, and how to obtain remote XML data via a simple RSS reader sample.