Skip to content Skip to sidebar Skip to footer

Saving Run-time Generated Ninepatch On External Memory

I'm following this post to create nine patch drawable at run-time. I need to save the 9patch image on the internal/external memory, so that i can easily retrieve it's URI and assig

Solution 1:

You can store the image as Bitmap and then create a NinePatch using http://developer.android.com/reference/android/graphics/NinePatch.html#NinePatch(android.graphics.Bitmap, byte[])


Post a Comment for "Saving Run-time Generated Ninepatch On External Memory"