I need to launch activities such as camera from my application.I am unable to use intents to do this as it crashes every time.I am able to open any other application such as calculator etc(those whose launch activities are not null).
I have added a permission in my android manifest so this is not the problem.In the log cat it says ActivityNotfoundexception when i try to open the camera.Is there any other way to open the camera using an intent.
I need to launch activities such as camera from my application.I am unable to
Share
Activity not found exception sounds like the manifest are you sure it’s in the manifest and that your class is extending Activity? It’s harder to give a more specific answer without seeing some code.