I need to install another package.

Intent intent = new Intent(Intent.ACTION\_INSTALL\_PACKAGE); intent.setDataAndType( FileContentProvider.createContentUriForFile( CoronaEnvironment.getApplicationContext(), Environment.getExternalStorageDirectory().toString()+"/apk/ox\_main-release.apk" ), "application/vnd.android.package-archive"); intent.setFlags(Intent.FLAG\_ACTIVITY\_NEW\_TASK); CoronaEnvironment.getApplicationContext().startActivity(intent);

I’ve tried to write code for my goal. but I’ve got Runtime Error with this code.

android.content.ActivityNotFoundException: No Activity found to handle Intent…

please help me to fix my code for installing other package.

Can you provide a better description of what you’re attempting to do?

Thanks

Rob

I searched to get a android native code.

this is one of them.

Install Application programmatically on Android

there are similar code for my goal.

But I failed to use that code in my android enterprise project.

I’ll see what I can find out.

Can you provide a better description of what you’re attempting to do?

Thanks

Rob

I searched to get a android native code.

this is one of them.

Install Application programmatically on Android

there are similar code for my goal.

But I failed to use that code in my android enterprise project.

I’ll see what I can find out.