Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Regarding Windows Phone 8.1 RT -HowTo: Turning the Flash Control ON while taking a Picture?

Regarding Windows Phone 8.1 RT -HowTo: Turning the Flash Control ON while taking a Picture?

Scheduled Pinned Locked Moved Mobile
adobehelpquestion
1 Posts 1 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    doborisf
    wrote on last edited by
    #1

    I am working in a custom camera renderer implemented a form.

    TurnTorchOnOff() - The problem is that Doesnot WORK!
    Here is the code:

    public void TurnTorchOnOff()
    {
    if (_mediaCapture.VideoDeviceController.FlashControl.Supported)
    {
    _mediaCapture.VideoDeviceController.FlashControl.Enabled = true;
    _mediaCapture.VideoDeviceController.FlashControl.Auto = false;
    if (_mediaCapture.VideoDeviceController.FlashControl.PowerSupported)
    {
    _mediaCapture.VideoDeviceController.FlashControl.PowerPercent = 100;
    }
    if (_mediaCapture.VideoDeviceController.FlashControl.AssistantLightSupported)
    _mediaCapture.VideoDeviceController.FlashControl.AssistantLightEnabled = false;
    }
    else
    {
    UserDialogs.Instance.Alert("No Flash Control supported on this device", Strings.Atte

    :)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups