My app in the simulator of loading

Complete n00b question - how to run my code in the Simulator?

I use the JDE and I have the program "hello world" just one of the examples.

I create the project and press F5. The Simulator starts and loads of Blackberry OS.

Now how my code?

I tried the following:

-File--> load Java program...--> open my .cod file. No effect.

-Find my program in the list of applications. He isn't here.

-throw a NullPointerException in my main() function. Nothing.

Did I miss something blatantly obvious? Thank you.

Open your JDE application and select from the menu: build together and Run

Find the icon for your application among the other icons on the screen of the Simulator and run your application.

If you have not set the app to your app icon - there is a simple square icon for your application. Take a look at app names appear under the icons. And select your application.

Tags: BlackBerry Developers

Similar Questions

  • Can not see my App in the Simulator

    When I run (debug-> go) apply for BB JDE, Simulator starts. When I load my .cod on Simulator file using the file menu-> Java program load. I don't see my app in the Simulator. Please tell me what to do. I want to debug and test my application.

    In the JDE Menu "project / all of the ongoing projects.

    Only the project asset (s) copied.

    AND... Look in the folder for downloads on the Simulator - your application will not be on the homescreen of icon.

  • To open the app in the simulator of BB 10 Alpha Dev in debug mode

    Hello

    I develop black berry 10 webworks app. I use the latest version of the sdk provided and the dev alpha 10 blackberry Simulator to run the application. I am also using the ripple chrome emulator to test and debug the application.

    I want to debug the application on the simulator using the browser webkit or something like that, but for some reason I'm not able to do.

    While the application of packing, I inserted the - d option. It says on the bb site which

    "With your application running in the Simulator in a desktop browser, type http://:."

    I tried to but could not see the application in debug mode.

    I tried port numbers, since I was on the apache server

    8080,8181,85...

    Could any body help me with this

    Thank you very much in advance

    See you soon

    Because you added the - d option, it should work very well. All you need to do is put the device/Simulator in developer mode (settings-> Security-> Developer Mode) and I guess you have already done this. In almost all cases, I worked with BB PlayBook and BB10 all what you need to do now is the point of your browser Chrome this URL + port:

    http://:1337
    

    The INVESTIGATION period should not be the problem since you already deployed the app on the Simulator, I guess? So give it a try with the port number and it should work now.

  • How to exit an app in the simulator of Playbook Tablet?

    Hi, I have just compiled the sketchpadstandard in an application and have it currently running in the Simulator.  How do I exit/quit out of the app in the Simulator?

    I found my answer.  There are 'slide' to the top of the black bar at the bottom of the Simulator.

  • ' - deb.. ' appended to the app in the Simulator?

    I updated to the latest version of the SDK (1.0.6) and simulator of PB and I have an AIR application.

    After the first launch (debugging) of my application the name of the application under the icon of the app in the Simulator shows ' [ApplicationName] - deb... "(without the quotes).

    [ApplicationName] is the name that I entered the node of the [ApplicationName] - app.xml file, but where is the '-. deb ' come from? And who has also been added on the real PB? If so, how can I avoid this?

    It's "-debug" which is added to the app.xml file while you are debugging. Release final version deletes it.

  • Cannot debug/run app in the Simulator from IDE update

    I did the error has earlier to upgrade my momentics IDE to 2.1, and since I'm unable to successfully launch my app to the market or debugging in a simulator. The application loaded on the Simulator and I can run from the home screen by pressing on it, but while the splash screen is displayed, the application stops immediately when launched from the IDE. There is no error message displayed in the console, the application stops just immediately after the splash screen is displayed.

    I tried with five simulators which worked very well all the way from 1.0.x to 10.3.x. I am lucky to have an old copy of the 10.1.0 IDE still on my system and I can run and debug my app very well using this one, but I would really be able to use the IDE to 2.1 again. It worked fine on the 2.0 IDE too, these problems just started to happen after the 2.1 IDE update.

    Has anyone else seen this, and if so, have you found a solution?

    OK, never mind. I accidentally upgraded my old working version of the IDE too all by improving the SDK (I forgot that it updates too the IDE) and panicked because then it would be not too run or debug from the IDE. I solved it but by uninstalling the TWO versions of the IDE, then put it back up from scratch. After the clean install, everything is fine and I can run and debug fine with 2.1 IDE.

    I guess it's something messed up with the upgrade process. A fixed.

  • Can deploy app in the Simulator, but not to the device

    Sorry about this newbie question, but how is it that a simple HelloWorld application compiled in Eclipse runs just fine on the Simulator, but cannot be installed on a 8320 Curve by the Blackberry Desktop Software?

    I use the latest version at all.  The message returned by the desktop software is:

    ! There was an error importing files.
    No additional applications can be found. Your file can
    contain applications that already exist in the list of applications,
    are not compatible for your device, or errors.

    However, I am able to deploy the application on the handset using the command line tool:

    C:\Eclipse\plugins\net.rim.ejde\vmTools\JavaLoader.exe -usb load \workspace\HelloTest\deliverables\Standard\5.0.0\HelloTest.jad
    

    This installs the application, which then runs correctly on the device.  I can then reload the list of app on the Blackberry Desktop Software tool and it shows HelloTest, but under the properties of the Application-> dependencies it says:

    "Application not available (net_rim_cldc).

    It seems that some dependence crept in the generation of the application and that confuses the desktop tool.  The curve is running 4.5 OS.

    Should I just throw this office tool, or how can I clean the application so that it installs correctly?  Obviously, this is just foreplay before building a much broader application, and I wish I had these little glitches will hamper ASASP.

    Thanks for any help!

    You should be able to download a plugin 4.5 on the site to update. Go to "help > install new software" to open the screen of software available. If you have not yet done so, add the updated BlackBerry site to your Eclipse configuration:

    1. Click on "available software Sites.
    2. Click on the button 'Add '.
    3. Enter a name such as 'BlackBerry update location' and set the location http://www.blackberry.com/go/eclipseUpdate/3.5/java
    4. Click OK, then OK again to return to the screen of the software available

    The 'working with' menu drop-down, select the location of BlackBerry Update (or whatever you named it). Expand the BlackBerry Java plug-in category and you should be able to select an appropriate plug-in version.

  • Quick help please - App in the Simulator

    Hi guys,.

    I hope that for a quick resolution here to get my apps submitted before the deadline for the free playbook

    I went through all the tutorials and successfully signed my android applications and managed to get the icon to the simulator by clicking the .bar created in eclipse and then go to blackberry tools and then install, but when I click on the icon in the Simulator, he opens says «Initializing please wait...» "then after about 30-45 seconds, the start of blackberry screen appears and then just goes back to the home page.

    Someone else this experience? Can you point me in the direction of what can go wrong?

    Thank you

    Ian

    Thanks to everyone on this thread and the other thread problem for their suggestions to solve this problem.

    I had the same problem, but I would just add something that makes the Simulator works for me...

    -Already put 2 carrots on WMware, as suggested elsewhere. Still the Simulator was not for me.

    -Put the monitoring high task (for processes in WMware Windows Task Manager)

    and finally it worked! Works quite slowly, but I found this on other computers: at least it opens the app!

  • Help me! Cannot delete app in the Simulator.

    I want to remove my application from Simulator to test some things. I go to Option-> advanced-> Application-> Module Option and remove my app, but after simulator restarts. My application still remain. Help me! Thank you.

    Go to the directory of Simulator and manually deleting the file DOC.

  • Cannot debug/run app in the Simulator

    Hello.

    I have a project of cascades using target_10_0_9_2318 and host_10_0_9_529.  The project brings together and connects properly.  I'm testing this point on the Simular because I don't have a camera BB10 and PlayBook is still 2.1 OS.  The version of the Simulator is 2318.

    This is the error message I get Momentics when trying to debug the application (note that this message is displayed after I provided my debugging password):

    Error in the final launch sequence
    Impossible to prepare and upload the binary file
    Package failed: 1
    Error: Path access valid asset 'libfonts.so '.

     

    I also had this message on a previous NDK and have updated it and my project, thinking that it was a bug that has been fixed.

    I understand what the message says, but I don't know how to correct it and why he can't find this font library.  I can't link the library using lfonts - because the library cannot be found.

    I work under Linux.

    Thank you

    Colin

    Hi all.

    I don't know why libfonts.so is not found, but I decided to try just remove my file of bar - descriptor.xml.

    This allowed the program to start. I should point out that I have added these libraries using the function "Add library" of Momentics. I therefore believe that there is a bug in this feature.

    Thank you
    Colin

  • Cannot run app in the Simulator!

    Hello

    So I did the project using Flash Builder and since the SDK is buggy and can't be packaged and signed using Flash Builder, I have updated the content property of the XML to "App.as" and packed using the command line. I also did the 2 step of signing process.

    Now I have installed the signed bar file using the command line, and when I open the app, I see a gray screen!

    I think that 'App.as' is an action script file which I use in the tag content. On the other hand, Flash Builder creates a SWF file using this and which uses as content. My question would be, how can I do?

    In addition, no one knows about the next SDK release? This SDK is really buggy!

    Hey Foundation.

    you mix two steps into one. Please do the following:

    1. Change your content of the tags in the - app.xml back to the original value. so, something like this:

                              [This value will be overwritten by Flash Builder in the output app.xml]
      
    2. Then, you need to compile your application. After resetting the - app.xml under your src directory, you can do this part in flash builder. to do this and after measurements, please carefully follow the instructions in this thread:

      http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/useful-tip-package-images-via-com...

    After that, you should be able to package and sign your App. Good luck!

  • App installs in the Simulator, but will not work

    I installed a (bar) AIR app in the Simulator (currently using the default icon), but when you click on it, it does nothing.

    I tried various sovereign wealth funds including extremely simple without success.

    I tried in the card Sim PlayBook. and the card Sim BB10. The only difference in the latter case, it is only after you click the icon, the screen clears before returning to the original state after doing nothing with my application.

    I tried without success AIR 2.5 - 3.2.

    In the command line, I see: blackberry-airpackager version 1.6

    I use Vmware 4.0.4 (after many hours of Assembly and disassembly of the different versions of Vmware)

    It has many old Posts with suggestions on how to package and install AIR applications built in Flash Pro. for use with the PlayBook.

    What is the most recent and correct for PB so BB10 method?

    Thanks to steve_web:

    The problem was that I try to run the SDK/bin folder command line package manager and using full path of the directory for files SWF and xml of th.

    As a result, there is a similar directory structure in the folder of the air in the BAR.

    I did that because I couldn't have the classpath working to run Packager outside the bin folder.

    I got it finally work when I realized it was WAY not the CLASSPATH that needed to be added.

    In short... the app worked, but it didn't load the swf file because he was in a series of subfolders in the BAR.

    Thanks Steve!

  • Blackberry app in the world running on the Blackberry 10 Simulator

    Hello

    I would like to run blackberry apps world that I download on App world on the Simulator.

    I could do with the pre OS 10 simulators, but with the latest it doenst seem to work, no matter what Application download.

    I tried with different versions of the Simulator including 10.2.2_0X1444

    The Simulator to load correctly.

    I can browse the internet, so I know I have connectivity,

    I can go on the App World and then choose an application to download.

    The progress bar then moves as it downloads the file.

    However at this point, I'm getting the problem. Once the file is downloaded then just get the message 'Installation pending '.

    Is it possible to get an app in the blackberry world to run on the Simulator?

    answered my own question...

    Of

    https://DevNet.madewithmarmalade.com/questions/14729/test-launch-of-a-BlackBerry-bar-file-on-a-Devic...

    The reason is basically because the Simulator is x 86/intel architecture and we build for ARM (device architecture).

    We want to support the Simulator, but various other tasks (for example Windows Phone) platform support take priority for the forseable future. There are some difficulties to support the Simulator with an internal architecture on our side, graphics drivers, etc..

    Note that because the binaries, you can run in the device Simulator BB10 and aBB10 are different (if you use BlackBerry own SDK, it will compile two different binary, one for each architecture), you would not even test a real construction identical and there is always possibility of issue on the device, you do not see on the desktop.

  • Use Loader() to display the image in the Simulator?

    Hi all

    This is a very specific question: it seems that the Flex Hero Loader() class does not work when loading an image file in the Simulator.

    When to use flash.display.Loader to load and display an image file,

    It works fine when run on emulator Burrito, but nothing appears when running PlayBook Simulator (the image file is accessible on the Simulator: I can see his name and size)

    Anyone know if something is wrong with the Simulator and Loader()?

    Thank you.

    Same problem with the Image of QNX,

    the problem is on the URL, which should include "file://".

    as described in your solution here:

    http://supportforums.BlackBerry.com/T5/Tablet-OS-SDK-for-Adobe-Air/view-image-from-applicationStorag...

    Thank you.

  • Can't see image Simulator in the Simulator window

    I have the eclipse plugin and when I run an app in the Simulator, simulator window appears and it is empty.  I use the Edit-> copy instant camera and then 'paste' in the painting and the image of the phone rises.  I looked around and I can't find another post with this problem, so any help would be appreciated.

    Thank you

    Found my question - the simulator window was open on my secondary monitor.  When moved to the main screen images appeared very well.

    Thank you

Maybe you are looking for

  • Microsoft Security Pop up in iGoogle

    Moved to another thread.

  • Query a database - connection duplicated error.

    I use the following to select data in my database: QVariantList Database::queryDatabase(const QString query) { QVariantList sqlData; SqlDataAccess sqlDataAccess(mDbNameWithPath); sqlData.clear(); sqlData = sqlDataAccess.execute(query).value(); if (sq

  • change of Win8 to Win7

    I bought a laptop with Win8 installed 64.  It is not a touch screen. I want to erase Win8 and go with Win7 64.  What if any are the problems I have to face?  The processor is AMD E2-1800, 8 GB of RAM, 500 MB HD Erase the HD, then start the Win7 insta

  • How to open the files of hbk

    I sent text messages from my phone to my email account android, but they have the file extension .hbk and I can't figure out how to open them.  Any suggestions? ANdrea

  • Unable to save Windows 7

    Hello I am not able to record Windows 7 on my wifes PC. Is it because I had previously recorded on my laptop?  If this is not the reason, what can I do? Thanks for your help. Mark