Try the following code sample (place Test.txt in the Assets folder)

            var input = Assets.Open("Test.txt");

            string text;

            // Use a StreamReader to read the data
            using (StreamReader sr = new StreamReader(input))
                text = sr.ReadToEnd();
            Toast.MakeText(this, text, ToastLength.Short).Show();

Emiel
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to