BB10 mx.utils

using the latest SDK BB10 in FB 4.6:

import mx.utils.UIDUtil;

don't not found/missing

a mx.utils moved, or what I have to add a SWC to the path of compilation?

Kind regards

I don't know the exact swc, but the location for them is:

[Flash builder install dir]\sdks\4.6.0\frameworks\libs

You wouldn't add them if you have created a Flex Mobile project. If you have created a mobile project AIR it will not add the default Flex classes.

See you soon,.

Dustin

Tags: BlackBerry Developers

Similar Questions

  • BlackBerry.utils does not properly

    Blackberry.utils package does not work as described in the last SDK WebWorks.

    First, the space of names so that it won't, according to documentation, it should be Blackberry.utils, but it's actually just "Utils" (at least for me). Bar package manager can not find a feature with the id "blackberry.utils" unless you manually change the manifest to say "blackberry.utils" instead of just "utils".

    But even in this case, missing funtions as blackberry.utils.stringToBlob.

    For this reason I cannot create/save/load files using the SDK WebWorks, is this a problem on my end or there at - it something wrong with this version of the SDK? (I already tried to reinstall)

    Ah yes, that would explain then. The Utils API is not available on BlackBerry 10:
    https://developer.BlackBerry.com/BBOS/HTML5/APIs/BlackBerry.utils.html

    It was available on BBOS and PlayBook. If we check the BB10 docs, it is more listed in the API reference:
    https://developer.BlackBerry.com/HTML5/APIs/

    To save/load/create the files using the SDK software BlackBerry 10, we now have the HTML5 Filesystem APIs, which shouldn't require the Utils APIs:
    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.IO.html

  • URLStream BB10 memory leak

    I use this code to download large files from server. It works very well on PlayBook OS (I can upload a few files of concerts), but when I use it in the same application on BB10, it crashes after about 300 MB download.

    I noticed that it crashes because the memory is full.

    package
    {
        import flash.events.*;
        import flash.filesystem.*;
        import flash.net.*;
        import flash.utils.*;
    
        public class SaveFile
        {
    
            private var _file:File = null;
    
            private var _URLStream:URLStream;
            private var _fileStream:FileStream;
    
            private var _downloadComplete_bool:Boolean = false;
            private var _pos_int:uint = 0;
    
            public function SaveFile($path:String = "", $file:File = null)
            {
    
                this._file = $file;
    
                _URLStream = new URLStream();
                _fileStream = new FileStream();
    
                var _request:URLRequest = new URLRequest($path);
    
                _fileStream.addEventListener(OutputProgressEvent.OUTPUT_PROGRESS, onOutputProgress);
                _fileStream.openAsync(_file, FileMode.WRITE);
    
                _URLStream.addEventListener(ProgressEvent.PROGRESS, onProgress);
                _URLStream.addEventListener(Event.COMPLETE, onComplete);
                _URLStream.load(_request);
    
            }
    
            private function onComplete(e:Event):void
            {
    
                if (_URLStream.bytesAvailable > 0)
                {
    
                    var _bytes:ByteArray = new ByteArray();
                    var _start:uint = _pos_int;
                    _URLStream.readBytes(_bytes, _start);
                    _fileStream.writeBytes(_bytes, _start);
    
                }
                _downloadComplete_bool = true;
            }
    
            private function onProgress(e:ProgressEvent):void
            {
                var _bytes:ByteArray = new ByteArray();
                var _start:uint = _pos_int;
                _pos_int += _URLStream.bytesAvailable;
    
                _URLStream.readBytes(_bytes, _start);
                _fileStream.writeBytes(_bytes, _start);
            }
    
            private function onOutputProgress(e:OutputProgressEvent):void
            {
                if (e.bytesPending == 0 && _downloadComplete_bool)
                {
    
                    _URLStream.close();
                    _fileStream.close();
                    _file.downloaded = true;
                }
            }
    
        }
    
    }
    

    You know no work around for this problem? I tried to put the ByteArray null after each write operation, but that does not change.

    Thank you in advance.

    I hope you can help.

    var onProgress:Function = function( e:ProgressEvent ):void
    {
        if ( bytesPending > MAX_PENDING )
        {
            readBlocked = true;
        }
        else if ( stream.connected )
        {
            stream.readBytes( bytes, bytes.length, Math.min( stream.bytesAvailable, MAX_READ ) );
    
            if ( bytes.length > 0 )
            {
                streamBuffer.writeBytes( bytes );
                            bytes.clear();                 }
    

    bytes is a ByteArray, which is initialized when the request s first sent...

  • Post-mortem debugging - dumper utility

    Hello

    BB10 document mentions on post-mortem debugging using a dumper utility. But when I SSH to BB10 and try to issue the command "dumper", it is said that the command does not exist. Can anyone help?

    My application crashes intermittently, so I wish I had a way to capture information like what this truck.

    Thanks in advance,

    The dumper is running in the background and runs automatically when your program crashes, if you don't have to do anything yourself to generate the image. Use the target file system browser in Momentics for the dump file (yourapp.core) from the directory of newspapers in the sandbox of your application. Use the browser to copy it somewhere and then tell the post mortem debugger where you put it.

    yaiba24 wrote:

    Hello

    BB10 document mentions on post-mortem debugging using a dumper utility. But when I SSH to BB10 and try to issue the command "dumper", it is said that the command does not exist. Can anyone help?

    My application crashes intermittently, so I wish I had a way to capture information like what this truck.

    Thanks in advance,

  • Cloning of SSD HD via active with Filevault disk utility

    Hi all

    I want to improve my HD to SSD.

    I intend on using disk utility for recovery mode to clone my HD to a Virgin SSD I bought.

    I must, however, Filevault enabled on my HD.

    It will be a problem when it comes to cloning the drive?

    Thank you

    Adam

    No, it shouldn't be a problem. It may be necessary first turn on FileVault and encrypt the SSD. But if there is no problem just turn off FileVault on the HARD drive.

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • Download Airport utility

    Tried to download the Airport 6.3.1 utility for mac, but get this: "Airport utility cannot be installed to this disk. Th version of Mac OS X on this volume is not supported. "I have MAC OS X 10.11.6

    You already have a newer version 6.3.6 of AirPort Utility installed on your Mac... Since the AirPort Utility is part of the Mac operating system.

    Open Finder > Applications > utilities > utility AirPort to confirm.

    6.3.1 airPort utility could only be installed if you are using a much longer operating system on your Mac.

  • Can I create a recovery bootable USB through disk utility?

    My HARD drive is dying, I can't access my Macintosh HD partition anymore and I can't reinstall OS because I SMART errors. Before the format and reinstall the attempt to load slow my computer, random errors, etc. So I definitely think that the HARD drive is near death. My plan is to replace my HDD for a Virgin SSD, I perform this task several times on computers of the victory but for MAC, I wonder how I will load the new OS. Can I make a bootable USB with the recovery partition, but on a USB key tools? Unofrtunately I have more available Mac to create the USB bootable through itunes.

    My computer is the MacBook Pro (13-inch mid 2010), I have also all original packaging somewhere, if there is a CD that I can use, I certainly can get too.

    Any advice?

    Thank you!

    Apple have this to do a USB installation...

    Create an installer for OS X - Apple support bootable

    Another option is to use the diskmakerx.com application

    You must have the OS installer downloaded to make these methods of work is probably not practice on your failed drive.

    Both of these options are to run a 'normal' operating system too. The recovery partition is not 'normal '.

    Another option is to use the Internet recovery mode if your Mac supports...

    Computers that can be upgraded to use OS X Internet Recovery - Apple Support

    On macOS recovery - Apple Support

    Use wired ethernet for best results, since it will download a bootable OS & then download the installer of the OS also.

    I suspect you have the update of the firmware installed to add this feature if it has been updated over the last 3 years

    You may be able to generate a score of alternative recovery to another disk (such as a USB key) If you want to just "compensation of base OS.

    OS X: on Recovery Disk Wizard - Apple Support

    A last solution would be to clone your drive failing on an external drive (or use the new SSD in a proper case). That can be done in the modes of recovery via disk utility. Basically, you use a feature to "restore" to clone one volume to another. (I don't see clear instructions for the moment so ask if you want to pursue this option).

  • Disk utility does not see an external drive on my network

    I'm trying to reformat the external drive that I use for backup on Time Machine, but disk utility does not see it. She appears in the Finder as a shared drive. I use OS x 10.11.6. Thank you.

    Disk utility is not supposed to see the network drives.

    If it's a USB, connect it to your computer.

    If it's an Ethernet or wireless, using a utility specifically designed for this.

    (145027)

  • Disk utility first aid operation was unsuccessful and iMac freezes when it is reloaded

    iMac Intel Core (2010) 320 GB 4 GB of RAM.  Running OS 10.11.6

    Started computer, white screen appeared with the icon of a folder with an exclamation mark in the folder.  Nothing else to do, so restarted iMac, hold down the command and 'r' to open disk utility.

    Ran first aid, recommended "incorrect block are 1172 instead of 601.  File system check or repair a failure.  Operation failed. "" "First aid running not a, if possible save the data on this volume.  Click OK to continue. »

    Discount to zero is successful, but screen is frozen with no access to the hard drive.  I can't open the preferences system due to frost.

    The circle of rainbow of spinning of death continues to run so I am not able to get any other repair mechanism.

    Anyone have any ideas on how to proceed?  The iMac is obviously not able to boot to the hard drive.

    This probably means the HD has failed and must be replaced. How you proceed, is to take the computer to your local Apple authorized provider who can help replace the disk and get you back in business. If you are not aware of any local could be held, please click the following link to start to find one close to you.

    https://locate.Apple.com/country

  • air port utility

    Hello!

    I want to change the name of the base station and the password for it, and I use air port express 802.11n (2nd generation).

    The hard reset, soft reset in express air fitting is long so don't want to use it.

    Is it possible (using as book Mac - latest Mac OS Sierra air.

    Thank you!

    Hi there, tygb!

    Thank you for joining the communities Support from Apple! It's a big question about changing the name and the password for your base station. Read this article here with the steps to use 6.x AirPort Utility: change your base station name and the password. This will not give you to use the utility to make the changes.

    Have a great day!

  • Problem with disk utility...

    After upgrading to Mac OS Sierra custom poster disk utility looks like more detailed information about what is on my Macintosh HD, only a blue strip for the used area of the disc and the white for the empty area. Any suggestions?

    Try to fix permissions of drive with disk - Apple Support utility

    Ant then reset the management system (SCM) controller on your Mac - Apple Support

  • Disk utility reports hurt his stats in recovery mode

    I have a 2 TB HD in my iMac which is only about 10% full.  Disk utility reports 1.81 TB free, just like in the finder get info tab.  My Time Machine backups are about 190 GB in size as well.  All of this is consistent.  When that I start by pressing command-R however, disk utility reports that the HD is full.

    I bought a new SSD and that you want to replace with the SSD HD, so I need to restore to the SSD HD, then Exchange.  The SSD is only 500GB, then disk utility fails restore - he thinks that there is not enough room.

    Anyone encountered this, or there at - it another way to clone the HD for the SSD?

    I have a late 2009 iMac 11.1 El Capitan 10.11.6 running with an i7 2.8 and 12 GB of RAM and 2 TB HD.  (Originally, he arrived with Snow Leopard).

    Thanks for any help.

    I would like to give CarbonCopyCloner or SuperDuper a try.

  • Disk space lost once disk utility has frozen.

    Hey guys, I have a little problem and I think that you guys can help me with it.

    Yesterday I tried to install windows 7 and while I was partitioning my HD, disk utility froze and I was forced to leave.

    When I opened the app again, I noticed 222 gb have disappeared! I tried Googling a solution but could not find anything that could help me.

    I honestly don't know what to do more, so if someone could help me I would really appreciate it.

    Please after the release of

    sudo TPG - vv - r see the/dev/disk0

  • Beachball of death / impossible to find movie files shown in disk utility

    Then, I started having the awesome beachball.  All the time.  I tried first aid utility disk, in addition to empty my cache dyld.  Seems to have worked.  Looking for a solution to this as well as when I ran disk utility, it shows that I have 380 + GB of movies.  And hoping the clearing space will decrease the appearance of the beachball if nothing else.

    I realized that I had a bunch of movies sitting in a folder I have is no longer necessary, so I deleted, emptied the Recycle Bin and rebooted.  Twice.  And disk utility still shows that I have who have lots of space consumed by the movies.  I did a search through the fichiers.mp4/.mov/.m4v/etc finder and come up with very little.

    Is there something else I can / does not?  I'm not really wanting to download third party software however.

    And it is solved after leaving it alone for a while.  Probably just needs some behind the scenes stuff to happen.

Maybe you are looking for

  • Not able to have two tabs of the page even more!

    I love being able to have two tabs of the same open page so I can go from an email that I answer that I'm composing. The new update don't let me do! It keeps their merger in one tab! Help!

  • TV tuner not recognized by WMC F10

    Hello everyone, I got a brand new F10-131. Ideal to use.The first time I used the windows media center, he tried to set up the tuner. No probs. As I do not plug the antenna, we don't seen any channel. Ok.Then I updated the operating system with windo

  • System preferences will be open not or force them to leave

    MacBook Pro 2012, OS X Yosemite 10.10.5 Hello, as he tried to use time machine to back up my mac on a disk external I found that time machine does not open. I then tried to open the system preferences and concluded that it would not be, nor will it f

  • photos compressed

    I work on windows xp and I compressed a few photos.  Do not expand when I open the file and double click on the photo.  I can go to view and zoom to 200%, but it looks blurry.  I can unzip the photos?

  • My Bluetooth laser Mouse 5000 does not work correctly.

    Original title: Laser Bluetooth Mouse 5000 I have a Microsoft Bluetooth Notebook Mouse 5000 that has worked, but no longer works.  Read everything here makes me think that he must be a genius to get the updated drivers.  I thought it was 'plug and pl