How can I use packageinstaller to install apps programmatically in Android? If I try to use
import com.android.packageinstaller;
I get "The import com.android.packageinstaller cannot be resolved" error.
When I try directly use PackageManager I cannot use installPackage function:
The method installPackage() is undefined for the type PackageManager
How could I install 1.app obtained my web server by the other? Is it possible at all?