PhoneGap: Camera API | ADC Presents: PhoneGap | Adobe TV

Developer Evangelist Kevin Hoyt demonstrates how to use the Camera API with PhoneGap to take pictures with your mobile phone’s camera, or load photos from the gallery.
http://adobe.ly/zQPiqJ

Hi, are any of the files in this presentation available online?

Similar Messages

  • PhoneGap: Accelerometer API | ADC Presents: PhoneGap | Adobe TV

    In his continuing series on PhoneGap, Kevin Hoyt shows you how to employ mobile-specific sensors like the accelerometer into your apps.
    http://adobe.ly/xqwaK4

    My intellisense options doesn't show up like in your tutorial... namely "touchstart" and even more important navigator.accellerometer... the navigator. displays many options like geolocation... but accellerometer is not one of them.
    I've tried checking and rechecking everything... the cordova.js file displays via dreamweaver so I know it's linked... I just don't understand why this library doesn't seem to be connecting?

  • That Darn Camera API

    It's a nice API, but it's not working like I wan't it to in my Adobe AIR app (desktop AIR, and no it's not Flex.)
    This is basicly the code that haldels the cameras:
    cam1 = Camera.getCamera("0"); //Bult-in Front Camera
    cam2 = Camera.getCamera("1"); //Bult-in Back Camera
    cam3 = Camera.getCamera("2"); //USB Webcam
    vid1.attachCamera(cam1);
    vid2.attachCamera(cam2);
    vid3.attachCamera(cam3);
    It works like normal at first, but if I connect another camera, or disconnect a camera, that camera's view freezes, but flash still thinks it's connected, and "Camera.names" still lists it.
    I also tried calling this code every 500ms with setInterval, but with the same result.
    How can I get flash to update the Camera API when a camera is connected/disconnected?

    Well, that worked for droping the connections to the cameras, but the camera list still won't reload. If I connect anthother, it can't tell, same if I unplug one.
    Maybe I can attach to as many cameras as I can, and then disconnect any that aren't sending new frames. Is there any way to do that?

  • I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I have an external camera, IceCam2, connected to my MacBook Air, but I cant switch to the camera when I try to use videocam on a websayt. How do I switch from internal to externl camera? In use is Adobe Flash Player, but I cant open that program, is the s

    I think the McAfee suite will do the trick when I pay them a one-time fee of $69 or $179 for a year for unlimited support.
    Your call of course but IMO a waste of money. Please read this first:
    There are many forms of ‘Malware’ that can affect a computer system, of which ‘a virus’ is but one type, ‘trojans’ another. Using the strict definition of a computer virus, no viruses that can attack OS X have so far been detected 'in the wild', i.e. in anything other than laboratory conditions. The same is not true of other forms of malware, such as Trojans. Whilst it is a fairly safe bet that your Mac has NOT been infected by a virus, it may have another security-related problem, but more likely a technical problem unrelated to any malware threat.
    You may find this User Tip on Viruses, Trojan Detection and Removal, as well as general Internet Security and Privacy, useful:
    https://discussions.apple.com/docs/DOC-2435
    The User Tip (which you are welcome to print out and retain for future reference) seeks to offer guidance on the main security threats and how to avoid them.
    More useful information can also be found here:
    http://www.reedcorner.net/mmg/

  • Camera API problem after app crashed (winrt)

    Dear Sirs.
    I am developing windows phone runtime app (8.1) and testing it on my Nokia Limia 520 smartphone.
    I work with Camera Api (CameraPreviewImageSource from Nokia.Graphics.Imaging (Nokia Imaging SDK v 1.2.151 from NuGet)). But I think this package is not important info.
    Sometimes, after using camera api many times, for instance more than 30th the app crahes. The reason of app crash in my view not important too. (Of course it is important but I ask about restore phone state after the app crashes because it may happens after
    the memory consumption exception for example)
    I think because app crahes I don't call Dispose method for Camera Api and after I restart the app I see the green screen in the view where I use camera api to show user images from the camera. Also I see the green screen when I launch the standart app for capturing
    photo.
    It will fix only when I restart the phone.
    I have tried to do the following things:
    1) Add handler for OnSuspending event:
      private async void OnSuspending(object sender, SuspendingEventArgs e)
                var deferral = e.SuspendingOperation.GetDeferral();
                //cleanup camera resources
                await CleanupCaptureResourcesAsync();
                deferral.Complete();
    2) Add handler for OnUnhandledException event:
    private void OnUnhandledException(object sender, UnhandledExceptionEventArgs e)
            e.Handled = true;
            CleanupCaptureResourcesAsync().GetAwaiter().GetResult();
            Frame rootFrame = Window.Current.Content as Frame;
            if (rootFrame!=null) rootFrame.Navigate(typeof (BlankPage11), null);
    CleanupCaptureResourcesAsync method:
     public async Task CleanupCaptureResourcesAsync()
                if (CameraPreviewImageSource != null)
                    CameraInitialized = false;
                    await CameraPreviewImageSource.StopPreviewAsync();
                    CameraPreviewImageSource.Dispose();
                    CameraPreviewImageSource = null;
    It is works when I relaunch the app (manualy close and start it again). But when exception occurs it is not works.
    Could you please help me? How can I handle an exception, or if it not possible in some ways (as I have read at https://msdn.microsoft.com/en-us/library/dn532194.aspx) is there any way to restore Camera Api after app launched again (after crash)?
    Best regards,
    Aleksandr Terentev

    Thank you for your answer.
    However, I think the WinDebug wouldn’t help me enough. Because apps may crash in many situations. In my view I need either app global exception mechanism for the purpose of releasing camera api by calling Dispose method when an exception
    occurs or mechanism for restoring the state of the phone camera api after app has crashed.
    Yes, I can save the realtime app status but it wouldn’t help. Because when you try to initialize camera api again it wouldn’t work because the app didn’t call Dispose method and didn’t release the phone camera api.
    This situation is described in the MSDN article:
     “It is extremely important that you properly shut down and dispose of the MediaCapture object and related objects when your app is suspended. Failure to do so could interfere with other apps accessing the device's camera which will
    result in a negative user experience for your app.”  
    (https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn642092.aspx)
    But when the app crashes, OnSuspending event won’t be triggered, in my view. Therefore, after this no one app can use the camera and you have to restart your phone.

  • Can not open camera raw from 70d to adobe photoshop cc

    can not open camera raw from 70d to adobe photoshop cc

    In Photoshop, click Help > Updates
    You need at least Camera Raw 8.2.
    Photoshop CC ships with Camera Raw 8.0.

  • Rendered images are not appearing on the webpage. works fine on IE. All plugins appear to be present includeing Adobe Flash

    rendered images are not appearing on the webpage. works fine on IE. All plugins appear to be present including Adobe Flash

    If that only happens on a specific page or domain then make sure that you do not block images on that domain.
    See [[Images or animations do not show]]
    *A way to see which images are blocked is to click the favicon (<i>Site Identification</i> icon) on the left side of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of that "Tools > Page Info" window.
    *Select the first image link and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    *You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
    *You can see all image exceptions in Tools > Options > Content: Load Images > Exceptions

  • Hello,  I presently licensed adobe creative suite 5.5 design standard for windows.Est-what is possib

    Hello,
    I presently licensed adobe creative suite 5.5 design standard for windows.Est-what is possible to exchange the license for Windows Mac Ios? you return me a message with a # which is 144561396 but I'm not a very comfortable chat in English. then please is it possible to reondre me by email? else return me an email to tell me or I just have this information.
    thank you very much for your help is very apreciated
    Brigitte.

    You cannot switch the platform for legacy versions, only current ones./
    Vous ne peut pas echanger les versions d's system d' operation pur versions anciennes, seulement versions currente.
    Order an Adobe product platform swap or language swap
    Mylenium

  • In firefox auroras new camera API I am only getting 320x240 resolution images. Is this configurable?

    While testing Firefox Aurora's new Camera API I found that I'm only receiving 320x240 png files. For our needs this would have to be a higher resolution image. Is this configurable? Or is this an issue with the device or something else?
    I'm using the Samsung Galaxy Nexus S.

    It is a limitation of the initial version. We have improved it, interfacing with the default camera app on the phone. We plan to release this change in Firefox 11.

  • HELP!!  I am trying to record a presentation on Adobe Presenter 10, I have had no problems in the past, I added motion to some of the boxes in my presentation, now when I try to record I get this error message!!! Adobe Presenter

    HELP!!  I am trying to record a presentation on Adobe Presenter 10, I have had no problems in the past, I added motion to some of the boxes in my presentation, now when I try to record I get this error message!!! 
    Adobe Presenter
    Adobe Presenter has encountered an unexpected problem while
    working with this presentation.  Try saving your work to a new file and
    restarting PowerPoint.  If the problem persists, consult the Help menu
    item, or contact support at http://www.adobe.com/support/presenter.

    Please provide your system specification. Also is it happening on a specific presentation or every presentation.
    Regards,
    Rajeev.

  • I'm trying to watch an audio enhanced presentation using Adobe. I'm able to view the slideshow however, the audio is missing. Any suggestions?

    I just purchased my firt MacBook and am having some trouble running Adobe. I'm trying to view an enhanced video presentation using Adobe Flash Player. I can see the slideshow, but the audio is missing. I've downloaded a recent flash player and reader but I get nothing. Any ideas?

    If your computer is running Snow Leopard, and is not at 10.6.8, you could use
    Software Update to get final Combo Update 10.6.8 v. 1.1 for Snow Leopard.
    Aside from that (you may have already done so) here is a free-running
    application that may help your line-in audio, by the name of LineIn
    http://www.rogueamoeba.com/freebies/ and it suggests possibilities.
    There also are USB input methods using those for audio; not sure what
    is still available, a few great ones no longer were. One from Belkin a few
    years ago, called the iMic, offered great options over USB.
    Hopefully the free application can help.
    Good luck & happy computing!

  • Input for Mobile Devices: Camera | ADC Presents | Adobe TV

    How can you take advantage of the camera integrated in most mobile devices?  Paul Trani shows you how to create an app that uses the native camera application.
    http://adobe.ly/wQqFu4

    doesn't work, picture loads randomly anywhere...

  • Re:Dreamweaver / Phonegap Camera support

    Hi,
    I am trying to get the camera to work in my android device (samsung N7000)
    I create the apk file using the phonegap build service in DW6 and it shows no errors.
    Howerver, when I install the app onto the device and run the app it does not trigger the camera?
    Is there a trick to getting the camera to work when creating apps on DW6 using the phonegap build service built in to it?
    this is the config.xml file i am using
    <?xml version="1.0" encoding="UTF-8" ?>
        <widget xmlns   = "http://www.w3.org/ns/widgets"
            xmlns:gap   = "http://phonegap.com/ns/1.0"
            id          = "com.phonegap.camera_test"
            versionCode = "11"
            version     = "1.1.0" >
    <name>test</name>
    <description>
        bla
    </description>
    <author href="http://bla.github.com"
        email="[email protected]">
        bla
    </author>
    <icon src="icon.png" gap:role="default" />
    <feature name="http://api.phonegap.com/1.0/geolocation"/>
    <feature name="http://api.phonegap.com/1.0/network"/>
      <feature name="http://api.phonegap.com/1.0/file"/>
      <feature name="http://api.phonegap.com/1.0/camera"/>
      <feature name="http://api.phonegap.com/1.0/media"/>
      <feature name="http://api.phonegap.com/1.0/device"/>
      <feature name="http://api.phonegap.com/1.0/notification"/>
      <feature name="http://api.phonegap.com/1.0/battery"/>
    <preference name="orientation" value="portrait" />
    <preference name="webviewbounce" value="false" />
    <preference name="prerendered-icon" value="true" />
      <preference name="phonegap-version" value="3.1.0" />
      <preference name="fullscreen" value="false" />
      <preference name="stay-in-webview" value="false" />
      <preference name="ios-statusbarstyle" value="default" />
      <preference name="android-minSdkVersion" value="7" />
      <preference name="android-installLocation" value="internalOnly" />
      <preference name="target-device" value="universal" />
      <preference name="autohide-splashscreen" value="true" />
      <preference name="load-url-timeout" value="60000" />
      <preference name="show-splashscreen-spinner" value="true" />
      <preference name="show-splash-screen-spinner" value="true" />
      <preference name="allow-inline-media-playback" value="false" />
      <preference name="launch-mode" value="standard" />
      <plugin name="Capture" value="CDVCapture" />
      <plugin name="Camera" value="CDVCamera" />
    </widget>
    the index.html file is :
        <script src="phonegap.js"></script>
        <script type="text/javascript" charset="utf-8">
            // Called when capture operation is finished
            function captureSuccess(mediaFiles) {
                //var i, len;
                //for (i = 0, len = mediaFiles.length; i < len; i += 1) {
                //    //uploadFile(mediaFiles[i]);
                //navigator.notification.alert('Weee', null, 'Great success!');
            // Called if something bad happens.
            function captureError(error) {
                //var msg = 'An error occurred during capture: ' + error.code;
                //navigator.notification.alert(msg, null, 'Uh oh!');
            // A button will call this function
            function captureImage() {
                // Launch device camera application,
                // allowing user to capture up to 2 images
                navigator.device.capture.captureImage(captureSuccess, captureError, { limit: 2 });
            // Upload files to server
            function uploadFile(mediaFile) {
                var ft = new FileTransfer(),
                    path = mediaFile.fullPath,
                    name = mediaFile.name;
                ft.upload(path,
                    "http://my.domain.com/upload.php",
                    function (result) {
                        console.log('Upload success: ' + result.responseCode);
                        console.log(result.bytesSent + ' bytes sent');
                    function (error) {
                        console.log('Error uploading file ' + path + ': ' + error.code);
                    { fileName: name });
        </script>
        <script type="text/javascript" charset="utf-8">
            var pictureSource;   // picture source
            var destinationType; // sets the format of returned value
            // Wait for Cordova to connect with the device
            function onLoad() { document.addEventListener("deviceready", onDeviceReady, false); }
            // Cordova is ready to be used!
            function onDeviceReady() {
                pictureSource = navigator.camera.PictureSourceType;
                destinationType = navigator.camera.DestinationType;
                alert("device is ready");
            // Called when a photo is successfully retrieved
            function onPhotoDataSuccess(imageData) {
                // Uncomment to view the base64 encoded image data
                // console.log(imageData);
                // Get image handle
                var smallImage = document.getElementById('smallImage');
                // Unhide image elements
                smallImage.style.display = 'block';
                // Show the captured photo
                // The inline CSS rules are used to resize the image
                smallImage.src = "data:image/jpeg;base64," + imageData;
            // Called when a photo is successfully retrieved
            function onPhotoURISuccess(imageURI) {
                // Uncomment to view the image file URI
                // console.log(imageURI);
                // Get image handle
                var largeImage = document.getElementById('largeImage');
                // Unhide image elements
                largeImage.style.display = 'block';
                // Show the captured photo
                // The inline CSS rules are used to resize the image
                largeImage.src = imageURI;
            // A button will call this function
            function capturePhoto() {
                // Take picture using device camera and retrieve image as base64-encoded string
                navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
                    quality: 50,
                    destinationType: destinationType.DATA_URL
            // A button will call this function
            function capturePhotoEdit() {
                // Take picture using device camera, allow edit, and retrieve image as base64-encoded string
                navigator.camera.getPicture(onPhotoDataSuccess, onFail, {
                    quality: 20, allowEdit: true,
                    destinationType: destinationType.DATA_URL
            // A button will call this function
            function getPhoto(source) {
                // Retrieve image file location from specified source
                navigator.camera.getPicture(onPhotoURISuccess, onFail, {
                    quality: 50,
                    destinationType: destinationType.FILE_URI,
                    sourceType: source
            // Called if something bad happens.
            function onFail(message) {
                alert('Failed because: ' + message);
        </script>
    </head>
    <body onLoad="onLoad()">
        <button onclick="capturePhoto();">Capture Photo</button> <br><br>
        <button onclick="capturePhotoEdit();">Capture Editable Photo</button> <br><br>
        <button onclick="getPhoto(pictureSource.PHOTOLIBRARY);">From Photo Library</button><br><br>
        <button onclick="getPhoto(pictureSource.SAVEDPHOTOALBUM);">From Photo Album</button><br><br>
        <img style="display:none;width:60px;height:60px;" id="smallImage" src="" />
        <img style="display:none;" id="largeImage" src="" />
        <br><button onclick="captureImage();">Capture Image</button> <br>

    This forum is actually about the Cloud, not about using individual programs
    Once your program downloads and installs with no errors, you need the program forum
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll
    http://forums.adobe.com/community/dreamweaver

  • Adobe AIR with Captive Runtime Support for Mobile | ADC Presents | Adobe TV

    In this video, Technical Evangelist Andrew Trice covers Adobe AIR with captive runtime support for mobile application development, which will benefit your Flash Builder projects for the Android OS.
    http://adobe.ly/wyNYjD

    Witch version of flash builder is this?

  • Design the Web with Edge Animate | ADC Presents | Adobe TV

    Sarah Hunt, product manager, shows you powerful new features in Adobe Edge Animate, including CSS filters, gradients, and a visual UI for web fonts.
    http://adobe.ly/WL4JoW

    I know English relatively well but it isn't my native language. Sarah Hunt is nice girl, and her knowledge is great I hope but when she speaks I can only understand a few words. Another your speaker Paul Trani speaks so fast as well but every word one can understand.

Maybe you are looking for

  • ITunes could not connect to the iPhone " iPod"  because an error occured while reading from the device

    Please help me i need new music and i can't do anything because of this. I tried uninstalling and reinstalling itunes but the problem still exists.

  • DAM Search by Tag-- Group Tag parameter is excluded

    I Have Tag structured like below companyname:Topic      companyname:Topic/Articles      companyname:Topic/videos      companyname:Topic/casestrudies On of the resource is taged as "companyname:Topic". In the DAM content finder. if i check the checkbo

  • IPhone keyboard help needed

    Hello all, Hope all will be doing good. I have one text box in my application, when i runs my program and tries to write something in the textbox, there comes a pop up keyboard. Now when i finishes my typing work and presses enter, the keyboard still

  • Adobe Photoshop used in school....

    Hallo folks, I really don't know where to ask this questions as I can't seem to get a hold of ANY email address for an Adobe office in the UK to ask this question so here goes. What I'm after is just a link from an Adobe staff member who could supply

  • Pop-up box with drop-down

    Hi, I got a requirement where when the reject decision box is clicked a pop-up with reject for reason should be displayed in a drop-down list box.Kindly help me on how to achieve this ?