This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" | |
version="3.0"> | |
<servlet> | |
<servlet-name>Rest</servlet-name> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- | |
JBoss, Home of Professional Open Source | |
Copyright 2013, Red Hat, Inc. and/or its affiliates, and individual | |
contributors by the @authors tag. See the copyright.txt in the | |
distribution for a full listing of individual contributors. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style name="Theme.Kosapp.Text.Light"> | |
<item name="android:fontFamily">sans-serif-light</item> | |
</style> | |
<style name="Theme.Kosapp.Text.Light.Bold"> | |
<item name="android:fontFamily">sans-serif-light-bold</item> | |
</style> | |
<style name="Theme.Kosapp.Text.Thin"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="pressed_kosapp">#00436A</color> | |
<drawable name="pressed_bg_kosapp">@color/pressed_kosapp</drawable> | |
<color name="main_kosapp">#0065a3</color> | |
<color name="dark_gray_kosapp">#303030</color> | |
<color name="medium_dark_gray_kosapp">#505050</color> | |
<color name="medium_light_gray_kosapp">#909090</color> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/list_item" | |
android:layout_width="fill_parent" | |
android:layout_height="64sp" | |
android:background="@drawable/list_item_layout" | |
android:clickable="false" | |
android:focusable="true" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.simekadam.launchertestapp; | |
import java.util.Locale; | |
import android.app.Activity; | |
import android.app.ActivityManager; | |
import android.content.ComponentName; | |
import android.content.Context; | |
import android.content.Intent; | |
import android.os.Handler; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public enum BestSingleton{ | |
INSTANCE; | |
private BestSingleton(){}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Singleton{ | |
private static volatile Singleton instance; | |
private Singleton(){} | |
public static Singleton getInstance(){ | |
if(instance == null){ | |
synchronized (Singleton.class){ | |
if(instance == null){ | |
instance = new Singleton(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Timeslot implements Parcelable { | |
public static final int MONDAY = 1, | |
TUESDAY = 2, | |
WEDNESDAY = 3, | |
THURSDAY = 4, | |
FRIDAY = 5, | |
SATURDAY = 6, | |
SUNDAY = 7; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Parallel implements IEntity{ | |
public static final String EXTRA = "parallels"; | |
public String id = "", updated = "", course = "", courseURL = "", semester = "", semesterURL = "", teacher = "", teacherURL = "", | |
parity = "", room = "", roomURL = "", parallelType = "", studentsCode = "", link = ""; | |
public int capacity, code, day, duration, firstHour, occupied; | |
public boolean capacityOverfill, enrollment; | |
public Parallel() { | |
} |