Click here to Skip to main content
15,889,808 members
Articles / Mobile Apps / Blackberry

BlackBerry - This is sexy, isn’t it?

Rate me:
Please Sign up or sign in to vote.
4.00/5 (2 votes)
15 Apr 2010CPOL2 min read 11.4K   1   1
Some time ago I found an interesting “feature” on the BlackBerry emulator.It seems under special conditions we get some funny messages.Luckily I was able to reproduce the behavior and here are the steps, the screens and the funny messages.1.

Some time ago I found an interesting “feature” on the BlackBerry emulator. It seems under special conditions we get some funny messages. Luckily I was able to reproduce the behavior and here are the steps, the screens and the funny messages.

  1. Run clean.bat in C:\eclipse_g_341_jde7\plugins\net.rim.eide.componentpack4.6.0_4.6.0.16\components\simulator\

    or skip this but make sure the Contacts list is empty.

  2. Copy my application to the simulator folder.

  3. Run the application – should look like this.

  4. Add any dummy contact, like this.

  5. Run the application – you should get an error and get to this menu screen.

  6. Choose “VM internal test” from the menu.

  7. You should now get a series of screens looking like this. (1)

  8. Screen 2.

  9. Screen 3.

  10. Screen 4.

  11. Screen 5.

  12. Screen 6.

So I got curious as to where the text comes from. I looked for the “This is sexy, isn’t it?” string, but could not find it anywhere. I almost gave up until I decided to try “bill” from the last screen, and to my surprise I got a result in Jvm.dll. Most of the strings were there. The file excerpt looks like this:

This *is* Banner    (1/1)   Patching Java   This *is* BANNER!   A Message   (too of fwee)   Oh no mr bill, something has gone horribly horribly wrong. oh nooo. o nooooooooo.

I was happy to find the source, but still no trace of “This is sexy, isn’t it?”. Well, in my opinion this special text comes from some image memory copy operation, something like BitBlit in GDI.BitBlit.

Finally, mystery solved :)

Some tech details:

  1. this behavior only seems to exist in net.rim.eide.componentpack4.6.0_4.6.0.16 and not other emulators.
  2. other emulators offer the “VM internal test” menu option but do not show anything. They don’t even show a new screen.

As conclusion, I leave you with a question: Who in the name of H and H is Bill and what is his role into all this? If you find out, please let me know :)

Edit 2009-11-24: If you liked this article, you should also check another rare bug here BlackBerry - IllegalStateException ArticInterface::DocPosToCaret

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Website Administrator none
Austria Austria
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralBill is Mr. Bill from SNL Pin
Rexxrally19-Apr-10 11:08
Rexxrally19-Apr-10 11:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.