public void startInstallerIntent(Uri fileUri){
  Intent intent=new Intent(Intent.ACTION_VIEW);
  intent.setDataAndType(fileUri,resources.getString(R.string.application_mgr_mime));
  intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  context.startActivity(intent);
}

public void startInstallerIntent ( Uri fileUri ) { Intent intent = new Intent ( Intent . ACTION_VIEW ) ; intent . setDataAndType ( fileUri , resources . getString ( R . string . application_mgr_mime ) ) ; intent . setFlags ( Intent . FLAG_ACTIVITY_NEW_TASK ) ; context . startActivity ( intent ) ; }
installs an application to the device .
