Supporting Different Android Screen Densities

I’m using Cocos2d-HTML5 wrapped inside Phonegap (Cordova) on an Android tablet. I’m learning that I have many many more Android screen sizes and densities to support and also that it’s very important to use multiple image densities organized into multiples density folders as suggested here: http://developer.android.com/training/multiscreen/screendensities.html
Is there a class that supports multiple screen densities? Can this even be done this way on Android or did I go down a dead end street? Thank You

maybe I’m framing the issue incorrectly and this is more to do with Cavas/PhoneGap/Android. Do i simply just need to worry about screen size and ignore density?