Back to project page StudySpaces.
The source code is released under:
Apache License
If you think the Android project StudySpaces 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.pennstudyspaces; // w w w . j a v a 2 s . c om import android.app.Application; import android.content.SharedPreferences; import android.preference.PreferenceManager; import com.pennstudyspaces.api.ParamsRequest; import com.pennstudyspaces.api.StudySpacesData; import java.io.IOException; import java.util.Calendar; /** * Created by IntelliJ IDEA. * User: Daniel Ge * Date: 3/15/12 * Time: 5:28 PM * To change this template use File | Settings | File Templates. */ public class StudySpacesApplication extends Application { private static final String TAG = StudySpacesApplication.class.getSimpleName(); public static final String BUILDING = "building", LONGITUDE = "longitude", LATITUDE = "latitude", NAME = "name", PROJECTOR = "projector", COMPUTER = "computer", PRIVACY = "privacy", WHITEBOARD = "whiteboard", QUANTITY = "capacity", RESERVE = "reserve", COMMENT = "comment", ROOMNUM = "roomnum", FROM_HR = "fromhour", FROM_MIN = "fromtmin", END_HR = "tohour", END_MIN = "tomin", MONTH = "month", DAY = "day", YEAR = "year", FILTER = "filter"; private SharedPreferences prefs; @Override public void onCreate() { super.onCreate(); this.prefs = PreferenceManager.getDefaultSharedPreferences(this); } @Override public void onTerminate() { super.onTerminate(); } public SharedPreferences getPrefs() { return prefs; } }