The use of packages in FlashBuilder

I create an application in FlashBuilder 4, and I want to use the names of real package instead of the default value. However, when I move my .as class in the new package, I get complaints compilation, saying: he cannot find the app.xml file. I created the folder structure in the folder bin-debug, thinking that might help. Should what steps I take to use the actual structures of package?

Hey MissRancher,

Flash Builder requires that your main application as a file remain in the default package directory. All other classes you have in your application can reside elsewhere in other packages. I just need your main class remains in the default directory.

Tags: BlackBerry Developers

Similar Questions

  • Are constants of body of the PL/SQL Package in the shared or private area

    Based on that it is not clear to me if body Package PL/SQL constants are stored in the shared or private area.

    http://docs.Oracle.com/CD/B28359_01/server.111/b28318/memory.htm

    "PL/SQL program units and the Shared Pool

    Oracle database treats PL/SQL program units (anonymous blocks, procedures, functions, packages and triggers in database) much the same way he treats the individual SQL statements. Oracle database allocates a shared area to hold the shape analyzed, compiled a program unit. Oracle database allocates a private space to hold values specific to the session who runs the program unit, including local, global and package variables (also known as the package is instantiated) and stamps of SQL execution. If more than one user is running the same program unit, a place unique and shared is used by all users, while each user runs a separate copy of his own private SQL area containing session-specific values.

    The individual SQL statements contained in a PL/SQL program unit are processed as described in the previous sections. Despite their origins within a PL/SQL program unit, these SQL statements use a shared area to hold their analysed representations and a private space for each session, who executes the statement. »


    I am also curious to know what are the differences in fine grain in a perspective of memory and performance (multisession) for the two examples below. One is more effective?


    Example 1.

    create or replace
    package body
    application_util
    as

    c_create_metadata constant varchar2 (6000): =...

    procedure process_xxx
    (
    )
    as
    Start
    ...
    end process_xxx;

    end application_util;

    vs.

    Example 2.

    create or replace
    package body
    application_util
    as

    procedure process_xxx
    (
    )
    as

    c_create_metadata constant varchar2 (6000): =...

    Start
    ...
    end process_xxx;

    end application_util;

    881398 wrote:

    But I still have to ask because it seems still more particularly in example 1 that the constant can be attributed to the use that the actual value could be a pointer to a constant string value in a table of symbols or something related to the compilation unit. I'm always curious in a perspective of management of memory if there is a difference between the example 1 and example 2, and if one is better and why.

    The storage is real, references to this storage internal to the PL/SQL engine. And irrelevant to the PL/SQL programmer.

    This question is really a disagreement over the shape is better: example 1 or example 2. I prefer the 1 example, for readability, testability, etc., and so the question is where is the performance of the memory/differences and or is it just preference of developer.

    I agree with rp0428 - he raised a very important point that it is a problem of scope and nothing else.

    Basically is there any trade-off between using one shape on the other insofar as the performance and memory management?

    Not really. Most runtime engines release not just actual system memory when a variable is out of range. the malloc() calls are expensive. Free() calls are expensive (and are not always the result in usable free memory which can be malloc'ed again).

    Several execution engines use what is called a managed heap. A malloc is made of a new process when it is initialized. The heap memory / managed malloc'ed is adjacent. Pointer allocation of memory for this process is initially pointing to the base of the managed heap. As the process allocates / uses memory, the pointer is moved just advance in the managed heap, which indicates the HWM as such - the beginning of the 'free' memory in the heap. Allocation is sequential.

    Reset of your variable execution, or releasing your runtime object, does not reset the HWM as other objects/variables can still be used and located after this place in the bunch. In this case set him free memory by releasing / resetting the language variables does not restore the kernel memory.

    Memory management is a sophisticated process entirely processed by the engine running - and best left to the runtime engine. As you as a programmer do not explicitly control the memory management, it is not a good idea to try to write code that artificially attempt to use 'better' for the runtime engine memory management. The next version of the runtime of that aura of new features, optimizations and so on — and your interference in your code to get the "valorisation" of memory can happen just bite you not bad after an upgrade to execution.

    Regarding the performance aspect - variable initialization is dependent on scope. In order to have a global scope means a one-time initialization, whereas a private scope (created each call) is a multiple unit. If the first is a little faster than the latter.

    However, the performance differences are tiny - IMO too small to justify this as a valid consideration to spend in addition to the decision of functional design on what possibilities a variable or a constant need to have.

    SQL> create or replace package FooLib1 as
      2          procedure Exec;
      3  end;
      4  /
    
    Package created.
    
    SQL>
    SQL> create or replace package body FooLib1 as
      2          const1  constant varchar2(32767) := rpad('-',10000,'-');
      3
      4          procedure Exec is
      5                  var1    varchar2(32767);
      6          begin
      7                  var1 := const1;
      8          end;
      9  end;
     10  /
    
    Package body created.
    
    SQL>
    SQL>
    SQL> create or replace package FooLib2 as
      2          procedure Exec;
      3  end;
      4  /
    
    Package created.
    
    SQL>
    SQL> create or replace package body FooLib2 as
      2          procedure Exec is
      3                  const1  constant varchar2(32767) := rpad('-',10000,'-');
      4                  var1    varchar2(32767);
      5          begin
      6                  var1 := const1;
      7          end;
      8  end;
      9  /
    
    Package body created.
    
    SQL>
    SQL> set timing on
    SQL> exec for i in 1..100000 loop FooLib1.Exec; end loop;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.28
    SQL> exec for i in 1..100000 loop FooLib2.Exec; end loop;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.74
    SQL> 
    

    A second difference 0.0000046 in a single execution for FooLib.Exec between the use of package for the constant scope, against increased private. Which means that the issue of the scope is not a decision of the performance. Not when improving performance overhead is 0,0046 millisecs.

  • trying to UN-ininstall print driver error message: could not remove the HP LaserJet 1020 driver. The specified printer driver is currently in use. __Failed to remove the hplj1020.inf package. Access is denied.

    I have a new win 7 and have a lot of trouble installing an HP laserjet printer.

    When you try to remove the drivers under properties of the print server, I get the following message:

    "Cannot remove the HP LaserJet 1020 driver. The specified printer driver is currently in use.
    Impossible to remove the hplj1020.inf package. Access is denied. »

    someone knows what's the problem?  the prnter is not yet connected.  Must not be in use.  The problem I had was that the stuff sent to the printer seems to sit and take 15 ins to print a test page.

    How can I remove the drivers?

    Stop the print spooler service, and then start the print spooler service.  Now, delete the print driver and packaging. Alan Morris Windows printing team seek here Microsoft Knowledge Base: http://support.microsoft.com/search/Default.aspx?adv=1

  • "The system cannot find the specified file" error when you try to install a hotfix/cab package using the DISM tool Package Manager

    I'm testing the integrity of the addon ".cab" packages and patches by installing using the Package Manager (pkgmgr.exe), or alternatively, the Deployment Image Servicing and Management Tool (DISM.exe) for Windows 7.  To do this, I am aware that I have to call a tool through the command line.

    In the Package Manager, I use the syntax

    Command prompt > pkgmgr.exe /ip /m:C:\Test\test.cab

    Otherwise, I might add the path in quotes:

    "Command prompt > pkgmgr.exe /ip /m:"C:\Test\test.cab.

    The error returned in pkgmgr is:

    Operation failed with 0 x 80070002.  The system cannot find the specified file.

    My first impression was that my syntax is incorrect, although I can't have room for error.  The path points to "test.cab" which is a renamed windows addon that contains the necessary file "svcpack" and the file "entries_XX.ini".  I used several different ".cab" file, that which some I know to be genuine, hopefully exclude the possibility of a corrupted or incompatible file.  I also tried this procedure on different computers and received the same error code, so I doubt that the tool pkgmgr istelf is corrupt.

    Finally, I tried an alternative Windows 7/8 DISM tool to try to achieve essentially the same task by using the following syntax in a command prompt:

    "Commnand prompt > DISM.exe / Online /PackagePath:"C:\Test\test.cab Add-Package ".

    This produces a similar error:

    An error occurred trying to open it - C:\Test\test.cab error: 0 x 80070002
    Error: 2
    The system cannot find the specified file.
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log

    I'm really not sure why I produce these errors.  Any idea is appreciated.

    Hello

    Thanks for posting your question on the Microsoft Forum.

    I suggest you to ask your question in the TechNet forums.

    https://social.technet.Microsoft.com/forums/Windows/en-us/home?Forum=w7itpronetworking&filter=AllTypes&sort=lastpostdesc

    TechNet is watched by other computing professionals who would be more likely to help you.

    I hope this helps.

    _________________

    Thank you best regards &,.

    Isha Soni

  • How can I use the "fnd_user_pkg.updateuser" package to disable users in bulk?

    Hello

    How can I use the "fnd_user_pkg.updateuser" package to disable users in bulk?

    in EBS R12.1.3, oracle 11g.

    Please see the request for information of the user

    -------------------------------------------------------------------------------------

    SELECT

    SEPARATE

    FU. USER_NAME

    FULL_NAME EMPLOYEE_NAME

    , TO_DATE (LAST_LOGON_DATE, "dd/mm/rrrr") LAST_LOGON_DATE, end_date, FU.start_date

    OF FND_USER FU, PER_ALL_PEOPLE_F PERX

    WHERE 1 = 1

    AND PERX. PERSON_ID = FU. EMPLOYEE_ID

    AND SYSDATE BETWEEN PERX. EFFECTIVE_START_DATE AND PERX. EFFECTIVE_END_DATE

    AND PERSON_TYPE_ID! = 1118 - excluded candidates iRec

    AND LAST_LOGON_DATE < = TO_DATE (December 31, 2012 ', "dd/mm/rrrr") and end_date is null

    ORDER BY TO_DATE (LAST_LOGON_DATE, "dd/mm/rrrr") / / desc

    ------------------------------------------------------------------------------------

    Concerning

    Ngoyi

    Hello

    You need to do the opposite of what the code in the discussion below is:

    fnd_user_pkg. UpdateUser - End Date remove users

    Kind regards

    Bashar

  • What is the main reason for the use of SERIALLY_REUSABLE in your package?

    Hi Experts,

    What is the main reason for the use of SERIALLY_REUSABLE in your package?

    At first glance, the most popular reason seems that some developers forget to close cursors. Therefore, it is a good way to close automatically when your code is stopped during the same session.

    Second, if your business rules require that package variables still need to put the SERIALLY_REUSABLE default values is good for this.

    So, what's your reason?

    Thanks in advance.

    From http://docs.oracle.com/database/121/LNPLS/packages.htm#LNPLS99924:

    After the unit of work (call Server) a SERIALLY_REUSABLE complete package, Oracle database performs the following operations:

    • Closes all open cursors.
    • No free memory (for example, memory for collection and long VARCHAR2 variables)
    • Returns the instantiation of the package to the collection of reusable instantiations kept for this package.

    Explicit cursors in SERIALLY_REUSABLE packages:

    http://docs.Oracle.com/database/121/LNPLS/packages.htm#LNPLS99923

    I would not support using SERIALLY_REUSABLE instead of programming and the cursor's lifecycle management practices.

    > What is the main reason for the use of SERIALLY_REUSABLE in your package?

    If your package uses large amounts of memory in the State, especially in a multiuser environment heavy wherever the memory usage adds up and memory will not clean until the session is closed and the State is not held beyond the call to the package, then there's your use case.

  • How to know the tables used in packages of a schema.

    How to know the tables used in packages of a pattern that I have connected.

    SELECT DISTINCT referenced_owner, referenced_name

    Of all_dependencies

    Owner WHERE = "MY_USER_NAME".

    AND type ('PACKAGE', 'BODY of PACKAGE')

    AND referenced_type = 'TABLE '.

  • Difference between the use of IS and HAVE when creating a Package or procedure

    Hello

    Has had an interview in one of the company.

    They asked me that, "What is the difference between IS and as in the creation of package or Stored Procedure Usage?".

    I checked the package creation with same IS and YOU, but there is no problem.

    Kindly clarify me on this.

    Many thanks in advance.

    Kind regards
    Shiva

    961805 wrote:

    If this is the case, why oracle is allowing us to use and HAVE? Instead he could have allowed us to use AS single.

    No. I like IS more What did. Not to mention what the Ada (the mother of PL/SQL language), use.

    PL/SQL is allow that you use IS or ACE.

    A possible reason for PL/SQL support this, is influence of syntax for the SQL language. The ANSI SQL syntax uses YOU. And the SQL language can be used natively inside code PL, due to the integration of SQL, PL/SQL.

    Use IS or ACE.

    Many (?) use definitions of package fror YOU and IS for the definitions of the procedure and function. Not necessary from a perspective of language syntax, but serves to highlight the differences between a package signature and that of the procedures, functions, and methods.

  • Hello, we have a company agreement and we are entittled to use the master collection package. Based on thi

    Hello

    We have business agreement and we are entittled to use the master collection package. Based on this, we want to upgrade Flash builder 4.7. Please let us know how can we do it and how to get the keys.

    -Med

    @Anamika018: please contact Adobe volume licensing representative technical support to access Fb 4.7 under a volume license business - they'll be able to give the right for the product.

  • How to find edited a photo folder after the use of Photos

    Hello, I'm new to using a Mac.  I uploaded the photos to Photos and then made changes to multiple images, cropping etc...  Now I can't find the image file on the hard drive after the change of the use of the Photos app, I find only the original file.  I went to the finder, then the photo file and I find the file "Library.photoslibrary photos" so I right click and select "Show package content" then I click on the master file and look for the file in a folder.  However, the file I find does not changes that I made, it is only the original file.  I'm not sure what I am doing wrong?  Thank you

    What you're doing wrong is fiddling in the Photo library package, this will lead to tears. What exactly you are trying to achieve by finding the original.

  • How to reduce the use of bandwidth LAN?

    I want to design a relay system using two USRP of NI USRP 2922 with sample rates even as LTE standard. But there is limitation in the use of bandwidth of 1 Gbps LAN.

    I don't think you should achieve the full rate on a USRP without a link dedicated to the PC.  The protocol used is UDP between USPR and PC which can be disruped by the latency of the network and cause packets to arrive out of order or get lost.  You should also assume that, due to the effects of edge filter only 80% of the specified bandwidth is usable.  (20 MHz of bandwdith requires a rate of IQ of 25. MECH / s)  It takes a fast PC with a very high quality (we use intel) NIC to get there.  But you will need to use the driver for the NIC card manufactuer and maximize the RX and TX buffers.  So far, I realized only on desktop computers and mobile no.  I also would assume the package of 20% load, so on a 1 Gbps link, I would not expect to exceed the 800 MB/s.

    25 MS/s x (16 bit 16 bit I + q) = 800 MB/s

    You can also, in the pilot, 8-bit mode which will halve your dynamic range, but also the data rate.

    For a system like yours, you can consider to put a PC next to each usrp and install 2 network cards in each PC.  You will add the latency, but the additional computer will give you buffer against congestion and network problems.  In addition, relay is not a 'constant' streaming activity... only the RX is constant.  For TX, you can use the approach of gusts of transmission.

    Erik

  • Compare the module tool VI to the development base package / edition

    Hi all

    My company has hired some contractors to assist in reviewing our work of LabVIEW and bought packages of development basis of LabVIEW for them to use (because they do not need to build the final application or something like that).  Imagine my surprise to find that the tool to compare, which is essential to make sizeable screw comments, is not included in the basic development package!

    Now, a lot of other references that I found on the web indicates that it is only in the professional package (which is ridiculous for such a basic tool, in my opinion), but a page OR (http://digital.ni.com/public.nsf/allkb/3493C58EA0E842FA86256F86006142C0) implies that compare is now in the full package, and only the line tool command requires the professional set.  Can someone tell me if this is true?

    Is there as an even better option, any add-on that I can buy for the features to compare VI added to my basic package?  The page buy LabVIEW (http://www.ni.com/labview/buy/) lists 'Review Code quality' as an option module, but I just thought it just means that VI Analyzer, and comparison feature is not listed in the table (a hunting in big enough witches away from the list, once again in my opinion).  I hate to tell my boss that we need to pass a package of $1,000 to a package of $3000 or $5000 for each contractor, so they will be able to examine the code.

    Thanks for your help!

    -Joe

    FYI, to finish this topic, I finally got an official response from back of NEITHER: there is not any other add-ons or third-party tools that allow a graphic comparison of voluntary initiatives.  So, as previous Seraphim (thanks again) have said, the professional development environment is your only option for the use of this tool.

  • Message 'there is a problem with the Windows Installer package

    I have Vista 64-bit Service pack 2

    On my computer HP ProtectSmart Hard Drive Protection has stopped working... .it shows such as the disabled and 'activate' is grey.

    I went to HP to download the new version.  It downloaded, but then to install I got the following message:

    "There is a problem with the Windows Installer Package.  A program run as part of the Setup did not finish as expected.  Contact your supplier of staff or the package of support ".

    How can I fix?

    Please help pleas...

    Thank you

    "C:\Windows\system32\msiexec.exe'-I 'C:\Users\David Candy\AppData\Local\Temp\IPDT_Install.msi '.

    Is the command line to install a particular product. Use the Task Manager to find your command line.

    Then change to add logging.

    "C:\Windows\system32\msiexec.exe" - working '% userprofile%\desktop\install.log'-I 'C:\Users\David Candy\AppData\Local\Temp\IPDT_Install.msi '.

    FixIt

    Microsoft has a range of automatic programs to solve common problems. To see Windows Installer problems

    http://support.Microsoft.com/mats/Program_Install_and_Uninstall/en-us

    For the visit of the list the most comprehensive

    http://support.Microsoft.com/FixIt/en-us

    When you choose to download, choose the option to run on another computer. You can then save it to a folder on your hard drive. Open the folder, open the folder fix this laptop and run Run Fix It. It will contain all 27 FixIt.


    --
  • On the use of libimg Adivice.

    I loaded the img lib and my png file, now how do I use the libimg to make it to the screen. I do not understand why you clean after you load the file before the actual use of the img.

    Where should I go from here? Are some tips on how to work with the UI outside gl or air would be appreciated.

    You can use the img library to load an image and you can use the library of the screen to draw on the screen, but the two do not have an explicit meeting in the middle. In other words, there is nothing in img that says: 'this draw to the screen', and there is nothing in the screen that says "draw this image.

    The library of the screen provides tampons... pads of screen that are directly related to the screen and pixmap buffers that may be associated with images off screen and other presentations.

    Some of the applications in the "examples of NDK" on github.com/blackberry example shows various pieces of what you need to do. For example, look at the app 'GestureSample '. In this example, the function "load_image" starts the process of reading of an image file. It implements the callback functions, one of which, 'decode_setup', is called by the library to manage the content of the image. It allocates a buffer of screen, then gets a pointer to the data buffer area, put the pointer in the structure of the img, that uses the library img actually load the image bits into the screen buffer. The image is thus placed directly into a screen buffer, which ultimately comes on-screen. It's a little something in a sense, because both api are not related, but you're basically copy and paste a pointer to buffer a api in the loading of another sequence. Otherwise, you'd be more likely to allocate a pixmap buffer and put in place the pointer so that the image will load in this buffer. To make it really later, you would go back to the library of the screen and the 'screen_blit' function to copy the image, or a part of it, as long as you want to go in screen coordinates.

    When you blit an image from a buffer in a screen buffer, you also seem to need to take care of cropping of the blit to the screen buffer limits, as cropping does not seem to be applied automatically.

    In short, these two libraries are very (very) low level and require a good amount of code intensely grungy to do something as simple as getting an image from a file to the screen.

    Senior level packages, such as Qt, take care of all that stuff for you. You must decide whether to go down to the lower level and worry about a lot of things or let the top-level packages take care of it for you.

  • Used to package software development kit

    Is there a way to know what sdk has been used to package a widget application?

    Hello

    Unfortunately, the SDK version is not contained in the packaged application.

    Erik Oros

    BlackBerry Development Advisor

Maybe you are looking for

  • Once Firefox, all my PDF files now have the Firefox icon. I don't like this. Mozilla is working on a fix for this?

    As stated, I used the reset function in Firefox and everything immediately after the icon on all my PDF files changed the Firefox icon. I hope that Mozilla is working on a fix for this?

  • Lenovo Y510P SLI freezing after 3 minutes

    Hi guys,. Since I bought my lenovo Y510P SLI, I had a problem. When I watch a film/youtube clip/play a game on my logitech keyboard, I had a problem with performance. After 3 or 4 minutes my movie/game begin to freeze like a kind of energy saver turn

  • Input RS232 module problem

    Hi all I am trying to read and save data to an account with DASYLab. DASYLab and the Windows Device Manager to detect the right COM port, although sometimes I can't see the port connected to the command prompt (using the 'mode' command). Everything s

  • The quick touch buttons do not work

    I can't use the buttons of fast touck (flow and wireless regulation ON / OFF) They do not work, I have already downloaded and installed the latest version of the driver available in the Web site, but it's all the same. It seems that the contact is no

  • Position of the PXI Module in the chassis

    Dear Forum, I just got a new PXI-1033 chassis as well as a single PXI-6259 HAVE/AO/DIO and two PXI-2501 switch modules module. No matter where I physically place these three modules in the chassis? Sincerely, Zach