For the love of god, lets say i have downloaded a file, i have the file location
var intent = Ti.Filesystem.getFile(fileloc); Ti.Android.currentActivity.startActivity(Ti.Android.createIntent({ action: Ti.Android.ACTION_VIEW, type: 'application/x-zip', data: intent.getNativePath() }) ); Ti.Android.currentActivity.startActivity(intent);how on earth do i get it to open with a default app i just keep getting the error
Uncaught Error: No Activity found to handle Intent { act=android.intent.action.VIEW