Android Open Source - storage_room_android_example App Config Interface






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;
/*w w w .ja  v  a 2 s. c  o  m*/
public interface AppConfigInterface {
  
  //To get Google Maps working, insert your own Google Maps Key in res/layout/restaurantsmap.xml ! 
  
  public static final String TAG = "RestaurantGuide";
    
  public static final String BASE_URL = "https://api.storageroomapp.com/";
  public static final String ACCOUNT_ID = "accounts/4d13574cba05613d25000004/";
  public static final String JSON_FILENAME = "entries.json";
  public static final String PARAM_AUTH_TOKEN = "?auth_token=DZHpRbsJ7VgFXhybKWmT";  

  public static final String COLLECTIONS_ID_RESTAURANTS = "collections/4d960916ba05617333000005/";
  public static final String STORAGEROOM_RESTAURANTS_URL  = BASE_URL + ACCOUNT_ID + COLLECTIONS_ID_RESTAURANTS + JSON_FILENAME + PARAM_AUTH_TOKEN;
  
  public static final String COLLECTIONS_ID_ANNOUNCEMENTS = "collections/4d96091dba0561733300001b/";
  public static final String PARAM_ANNOUNCEMENTS_PERPAGE = "&per_page=1";
  public static final String PARAM_ANNOUNCEMENTS_SORT = "&sort=@updated_at";
  public static final String PARAM_ANNOUNCEMENTS_ORDER = "&order=desc";
  public static final String STORAGEROOM_ANNOUNCEMENTS_URL = BASE_URL + ACCOUNT_ID + COLLECTIONS_ID_ANNOUNCEMENTS + JSON_FILENAME + PARAM_AUTH_TOKEN + PARAM_ANNOUNCEMENTS_PERPAGE + PARAM_ANNOUNCEMENTS_SORT + PARAM_ANNOUNCEMENTS_ORDER;
  public static final int timeoutConnection = 5000;
  public static final int timeoutSocket = 5000;
  public static final int initialMapZoom = 3;

}




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