I'm getting stuck trying to open a pdf from the raw folder. My code
runs but displays no error or the file.
I am not worried about layout at the moment as I'm just trying to get
this app to display just one pdf file located in the raw folder.
My code:

package com.pdftest;

import java.io.InputStream;

import com.pdftest.*;
import android.app.Activity;
import android.os.Bundle;

public class PdftestActivity extends Activity {
        public InputStream Resources=openRawResource(R.raw.pdffile);
        private InputStream openRawResource(int echoespdf) {
                return null;
        }
}


Any help will be appreciated.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to