May 26th, 2011

Flash Mobile Device Simulation and Update for PlayBook Device Simulation released!

I released the first version of the Flash Mobile Device Simulation and an update of the PlayBook Device Simulation tonight. After the great response on the PlayBook Device Simulation, I decided to extend the solution and provide something similar for all mobile platforms supporting AIR applications. I recreated the ActionScript Simulation Library  and the AIR Simulator application from scratch. The Flash Mobile Device Simulation provides features which are available for all mobile platforms and core functionality for the comminication between the mobile application and the AIR Simulator application. The PlayBook Device Simulation extends the Flash Mobile Device Simulation with PlayBook specific features.

The first version of the Flash Mobile Device Simulation supports Geolocation and Accelerometer and provides the possibilty to import simulation information as XML data, for example as GPS Exchange Format 1.1 (GPX) waypoints.

Additionally to the new features of the Flash Mobile Device Simulation, the PlayBook Device Simulation was updated to implement the latest BlackBerry PlayBook SDK 1.0.1 and supports qnx.system.QNXSystem. To run the PlayBook Device Simulation, you have download both ActionScript libraries.

7 Responses to “Flash Mobile Device Simulation and Update for PlayBook Device Simulation released!”

  1. Map says:

    Hi Patrick, can you check the download link of the
    Flash Mobile Device Simulation (the AIR application) again? The .air file seems not to be there anymore. Thanks for posting this article. Your solution looks quite simple to use and I really want to try it.

    Is this the correct path to your .air file?

    http://www.patrick-heinzelmann.de/labs/flashmobiledevicesimuation/FlashMobileDeviceSimulator-0.0.1.air

  2. Patrick says:

    I have corrected the path for the air file of the simulator application, you can use the installer again.

    Thanks Patrick

  3. Map says:

    Thanks a lot, Patrick.

    I downloaded the simulator and tried it with your sample demo source. The demo application was able to detect some initial options from the simulator (e.g. supported/not supported, muted/unmuted) but can not receive any event from the simulator. Maybe I did something wrong here. I’ll try it a few more times and get back to you later.

  4. Patrick says:

    @Map The initial data will read from your hard drive while, the changes will exchanged via Socket communication.

    Has the connection indicator for the socket connection (little circle in right upper corner) turned green? Maybe you firewall blocks this communication port (default port number: 5555)?

    Patrick

  5. Map says:

    Hi Patrick, I also think that the initial values were stored on the hard disk. As you guessed, the connection indicator remains gray so I disabled the firewall and closed some clients that may be using the port 5555 but it’s not turned green for me.

    I do not use the Flash Builder and Conditional Compilation so I commented out the code blocks below the CONFIG::device flag, keeped the blocks below the CONFIG::adl flag. The source was compiled with FlashDevelop and then the application was launched with ADL. Do you think it will makes any difference compared to your build? I’m a little bit experienced with Flash AS3 but new to AIR development so this is the first time I used such tools like ADT, ADL,…

    Thanks for your responds so far.

  6. Really interesting Patrick, ill try myself here.

  7. Aaron says:

    Hey Mate,

    Been looking for something like this for ages… absolutely awesome plugin… Not sure why Adobe dont include something like this in Flash Builder but this plug in is gold…

    Keep up the good work.

    Aaron