String apk = "";
String url = ("com.my.newproject");
try {
android.content.pm.PackageInfo pi =
getPackageManager()getPackageInfo(url,android.content.pmPackageManager.GET_ACTIVITIES);
apk = piapplicationInfopublicSourceDir;} catch (Exception_e) {show Message(e.toString());
Intent iten = new
Intent(Intent.ACTION_SEND);
iten.setType("*/*")
iten.putExtra(Intent.EXTRA_STREAM, Url, fromFile(newjava.io.File(apk)));
startActivity(Intent.createChooser(iten, "Send APK"));