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 4602418
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:58:54+00:00 2026-05-21T23:58:54+00:00

I want to open windows phone 7 camera, take a snap and then manipulate

  • 0

I want to open windows phone 7 camera, take a snap and then manipulate that picture. But the problem is when I try to override the OnChooserReturn function it gives me the error no suitable method found to override also when I want to capture what returns from the camera I use this :

ChooserEventArgs<PhotoResult> args = new ChooserEventArgs<PhotoResult>()

It gives me the error The type or namespace name 'ChooserEventArgs' could not be found (are you missing a using directive or an assembly reference?) although I am using these two directives

using Microsoft.Phone.Controls;
using Microsoft.Phone.Tasks;

What is the problem and how can I solve these issues?

  • 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-21T23:58:55+00:00Added an answer on May 21, 2026 at 11:58 pm

    It sounds like you are trying to use an old SDK or at least a guide based on an outdated SDK. To have the phone launch the Camera and then to reference the captured image you use the CameraCaptureTask. You will need the following Using statements:

    using Microsoft.Phone.Tasks;
    using System.Windows.Media.Imaging;
    

    Somewhere in your code (presumably in a button click event) you do this to launch the camera:

    CameraCaptureTask cct = new CameraCaptureTask();
    cct.Completed += new EventHandler<PhotoResult>(cct_Completed);
    cct.Show();
    

    Then you handle the completed event like this (assuming you have an Image control named image):

    void cct_Completed(object sender, PhotoResult e)
    {
        if (e.TaskResult == TaskResult.OK)
        {
            BitmapImage bimg = new BitmapImage();
            bimg.SetSource(e.ChosenPhoto);
            this.image.Source = bimg;
        }            
    }
    

    Documentation Here: http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.cameracapturetask(v=VS.92).aspx

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

Sidebar

Related Questions

I have 2 windows now that i want to open maximized but should be
I want to open two (or more) excel windows on different screen (extended displays),
In a Windows 8 Metro App I want the ListViewItems/Tiles to open a link
I want to know if there are any methods other than file.open(); in <windows.h>
I basically want to open a browser window from Word using VBA that does
Ok, read that again. I need to open a windows prompt WITH perl. This
I want to open word file from my Windows Application in C#. On button
In my Windows Phone application( silverlight application ), I want the user to automatically
I have created an windows service. I want to open some windows based application
Im making a mobile optimised website that has fullscreen dialog windows that open when

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.