title: How to implement different content between different Sitecore Devices?
body: <p>I need show different content between Default and Mobile devices. Is there any way to create a Language Version according to a Device? Or is it possible to create a handler or module where i can identify the current device type? Also, is it possible to create a custom <code>MediaRequestHandler</code> where I can identify the current device and change the <code>MediaPath</code> of the requested image?</p>
  
  <p>This is my implementation of Pipeline Processor:</p>
  
  <pre><code>public class MediaToDeviceProcessor : HttpRequestProcessor 
  {
      public override void Process(HttpRequestArgs args)
      {
          HttpContext currentHttpContext = HttpContext.Current;
  
          if (currentHttpContext == null || Context.Database == null || Context.Device == null)
              return;
  
          var request = MediaManager.ParseMediaRequest(currentHttpContext.Request);
          if (request != null)
          {
              var media = MediaManager.GetMedia(request.MediaUri);
              if (media != null)
              {
                  if (!Context.Device.IsDefault)
                  {
  
                  }
              }
          }
      }
  }
  </code></pre>