using the AIR SDK Beta 10 camera

Hello

I try to transfer my playbook to the BB10 sdk air application. It seems rather easy. But I have a problem of access to the camera. I wonder if it's a bug or a feature missing from the current beta.

The way I access the camera is quite standard:

: camera var = Camera.getCamera ();

...

camera.setMode (800, 400, 15, true);

Video: video of var = new Video (camera.width, camera.height);

video.attachCamera (camera);

addChild (video);

When debugging I get the object camera but it not to broadcast anything (fps = 0).

Thank you for your help,

Toby

I fixed it! In fact, I used

camera.setMode (1024,600,15)

When you switch to a different mode the camera image is displayed correctly.

Tags: BlackBerry Developers

Similar Questions

  • Use the AIR sdk in a Panel

    Hello

    I'd love to be able to access the file with an expert system. I read that after cs5 panels using the infrastructure of the AIR, but I'm not entirely sure how to use it. I am currently using the sdk flex 3.4.0 that was required for CS4. How can I do to upgrade to the AIR sdk?

    Thank you

    Cameron

    I just converted one of mine. The magic is in .actionScriptProperties. Change this:

    useApolloConfig = 'true '.

    with a text editor. I leave Flex * before editing it. My icon in Flex it still shows that Fx instead of the icon of AIR but the AIR feature works.

  • How to access the camera in the Blackberry Playbook using Adobe Air SDK (in Flash builder Burrito)

    Hi all

    How to access the camera in the Blackberry Playbook using Adobe Air SDK (in Flash builder Burrito).

    Provide me with examples of coding please.

    Thanks in advance.

    With respect,

    Sampath

    Not possible yet. See http://docs.blackberry.com/en/developers/deliverables/21880/Known_issues_1360895_11.jsp

  • Adobe AIR 22 beta (April 6, 2016), 'Download AIR SDK & compile for Windows' file does not? After I download and visualize the 'air - SDK - description.xml', the version is 21?

    Adobe AIR 22 beta (April 6, 2016), 'Download AIR SDK & compile for Windows' file does not? After that I have download and view the 'air - SDK - description.xml',

    < name > AIR 21.0.0 < / name >

    < version > 21.0.0 < / version >

    Hello

    We have fixed this problem. Please download a second time to get 22 AIR beta build.

    Thank you

    Krati

    Adobe AIR Team

  • Which version of the AIR SDK to use for BB10

    Hello

    I recently moved my dev to a new Mac environment, so I had to reinstall everything, I installed the BB 3.0 sdk and robbed the air sdk 3, 4, I can compile an application, I've migrated any signature and debug tokens (which is good, cards app are OK), but whenever I try to launch my AIR on the BB10 application It opens and closes immediately before anything, even a simple HelloWorld fails.

    Is it because I compiled against sdk 3.4 AIR?

    Sites of dev clearly indicates "Adobe AIR SDK 2.6 or later", which miss me so much?

    Thank you!

    Currently, we currently support only AIR version 3.1. As Tim mentioned here we will update 3.3 or 3.4 in the future.

    I'll test this, but your application should be supported if you have the latest version of the SDK installed and the target AIR 3.1.

    I'll make sure that dispel us any confusion in our documentation and SDK Installer software.

    Kind regards

    Dustin

  • The AIR SDK upgrade to 3.8 in Flash Builder 4.7...

    I use Flash Builder 4.7 on a Mac using OS X 10.7.5.

    I downloaded the AIR SDK here: http://airdownload.Adobe.com/air/Mac/download/latest/AdobeAIRSDK.tbz2

    (The one WITHOUT the compiler, because it is the one that says it's compatible Flex.)

    I followed all the instructions here: http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html

    I changed the Application descriptor on my Mobile ActionScript project to this: http://ns.Adobe.com/air/application/3.8 and he recorded without error.

    Yet, whenever I try to launch the project, I get the following error:

    Error occurred during the application of packaging: Users/my_name/Documents/Adobe Flash Builder 4.7/my_project/bin-debug/my_project-app.xml: error 102: invalid namespace http://ns.Adobe.com/air/application/3.8

    WTF is going on here, I should then?

    Thanks for any help you can give me.

    Laurence MacNeill

    Mableton, Georgia, USA.

    Never mind - I thought of it myself...

    You need to download the version of the SDK * WITH * the compiler (here:http://www.adobe.com/devnet/air/air-sdk-download-mac.html ) and then delete the contents of the folder/Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK and replace them with the contents of the AIRSDK_Compiler.tbz2 file that you downloaded.

    So - to be clear that you have to do BOTH of these things - the thing I did in my first post with the overlay, AND the thing I did in this post with the contents of the folder AIRSDK replacement to make it work properly...

    I wish that when you google "How to upgrade AIR SDK in Flash Builder 4.7" it would return to a single page with these TWO sets of instructions on them.

    In any case, the problem is now solved...

    L.

  • I have three questions: 1) what can I play the shuffle through my car stereo system? (2) can I download music on Amazon? (3) can I use the a/c plug that came with my Kindle to load form a socket a/c?

    (1) can I play my shuffle through my ca stereo?

    (2) can I download music on Amazon?

    (3) can I use the a/c plug that came with my Kindle to charge the shuffle of a socket a/c?

    (1) you will need to check the documentation for the stereo system in your car for devices supported, to ensure compatibility with the USB port on the car stereo system.  If the car has a "taken auxiliary input" (a mini jack stereo - looks like the headphone jack), you can connect the shuffle (or any device) it and 'play' the shuffle.

    (2) music from Amazon is in regular MP3 format.  MP3 work with iTunes; You can add MP3 files to iTunes from any source.  Once in iTunes, you can synchronize files MP3 song for the shuffle, in the same way as a song on iTunes Store AAC files.  There is no difference.  NOTE: Amazon has a Mac app to add songs purchased directly in the iTunes library.

    (3) may, if it provides sufficient power, and it has a standard USB port on this subject.  We recommend that you use USB port on the computer or an Apple power adapter.

  • Compare 2 PDF of the file through the command line using the Acrobat SDK

    Hello

    I want to compare 2 by command line of the PDF using the Acrobat SDK, is it possible?

    My needis to create Automation for comparison in .net, c# technology to compare files of 100.

    Could you be it someone at - it one please let me if the Acrobat SDK kit supports integration with .NET and is it possible to call the term comapere.

    OK, Acrobat is not suitable. It is not technically suitable for the server; also no license. It doesn't have a command line, only OLE user interface.

    There are Acrobat PDF library, allowing development in C/C++. But I think that there is no function to compare. You will need to implement one yourself, which is a probably a lot of work. What kind of comparison do you want? If you just want to know if the files have changed at all you can use all the checksums without any API. Or are you looking for any Visual change? Or text change...?

  • I bought CS4 - have the box etc serial # - use an IMac with Snow Leopard - went to use the bridge and a screen came saying Adobe Bridge HOme Service was interrupted to concentrate on other resources... uh, I bought this software and how can we now

    I bought CS4 - have the box etc serial # - use an IMac with Snow Leopard - went to use the bridge and a screen came saying Adobe Bridge HOme Service has been discontinued for focus on other resources... uh, I bought this software and how it can now be 'gone '? Pls help - bridge is very convenient and I paid for it!

    See here:

    Deleted Adobe Bridge Home service

  • Is it the AIR SDK difficulty iPhone 15.0.0.302 6 more the size of the screen?

    Hi all

    There is a known issue for AIR SDK 15.0.0.302 who said the iPhone 6 and reports the size of screen evil. Is - it still a known issue in the version release of the AIR SDK? I do not have a 6 more, if I'm not sure what this means for our applications? Or how to to check what he will seek in a simulator. Is there a way?

    Thank you!

    NM, looks like this is bug #3829474.  Bug notes, we have this problem in the Simulator, but the real device is always make an incorrect scale size (via apple APIs.)  The last bug comment suggests that this should be tested again in the next update of iOS.

  • Using the ThinApp SDK of PowerShell

    For PowerShell fans out there, you can use the ThinApp SDK of PowerShell.

    See my post using the ThinApp SDK of PowerShell .

    ____________

    Blog: LucD notes

    Twitter: lucd22

    Exciting to you see pick up the ThinApp SDK so fast!

    The target audience is not limited to people of Visual Studio, we want to make the SDK easily accessible from environments as much as possible, it is certainly PowerShell. If there is anything we can do to make life easier in your environment, let know us and we will try to accommodate you (the example is the apparent lack you mentioned).

    To prepare the environment, all you need to do is copy ThinAppSDK.dll and ThinAppSDKSrvr.exe in the same directory and run "regsvr32 ThinAppSDK.dll" (from the elevated command prompt). There is no need to manually start ThinAppSDKSrvr.exe. ThinAppSDKSrvr.exe is used when you access the ThinApp SDK from a 64-bit application and is automatically started by Windows when necessary.

    Maybe a little technical background: ThinAppSDK.dll is the DLL that implements the ThinApp SDK as ThinApp.Management objects. It is a 32-bit DLL, if you create an object ThinApp.Management to a 32-bit process Windows will load ThinAppSDK.dll into this process (if the DLL has been registered properly with regsvr32). However, it is not possible to load a 32-bit DLL into a 64-bit process. So if you try to create an ThinApp.Management object from a 64-bit process, ThinAppSDK.dll cannot be loaded directly in this process.

    This is where ThinAppSDKSrvr.exe comes. Windows will detect this situation and will automatically launch ThinAppSDKSrvr.exe. Given that ThinAppSDKSrvr.exe is a 32-bit application, it can load ThinAppSDK.dll very well. Windows then 'send' ThinApp SDK calls (for example, the GetThinAppType method call) process 64-bit ThinAppSDKSrvr.exe, who will forward in turn to ThinAppSDK.dll. The result will be reflected back from ThinAppSDK.dll to ThinAppSDKSrvr.exe via Windows 64-bit application. This may seem complicated, but everything happens behind the scenes, you should not have to worry about this.

    Therefore, the ThinApp SDK actually does support 64-bit applications. I just tried and launched a PowerShell 64 bit on Win7 x 64. I have had no problems running your samples. Not sure why it did not work for you.

  • What's new in the AIR SDK 3.1.4880?

    I just noticed that you silently updated the AIR SDK 3.1 to 3.1.4880.

    By comparing the files you can see 23 files have been updated to January 9, 2012.

    Source SDK 3.1 has been November 7, 2011.

    Why you do not include a file "what's new" in the ZIP file?

    I guess that this new generation is just a bug in output, but you could still tell what is corrected.

    So what is the difference between this latest SDK 3.1 (build 4880) and the older 3.1?

    Kind regards

    OMA

    He was mainly associated with liberation (ice cream sandwich) ICS.  Here are the release notes:

    Developer release notes

    Chris

  • How can I know the size of the screen of the moniter of users using the Acrobat SDK?

    How can I know the size of the screen of the moniter of users using the Acrobat SDK? I need to know how much real estate sreen which is available on the moniter to users. Is there some call I can do the SDK to find out the maximum X and is coordinated?

    Thank you

    Gregory

    Just responded to your other thread:

    AVWindowGetDesktopBounds()

    Even takes into account the task bar on Windows, the menu bar on Mac, etc.

  • Connect iPad Pro 12.9 "on PC 3 USB port using the new USB 3 iPad camera connection kit

    Hello. I would like to connect my iPad Pro 12.9 "to my PC using the speed of the USB 3 port of lightning of the iPad for faster synchronization with back ups. I bought the new camera USB 3 connection and A kit to A 3 USB cable, put everything together and down to iTunes, but it does not recognize the iPad. Has anyone tried this before?

    You don't need the Camera Connection Kit for this. Connect your iPad to your PC using the lightning to the USB cable supplied with the iPad.

  • New files created when to split a PDF file using the Adobe SDK are much higher than expected

    Hello. I use the kit Adobe SDK to split large PDF into a set of small PDF files, using a set of page ranges. I created 2 PDDocs.  One is for the original PDF, which I open it.  In the other, I insert a range of pages of the original.  I'm doing this for each set of pages.

    objPDDocNew.InsertPages (-1, objPDDoc, startPage - 1, lngPageCount, 0)

    It works fine, except that the combined size of the smaller PDF files is 10 or more times the size of the original PDF file! Y at - it an explanation for that? Y at - it a setting that I can put to reduce the size of the output files? I run my program of my Windows 7 desktop that has Adobe Acrobat XI. Thanks for any help you can provide.

    You can get an idea on what elements are the use of how much space in the PDF file by opening the various Acrobat Pro files, and then select file > save as other > optimized PDF - then click on the "Use of space Audit" button in the upper right corner of the dialog box that opens. When you compare the use of the space of your source files with the file target that you can discover what is causing the increase in the size.

Maybe you are looking for