Click here to Skip to main content
15,884,353 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to play Video From Micro sd card in multiple android devices throught android app. I have 2Gb of video on micro sd card and i want to play on multiple android devices..
I have trying some code but its only working on my micromax A2900 device nt for all device..


Intent intent = new Intent(Intent.ACTION_VIEW);
File sdCard = Environment.getExternalStorageDirectory();
File file = new File(sdCard, "/readvideo/faithclassvideo1.mp4");
intent.setDataAndType(Uri.fromFile(file), "video/*");
startActivity(intent);


Please help me out
Posted
Comments
JoCodes 25-Apr-15 10:42am    
Multiple Android devices? you mean devices other than micromax A2900 is not working?

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