S selvamurali Active Member Licensed User Longtime User Oct 23, 2012 #1 dear Team i used the following code to play mp3 file but it shows File not found Exception Sub Globals Dim sp As MediaPlayer End Sub Sub Activity_Create(FirstTime As Boolean) sp.Initialize2("sp") sp.Load(File.DirAssets,"Kalimba.mp3") sp.Play End Sub but when i use .mid file it play well. help me
dear Team i used the following code to play mp3 file but it shows File not found Exception Sub Globals Dim sp As MediaPlayer End Sub Sub Activity_Create(FirstTime As Boolean) sp.Initialize2("sp") sp.Load(File.DirAssets,"Kalimba.mp3") sp.Play End Sub but when i use .mid file it play well. help me
Informatix Expert Licensed User Longtime User Oct 23, 2012 #2 selvamurali said: dear Team i used the following code to play mp3 file but it shows File not found Exception Sub Globals Dim sp As MediaPlayer End Sub Sub Activity_Create(FirstTime As Boolean) sp.Initialize2("sp") sp.Load(File.DirAssets,"Kalimba.mp3") sp.Play End Sub but when i use .mid file it play well. help me Click to expand... The first letter of your file should be in lowercase Upvote 0
selvamurali said: dear Team i used the following code to play mp3 file but it shows File not found Exception Sub Globals Dim sp As MediaPlayer End Sub Sub Activity_Create(FirstTime As Boolean) sp.Initialize2("sp") sp.Load(File.DirAssets,"Kalimba.mp3") sp.Play End Sub but when i use .mid file it play well. help me Click to expand... The first letter of your file should be in lowercase
S selvamurali Active Member Licensed User Longtime User Oct 23, 2012 #3 Thanks hi Informatix thanks for your immediate reply it very much help for me Upvote 0