Results 1 to 6 of 6
  1. mithrazor's Avatar
    CrackBerry Master

    Posts
    1,082 Posts
    PIN
    2B1BC93C
    Thread AuthorThread Author   #1  

    Default How do I use the simulator?

    I'm not even a beginner app developer yet. But I want to develop something. But to get up and running, I need some help.

    I've downloaded the BB Cascades Gold SDK and I'm trying to play around with some sample codes. But I'm not sure how to launch the app in the simulator.

    Can anyone help?
  2. big bb's Avatar
    CrackBerry Abuser

    Posts
    394 Posts
    Global Posts
    396 Global Posts
    #2  

    Default

    Do you have vmware installed and the simulator also?

    If you don't go here https://developer.blackberry.com/dev...tor/index.html it will walk you through the simulator installation
    Quote Originally Posted by G-bone View Post
    BlackBerry : We invented the Smartphone Business.
    We're takin' it Back!
  3. mithrazor's Avatar
    CrackBerry Master

    Posts
    1,082 Posts
    PIN
    2B1BC93C
    Thread AuthorThread Author   #3  

    Default

    Yes, I have all of that installed. I have it up and running. The SDK detected the simulator's IP address. I have an example code ready to go.

    But I don't know how to run the code on the simulator. I clicked "Build" for "Simulator" or something like that. Then clicked "Run". But I'm not sure if that's even it.

    I heard something about doing stuff from command line. Not sure if I have to do that.

    I do have a background in somewhat familiar with Eclipse and Netbeans. So I'm not a complete noob. Or I don't think anyway lol. But yeah, I've hit a road block.
  4. cg76's Avatar
    CrackBerry Newbie

    Posts
    8 Posts
    #4  

    Default

    Once you have the simulator setup, right click on your project and set the build configuration to "Simulator-Debug" as shown in the screenshot below:

    How do I use the simulator?-run_configuration.jpg

    After that, just clicked "Run" to execute the app on the simulator.
  5. mithrazor's Avatar
    CrackBerry Master

    Posts
    1,082 Posts
    PIN
    2B1BC93C
    Thread AuthorThread Author   #5  

    Default

    So I'm doing that exact same thing.

    But I'm getting a Launch Error. "You are attempting to run an application built for the device on the simulator. Please rebuild your application for the simulator."

    That's what I was getting first. Now I'm getting this.

    "Deployment Failed: Info: Sending request: Install and LaunchInfo: Action: Install and Launch
    Info: Debug native: on
    Info: File size: 22615
    Info: Installing com.example.FallingBlocks.testDev_llingBlocks37d00 9c_...
    Info: Processing 22615 bytes"

    It might be because my laptop can barely run the simulator as it is. But even with the bottleneck I want to be able to mess around with code and get familiar. Does anyone know what the deal is?
  6. travisredpath's Avatar
    CrackBerry Abuser

    Posts
    188 Posts
    Global Posts
    190 Global Posts
    #6  

    Default

    Quote Originally Posted by mithrazor View Post
    "You are attempting to run an application built for the device on the simulator. Please rebuild your application for the simulator."
    This error means that you are not building for the simulator. Make sure that you have your build configuration set to Simulator-Debug as in cg76s post.

Similar Threads

  1. how do i use the my black berry as a modem
    By mr lamarr in forum BlackBerry Curve 83xx
    Replies: 1
    Last Post: 09-16-2008, 11:12 PM
  2. How do I use the Curve as a modem?
    By steve7410 in forum Verizon Wireless
    Replies: 2
    Last Post: 09-08-2008, 11:18 PM
  3. How do i use the music feature on my 8830?
    By Sotteson1 in forum General BlackBerry Discussion
    Replies: 2
    Last Post: 06-07-2008, 02:31 PM
  4. how do i use the memory card?
    By bigsamoa in forum BlackBerry Pearl 81xx
    Replies: 3
    Last Post: 05-01-2008, 10:22 AM
  5. how do i use the themes i downloaded in my blackberry?
    By marcelo_1376460 in forum BlackBerry Pearl 8100
    Replies: 3
    Last Post: 04-27-2008, 07:25 AM

Posting Permissions