I've understood something new on my problem, I can not use my assets
outside of my Activity class. Does somebody know why ?

On 16 nov, 01:32, Fräntz Miccoli <[EMAIL PROTECTED]> wrote:
> Eclipse tells me that there's an error but I can't see where it is ...
>
> It said that in the following code the drawable ressource cannot be
> resolved.
>
>   v.setImageDrawable(MyApp.getInstance().getResources().getDrawable
> (R.drawable.t01));
>
> But t01.png is in the good folder and Eclipse shows it in the project
> browser. It is also referenced in the R.java file...
>
> If anyone can help me.
>
> Have a good day.
>
> Fräntz
--~--~---------~--~----~------------~-------~--~----~
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]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to