Your answer shows how to save a Bitmap to a the SDCard. However, my question was how to save a PictureDrawable to the memory card. I needed to know how to convert the PictureDrawable to a Bitmap.
www.belfox.net ...Simplicity at its best
Your answer shows how to save a Bitmap to a the SDCard. However, my question was how to save a PictureDrawable to the memory card. I needed to know how to convert the PictureDrawable to a Bitmap.
www.belfox.net ...Simplicity at its best
I have PictureDrawable that I wish to save as an image (JPEG/PNG) but I can't seem to find any information how to go about this. I tried this but it does not seem to work
PictureDrawable myDrawable = GetPictureDrawable();
Bitmap bitmap = Bitmap.createBitmap(200, 200, Bitmap.Config.ARGB_8888);
myDrawable.draw(new Canvas(bitmap));
bitmap.compress(CompressFormat.JPEG, 100, new FileOutputStream("/MyLocation/MyImage.jpg"));
What am I doing wrongly?
www.belfox.net ...Simplicity at its best
Its all about a nice portfolio but a cert can be a plus (... and I really don't like talking much, I prefer throwing papers at people)
www.belfox.net ...Simplicity at its best
It might not be an ultimate judge of my knowledge but its a sure way to gain extra attention. Besides, it doesn't take too much to get certified, why not do in now and get over with it?
www.belfox.net ...Simplicity at its best
I've never been a fan of certifications but now that am kinda looking for a job, I could reconsider my stance. Yes. I know how to code but what better way is there to prove it to a prospective employer other that a certification. If you guys have any tips for me, don't hesitate to drop it.
www.belfox.net ...Simplicity at its best
Coders don't work for free. If you want an app try hiring a programmer.
www.belfox.net ...Simplicity at its best