Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
MediaPlayer1.Initialize( )
'MediaPlayer1.Load(File.DirAssets, "IsawHerStandingThere.mid") 'from Erel's example
' /sdcard/Music/Joe Walsh/There Goes the Neighborhood/03 Down on the Farm.mp3 'file loc on phone that i try to play
'my first attempt To load from phone sd card
' MediaPlayer1.Load(File.DirDefaultExternal,/Music/Joe Walsh/There Goes the Neighborhood/03 Down on the Farm.mp3)
'didn't compile - undeclared var Music
'my second attempt
MediaPlayer1.Load(File.DirDefaultExternal,"Down on the Farm.mp3")
' compile okay but when run
' gives result of:
' java.io.IOException: Prepare failed.:
' status=0x1
timer1.Initialize("timer1", 1000)
End If
Activity.LoadLayout("1")
Looping_CheckedChange(Looping.Checked) 'set the default value
End Sub