Eclipse plugin 1.0.0.67 problems with Bitmap.getBitmapResource

I upgraded to 1.0.0.67, and now Bitmap.getBitmapResource is unable to find the png files. Everything else on the project seems to be the same. Any ideas what's happening here?

Fixed by getting the latest pack of component for 4.7

Tags: BlackBerry Developers

Similar Questions

  • Eclipse Blackberry plug-in: "run as" problem with build.xml

    Hello

    I use windows 7 (32 bit), Eclipse 3.5 with the blackberry plugin.

    I created a very simple "helloworld" "TestBuild" blackberry project that uses build.xml to build. Here's buildRIM desciption I used in build.xml


      
    jdkhome = "C:\Program Files\Java\jdk1.6.0_20"
    DESTDIR = 'out '.
    output = "TestBuild.
    quiet = "false" >
       
       
    title = "TestBuild" vendor = 'abc '.
    version = "Version = 1.0" description = "My Test Build1"
    arguments = "" systemmodule = 'false' "
    runonstartup = "false" startuptier = "7".
    "RibbonPosition ="0"icon ="... /res/img/TestBuild.png ">
       
       
       
        
         
         
        

       

      
      
       
        
        
        
        
        
            
       

       
      
     

    By right click on build.xml, when I "Debug As"-> remote Java Application, everything works fine.

    However when I do "run as"--> Blackberry app man goes well and called the Simulator, but without the built application.

    In the end, I get this error:

    Packaging project TestBuild
    C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\rapc.exe -quiet codename=deliverables\Standard\5.0.0\TestBuild deliverables\Standard\5.0.0\TestBuild.rapc -sourceroot=C:\Users\Shikha\workspace\TestBuild\src;C:\Users\Shikha\workspace\TestBuild\res -import=C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25components\lib\net_rim_api.jar; C:\Users\Shikha\workspace\TestBuild\lib \bb-ant-tools.jar;C:\Users\Shikha\workspace\TestBuild\build.xml C:\Users\Shikha\workspace\TestBuild\bin
    
    I/O Error: error in opening zip file: C:\Users\Shikha\workspace\TestBuild\build.xml
    Packaging project TestBuild failed (took 1.327 seconds)
    

    Please help me!

    Hey thanks for your reply. Yes, indeed, I had added build.xml to build the access road. Thus, even when I have not used build.xml for building application, it still existed in the way of the construction and has caused the problem.

    works fine now.

    Thank you!

  • Problem with Bitmap. Bitmap image appears...

    Hi all

    Here is my code. can not understand what the problem is since it is showing the blank screen. I have 1 ".png" in my "res" folder, but it is not always...

    Please help me.

    ButtonEventListenerScreen.java

    package com.samples;

    Import net.rim.device.api.system.Bitmap;

    Import net.rim.device.api.ui.component.BitmapField;

    Import net.rim.device.api.ui.container.MainScreen;

    Import net.rim.device.api.ui.container.VerticalFieldManager;

    SerializableAttribute public class ButtonEventListenerScreen extends screen

    {

    Private VerticalFieldManager _vfm;

    Private BitmapField bitmapfield;

    ButtonEventListenerScreen()

    {

    setTitle ("button event");

    _vfm = new VerticalFieldManager (VERTICAL_SCROLLBAR);

    Bitmap logobitmap = Bitmap.getBitmapResource("res/1.png");

    bitmapfield = new BitmapField (logobitmap, FIELD_HCENTER);

    _vfm. Add (bitmapfield);

    Add (_vfm);

    }

    }

    ButtonEventListener.java

    package com.samples;

    Import net.rim.device.api.ui.UiApplication;

    SerializableAttribute public class ButtonEventListener extends UiApplication

    {

    public ButtonEventListener()

    {

    pushScreen (new ButtonEventListenerScreen());

    }

    Public Shared Sub main (String [] args)

    {

    ButtonEventListener app = new ButtonEventListener();

    app.enterEventDispatcher ();

    }

    }

    I found the solution. during the creation of the project I was not correct the box as "Allow output files as source files" when I did, I just put the images in the source folder i.e. CBC and the image displayed. Thanks for all the replies...

  • Problem with bitmap images within the AI CC

    I seem to have this problem to use the images seen in Photoshop look clean and high resolution, but when placed inside an AI CC file, or when HAVE is exported for the customer, looks jagged and pixilated.

    First of all, here is the read logo to the PSD.  As you'll see it's quite clean and high resolution:

    VIEW PSD.jpg

    So here is this exact logo even after that I placed it in a file Illustrator CC.  Note the surrounding vector images are clean - as it should-, but the logo does not look clean at all:

    psd and ai.jpg

    When I export the JPG or PNG file, everything looks good, as it should, except the logo.  I'm really strung on what do about it.  I know I could re - create the logo that you see in the above photos, but that would be a lot of work and there must be a way to get a bitmap image to work inside AI CC image.  All the tips are greatly appreciated.  Thank you.

    I don't see any reason why this shouldn't work, but it does indeed seem horrible.

    Have you tried to disable the GPU preview?

    You can do this in preferences > performance GPU and untick the box Performance GPU.

    You can also temporarily switch using Cmd/Ctrl E.

    I have searched the logo, found a SVG version (so you can use a vectorized version), opened in artificial intelligence.

    Also, I opened the version HAVE in Photoshop and saved as a psd.

    It displays perfectly crisp and clear in Illustrator.

  • Dependency problem with the new Blackberry Plugin for Eclipse

    I just encountered a problem with the new version of the JDE Eclipse Plugin. I set up my application project so that it uses two other projects such as libraries. Both of these projects are on the way to build Java in the settings of the application project, and the manufacturer Eclipse compiles without errors.

    But when I try to run on the Simulator, the application loader throws an Exception stating that it could not find one of the classes listed in library projects. Since it is the importation of first class in the main class, I guess that it was unable to find the entire library.

    I tried to have the application project to import the project two library, but nothing alx files has changed.

    In the old version of the Plugin, there is a property of the project "Blackberry project dependencies" or something like that, which should be set for library and rapc.exe projects and the simulator would be their. That went away, and I was told during Devcon now suffice to add libraries to the classpath. Apparently, this is not so for me.

    Can you give me an indication of what goes wrong?

    The problem seems to be that I imported my projects since the previous version of Eclipse plug-ins, Blackberry. I have now created a new workspace and new projects, completely maintaining the source files, and it works.

  • problem with creation of file resources Eclipse plugin (or 1.0)

    I have problems with the creation of a resource file using the Blackberry for Eclipse version 1.0 plugin (later).

    (1) I which is the main project in the workspace, right mouse-click and click New | Others.
    (2) in the "Select a Wizard" dialog box, select BlackBerry | BlackBerry resource file and click Next
    (3) in the 'new BlackBerry Resource File' I click on the name of main project, which informs the "enter or select the parent folder" box.
    (4) I type a name for the resource-"res.rrh" file in the "File name" box
    (5) the following buttons and complete stay outside grey-ed.  Only the advanced buttons, back and cancel are available.

    According to the online manual for the plugin, the finishing touch should be available at this stage.

    At the top of the window, he said "Selected paretn should be under the source directory of the eclipse.  What does that mean?  I tried the project file and each directory in there.  This message does not disappear and the buttons remain out of grey-ed.

    How can I create a resource file using this plugin?

    Pau

    I discovered the solution.  Under the {project} \src directory, I had to create a new directory called Resources.  Then I was able to follow the steps I gave initially and could choose resources such as the parent directory.  The button become clickable.

    No where in the documentation of BB he said I needed to create a directory under CBC before doing the steps documented.

  • Problems with the plugin eclipse JDE for today

    Hello

    I am very very frustrated... I have the same problemfor the third time!
    Today I started my eclipse to work on my blackberry application and all my projects have disappeared. No project has been posted.
    I do not change my area of work or something like that!

    So I imported "blackberry existing projects into workspace" and return to my projects. Cool, but now I can not compile, debug, I can't do anything because the componentpack of the RIM is not in the way of construction more.

    I don't know how to describe... The single 't corrected it the last time was a relocation of all eclipse and JDE plugin. But this time I have already installed key sign, so I can't uninstall my eclipse without losing them.

    Please help me, I can't work with this buggy thing...

    I use Windows XP SP 2 with latest Eclipse and JDE 4.7... I downloaded 2 screenshots so that you can see my problem: http://files.killinger-it.com/eclipse/eclipse.jpg and http://files.killinger-it.com/eclipse/cmd.jpg

    RIM support team has solved my problem. This is a settings file broken.

    If you have the same problems (no workspace of blackberry, no compilation, etc.) easily remove the file:

    C:\Programme\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\settings.rc
    
  • Problem with criteria, GPS, with plugins Eclipse Simulator.

    Hello

    I work with Eclipse and I do an application that I use the GPS API.

    My problem is that always the LocationProvider.getInstance (new Criteria()) return null.

    The Simulator model 8830, GPS location is a location's the JDE 4.5.0

    Do I need any specific configuration?

    Thank you.

    It is a problem with the BlackBerry itself Simulator.  You can test the GPS using another Simulator model BlackBerry (for example BlackBerry 8310).

  • Eclipse plugin problem

    Hi all

    I was faced with a problem with the plugin for a while and I can't solve it.

    The problem is any program that I run in the Simulator works in the start. To eliminate the complexities, I created a new project and just have the demo of HelloWorld HelloWorld class as the source. Still, it runs at startup.

    I rechecked the file Blackberry_App_Description.xml. Auto-run at startup is unchekced and it does no entry in the "alternate Entry Points" either.

    Here are some details:

    Eclipse - 3.5

    BlackBerry Java SDK - 5.0

    Eclipse plugin - 1.1.2

    BlackBerry 9550 Simulator

    Thanks in advance.

    I found my problem with always updated application running.  Found on another thread here.

    If you go to the Debug Configurations there is a simulator tab.  There is a text box with the title

    Application or URL launch at startup.

    Make sure it is empty.  Hope that helps, this has been driving me crazy.

  • Eclipse plugin Web build and run the problem

    Hello

    I downloaded the plugin Web BlackBerry for Eclipse v2.0 Beta 1 with Eclipse 3.4

    When I choose Run as-> BlackBerry Widget and the execution of construction process never ends. I get a message in the saying of the console

    ******************************

    BUILDING BasicWidget

    cmd.exe /c bbwp D:\Projects\eclipseworkspace\BasicWidget\build\BasicWidget.zip/o D:/projects/eclipseworkspace/BasicWidget/construction

    When I click the progress tab, I can see the State as 'Sites Widget' guard goin on and on.

    I checked in the Task Manager, I see cmd.exe and bbwp.exe still alive and never leave, can suggest me what would be the problem?

    I tried to manually run the D:\eclipse\plugins\net.rim.browser.tools.wcpc_1.0.0.200910291414-35\wcpc\bbwp.exe, get "Exception in thread"main"java.lang.UnsupportedClassVersionError: Bad version in .class file number '.

    Java version "1.6.0_11.
    Java (TM) SE Runtime Environment (build 1.6.0_11 - b03)
    Java Client VM (build 11, 0 - b16, mixed mode)

    Windows XP SP3 32-bit

    Kind regards

    Arun

    I guess that the bbwp.exe that calls the bbwp.jar was compiled in a latest version of java.

    Java 1.6.0 update 11 doesnot work.

    I tried the update of java 1.6.0 17, all right.

    RIM just needs to update their http://na.blackberry.com/eng/developers/devbetasoftware/eclipseplugin.jsp requirements from (SUN JDK 1.6 or higher) update (SUN JDK 1.6 XX or higher)

  • Just recently, I receive the following error message when you try to access the web sites. I get a pop-up window indicating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. There is a problem with some plugin?

    Just recently, I receive the following error message when you try to access the web sites. I use Firefox browser version 10.0.2. I get a pop-up window indicating "Exc in ev handl: TypeError: c.location is null" as the web site page is displayed in the browser winder. So, I have to click ok. Any link/website I go to what happens. There is a problem with some plugin?

    It is only a problem for the SiteAdvisor users who are still on 3.4. This problem is resolved in the latest version of SiteAdvisor, which is 3.4.1.195. Go to http://siteadvisor.com and click on download. This will fix the problem.

    Meanwhile, SiteAdvisor team will push down a JS update in the coming days 1-2 to automatically resolve this problem in version 3.4.

  • Download BB Eclipse plugin problem

    Hello

    I'm trying to download the blackberry eclipse plugin, but it will stop automatically after a certain time.

    My suffering from this problem?

    Y at - it another way to download the blackberry eclipse plug-in.

    PLEASE HELP ME.

    or point me to the URL where I can download.

    Thank you

    Zahid Naqvi

    zahidalinaqvi wrote:

    Hello

    I think I should download and install download the update of the software for the BlackBerry JDE v4.6 Eclipse component Pack

    Yes, install this will give you the opportunity to develop using version 4.6.0 of the whole of the BlackBerry API and use the BlackBerry Simulator "BOLD" within Eclipse.

  • Problems with getting new Eclipse environment is fully functioning.

    I have problems of implementation of the new Eclipse environment that RIM showed at the DevCon.

    Problems:

    -API docs are different from the JDE 5.0.0.  They lack all the stuff of OpenGL ES.

    -The Simulator for 9550 does not appear.

    -How can I get the reloading of the my app without stopping the Simulator work?

    I installed the following items, in this order:

    -BlackBerryJDE5.0.0.exe

    -V3.5.1). Galileo (eclipse-java-galileo-SR1 - Win32.zip)

    BlackBerry_JDE_PluginFull_1.1.1.200911020017 - 11.exe

    -BlackBerry_Simulators_5.0.0.334_9550.exe

    Thank you for the time spent.

    The 5.0 SDK BlackBerry Java plug-in for Eclipse is beta 4, while the BlackBerry JDE beta 5.  The Eclipse plugin currently has an older version of the API of BlackBerry set, which does not include the classes of OpengGLES.  See update in my next post.

    You must close the BlackBerry smartphone Simulator during reconstruction and debug your application.  This is mandatory for all current BlackBerry smartphone simulators.  Update an application without having to restart the Simulator part of a later version.

  • Eclipse problem with icons

    I do a job more in Eclipse. The last step is debugging. Here I have a problem with icons not found. The icons are visible in the correct folder but the Simulator/debugger don't 'see' them. I suspect there are a few steps that I need to do, but I can't understand. See attached picture

    Is the folder containing the icons on the path of the source for the project? According to the structure of your project directory, the path of the icon of the program may have to be "/ 9.png" instead of "/ prg_icon/9.png ', etc..

  • Problems with the Eclipse Update site

    Hello

    I try to install the component pack v6.0.0. I'm just following the instructions here

    http://NA.BlackBerry.com/eng/developers/javaappdev/javaupdate.jsp

    and installation just hangs (or I get the Exception of transfer). I found many messages of forum on the problems with the update site but no solutions. Is this one? Or y at - it another way to install the component pack in eclipse?

    Thank you

    Sarah

    Hi Mark,

    Apologies that I was on vacation and never had to deal with that. I just tried to update the software development kits using the same procedure. It must have been a problem with the update site before that it worked well this time.

    Thank you

    Sarah

Maybe you are looking for

  • Screen off cuts / Audio

    My 55WF655 Grand Wega KDF, bought in 2006, goes through the following cycle after that power has sat for 5 minutes: -L' screen will dim the audio stops and the power light on the front of the TV blinks for about 40 seconds. -After about a minute, the

  • Help restore an iPhone 4 at the factory

    Hi guys,. Since my last question has not received a response for that 4 weeks I'm use to restore my iPhone 4 by default, as I now have a replacement and do not need more. However, the screen does not respond to touch, and when he does it quickly stop

  • translasion fore android

    a translate instantly massage on Skype

  • Logical layout of Equallogic storage with new members pools

    In each of our server rooms, we currently have 2 Equallogic storage pools: K 10-1 GB (2 X 6100 X) K 7-1 GB (2 X 6100F) We just bought an additional PS6100E and a PS6100XS for each server room. Existing 6100F bays that we include 3 TB drives, and a ne

  • failed to update the w10

    I have w7 and accepted an invitation to move to w10. It was several months ago, and since then, I have received comment that is notified when they are available. I checked hollow victory support, and displays the message that my computer has xp w, th