Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

New Developer
Posts: 11
Registered: ‎02-17-2009
My Device: Not Specified

DataSource.stop() never ever get called??????

[ Edited ]

I am implementing a custom DataSource and have some code that needs to be executed in stop(). I've tried and none of my code would execute. So when does DataSource.stop get called?


DataSource.start gets called when I called Player.start(), but DataSource.stop never get called when I call Player.stop() , Player.deallocate() or Player.close()


I am using Bold simulator

Message Edited by letitbe on 04-10-2009 09:57 PM
BlackBerry Development Advisor
Posts: 15,700
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: DataSource.stop() never ever get called??????

What BlackBerry handheld software version are you testing on?  You can find this under Options, About on the BlackBerry Smartphone.


Can you post a code snippet of your implementation?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker