Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

I am storing Media(.avi) as byte[] for storing to database. what I really need is to convert byte[] to media-type(.avi) while retriving and show in mediaplayer .

We can write the byte[] to a file using file.writebytes() and load the media from the file. But this is not I need, I need to play with direct with byte[]. Can any one help me I didn't find a method to do this in mediaplayer.
Regards,

sajith
Posted
Updated 23-Mar-12 3:19am
v4

1 solution

 
Share this answer
 
v2
Comments
sajithnet 24-Mar-12 3:28am    
thanks Shahin,
Shahin Khorshidnia 24-Mar-12 6:41am    
You're welcome.


If it helps you can accept it (by Clicking on the green button)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900