android - Start an app from a running background service -


just wondering if possible launch install application background service. have packagename well.

an installed application can invoked using packagemanager class

startactivity(backgroundservice.this.getpackagemanager()                 .getlaunchintentforpackage(packagename)                 .setflags(intent.flag_activity_new_task)); 

Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -