android - Refresh QuickBadge/ ImageView on a Fragment after taking a picture -


i want take picture in app, if click on imageview/quickbagde on fragment.

i'm able take picture, after that, crop , return app. not big deal , it's working well.

but how can refresh imageview/quickbadge show taken picture?

i tried with:

    //get returned data     bitmap thepic = data.getextras().getparcelable("data");     profilepic.setimagebitmap(thepic); 

but doesn't work.

you can try

        bitmap bitmap=bitmapfactory.decodefile(imagepath);         imageview.setimagebitmap(bitmap); 

Comments

Popular posts from this blog

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

python - Exception while importing pymorphy2 -