File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17276

"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 - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: DataSource
It's not a secret anymore!