Java tutorial
//package com.java2s; import android.content.Context; import android.os.RecoverySystem; import java.io.File; import java.io.IOException; public class Main { public static void installPackage(Context context, File packageFile) { try { RecoverySystem.installPackage(context, packageFile); } catch (IOException e) { e.printStackTrace(); } } }