Wednesday, December 15, 2010

Re: [android-developers] Activity.getFilesDir() how to get that directory without using an instance of Activity

On Wed, Dec 15, 2010 at 5:12 PM, gato chlr <dany171@gmail.com> wrote:
> Kostya , you right, but then, my worry is about if i will be able to
> do an unit test of my PersistenceUtil, how to do it without an
> instance of an Activity?

Test your PersistenceUtil from an AndroidTestCase.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate