Getting device resolution & density with Unity

Is there a way I can get the resolution and density of an Android device with Unity?
For instance:

Samsung Galaxy Nexus:   1280 x 720 pixels, 316 ppi pixel density
Nexus One:               480 × 800 pixels, 252 ppi pixel density

I need this information to programmatically stretch the background of a scene to the according device’s resolution.

Thank you for help in advance.

Try looking at this.