I'd like to load some data from the assets folder of my test project.

Unfortunately AndroidTestCase.getContext().getAssets() returns an
AssetManager for the target project, not the test project.

Class android.app.Instrumentation seems to have what I am looking for:
getContext() and getTargetContext. But from where do I get an instance
of that class?

Thanks in advance,
Markus
--~--~---------~--~----~------------~-------~--~----~
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