the question of enable "mobile switch" I install the module of "mobile switch" and enable it.
But I just only enable this module and set a mobile theme, the error message is showed:

Notice: Undefined index: ismobiledevice in mobile_switch_boot() (line 40 of D:\xampp\htdocs\drupal\sites\all\modules\mobile_switch\mobile_switch.module).


I don't know how to solve it.
Have anyone know what'w happen?
Thanks....
You could try an alternative Theme key module rather then using mobile switch module to check for the mobile device.
It provides flexibility for changing the theme not only based on the type of device but also can theme different parts of site based on different conditions.
You can check for a detailed video tutorial by Mustardseed to check this features.