Android Open Source - StudySpaces Study Spaces Application






From Project

Back to project page StudySpaces.

License

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.

Java Source Code

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

}




Java Source Code List

com.pennstudyspaces.DataListAdapter.java
com.pennstudyspaces.MainActivityDead.java
com.pennstudyspaces.MainActivityTest.java
com.pennstudyspaces.MainActivity.java
com.pennstudyspaces.MyItemizedOverlay.java
com.pennstudyspaces.PrefsActivity.java
com.pennstudyspaces.RoomDetailsActivityTest.java
com.pennstudyspaces.RoomDetailsActivity.java
com.pennstudyspaces.SearchActivityTest.java
com.pennstudyspaces.SearchActivity.java
com.pennstudyspaces.StudySpacesApplication.java
com.pennstudyspaces.api.ApiRequest.java
com.pennstudyspaces.api.Availability.java
com.pennstudyspaces.api.Building.java
com.pennstudyspaces.api.DataDumpRequest.java
com.pennstudyspaces.api.JsonData.java
com.pennstudyspaces.api.ParamsRequest.java
com.pennstudyspaces.api.RoomKind.java
com.pennstudyspaces.api.Room.java
com.pennstudyspaces.api.StudySpacesData.java