¡@

Home 

2014/10/16 ¤W¤È 08:11:17

android Programming Glossary: com.foo.android.myapplication@43783830

Why does AndroidTestCase.getContext().getApplicationContext() return null?

http://stackoverflow.com/questions/6516441/why-does-androidtestcase-getcontext-getapplicationcontext-return-null

pkg com.foo.android INFO XPLORE2 465 appContext.getAppCtx null INFO MYAPP 465 this com.foo.android.MyApplication@43783830 INFO MYAPP 465 getAppCtx com.foo.android.MyApplication@43783830 INFO XPLORE3 465 testCtx android.app.ApplicationContext@43757368.. 465 appContext.getAppCtx null INFO MYAPP 465 this com.foo.android.MyApplication@43783830 INFO MYAPP 465 getAppCtx com.foo.android.MyApplication@43783830 INFO XPLORE3 465 testCtx android.app.ApplicationContext@43757368 pkg com.foo.android INFO XPLORE3 465 testContext.getAppCtx.. XPLORE3 465 testCtx android.app.ApplicationContext@43757368 pkg com.foo.android INFO XPLORE3 465 testContext.getAppCtx com.foo.android.MyApplication@43783830 INFO XPLORE3 465 appContext android.app.ApplicationContext@43784768 pkg com.foo.android INFO XPLORE3 465 appContext.getAppCtx..