Questions tagged [activitynotfoundexception]

This is a Java exception in the Android API that is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent.

This is a Java exception in the Android API.

This exception is thrown when a call to startActivity(Intent) or one of its variants fails because an Activity can not be found to execute the given Intent.

Link.

97 questions
0
votes
1 answer

Screen Locked causing Unable to find explicit activity class have you declared this activity in your AndroidManifest.xml?

I have been getting this error in my application for quite a sometime now at few client devices. I have posted a related question Here but found not useful answer. After weeks of research and testing, i reproduce this error at development machine.…
Rajeev Kumar
  • 4,901
  • 8
  • 48
  • 83
0
votes
2 answers

ActivityNotFoundException on Android 7.1.1

I have an application which open a pdf file whan we click on button. It was functionnal on all versions of Android but it crash on Android 7.1.1 and i don't know why :/ These are the related questions I have looked at ActivityNotFoundException when…
0
votes
0 answers

OnePlus 3: com.android.contacts/.activities.PeopleActivity not found exception

I am developing an app and using one plus 3 (Android 7.0, Oxygens OS 4.0.3, API 24). PeopleActivity is called if you have more than one contact with same phone number. In my default SMS App, it opens Quick Contact so there is some problem in my app…
0
votes
1 answer

No Activity Found Exception if activity is in Library project

I am doing Bar code scanning functionality in my Android APP using ZXing Library When I am calling Capture activity of ZXING library using following intent then I am getting activity not found exception in below android 5.1 versions phones …
0
votes
1 answer

Unable to find activity, but its defined in manifest

I've searched and searched, but nothing pushes me in the right direction. Here the MainActivity: package com.example.google.playservices.placecomplete; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import…
5p1k3md
  • 55
  • 2
  • 8
0
votes
2 answers

Hyperlink in AlertDialog crashes with ActivityNotFoundException

I'm trying something simple. Include a hyperlink in an AlertDialog message. I can include the hyperlink and it is drawn as a hyperlink as desired. But when clicking on it, the app crashes: ActivityMain.java AlertDialog ad = new…
0
votes
3 answers

ActivityNotFoundException in library projecy while the Activity is there and is declared in Manifest

I am trying to use this library. But the library project as well as the demo project on the github page is for Android Studio, but for some reason I use Eclipse. So I added the library and the demo project to Eclipse (see below for how I did that)…
Solace
  • 8,612
  • 22
  • 95
  • 183
0
votes
5 answers

Class (an Activity) is declared but ClassNotFoundException still occurs

I've tried to fix this issue for long time but still being stuck. I already declared my Activity in AndroidManifest.xml file but ActivityNotFoundException still occurs, Please help!
0
votes
0 answers

Android open URL intent in javascript interface method

I have a webview in my app; I added a JavascriptInterface for that. In JavaScript interface implementation I have a method for opening URL in new intent but I received an ActivityNotFoundException @JavascriptInterface public void openUrl(String…
0
votes
1 answer

Get Image from gallery cause no activity found error in activity resulte

I try to open the gallery and let user to choose image from gallery it's work on some android but not all in my tablet (4.2.2) it's work just fine but my friend (4.1.2) it's cause ActivityNotFound Exeption. the code to open gallery: Intent i = new…
0
votes
1 answer

Android: ActivityNotFoundException Unable to find explicit activity class

Got ActivityNotFoundException when trying to start activity java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mypackagename/com.mypackagename.StartActivity}: android.content.ActivityNotFoundException: Unable to find…
0
votes
1 answer

ActivityNotFoundException using Android Saripaar library

i've been using this site to fix my problems with android/eclipse. But in this moment im very stuck i searched almost every thread regarding this problem but i cant found a solution. Its simple i want to move from one activity to other after the…
0
votes
1 answer

No activity found to handle intent{act=com.google.zxing.client.android.ENCODE (has extras) } in zxing library?

I am developing QR Code generator app. I was doing it for location but my app crashes. Below is the error log file and the code for which i am getting error. I followed This Link. Kindly help me out Error-log 07-18 06:13:43.776:…
0
votes
5 answers

Android Getting Error ActivityNotFoundException

I'm new here in android programming but it seems I can't find my error I need your help Every time I log in and click the button btnLogin app stops. Login class public class DocLogin extends Fragment { ImageView ivIcon; TextView tvItemName,…
user3766257
  • 25
  • 2
  • 7
0
votes
1 answer

AcivityNotFound - viewing pdf in external pdf viewer

I am trying to view a local pdf in an external pdf viewer using this code: Uri path = Uri.parse("android.resource:///raw/Terms.pdf>"); try { Intent intentUrl = new Intent(Intent.ACTION_VIEW); …
deimos1988
  • 5,896
  • 7
  • 41
  • 57