Discussion Forums  >  Audio, Video, Playing, Recording

Replies: 1    Views: 150

nmcmap
Code is Art
Profile
Posts: 33
Reg: Apr 04, 2012
location unknow...
330
09/01/13 10:43 AM (10 years ago)

Videos Referenced from SD Card

I am going through a complication with Eclipse/Android (ref: https://www.buzztouch.com/forum/thread.php?tid=BEAC42002EB02F6B753535D&currentPage=1) and basically the video content of my app is going to have to be stored on the device's SD card in an "APK Expansion File." I am concerned that since the code is set up to pull the videos from the /assets/BT_Video folder that they will not play when stored on the SD card. Is it possible to have the video player reference the files on the SD card? If so, can anyone point me in the right direction? Many thanks.
 
LA
Aspiring developer
Profile
Posts: 3278
Reg: Aug 16, 2012
Jerseyville, IL
42,880
like
09/01/13 10:56 AM (10 years ago)
Hello @nmcmap, If you can code then you can do this: File sdCardRoot = Environment.getExternalStorageDirectory(); File myDir = new File(sdCardRoot, "Your file name") LA
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.