Android refresh current activity -


i want program android app refresh current activity on buttonclick. have 1 button on top of activity layout job. when click on button current activity should reload again - device restart.

thanks

public void onclick (view v){     intent intent = getintent();     finish();     startactivity(intent); } 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -