jsr135

Sound issues on Blackberry 8330

It appears that on CDMA Blackberry 8330, almost every mp3 file I'm trying to play using J2ME, gets cut-of a few seconds before it's actual end. Does anybody has a clue? ...

JSR-135 MMAPI Implementing Custom Codec

Is it possible to implement a custom codec decoder and play a media file using JSR135? Actually I am interested in playing back a custom media file in J2ME. I think JSR135 is a good starting point but I am open to other suggestions. Thanks. Update I have not tried but I believe, if I open the file using JSR75 I will get an InputStream. ...

Blackberry Audio Recording Sample Code

This is probably lazy of me, but as I've mentioned before, the RIM website is a mangled mess. Does anyone know of a good repository to get sample code for the BlackBerry? Specifically, samples that will help me learn the mechanics of recording audio, possibly even sampling it and doing some on the fly signal processing on it? Basicall...

JSR135 and Blackberry Audio Recording Sample Rate

Is it possible to create a custom DataSource class in the BB SDK? The reason I ask this is because I need to record audio at a higher sampling rate than the default 8 kHz that Blackberry gives. Seems like the built in Locators don't support anything higher, just AMR and PCM audio, varying bitrates, but always sampled at 8kHz. I am 95%...

Streaming Video with Blackberry Simulator

So, I wrote a quick little app for the iphone that takes in an http URL, and plays the .mp4 video located at that URL (it does more than that, of course, but that's the meat of it). Naturally, I wanted to have it on more than just a single mobile platform, so I decided to target Blackberry next. However, I'm running into a lot of proble...

Audio files not Playing in Blackberry

Hi, Im trying to play recorded wave file.While playing,exception is thrown at foll. stmt.: Player player = Manager.createPlayer(is, "audio/mpeg"); My entire code for playing wave file is as follows: if (types[cnt].equals("audio/x-wav")) { Class clazz = Class.forName("RecordAudio"); InputStream is = clazz.getResourceAsStream("...

What is the proper way to stream HTTP video, or even to debug on a Blackberry simulator?

I've seen a lot of different methods for doing so, but none of them are specific (and my attempts to implement them have all failed). Does there exist a known way to stream http video on a Blackberry? Sample code, tutorials, anything? The closest I've found is: http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348...

How to play a video file in blackberry simulator?

Dear Friends, Can anyone tell me how to play a video in blackberry simulator.I have tried "http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1089414/How_To_-_Play_video_within_a_BlackBerry_smartphone_application.html?nodeid=1383173&vernum=0" This link for playing the video file.I could not get any...

Blackberry Simulator - player get stuck after 50 sec video playback

Dear Friends, I am using blackberry jde 4.6 and i use to test my application in blackberry 9000 simulator.Some times before i run one ".3gp" video file in my appliction.My application consist one player and two buttons with the name start and stop. If i click the start button then player will run the .3gp file which is stored in the SDCa...

Application crashes with Exception when using javax.microedition.media.Player

Hi, I have an application that processes data from bluetooth and send it to the web service. Recently there was a request to add sounds to the application. Now when the application processes batches of data and the player is playing constantly after a few secs I get "Application is not responding" exception. And then the process is term...

Blackberry - download and play video from web

I want to play video from a url in my Application...i want to first stream the video and store the data in a buffer and feed the data from the buffer to the player... ...

Blackberry buffered playback demo??

Can someone help me to buffer a mp3 file on a server using the Blackberry buffered pllayback demo app provided with the jde? I hav loaded it in the simulator. And my mds is started but I m unable to play the audio. There is no error but it doesnt play/load. The code looks all fine. Thanks ...

BlackBerry - controlling video playback (play,pause,forward,seekbar)

Hi Anyone please help me to add video controls(play,pause,forward,seekbar) to my application ...

BlackBerry - video player - FramePositioningControl is null

I'm developing a blackberry application that plays video from the server. I've used Player.start() and Player.stop() for playing and pausing a video. But I also need rewind, forward and seek bar controls in my application. I tried using FramePositioningControl for these controls. But the following code is returning null. FramePositionin...

Blackberry - Player with custom data source

Hello I must create a custom media player within the application with support for mp3 and wav files. I read in the documentation i can`t seek or get the media file duration without a custom datasoruce. I checked the demo in the JDE 4.6 but i have still problems... I can't get the duration, it return much more then the expected so i'm su...

Is there a way to enumerate the video devices on a Java ME phone?

I recently downloaded a barcode reading application for my phone, an LG KU990i (AKA the Viewty) However, there's a problem that renders the application nearly useless: the Viewty has 2 cameras -- the main one, and a secondary camera located on the face of the unit -- and it is the secondary camera that is unfortunately set as the phone's...