text stringlengths 3 1.18M |
|---|
package org.anddev.andengine.audio.sound;
import java.io.FileDescriptor;
import java.io.IOException;
import android.content.Context;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:23:03 - 11.03.2010
*/
public class SoundFactory {
// ============... |
package org.anddev.andengine.audio.sound;
import org.anddev.andengine.util.Library;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 20:41:56 - 20.08.2010
*/
public class SoundLibrary extends Library<Sound> {
// ==========================================... |
package org.anddev.andengine.audio;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 16:35:37 - 13.06.2010
*/
public abstract class BaseAudioEntity implements IAudioEntity {
// ===========================================================
// Constants
// ... |
package org.anddev.andengine.audio.music;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import android.content.Context;
import android.content.res.AssetFileDescriptor;
import android.media.MediaPlayer;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @a... |
package org.anddev.andengine.audio.music;
import org.anddev.andengine.audio.BaseAudioManager;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 15:01:23 - 13.06.2010
*/
public class MusicManager extends BaseAudioManager<Music> {
// =======================... |
package org.anddev.andengine.audio.music;
import org.anddev.andengine.audio.BaseAudioEntity;
import android.media.MediaPlayer;
import android.media.MediaPlayer.OnCompletionListener;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:53:12 - 13.06.2010
... |
package org.anddev.andengine.audio;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 15:02:06 - 13.06.2010
*/
public interface IAudioManager<T extends IAudioEntity> {
// ===========================================================
// Final Fields
// ====... |
package org.anddev.andengine.audio;
import java.util.ArrayList;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 18:07:02 - 13.06.2010
*/
public abstract class BaseAudioManager<T extends IAudioEntity> implements IAudioManager<T> {
// ====================... |
package org.anddev.andengine.audio;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 14:53:29 - 13.06.2010
*/
public interface IAudioEntity {
// ===========================================================
// Final Fields
// =============================... |
package org.anddev.andengine.ui.activity;
import org.anddev.andengine.audio.music.MusicManager;
import org.anddev.andengine.audio.sound.SoundManager;
import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.options.WakeLockOptions;
i... |
package org.anddev.andengine.ui.activity;
import org.anddev.andengine.opengl.view.RenderSurfaceView;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 10:18:50 - 06.10.2010
*/
public abstract class LayoutGameActivity extends BaseGameActivity {
// ========... |
package org.anddev.andengine.ui.activity;
import java.util.concurrent.Callable;
import org.anddev.andengine.util.ActivityUtils;
import org.anddev.andengine.util.AsyncCallable;
import org.anddev.andengine.util.Callback;
import org.anddev.andengine.util.progress.ProgressCallable;
import android.app.Activity;
... |
package org.anddev.andengine.ui.activity;
import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.handler.timer.ITimerCallback;
import org.anddev.andengine.engine.handler.timer.TimerHandler;
import org.anddev.andengine.engine.options.EngineO... |
package org.anddev.andengine.ui;
import org.anddev.andengine.engine.Engine;
import org.anddev.andengine.entity.scene.Scene;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 12:03:08 - 14.03.2010
*/
public interface IGameInterface {
// ==================... |
package org.anddev.andengine.ui.dialog;
import org.anddev.andengine.util.Callback;
import android.content.Context;
import android.content.DialogInterface.OnCancelListener;
/**
* (c) 2010 Nicolas Gramlich
* (c) 2011 Zynga Inc.
*
* @author Nicolas Gramlich
* @since 09:46:00 - 14.12.2009
*/
public... |
package org.anddev.andengine.ui.dialog;
import org.anddev.andengine.util.Callback;
import org.anddev.andengine.util.Debug;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener... |
import java.net.*;
import java.io.*;
import java.util.*;
/**
* Socketed threaded thingie so you can control 2pir from somewhere else
*
* Isn't that a bitchin idea. I hope this works.
*
*
* @author Sam Reese
*
*/
public class pir_sock extends Thread {
private pir_io parent;
private static... |
import java.io.*;
public class pir_sequencer {
/**
* So this thing is gonna read in the input file,
* Parse that input file into an array of sequences
* then whenever it gets an input, it'll fire that through
* the seqnence clases to see if we get matches. Those
* sequence classes will have ba... |
import java.io.*;
import java.util.Date;
/**
* So I'm using blocking IO.....
*
* And this is how. So I have this specifically threaded reader
* that just sits and spins until input comes down the line
* (which incidentally is a lot of the time). Then, when input
* comes, it fires it back up the line ... |
import gnu.io.*;
import java.util.*;
import java.io.*;
/**
* The input/output basic functionality.
*
* This holds a lot of the data, but surprisingly enough, doesn;t
* actually fire anything, as the thread from pir_io_reader will
* be the one calling the shots, as they are.
*
* This mostly han... |
/**
* 2pir's parent class.
*
* This is a primarially static class that
* just initializes things and fires off the main shit.
*
* @author Sam Reese
*
*/
public class pir {
/**
* Main for the entire pir program, this fires off everything
*
* Future: parse a config file so the settings... |
import java.util.*;
/**
* Class for an individual sequence.
*
* On initialization, pir_sequencer will pass a string
* (from the sequence file) that will be parsed here into
* a sequence of inputs and a sequence of outputs.
* Upon the end of a sensor input, the sequencer recieves the
* sensor nu... |
package view;
import java.awt.Dimension;
import javax.swing.JFrame;
public class CrawlFrame extends JFrame {
/**
*
*/
private static final long serialVersionUID = 1L;
private CrawlPanel myCP;
public CrawlFrame() {
super("Group 6 Web Crawler");
init();
}
/**
* Initializes th... |
package view;
import java.awt.Dimension;
import javax.swing.BoxLayout;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JRadioButton;
import javax.swing.JScrollPane;
import javax.swing.JTextArea;
import javax.swing.JTextFiel... |
package controller;
/**
*
* @author Thomas Nunn
* @author David Everitt
* @author Dexter Hu
* @version TCSS 422 Operating Systems Winter 2014
*/
public class CrawlMain {
/**
* @param args unused in this program.
*/
public static void main(String[] args) {
CrawlControl cc = new CrawlC... |
package controller;
import java.awt.Color;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.text.DecimalFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import org.jsoup.nodes.Document;
import model.PageAnalyzer;
... |
package model;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.nodes.Document;
import org.jsoup.nodes.Element;
import org.jsoup.select.Elements;
/**
... |
package model;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.jsoup.Jsoup;
import org.jsoup.nodes.*;
/**
* Retrieves web pages from the World Wide Web. The pages
* are stored so... |
package model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* Analyzes the text of a web page and calculates statistics regarding word
* count, matches of user input key words, and time spent analyzing.
*
* @author Thomas Nunn
* @author David... |
package starcafe;
import java.rmi.RemoteException;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Map.Entry;
/**
* Gere la... |
/**
*
*/
package starcafe.data;
import java.io.Serializable;
import java.rmi.RemoteException;
import java.util.List;
import starcafe.ServeurInterface;
/**
* Classe contienant un clinet
* @author a.delevaux
*/
public class DataClient implements Serializable {
/**
*
*/
private static ... |
/**
*
*/
package starcafe.serveur;
import java.net.MalformedURLException;
import java.rmi.Naming;
import java.rmi.RemoteException;
import java.rmi.registry.LocateRegistry;
import starcafe.ServeurImpl;
/**
* Serveru qui gere la BDD
* @author a.delevaux
*/
public class ApplicationServeur {
/*... |
package Eserver;
import java.util.*;
public class ProductCollection
{
private Vector holder;
public ProductCollection()
{
holder = new Vector();
}
public void addProduct(Product pr)
{
holder.addElement(pr);
}
public Enumeration elements()
{
return holder.elements();
}
} |
package Eserver;
import java.sql.*;
public class Database
{
private static Connection cn;
private static String userName;
private static String password;
private static String driverName;
private static String protocol;
private static String dbName;
public Database
(String userName, String password, String driverN... |
package Eserver;
public class Product
{
private String productID, productName;
private int quantity, price;
Product(
String productID, String productName, int quantity, int price)
{
this.productID = productID;
this.productName = productName;
this.quantity= quantity;
this.price = price;
}
public String ... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared.test;
import com.joelapenna.foursquared.Foursquared;
import com.joelapenna.foursquared.VenueActivity;
import android.content.Intent;
import android.test.ActivityInstrumentationTestCase2;
import android.test.suitebuilder.annotation.SmallTest;
/... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared.test;
import com.joelapenna.foursquared.Foursquared;
import android.test.ApplicationTestCase;
import android.test.suitebuilder.annotation.MediumTest;
import android.test.suitebuilder.annotation.SmallTest;
/**
* @author Joe LaPenna (joe@joelap... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.error;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquareCredentialsException extends FoursquareException {
private static final long serialVersionUID = 1L;
public FoursquareCredentialsException(String message) {... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.error;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquareError extends FoursquareException {
private static final long serialVersionUID = 1L;
public FoursquareError(String message) {
super(message);
}... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.error;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquareParseException extends FoursquareException {
private static final long serialVersionUID = 1L;
public FoursquareParseException(String message) {
sup... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.error;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquareException extends Exception {
private static final long serialVersionUID = 1L;
private String mExtra;
public FoursquareException(String message) {... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.error.FoursquareParseExce... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.http;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.error.FoursquareParseException;
import com.joelapenna.foursquare.parsers.jso... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.http;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joelapenna.foursquare.error.FoursquareException;
import c... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.http;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.error.FoursquareParseException;
import com.joelapenna.foursquare.parsers.jso... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.http;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.error.FoursquareParseException;... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.types;
import com.joelapenna.foursquare.util.ParcelUtils;
import android.os.Parcel;
import android.os.Parcelable;
/**
* @date March 6, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class Category implements FoursquareT... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.types;
import java.util.ArrayList;
/**
* @date 2010-05-05
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class Emails extends ArrayList<String> implements FoursquareType {
private static final long serialVersionUID = 1L;
... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.types;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public interface FoursquareType {
}
|
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.types;
import java.util.ArrayList;
import java.util.Collection;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class Group<T extends FoursquareType> extends ArrayList<T> implements FoursquareType {
private static final long seri... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.types;
/**
* @date 2010-05-05
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class FriendInvitesResult implements FoursquareType {
/**
* Users that are in our contact book by email or phone, are already on foursquar... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.types;
import java.util.ArrayList;
/**
* @date April 14, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class Types extends ArrayList<String> implements FoursquareType {
private static final long serialVersionUID = 1L;
}
|
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.types;
/**
* @date April 28, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class Response implements FoursquareType {
private String mValue;
public Response() {
}
public String getValue() {
retu... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.types;
import java.util.ArrayList;
import java.util.List;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class Tags extends ArrayList<String> implements FoursquareType {
private static final long serialVersionUID = 1L;
... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.types;
import com.joelapenna.foursquare.util.ParcelUtils;
import android.os.Parcel;
import android.os.Parcelable;
/**
* @date September 2, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class Todo implements FoursquareTy... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.util;
import android.os.Parcel;
/**
* @date March 25, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class ParcelUtils {
public static void writeStringToParcel(Parcel out, String str) {
if (str != null) {
... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.util;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class MayorUtils {
public static final String TYPE_NOCHANGE = "nochange";
public static final String TYPE_NEW = "new";
public static final String TYPE_STOLEN = "stolen"... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare.util;
import com.joelapenna.foursquare.types.Venue;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class VenueUtils {
public static final boolean isValid(Venue venue) {
return !(venue == null || venue.getId() == null || ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.util;
/**
* This is not ideal.
*
* @date July 1, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class IconUtils {
private static IconUtils mInstance;
private boolean mRequestHighDensityIcons;
priv... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.util;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.error.FoursquareParseExce... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare;
import com.joelapenna.foursquare.error.FoursquareCredentialsException;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.error.FoursquareParseExce... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Emails;
import com.joelapenna.foursquare.types.FriendInvitesResult;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.types.User;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* @d... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Mayor;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class MayorParser extends Abst... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Tip;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class TipParser extends AbstractPar... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Badge;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class BadgeParser extends Abst... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Response;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date April 28, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class ResponseParser extends ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Settings;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class SettingsParser extend... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Types;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Data;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class DataParser extends Abstra... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.CheckinResult;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class CheckinResultPar... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Beenhere;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class BeenhereParser extend... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.FoursquareType;
import com.joelapenna.foursquare.types.Group;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import java.util.Iterator;
import jav... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Score;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class ScoreParser extends Abst... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.parsers.json.CategoryParser;
import com.joelapenna.foursquare.parsers.json.GroupParser;
import com.joelapenna.foursquare.types.Category;
import com.joelapenna.foursquare.util.IconUtils;
import ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Stats;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class StatsParser extends Abst... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Special;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class SpecialParser extends ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Todo;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date September 2, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*/
public class TodoParser extends Abstr... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Rank;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class RankParser extends Abstra... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.parsers.json.Parser;
import com.joelapenna.foursquare.types.FoursquareType;
import com.joelapenna.foursquare.types.Group;
import org.json.JSONArray;
import org.json.JSONException;
import org.js... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Tags;
import com.joelapenna.foursquare.types.Venue;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import org.json.JSONArray;
import org.json.JSONException;
import java.util.ArrayList;
import java.util.List;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class StringArrayParser {
... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Credentials;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class CredentialsParser ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.City;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class CityParser extends Abstra... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.Checkin;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author Mark Wyszomierski (markww@gmail.com)
*
*/
public class CheckinParser extends ... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquare.parsers.json;
import com.joelapenna.foursquare.types.FoursquareType;
import com.joelapenna.foursquare.types.Group;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/**
* @date July 13, 2010
* @author... |
/**
* Copyright 2010 Tauno Talimaa
*/
package com.joelapenna.foursquared.providers;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.fou... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared.providers;
import android.content.SearchRecentSuggestionsProvider;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class VenueQuerySuggestionsProvider extends SearchRecentSuggestionsProvider {
public static final String AUTHORIT... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared.error;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
class FoursquaredException extends Exception {
private static final long serialVersionUID = 1L;
public FoursquaredException(String message) {
super(message);
}
}
|
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared.error;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class LocationException extends FoursquaredException {
public LocationException() {
super("Unable to determine your location.");
}
public LocationException(S... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.types.Category;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquared.util.RemoteResourceManager;
import com.joelapenna.foursquared.widget.CategoryPickerAdapter;
import android.a... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.types.Checkin;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.User;
import com.joelapenna.foursquare.types.Venue;
import com.joelapenna.foursquared.app.LoadableListActivity;... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.Category;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Respo... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.types.Badge;
import com.joelapenna.foursquare.types.CheckinResult;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Mayor;
i... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.view.Display;
import android.view.WindowManager;
import android.webkit.WebView;
import android.widget.LinearLayout;
/**
* Shows a list... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.types.Settings;
import com.joelapenna.foursquare.types.User;
import com.joelapenna.foursquared.app.PingsService;
import com.joelapenna.foursquared.location.Locat... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import android.content.Intent;
import android.location.Location;
import android.os.Bundle;
import android.os.Parcelable;
... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Venue;
import com.joelapenna.foursquared.error.Locatio... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import android.app.Activity;
import android.app.SearchManager;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.UriMatcher;
impo... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.google.android.maps.MyLocationOverlay;
import com.joelapenna.f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.