Skip to content

Instantly share code, notes, and snippets.

View dansmart's full-sized avatar

Dan Smart dansmart

View GitHub Profile
@moust
moust / Sample.java
Last active November 12, 2019 04:34
Example of implementation of APK Expansion Files download process with a PhoneGap application
package com.phonegap.Sample;
import java.io.File;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.PendingIntent;
import android.app.ProgressDialog;
import android.content.Intent;
import android.content.pm.PackageManager.NameNotFoundException;