- Home /
Question by
jmanx18 · May 17, 2015 at 02:42 PM ·
androidfilestreamingassetsdirectory
StreamingAssets GIF images on android
So I have GIF images in the streaming Asset folder and I want to access them on a android and send it out to people. Though when I try to do so it doesn't access the gif on the android and just crashes after its trying to access them.
public void FinalSnap(){
if (!finished) {
RT.Snap ();
#if UNITY_ANDROID
EtceteraAndroid.showToast( "Gram Created", true );
EtceteraAndroid.shareImageWithNativeShareIntent (result, "ANGEL GRAM");
#endif
finished = true;
}
//makeGif.CreateGif ();
}
IEnumerator WWWjar() {
if (filePath.Contains("://")) {
WWW www = new WWW(filePath);
yield return www;
result = www.text;
} else
result = System.IO.File.ReadAllText(filePath);
}
Comment
Your answer
Follow this Question
Related Questions
Android - Access Video from StreamingAssets 0 Answers
How to find list of files in "StreamingAssets" folder in Android 1 Answer
File.WriteAllText() on Android (Json file) 2 Answers
Can't read lines from file by using StreamReader on Android platform 2 Answers
How can I get a list of files in StreamingAssets on Android? 0 Answers