Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

DataSource

 
irfan masood
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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

Mark
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!