This file contains 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
// | |
// OrderedForm.h | |
// KSLClassifieds | |
// | |
// Created by Dustin Graham on 11/4/11. | |
// Copyright (c) 2011 __MyCompanyName__. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> | |
#import "StandardInputAccessory.h" |
This file contains 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
05-13 14:55:03.464: E/AndroidRuntime(1568): FATAL EXCEPTION: main | |
05-13 14:55:03.464: E/AndroidRuntime(1568): java.lang.ExceptionInInitializerError | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at retrofit.RestAdapter$RestHandler.invoke(RestAdapter.java:173) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at com.rain.example.retrofit.sanitycheck.$Proxy0.getRepresentativesByZip(Native Method) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at com.rain.example.retrofit.sanitycheck.MainActivity.onCreate(MainActivity.java:61) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679) | |
05-13 14:55:03.464: E/AndroidRuntime(1568): at android.app.ActivityThread.access$2300(ActivityThread.java:125) | |
05-13 14:55:03.464: E |
This file contains 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.rain.example.retrofit.sanitycheck; | |
import java.util.List; | |
import retrofit.RestAdapter; | |
import retrofit.http.GET; | |
import retrofit.http.Query; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.view.Menu; |
This file contains 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.ifit.android.sdk.util; | |
import java.text.DateFormat; | |
import java.text.ParseException; | |
import java.text.SimpleDateFormat; | |
import java.util.Calendar; | |
import java.util.Date; | |
import java.util.GregorianCalendar; | |
import java.util.Locale; | |
import java.util.TimeZone; |
This file contains 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 abstract class CustomizedTypeAdapterFactory<C> | |
implements TypeAdapterFactory { | |
private final Class<C> customizedClass; | |
public CustomizedTypeAdapterFactory(Class<C> customizedClass) { | |
this.customizedClass = customizedClass; | |
} | |
@SuppressWarnings("unchecked") // we use a runtime check to guarantee that 'C' and 'T' are equal | |
public final <T> TypeAdapter<T> create(Gson gson, TypeToken<T> type) { |
This file contains 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 interface CellRenderer { | |
public static int CELL_TYPE_SCHEDULE = 0; | |
public static int CELL_TYPE_HISTORY = 1; | |
void renderRowCell(String workoutId, Date dateScheduled, double meters, double otherValue, int calories, String title, String workoutType); | |
void renderRowCell(String workoutId, Date dateScheduled, double meters, double otherValue, int calories, String title, String workoutType, String thumbnailURL); | |
} |
This file contains 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This file contains 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
#user nobody; | |
worker_processes 1; | |
#error_log logs/error.log; | |
#error_log logs/error.log notice; | |
#error_log logs/error.log info; | |
#pid logs/nginx.pid; |
This file contains 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
#include <Wire.h> | |
#include <Servo.h> | |
#include <Max3421e.h> | |
#include <Usb.h> | |
#include <AndroidAccessory.h> | |
#include <CapacitiveSensor.h> | |
#define LED3_RED 2 |
This file contains 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.rain.example.data.provider; | |
import com.rain.example.data.database.RainEmployeeDatabase; | |
import com.rain.example.data.database.table.*; | |
import android.provider.BaseColumns; | |
import android.text.TextUtils; | |
import android.content.ContentUris; | |
import android.database.sqlite.SQLiteQueryBuilder; |
OlderNewer