saex wrote:
> I have some videos stored dinamically on R.res.raw.
>
> For example, I can acces to the video called v.mp4 with this line of
> code:
>
> String fileName = "android.resource://" + this.getPackageName() + "/"
> + R.raw.v;
>
>
>
> OK, but, i will recibe the video that i must open with a string ("v").
> Then, i tryed to do this, but it didn't works:
>
> String fileName = "android.resource://" + this.getPackageName() + "/"
> + R.raw+".v";
>
> I can't do that, i got error on R.raw
>
>
>
> I also tryed with this, but it doesn't works:
>
> String fileName = "android.resource://" + this.getPackageName() + "/
> res/raw/"+"v.mp4";
>
>
> How can i solve this?did you try to find a valid format instead of blind trial and-error approach? after one minute googling I got this: http://androidbook.blogspot.com/2009/08/referring-to-android-resources-using.html pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

