Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Java Micro Edition and the fly likes DataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "DataSource" Watch "DataSource" New topic


irfan masood

Joined: Jul 03, 2004
Posts: 3
Hello guys
Can anyone tell me the way or code how can i play an audio/video file using
datasource. If i put my file in my projects directory res then how can i access it in the mobile. I am trying to play video file but its not working so can anyone sort my problem out by giving me the code my code has already been uploaded in that code an exception has been thrown at p.realize() method i have to submit my university project so plz as early as possible sort my problem out.
thanks very much
irfan masood
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

"i have to submit my university project"

So are you basically asking us to do your homework for you?

I can tell you that if you look at the Sun Specifications for MMAPI you will find some good sample code.

Unfortunately we aren't a site to do your homework for you.

Good Luck


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Have you tried LearnNowOnline?
subject: DataSource