How to save a photo released on film

Here is my code, but I could not find photos that I took in the floder to camera.

Anyone know what I did wrong?
Thank you.

_______________________________________________________________________

Project pane tabbed template
import bb.cascades 1.0
import bb.multimedia 1.0
import bb.cascades.multimedia 1.0

TabbedPane {}
showTabsOnActionBar: true
Tab {}
Title: qsTr ("Capture")
{Page}
ID: capture
actions:]
{ActionItem}
Title: "Flash Mode: Off '.
ActionBar.placement: ActionBarPlacement.InOverflow
onTriggered: {}
Camera1.getSettings (Settings);
settings.flashMode = CameraFlashMode.Off;
settings.cameraRollPath="169.254.0.1:/accounts/1000/shared/camera ';
Camera1.applySettings (Settings);

}
},
{ActionItem}
Title: "Flash Mode: we.
ActionBar.placement: ActionBarPlacement.InOverflow
onTriggered: {}
Camera1.getSettings (Settings);
settings.flashMode = CameraFlashMode.On;
settings.cameraRollPath = "169.254.0.1:/accounts/1000/shared/camera";
Camera1.applySettings (Settings);
}
},
{ActionItem}
Title: "Flash Mode: Auto.
ActionBar.placement: ActionBarPlacement.InOverflow
onTriggered: {}
Camera1.getSettings (Settings);
settings.flashMode = CameraFlashMode.Auto;
settings.cameraRollPath = "169.254.0.1:/accounts/1000/shared/camera";
Camera1.applySettings (Settings);
}
},
{ActionItem}
Title: "Flash Mode: Light".
ActionBar.placement: ActionBarPlacement.InOverflow
onTriggered: {}
Camera1.getSettings (Settings);
settings.flashMode = CameraFlashMode.Light;
settings.cameraRollPath = "169.254.0.1:/accounts/1000/shared/camera";
Camera1.applySettings (Settings);
}
}
]

The container root.
content: {container
ID: cntrRoot
Control of the camera.
Camera {}
ID: camera1
Boolean photoBeingTaken property
supCameras variant of property
attachedObjects:]
Needed to play the shutter sound.
SystemSound {}
ID: shutterSound
sound: SystemSound.CameraShutterEvent
},

{CameraSettings}
ID: settings
                           
}
]

Find a supported and the device.
onCreationCompleted: {}
supCameras = camera1.supportedCameras;

Check if your application has access to the camera.
If (supCameras.length == 0 | supCameras [0] == CameraUnit.None) {}
Report: "no unit of the camera is accessible."
Console.log ("no unit of the camera is accessible");
} ElseIf (supCameras [0] == CameraUnit.Rear: supCameras [1] == CameraUnit.Rear) {}
Console.log ("the rear camera is available.");
Camera1.open (CameraUnit.Rear);
} ElseIf (supCameras [0] == CameraUnit.Front: supCameras [1] == CameraUnit.Front) {}
Console.log ("unity front camera is available.");
Camera1.open (CameraUnit.front);
} else {}
Report an unknown error.
}
}

Notecard: {}
If (photoBeingTaken == false) {}
photoBeingTaken = true;
Take a photo and automatically
save it in the file system.
Camera1.capturePhoto ();
}
}

onCameraOpened: {}
When the device is open, start the viewfinder.
Camera1.startViewfinder ();
}

onViewfinderStarted: {}
photoBeingTaken = false;
}

In many countries, the law requires that a shutter sound be played
When an application is taking pictures. Also, if you intend
you submit your application for BlackBerry World, and then he took that
He must play the shutter sound when you take pictures.

onShutterFired: {}
shutterSound.play ();
}

onPhotoSaved: {}
photoBeingTaken = false;
}
} / / End of the control of the camera.
} / / End of cntrRoot.
}

}
Tab {}
Title: qsTr ("Gallary")
{Page}
ID: tab2
actions:]
define the actions of the tab here
{ActionItem}
Title: qsTr ("Raise")
onTriggered: {}
run the animation of the image
raiseAnimation.play ();
}
}
]
{Of container
the content tab here
{Label
text: qsTr ("Camera Roll")
horizontalAlignment: P
textStyle {}
Base: SystemDefaults.TextStyles.TitleText
}
}
ImageView {}
ID: imgTab2
imageSource: "asset:///images/picture1.png."
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: P
layoutProperties: {StackLayoutProperties}
spaceQuota: 1.0
}
scalingMethod: ScalingMethod.AspectFit
opacity: 0.2
animations:]
define animations of image here
{ParallelAnimation}
ID: raiseAnimation
FadeTransition {fromOpacity: 0.2; toOpacity: 1;} {Duration: 1000}
ScaleTransition {fromX: 1; fromY: 1; toX: 1.5; toy: 1.5;} Duration: 1000; {easingCurve: StockCurve.DoubleElasticOut}
}
]
}
}
}
}
Tab {}
Title: qsTr ("History")
{Page}
ID: tab 3
{Of container
the content tab here
{Label
text: qsTr ("history of the envoys")
horizontalAlignment: P
textStyle {}
Base: SystemDefaults.TextStyles.TitleText
}
}
{Of container
layout: {DockLayout}
layoutProperties: {StackLayoutProperties}
spaceQuota: 1.0
}
verticalAlignment: VerticalAlignment.Fill
horizontalAlignment: HorizontalAlignment.Fill
{Label
text: qsTr ("tab 3 content")
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: P
textStyle {}
Base: SystemDefaults.TextStyles.BodyText
}
}
}
}
}
}
onCreationCompleted: {}
This slot is called when declarative scene is created
write the post creation of initialization here
Console.log ("TabbedPane - onCreationCompleted()")

activate the page layout to adapt to the rotation of the device
don't forget to activate the rotation of the screen in the bar - bescriptor.xml (Application-> Orientation-> Orient)
OrientationSupport.supportedDisplayOrientation = SupportedDisplayOrientation.All;
}
}

You can try the following sample?

https://github.com/BlackBerry/Cascades-community-samples/tree/master/HelloCamera

Tags: BlackBerry Developers

Similar Questions

  • How to save a photo on my computer during a trial mode?

    How to save a photo on my computer during a trial mode?

    You use the menu file-> export command...

  • How to save JPEG photos with their LR adjustments?

    Hello Folks, please forgive this probably stupid question from a new user of Lightroom!

    I recently imported some JPEG photos in LR, made several changes that have improved the images (well, I thought they did...) but then for the life of me I couldn't work out how to save the results.

    Stored files just show the originals, but in LR, they appeared with all the settings. Tried to export, but with the same result. I don't know I am on what is obvious...

    Any help is appreciated.

    Take a look at the of gotcha ten albums LR here

    Your question is number 1.

    You do not have record in LR (LR, as it goes along). To see that your changes applied you export and create a new file. LR does not change your original file,

  • How to save your photos on an external drive

    How can I save photo library in my computer in an external drive. I use OS X El Capitan version 10.11.30

    Do the drag to a Mac OS Extended format volume, or set up Time Machine or use disk utility's restore feature or a product such as Carbon Copy Cloner.

    (140038)

  • How to save a photo book spread page in pdf format?

    When you create a book with pages of propagation, saving the page as pdf does not create two pages rather it creates one.

    This overview pdf should work - Preview of a project of printing Photos, iPhoto or Aperture to avoid problems - Apple Support

    LN

  • How to save a photo exported from iPhoto and modified in Photoshop Elements 6 to iPhoto?

    My photos are uploaded on my iMac iPhoto 09.  I am able to export directly to Photoshop Elements ' 06 to edit but when I try to export the photo retouched to iPhoto it goes to images, not iPhoto where I want it to go.  Any suggestions?

    No, this is a limitation of iphoto. The only way to see the original once again in a version of iphoto to define is to lose the edited version back.

  • How to save pictures of Photos in the form of files without losing the GPS data?

    Hello!

    Can someone advice me in the following cases:

    I want to erase my Photos from iPhone and iMac. Before that, I wish I had pictures of my library of Photos saved as a regular directory with files. As Windows does, for example.

    Can someone tell me how to save all Photos in the form of files without losing the GPS data? Thank you!

    Just export them (File menu) in unmodified versions.

  • How to save the image to an email in the mail application

    Original title: save the image in the email

    How to save a photo to an email? When I hold down the image, the only option is to 'copy '; There is no 'Save' function available.

    Hey Lucent,

    Thanks for posting your query in the Forums RT in Microsoft Windows. If I understand you correctly, you have a problem with saving an image with the mail application. I understand that it must be frustrating, but don't worry, we are here to help solve your problem and guide you in the right direction.

    In the Mail application, you wouldn't be able to do differently than the option to right click functions. The dialog box you get with the "save image under" comes to a browser. If you use Internet Explorer to check email, you'll get the option to click with the right button on a photo. In the Mail app if you want to download an image that was attached to the email, you can click on the picture to download and click it a second time to get the options to open or save.

    You can also check the suggestions provided by Jianan! responded on October 31, 2012 in the following link:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_rt-ECOMS/how-do-i-save-a-email-picture-attachment/ef0dcd13-D219-4864-88b6-6bf5e764ca8f

    Please answer us on the State of the question to help you further.

  • How to save pictures edited so I can burn it to a CD

    Hi, im new to lightroom and I do not know how to save edited photos so I can burn it to a CD

    Hi christent24950677,

    Please consult the following document: using Adobe Photoshop Lightroom | Export files to disc or a CD

    Kind regards

    Tanuj

  • How to save a modified image on SD card on Photoshop Touch?

    I do not know how to save a photo that I made for my SD card

    If it helps, I have the latest version of Photoshop Touch, Samsung Galaxy Tab 2 Tablet 10.1 Jelly Bean

    Thank you

    You are in the wrong forum.

    This Photoshop forum has nothing to do with Photoshop Touch for mobile devices.

    Try here for Tablet:

    http://forums.Adobe.com/community/creative_cloud_touch_apps/adobe_photoshop_touch

    or here for the phone:

    http://forums.Adobe.com/community/photoshop_touch_for_phone

  • How to save an attachment photo for images

    How to save an attachment photo photos in my iphone 6?

    Hello janhubbard,

    Thank you for using communities Support from Apple!

    From your question, it seems that you do not want to save a photo on an email or on the internet at the Photos application on your iPhone. If this is the case, please see the following link for instructions on how to accomplish this task.

    Save or share a photo or video that you receive.

    • Email: Tap to download if necessary, then tap and hold the point to see sharing options and more.

    • SMS: Tap on the item in the conversation, and then click .

    Photos and videos that you receive in messages or save a Web page are stored in the Photos tab. They can also be viewed in the film or, if you use iCloud photo library, all photo album.

    Other ways to share photos and videos - iPhone

    See you soon!

  • BlackBerry Smartphones how save taken Photos of BB to computer?

    I believe that I have already downloaded the USB driver, I think.  On the "my computer", there is a drive F and under that is a folder called Blackerry with 4 subfolders.  There are no pictures in the photo folder.

    Question:

    (1) how to save Photos taken of BB to computer?

    (2) how do you put all the photos you take of BB to go into the microSD automatically and make records?

    I did a search but have not found the exact topic.  Maybe it was too easy.

    On the BlackBerry, go to Options | Media Media Card recommended parameters are:

    Media card support: WE
    Encryption mode: NO
    Mass storage support: WE
    Auto enable mass storage Mode when connected: YES

    Mass storage mode allows your BlackBerry to act as an extra drive when it is connected to your PC. It will appear as an extra drive letter in Windows Explorer. So you can just drag/release the multimedia files on your memory card. So you should see 2 discs - an it's for BlackBerry memory, the other for a press card.

    I think that you will need to copy/paste Windows to move the photos from the memory of BlackBerry on the memory card. But for future photos you just go into your camera application. Click the menu button, then choose Options. Near the bottom, there is a setting for 'Bank of images '. You can change Media card. Then all the multimedia files will be automatically saved on the press card.

  • How can I save my photos and delete from my iPhone

    How can I save my photos and remove it from my iPhone, I need to free up space.

    You have available to back up to.

  • How to 'move' photos of the film to another album

    How to 'move' photos of the film to another album,

    IPhone s plus 6

    IOS 9.2.1

    I'm trying to find the solution but did ' t found, why only small option is not available?

    It looks like your strength to move about jailbreak by small options that you lack.

    I'm not sure what you want to achieve? Please explain more.

    Albums do not store photos. They use and referencing the photos that are in your library. You can add a photo of your camera albums as much as you like, but the photo should stay in the camera or the album can not use it.

  • Windows Media Player - How to save photos in the library media player on my hard drive?

    I have recently more written inadvertently a lot of a very important .jpg files in my folder of photos but I found them in the windows media player library... However there is no record available option... How to save them in a folder that can access my photo editing software?

    There are 343 photos in a folder under my pictures... I crushed 42 photos... they appear in the library media player as the photos that more wrote the originals... but the media player library shows other 299 photos but they are NOT in the original folder... and I don't find them by searching even with the file name, the entire computer to research.

    I can see the images... I just do not know where they are stored.

Maybe you are looking for

  • update of iOS 10 listed is not on Air iPad

    When I go into my settings on the Air iPad app, it says I'm up-to-date with 9.3.5. There is no option to download iOS10. When I plug my iPad to my mac, it downloads the update in iTunes but will not install because the macbook isn't anywhere close to

  • Second cloud on my PC

    How can I add a second IPhone to my cloud

  • Satellite A60 do not mount the drive UJDA760

    My Satellite A60 CD-ROM/DVD-ROM drive has stopped working properly. He is more able to read DVD - ROM, a serious problem because the recovery disc is a DVD-ROM. I recently bought a replacement drive, the same model as the old disk number. But when I

  • program import Java in Labview

    I have an equation of the standard deviation (7th order differential equation) calculaiton written in Java and I wanted to use this program in Labview. Anyone can suggest how to do it plse. I'm not familiar with Java me.

  • Realtek driver update not available for Windows XP on Vista B4 upgrade to Windows 7

    Hi all I set up my cell phone before installing Windows 7.  The compatibility check says I need to download the latest driver for Realtek RTL8139/810xFamily Fast Ethernet Realtek Semiconductor NIC and before reinstalling after installing Windows 7.