Uri video = Uri.parse("android.resource://com.cpt.sample/raw/filename");
Using this you can access the file in raw folder, if you want to access the file in asset folder use this URL...
file:///android_asset/filename
Make sure you don't add the extension to the filename. E.g. "/movie" not "/movie.mp4".
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…