android batch uninstall apps -


1.i want uninstall multiple apps once . 2.so this,the code try:

intent = new intent(intent.action_delete, uri.parse(new stringbuilder(32).append("package:").append(packagename).tostring())); i.addflags(intent.flag_activity_new_task); context.startactivity(i); 

i make cycle execute code. can uninstall 1 app ,the others not work.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -