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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -