android - How to start a Activity after downloading the file? -


in android application in activity checking if file exists or not. if not want download display progress dialog. once download completed dismiss progress dialog , continue activity.

intent mintent=new intent(context.activityname,target.class);// eg: new intent(thisclass.this,targetclass.class); mcontext.startactivity(mintent); 

use this


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

php - MySQLi multi_query results for later use -