Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

OnActivityResult is not getting called

I have a main activity which has three tabs in it and each tab has separate activity to handle that tab. Inside one of the tabs i have two more tabs and in one of those tabs there is camera activity. The onactivityresult is not getting called inside it. How can i solve it??

Answers

  • CheesebaronCheesebaron DKInsider, University mod
    1. Do you start the camera Activity by using StartActivityForResult?
    2. Is your Activity marked to not remember the history with History = false in the Attributes?
    3. Are you overriding OnActivityResult in the correct Activity?
  • khushbukhetankhushbukhetan INMember

    Yes i am using StartActivityResult and had overridded OnActivityResult in the crrect activity

  • CheesebaronCheesebaron DKInsider, University mod

    Well then there should not be a problem.

Sign In or Register to comment.