Can I test phone gap mobile app using Appium?

I have an application which built in Phone gap .
Can I test this app using Appium for Android platform .

I tried to automate this but when I tried to inspect element with DDMS , same page showing me webview and sometime nativeview .