jump to navigation

Basic mLearning with BlackBerries January 10, 2009

Posted by B.J. Schone in eLearning.
Tags: , , , , , , , , , , ,
trackback

I’ve spent the past few weeks figuring out how to design and deploy content that can be accessed on BlackBerry phones. I’ve run into some obstacles, but overall it’s been a good experience. I thought I’d share my adventures here and talk about some of the speed bumps I encountered (to hopefully save you some time and frustration).

I’ll assume you…

  • Have done up-front analysis and determined your organization has a need that can be addressed by mobile learning (mLearning)
  • Have an audience that primarily uses BlackBerry phones
  • Have a basic level of technical knowledge, including the ability to write HTML (or use an editor like Dreamweaver)

Heads up, Mac users

The BlackBerry tools and simulators are for Windows only. The only way to run them on a Mac would be to use a PC emulator like VMWare Fusion or Parallels.

Download a BlackBerry simulator

If your entire audience is using the same model of BlackBerry, you’re in great shape. If they’re using a variety of models, you’ll have a little more work to do. Start by downloading and installing the BlackBerry simulator(s) matching the model(s) of your users. Go to the BlackBerry Development Tools and Downloads page and click Download the BlackBerry Device Simulators. Fair warning, you may have to update your Java (JDK) version; the installer will prompt you if the update is required. Once you install the simulator, go ahead and open it and take a look around.

Here’s a screenshot of the BlackBerry Storm simulator:

BlackBerry Storm simulator

Browsing the web using the BlackBerry simulator

In order to browse the web using your BlackBerry simulator, you’ll need to download and install the BlackBerry MDS Simulator. Go back to the BlackBerry Development Tools and Downloads page and click Download the BlackBerry Email and MDS Services Simulator Package. Install the software, and again, you may have to update your Java JDK.

Once you have the MDS Simulator installed, you should be able to follow these steps to browse web content on your BlackBerry simulator:

  1. Start the MDS service by going to Start -> Programs -> Research in Motion -> BlackBerry Email and MDS Services Simulators 4.x.x -> MDS
  2. Open the BlackBerry simulator by going to Start – Programs -> Research in Motion -> (Your model number)

Troubleshooting the MDS Simulator

The MDS Simulator caused tons of headaches for me. Here was the biggest issue: I would start the MDS Simulator and a command window would quickly open and then close. After tons of research, I found that it was throwing an error (due to a Java issue) and then immediately exiting. The device simulator would start fine, but I was unable to use the web browser to browse web sites (ex. CNN.com or local content). It was very frustrating. After much research, our team figured out how to fix the issue. In case you run into the same problem, give this a shot:

  1. Open this file: C:\Program Files\Research In Motion\BlackBerry Email and MDS Services Simulators 4.x.x\MDS\run.bat
  2. At the beginning of the file, after the call setBMDSEnv line, add this code: set JAVA_HOME=”C:\progra~1\Java\jdk1.6.0_11″. Make sure this path matches your version of Java on your machine.
  3. (Re)start the MDS Simulator.
  4. Open the device simulator.
  5. Try browsing a web site – you should be in good shape.

Now that you’re up and running…

You can browse web sites now, so you’re ready to start developing content. I highly recommend using a tool like Dreamweaver to develop your content. It’ll help you write clean code that is more likely to display well on a mobile device like a BlackBerry. Once you’ve built a few HTML pages, upload them to a server and then browse to the pages using the BlackBerry simulator. At this point, you’re in great shape! Make modifications to your content, design, code, etc., and then refresh the page in the simulator. Repeat until you’re happy with the results – and then begin testing on real devices to make sure everything still looks good. Finally, email the link to your users so they can access the content.

That’s it!

I’m curious to hear about your experience. Let me know if you give this a shot, and please ask questions, share problems, etc.

Comments»

1. jrandersoniii - January 10, 2009

Remember, Intel Macs can dual boot, and run Windows (whatever) as well or better than a PC box 🙂

2. Is it Easy to Create our Own Website? Html Tips | Tutorialism Weblog - January 11, 2009

[…] Basic mLearning with BlackBerries « eLearning Weekly […]

3. mLearning on a BlackBerry | Workplace Learning Today - January 12, 2009

[…] Basic mLearning with BlackBerries | eLearning Weekly | B.J. Schone  |10 January 2009 […]

4. Robert Gadd - January 12, 2009

Hi B.J.,

Nice summary and installation recipe/write up too. As a member of the RIM ISV Partner Alliance, we use these simulators on a daily basis to verify behavior for both BB web and BB native (installed) applications for things like content/buttons/links/etc/. As you pointed out, most organizations won’t have just one kind of BlackBerry handheld smartphone; rather, the bigger the organization, the more likely they are to have 3, 4 or even 5 different models from 1 to 4 years old. For that reason, we’d strongly suggest selecting one of the older simulators rather than a new one for your testing. BB OS 4.2.2 is where we start our testing to insure legacy support to older devices like BB 8703s, 81xx/Pearls and 83xx/Curves. The newer sims work on BB OS 4.6 or higher and what works one these 9000/Bold and 8900/Curve II devices won’t necessarily work on the older BBs.

Hope that helps.

Robert 🙂

5. B.J. Schone - January 12, 2009

Great input, Robert. Thanks for contributing. Now I know exactly who to call when I have issues with BlackBerry simulators. 😉

6. bhushan kasturiwale - February 25, 2009

thanks that was great help

7. Frank - March 10, 2009

Thanks for this post, just what I needed to clear the installation process up.

8. d - July 13, 2009

Hi, i have done the steps and also the fix but still couldn’t browse using 9500 simulator

9. d - July 13, 2009

i am able to browse now – thanks for this – the issue now is I can’t browse local contents

10. d - July 13, 2009

so i am able to browse also on localhost – it seems i have to use ip address instead of http://localhost

11. Daeng - July 21, 2009

Nice and juicy info and I will make a try. Do you agree if I suppose that browsing through this emulator can really compress my bandwith like opera mini done and make my browsing fast??

12. B.J. Schone - July 22, 2009

@Daeng – I don’t believe the emulator will affect download speed. It is for testing purposes only.

13. gayathri - November 12, 2009

Good summary on setup! Thanks!
I am not able to access http://localhost:8080 or by http://:8080. Both is not working.. where as http://www.google.com and other websites works fine.

am i missing anything. thanks in advance.

14. gayathri - November 12, 2009

It seems like formating issue in my previous message. I was trying to say http://ipaddress:8080 and http://localhost:8080 are not working for me.

15. Vinayak Kadam - December 28, 2009

Hi B.J,

Absolutely nice piece of info by you. I work with elearning projects and is looking fwd to implement same on BB browsers. We mostly use Flash on desktops, but lack of support to Flash on BB devices is prompting us to use HTML/JavaScript. I agree to the fact the dreamweaver shud be the best choice in that case…..but alternative tools like Lectora can also help…. what do u say ?

16. B.J. Schone - December 29, 2009

@Vinayak – If you go with HTML/JavaScript solutions, then yes, you can use almost any authoring tool (ex. Dreamweaver, Lectora, etc.).

17. Vinayak Kadam - December 29, 2009

Thanx a lot for your quick reply B.J. I have tried running a course created in Lectora on balckberry browser, but it said “dynamic HTML not supported”. Same happened with WM5 browser….do have something to help me about this…

and do I have any other option to run mlearning courses on iphone/BB apart from HTML/JavaScript solutions?

Thanks for your kind consideration!

As ever,
Vinayak

18. B.J. Schone - December 29, 2009

@Vinayak – I don’t work with Lectora, so unfortunately I won’t be able to provide any suggestions. And HTML/Javascript solutions are the only method that I know of for building mobile learning courses (besides building native applications). Good luck!

19. Vinayak Kadam - December 30, 2009

Hey B.J,

Thanks a lot for your quick replies and your views were fantastic….quite practical…thanks for your support once again…such blogs help us to take firm decisions!

20. Vishal Gaikwad - February 21, 2010

I am working on the blackberry application…It was working fine with mds for last two week but suddenly it has gave me the problem that the run.bat file does not start the process it just flash once and get vanished…..
So any solution for this why did it happened in the middle……
The env variable are set correct my javac and java command are running correctly on command prompt so i think no problem with env variable ….. So plz it any one could solve the problem

Thanks …….

21. Blackberry Mobile Phone India - February 23, 2010

Any IDEs for developing these?

22. balau - April 29, 2010

i really don’t understnd

23. Sulaimaan Arbee - May 27, 2010

Any developments in creating SCORM content for this? Maybe using Lectora/SABA Publisher.

24. Install Blackberry Simulators on Windows Vista : Blackberry Emulator Install Notes | Deadly Technology - September 4, 2010

[…] So anyway, had to download and install the blackberry simulator for Windows for bug fixing. Its quite a process, this is the best guide I found to install everything for the blackberry emulator. […]

25. Testing Mobile Web – phones and platforms to focus on | NOMTEK - October 21, 2010

[…] simple post describing how to setup simulator environment […]

26. mobilevertising - January 2, 2012

I am starting BlackBerry apps development today and looking for BB simulator guide and I found your blog! Thank you for sharing and care to help new learner like me.

Definitely I will bookmark this blog.


Leave a comment