add Device plugin for Phonegap demo.
remove netive component method.