Android Open Source - storage_room_android_example Restaurant Application






From Project

Back to project page storage_room_android_example.

License

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.

Java Source Code

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);
  }
  

}




Java Source Code List

com.readystatesoftware.mapviewballoons.BalloonItemizedOverlay.java
com.readystatesoftware.mapviewballoons.BalloonOverlayView.java
com.tillsimon.storageroom_example.activities.RestaurantDetailActivity.java
com.tillsimon.storageroom_example.activities.RestaurantListViewActivity.java
com.tillsimon.storageroom_example.activities.RestaurantMapActivity.java
com.tillsimon.storageroom_example.activities.maphelper.RestaurantOverlayItem.java
com.tillsimon.storageroom_example.activities.maphelper.RestaurantsOverlay.java
com.tillsimon.storageroom_example.application.AppConfigInterface.java
com.tillsimon.storageroom_example.application.RestaurantApplication.java
com.tillsimon.storageroom_example.model.database.RestaurantsDatabaseHelper.java
com.tillsimon.storageroom_example.model.database.RestaurantsTableInterface.java
com.tillsimon.storageroom_example.model.webconnect.AnnouncementDownloaderDelegate.java
com.tillsimon.storageroom_example.model.webconnect.AnnouncementDownloader.java
com.tillsimon.storageroom_example.model.webconnect.RestaurantsDownloaderDelegate.java
com.tillsimon.storageroom_example.model.webconnect.RestaurantsDownloader.java