Without knowing more about your code, I'd say activity is null.
On May 10, 2:51 am, "Analdin Judy" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Can anybody please tell me the reason for "null pointer exception" while
> reading a textfile
> I use the below code to read the textfile in raw.
>
> activity.getResources().openRawResource(R.raw.*judy*);
>
> --
> Thanks & Regards
>
> Analdin Judy.M
> InfoWave
> Knowledgeware. Beyond Multimedia
> Chennai | INDIA
> M: +91.98416.64705www.i-waves.com
>
> "The information contained in this e-mail (including any attachments) is
> intended by InfoWave for the use of the named individual or entity to which
> it is directed and is CONFIDENTIAL or PRIVILEGED. If you have received this
> e-mail (including any attachments) in error, please do not review, disclose,
> disseminate, distribute or copy this e-mail and attachments. As Electronic
> and Internet communications can be interfered with or affected by viruses
> and other defects, please scan this message and any attachments"
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---