Use of resources with JDE

Hello

I am new to the JDE and of course the development of BlackBerry, I read a laboratory for the use of resources in an application, essentially the strings, so that the laboratory works very well. I started to build my own app and I created two files: DRR and a HR Manager, but it seems that something is missing because my application does not compile. Is there something more than to create RRC and HR files?

Thanks in advance

In the laboratory code, there are two pieces of identification: BUNDLE_ID and BUNDLE_NAME, is the cause of the error, I guess, I can't find where they are defined.

The error message:

D:\Proyectos\Hildebrando\BlackBerry\Demo\com\demo\Principal.Java:41: cannot find symbol
symbol: variable BUNDLE_ID
location: com.demo.PrincipalScreen of the class
private static ResourceBundle _resources is ResourceBundle.getBundle (BUNDLE_ID, BUNDLE_NAME);.

Well I finally found the problem, in the laboratory for CityInfoB it does not explain that the class CityInfoScreen must implements CityInfoBResource this class seems to be created automatically by of JDE, in fact I don't know , but it works.

I think that laboratories must be more kind with novice programmers to blackberry .

Tags: BlackBerry Developers

Similar Questions

  • How to use MDS with JDE?

    Hello

    Is there a link / tutorial or article step by step

    associated with the use of MDS with JDE.

    Please help me in this regard.

    Thank you. Narendra

    You need to may download and install the MDS Simulator. You can download it from http://na.blackberry.com/eng/developers/browserdev/devtoolsdownloads.jsp

  • use of AF: Resource with javaScript - jdev 11.1.2.3

    Hello:

    I'm trying to create the application that uses af:resource with af:clientListener / af:serverListener to call a simple javaScript functions as openPopup with alert() and get the dateTime property...

    I found some examples on google, but they do not explain it well. Such as where and how can I get the tag af:resource? I just type in the source or what I need to do something different? What Miss me?

    Is there an example of end to end than any good knowledge of javaScript call popup to and returns a dateTime value to managed bean?

    Thanks for the help

    Oh, you can type the keyword in the source yourself or drag it from the palette of component on the source or the structure view.

    Timo

  • 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

  • Question about the use of sharing with several pools of resources

    The design of our environment vSphere has several pools of resources at the root, each series 'Normal' value stocks, and if the resources tab shows that each resource pool '% of the shares' value of 3%.

    However, some resource pools have 50 + VM and others have only 1 or 2.

    Is someone can confirm that this is wrong and that should have a pool of resources with more than VM have a proportionately higher value of action?  This assumes of course that all the resource pools are of same priority (be they makes me wonder why we use pools of resources at all... but that's another issue)

    The reason why I ask is that the 'worst deal allocation' is for memory and CPU is much higher on the pools of resources with multiple virtual machines, so it's obviously something in the algorithm of resource allocation that is aware of the total number of virtual machines in the pools. Resource pools are defined as extensible and I'm assuming that this "worst case allocation" would go down considerably as the cluster approached his ability, but I wanted to check before starting to change things...

    Welcome to the Forums - you are right to worry about this situation - check on http://www.yellow-bricks.com/2010/02/22/the-resource-pool-priority-pie-paradox/ for description - but don't worry Duncan also has a solution - http://www.yellow-bricks.com/2010/02/24/custom-shares-on-a-resource-pools-scripted/

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • Problem with VCenter, and VM of not listed in the use of resources

    We recently had a problem with a power being pulled cable and now things are a little twisted...  We had to reboot our servers (ESX1 and ESX2) ESX and VCenter.   ESX1 said that HA had been disabled and restarting didn't help, so we chose the command to 'Reconfigure for VMWare HA'.

    And now, after he reconfigured, it's what we have: ESX1 12 virtual machines on it, and ESX2 4.  ESX2 shows consumption of the normal resources of the virtual machines that are on, however, ESX1 says that there are 3 VMs on, but none of them use ANY resource.

    I've attached a screenshot of what I'm going to have to explain.  It is not sensible.  I can connect to the VMs that are lit on ESX1 3, but as far as VCenter is concerned, they are not using any CPU or mem...

    Any help, ideas or whatnot would be greatly appreciated!  Thank you!

    M

    -


    Windows is a true multitasking operating system... It can START and LOCK at the same time!

    a few other things you can try would be to shut down a virtual machine, remove from the inventory, then "add to the inventory.

    .. .or restart your vCenter Server Service.

  • Use of resources in modules disabled; is it better to remove them?

    Add-ons - disabled use resources? Remove them completely would use fewer resources? The reason I ask, I have a number of modules in a disabled state that I did not take in case I decide to reactivate/use again. I was just wondering if having Add-ons related to FF software, even in their disabled state, caused Firefox to use a more resources (cpu/ram) than if they have been completely removed? If it makes no difference that it is in the use of the ram/cpu if the disabled add-ons are deleted or not deleted, then I'll just leave off and cancelled. But given that my Firefox eats more cpu and memory the longer I use it, I am interested in getting rid of everything that consumes resources, especially if I do not really use them.

    I do not think that my question is specific to my tech sheet, but use: Windows XP Pro SP3 and Firefox 9.0.1 (which I intend to update when I finished research on which version is best for me in terms of performance, but especially the compatibility with my essential modules). Thank you for your time and attention. ~ Zorg54

    First of all, please update Firefox 20. Firefox 9 is no longer supported or secured, 20 Firefox being the only secure version of Firefox. you need to stay up-to-date to stay secure. your modules will be updated and work with Firefox 20 when you install it.

    Add-ons - disabled are just that, people with reduced mobility. They don't slow down Firefox more if they have been uninstalled. Note that updated Firefox to 20, there have been improvements in Firefox to not leave the modules slow down Firefox as much as they did in the older versions (such as 9)

  • shared folder t could not access gives error that you have not permission to use network resources

    folder t couldn't access gives error that you have not permission to use network resources while I connect with administrator

    Hello

    1. were you able to access the folder shared earlier?
    2. don't you make changes on the computer before this problem?
    3. What is the full and exact error message?
    4. how the computers are connected?

    Please answer these questions and provide us with more information. This could help us help you better. However, you can view the Sub articles that may be useful.

    Error message when you try to access a network Windows XP computer: "you might not have permission to use this network resource".
    http://support.Microsoft.com/kb/913628

    You cannot access shared files and folders or browse computers in the workgroup with Windows XP
    http://support.Microsoft.com/kb/318030

  • How to call the samples shipped with JDE

    Hello

    I'm new to the BlackBerry development. I downloaded and installed JDE 4.7 which contained similators 9530 and 9500. JDE and Load Simulator fine on my windows XP machine. I use JDK 1.5. I had a few teething problems if anyone can help it will be great.

    It's strange that this simulator does not load if the java environment variables (JAVA_HOME, CLASSPATH and path to the location of the binary java) are defined in the windows environment. It loads well if the environment does not contain these variables. I worked around this by setting the variables in the environment and using a jdkenv.bat file if necessary.

    When I run ide.bat (for JDE) he lookes for javaw.exe in the path which make sure by running jdkEnv.bat before ide.bat. So my JDE also charge very well. I did a generation of samples shipped with JDE he built successfully. So far so good.

    Problem:

    When I try to run the samples, it loads the Simulator fine. I also see the name of the sample applications, if I followed the following phone Simulator {options} USER interface-Advanced Options-Applications online online I can see the names of all listed here demo. But I don't see any UI on the Phone Simulator that I can use to invoke these demonstrations of?

    I tried an explicit charge of the demo by file-> load Java program, it displays an hourglass and returns me to the phone home screen. It also updates the date and time of the application above mentioned location to the new location. But I'm still not a UI element user where I can call it in the demo.

    How to call HelloWorld or PhoneApiLog demo of the Simulator.

    I'm new to the development of BB and I'm sorry if I'm missing something simple. But indications will be useful.

    Concerning

    asachdeva.

    Discovered samples at-online downloads.

    Thanks for taking a peek.

  • BlackBerry Smartphones Can I use BlackBerry software with version numbers > = 4.5

    I have the BB Curve 8320. Can I use BlackBerry software (Blackberry JDE, Director of office of BB, etc) with the version numbers > = 4.5 for my device.

    Yes, you can.

    Alternatively, you can use Desktop Manager version 4.6 and 4.7

  • Windows 8 BSOD conflict resource with parport.sys

    We have helped our clients in their transitions from older systems on Windows 7/8, specifically to ensure that some legacy applications will work properly on the new systems.  Some of these applications require the dongles for software protection that use parallel ports with DB-25 connectors.  We have been able to make applications for work in systems of Windows 7 by installing a PCI or PCIe parallel port card, but can't make it work on Windows 8.x systems:

    1. The parallel card works fine on Windows 7 systems.  We have the enforcement (DS1410D.sys) device driver and the driver of parallel port of the supplied system (parport.sys) loaded with the LPT1 printer port and the functions of the application as expected value.
    2. Same configuration would cause BSOD on Windows 8, due to the REFERENCE_BY_POINTER error.
    3. 8.x Windows would start if the printer port is set to something other than LPT1.  However the application device driver would then not be able to detect the dongle.
    4. The only difference between Windows 7 and Windows 8 is the parallel port driver.  Parport.sys file version is 6.1.7600.16385 for Windows 7 and is 6.3.9600.16384 for Windows 8.

    It seems that Microsoft changed something in its parallel port driver that triggered the conflict of resources.  Everyone knows the same problem?  Anyway to get around the problem?

    All Vijay suggests is that the contributors there are more experienced in handling the type of problem you are having, if after your query here.

  • Use of resources under, ViewPlanner vs. vCenter

    Hello

    When executing default ViewPlanner 3 StandardBenchmarkProfile, vCenter (connection of client vSphere ala) alerted on a high utilization of the processor for ESXi servers in the cluster. VCenter performance tables presented the CPU utilization to 80-90% and more for most of the duration of the workload. However, the ViewPlanner report shows average processor utilization at 40-50% for the same server ESXi. Who is the most accurate measure of the use of resources?

    ESXi servers have Intel processors with hyperthreading active. The difference between using reported in vCenter and ViewPlanner seems to be similar to the difference that I see in esxtop for CPU Core time values Util and PCPU time % Util (I admit I am a little fuzzy on the interpretation of the esxtop CPU Core Util PCPU % against metric Util when hyperthreading is enabled).

    Thank you

    In Scheduler report view, you can view % UTIL, which is the correct metric if you have active hyperthreading, % USED (s) will not give you the correct image.

  • How to combine resources with a plugin files

    Envy, I'm missing something obvious here.

    Try to group a zip file with my plugin (c), and then access it in the code.

    I have added to the Group of resources in my project in XCode, which caused to be copied into the resources folder of the. InDesignPlugin package.

    What is the right way to go about this? How I can access it in the code?

    Thank you

    Hello

    You try to use the ODFRC compiler?

    Unfortunately I do not know how to create a resource appropriate for compressed data. I found in the SDK (CoreResTypes.h)

    #define kPackagesRsrcType 'PCKS.

    and

    #define kBinaryBlobType 'BBlb' DynamicDocumentsExtrasDefs //taken

    But do not know the macro to create this type of resource.

    The good thing is that you can cheat a little and use PNG resources, since it is also binary data.

    Simply set your zip file as resource PNG and use IPMStream to write data to the disk.

    All you need to do is set the zip which is the relative path to your project file in your path .fr:

    #define kYOUR_ZIP_FILERsrcID 15

    #ifdef __ODFRC__

    resources NFSP (kYOUR_ZIP_FILERsrcID) "... /.. '. "/ your_zip_file.zip".

    #endif / / __ODFRC__

    and in your class read the resource and write it to a file:

    WideString theFilePath("/Users/userName/Desktop/theFile.zip");

    IdFichier theFile (theFilePath) const;

    RsrcSpec theRsrc (kYourPluginID, kPNGArtRsrcType, kYOUR_ZIP_FILERsrcID, kFalse);

    InterfacePtr rsrcStream ((IPMStream*) StreamUtil::CreateResourceStreamRead (theRsrc, kFalse));

    InterfacePtr fileStream(StreamUtil::CreateFileStreamWrite(theFile)); )

    fileStream-> Open();

    fileStream-> SetEndOfStream();

    unsigned long totalIBytes = 0;

    unsigned long totalOBytes = 0;

    unsigned long iSize = - 1;

    unsigned long oSize = 0;

    While (rsrcStream-> IsReading() & iSize > 0)

    {

    given unsigned char [1024];

    iSize = rsrcStream-> XferByte (data, 1024);

    oSize = fileStream-> XferByte (data, iSize);

    totalIBytes += iSize;

    totalOBytes += oSize;

    }

    rsrcStream-> Close();

    fileStream-> Close();

    Concerning

    Bartek

  • Requirements for the use of Resource Pools

    VMware says this about the Enterprise more than vSphere version:

    Delegation and control of resource pool. Guarantee

    allocation of resources to different levels in society. For example,.

    When a top-level administrator makes available a list of resources of a

    use of across the Department, all virtual machine creation and management can be

    made by the administrator of Department within the limits

    assigned to the resource pool.

    Having said that pools of resources cannot be created without the Enterprise more than VMware version? Or is he just saying that there is additional capacity to delegate control on resource pools in the company and others that it is in other versions?

    Thanks for your comments.

    Enterprise Plus is not required to create and use pools of resources.   With respect to the issuance of licenses to create/use the resource pools, a free license would suffice even.  The characteristics of Advance you are referring to a probably related specifically to the business + licenses.

  • use of resource pools

    Hello

    I understand very well how the notion of 'actions '?

    What could someone explain this term compared to other resource pools in the same cluster and with a stand-alone resource pool?

    Or is it all very clear explaining that doc?

    THX

    Actions determine how a resource gets broken when there is a conflict for this resource - lets start at the level of the base of a virtual computer, since the actions for a VM and the Resource Pool work the same way - if you have three Pools of VM/resources each with 1000 equal parts - that the total mass of stocks will be 3000 and each VM/Resource Pool will get 1000-3000 or 1/3 of the total resources available, when there is a conflict - lets say the VM/resource pool has 3000 parts - so now the total mass is 5 000 shares for these VM/resource Betclic so the list of VM resources with 3000 shares 3/5 of the resources and the other 2 VM/resource pools will have 1/5 of the resource when there is a conflict-No if you had a single VM/resources shares pool would not come into play from the pool full-fledged consists this single element.

    numbers used 1000 and 3000 were chosen at random to demonstrate the sharing feature

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

Maybe you are looking for