create double view with same url alias for different theme In my drupal. I created a two theme one for desktop and another for mobile using Mobile switch I change the theme. Now I Created a View as a page for desktop with alias "xxx/yyy" and for mobile also I created a view as a page with same alias "xxx/yyy"(some modification Done). While switching the theme from desktop to mobile, the desktop view is appear. How to differentiate?
ok 

create a menu with hook_menu 
then with checking condition you want load your views in callback of your menu

Something like below

/**
 * Implements hook_menu().
 */
function mymodule_menu() {
  $items['myurl'] = array(
    'title' =&gt; 'title',
    'page callback' =&gt; 'myfunction_callbackfuction',
    'access callback' =&gt; TRUE,
  );

  return $items;
}

function myfunction_callbackfuction() {
  $view = views_get_view('view_name');
if($mycondtion)
  $view-&gt;set_display('page1');
else 
  $view-&gt;set_display('page2');

  $view-&gt;pre_execute();
  $view-&gt;execute();
  print $view-&gt;render();
}