Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5946049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:46:03+00:00 2026-05-22T16:46:03+00:00

I use this code to install voice_search programmatically from my application. Intent promptInstall =

  • 0

I use this code to install voice_search programmatically from my application.

Intent promptInstall = new Intent(Intent.ACTION_VIEW)
.setData(Uri.parse("file:///android_asset/voicesearch.x.apk")) .setType("application/vnd.android.package-archive");

I have this errors

 04-06 08:48:01.112: ERROR/AndroidRuntime(293): Uncaught handler: thread main exiting due to uncaught exception
04-06 08:48:01.151: ERROR/AndroidRuntime(293): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW typ=application/vnd.android.package-archive }
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.app.Activity.startActivityForResult(Activity.java:2749)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.app.Activity.startActivity(Activity.java:2855)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at com.dreamstep.wPS.Main.onClick(Main.java:110)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.View.performClick(View.java:2364)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.View.onTouchEvent(View.java:4179)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.widget.TextView.onTouchEvent(TextView.java:6541)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.View.dispatchTouchEvent(View.java:3709)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.app.Activity.dispatchTouchEvent(Activity.java:2061)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.os.Handler.dispatchMessage(Handler.java:99)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.os.Looper.loop(Looper.java:123)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at android.app.ActivityThread.main(ActivityThread.java:4363)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at java.lang.reflect.Method.invokeNative(Native Method)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at java.lang.reflect.Method.invoke(Method.java:521)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
04-06 08:48:01.151: ERROR/AndroidRuntime(293):     at dalvik.system.NativeStart.main(Native Method)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T16:46:04+00:00Added an answer on May 22, 2026 at 4:46 pm

    I have this

    Intent installIntent = new Intent(Intent.ACTION_VIEW);
    Uri apkFile = Uri.fromFile(myFile);
    installIntent.setDataAndType(apkFile,
        "application/vnd.android.package-archive");
    

    and it works with an apk file. may be settings the data and the type at the same time ?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use this code to process a date string coming in from a json
I use this code which is taken from MVC futures and attach the Attribute
I use this code to generate a random number. Random R = new Random(0);
i use this code to fill dropdownlist ViewData[projectType] = new SelectList (_dataManager.Project.ProjectTypeList(), Id, Name);
Example current URL http://www.domain.com/subdomain/install/finish.php I use this code to get the current URL. $url
mp=MediaPlayer.create(AlarmAlert.this, R.raw.clear); mp.seekTo(0); mp.start(); I use this code in my application, it's working when
I use this code to update data in database table. Can reuse same code
I use this code: http://blogswizards.com/plugin-development/sliding-boxes-and-captions-with-jquery On a simple gallery site I am building. Specifically
I use this code to determine checkbox width and height: var chk = $('input[type=checkbox]:first');
I use this code for drawing text in a panel: Graphics g = panel1.CreateGraphics();

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.