How can be obtained and changed the dpi of a bitmap in android?
<p>I am developing an Android app and I want to display and change the dpi of a bitmap. Is there any method on android that does this thing?<br>
Currently I use next line of code to resize my bitmap, but I also want to display and change the dpi of the bitmap. </p>

<pre><code>Bitmap scaled = Bitmap.createScaledBitmap(cameraBitmap, 384, 512, true);
</code></pre>
