Back to project page storage_room_android_example.
The source code is released under:
Copyright (c) 2011 Till Simon http://www.tillsimon.com mail@tillsimon.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation f...
If you think the Android project storage_room_android_example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.tillsimon.storageroom_example.application; /*from ww w.j av a 2s .c o m*/ import android.app.Application; import android.util.Log; import com.commonsware.cwac.cache.SimpleWebImageCache; import com.commonsware.cwac.thumbnail.ThumbnailBus; import com.commonsware.cwac.thumbnail.ThumbnailMessage; public class RestaurantApplication extends Application { public boolean mIsInitialLaunch; private ThumbnailBus mBus = new ThumbnailBus(); private SimpleWebImageCache<ThumbnailBus, ThumbnailMessage> mCache = new SimpleWebImageCache<ThumbnailBus, ThumbnailMessage>(null, null, 101, mBus); @Override public void onCreate() { super.onCreate(); mIsInitialLaunch = true; Log.i(AppConfigInterface.TAG,"App created"); } public ThumbnailBus getBus() { return(mBus); } public SimpleWebImageCache<ThumbnailBus, ThumbnailMessage> getCache() { return(mCache); } }