05-27-2009 12:16 PM
1. Do we need to re-create our web pages using other languages, like Java or ASP.NET?
2. Which embeded player can we use?
3. Can we stream the audio (our clients may use different types of browsers on their BB, we'd better streaming the audio instead of allowing them to download).
4. Is there any tutorial or white paper related to how to write dynamic web pages for BB?
Thanks a lot!
Solved! Go to Solution.
05-28-2009 08:00 AM - edited 05-28-2009 08:03 AM
05-28-2009 11:40 AM
Thanks staktrace! So glad to know there is a built-in media player! I have some more questions:
1. We don't have to provide the classid for the built-in player?
2. Is the build-in player embeddable?
3. I don't have a BB, how to test to pull the URL from it? It seems that there's BlackBerry simulator when downloading BlackBerry JDE. Is there a standalone BB simulator?
05-28-2009 12:51 PM
Seems that I cannot get the simulator to work! I just installed BB 9000 simulator. When ran it(9000-Vodafone.bat on the command line console), I went through a setup wizard but no keyboard or trackball (when I moused over the bottom part of the simulator, I saw some displays of charactors etc). I'm not sure where's the menu key or how to open it. I did see "Files", "View" ... menu items on the top of the simulator.
I just want to test some websites on BB Browser. What're the step to do so from the very begining? Thanks a lot!
05-28-2009 05:51 PM
I guess this thread is in mess now. Please ignore my questions on the simulator. Allow me refresh the questions:
1. Is there any embeded media player for Blackberry Browser?
2. I tried to create a website to play music, but the "object" element didn't work.
3. I used <a href> instead, and the music played if it's pulling from a web server, but steaming from a Windows Media Service didn't.
Basically, the following code says my questions of 2 and 3:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="HandheldFriendly" content="true" >
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<title>BB Media Test</title>
<a href="http://my_host/sample.mid">play music link</a><br /> <!-- music plays but the player is not embeded -->
<object data="http://my_host/sample.mid" type="audio/mid"><param name="autoplay" value="true" /></object> <!-- ignored -->
Have to say that I am very beginner on BlackBerry applications. Thanks a lot for any help!
05-28-2009 11:33 PM
When you say "ignored" what do you mean? Does it not show anything at all? Try putting some text inside the object tag and see if that shows up (if the browser can't render the object it is supposed to render the content as fallback):
<object data="foo.mid" type="audio/mid">MIDI not supported</object>