text stringlengths 3 1.18M |
|---|
package pkg.andru.animation;
import android.graphics.Canvas;
/**
* the drawable interface, all things can be drawed will extends this interface
*
* @author idiottiger
*
*/
public interface IDrawable<T extends IDrawState> {
/**
* on draw method, actually draw operation
*
* @p... |
package pkg.andru.animation;
import android.util.SparseArray;
public class AnimeResourceCache {
public static AnimeResourceCache mPool;
public static AnimeResourceCache getInstance() {
if (mPool == null) {
mPool = new AnimeResourceCache();
}
return mPool;
... |
package pkg.andru.animation;
import java.util.HashMap;
import org.xmlpull.v1.XmlPullParser;
import pkg.andru.animation.Frame.FrameDrawState;
import pkg.andru.animation.Sprite.SpriteDrawState;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.XmlResourceParser;... |
package pkg.andru.animation;
import java.util.ArrayList;
import java.util.List;
import pkg.andru.animation.Frame.FrameDrawState;
import android.graphics.Canvas;
public class Anime implements IDrawable<AnimeDrawState> {
static final String TAG = "Anime";
private int id;
private String name;... |
package pkg.andru.animation;
import android.os.Handler;
import android.os.Handler.Callback;
import android.os.Looper;
import android.os.Message;
import android.util.Log;
public abstract class AnimeDrawState implements IDrawState, Callback, IAnimeUpdate {
static final String TAG = "AnimeDrawState";
... |
package pkg.andru.animation;
import android.util.SparseArray;
public class AnimeParseException extends Exception {
static final SparseArray<String> mExceptionArray = new SparseArray<String>();
public static final int EXP_RESOURCE_NOT_FOUND = 1;
static {
mExceptionArray.put(EXP_RESOUR... |
package pkg.andru.animation;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.util.Log;
import android.view.View;
/**
* </p> <b>for the design, the anime, frame, and sprite must in the 'res/xml'
* folder, and the frame define file must be the... |
package pkg.andru.animation;
/**
* the sprite, frame, and anim xml def
*
* @author idiottiger
*
*/
public final class DEF {
// VALUE TYPE
public static final int TYPE_INT = 1;
public static final int TYPE_STRING = 1 << 1;
public static final int TYPE_FLOAT = 1 << 2;
public s... |
package pkg.andru.annotation;
/**
* the run in ui thread annotation, just a indentify, no effect
*
* @author idiottiger
*
*/
public @interface RunInUITHread {
}
|
package pkg.andru.annotation;
public @interface Alpha {
}
|
package pkg.andru.pattern.plugin;
/**
* define a plugin interface, all plugin need implement this interface.
* <p>
* if you want to implement the plugin, will do follow steps:
* </p>
* <b>1.reference the jar contain this class using 'add library'</br> 2.make
* your apk must has one activity use {@link #P... |
package pkg.andru.service;
import java.util.LinkedList;
import java.util.List;
import pkg.andru.service.DownloadEvent.ErrorStatus;
import pkg.andru.service.DownloadEvent.Status;
import android.app.Service;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Inten... |
package pkg.andru.service;
import java.util.ArrayList;
import java.util.List;
import pkg.andru.service.DownloadEvent.DownloadEventListener;
import pkg.andru.service.DownloadEvent.ErrorStatus;
import android.os.Handler;
import android.os.Looper;
public class DownloadEventWatcher {
private static Down... |
package pkg.andru.service;
import android.os.Parcelable;
public interface DownloadEvent extends Parcelable {
/**
* download event status
*
* @author idiottiger
*
*/
public enum Status {
STATUS_OK, STATUS_RETRY, STATUS_NETWORK_ERROR, STATUS_STORAGE_ERROR
}
... |
package pkg.andru.database;
import pkg.andru.util.Log;
import android.content.ContentProvider;
import android.content.ContentUris;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.net.Ur... |
package pkg.andru.database;
public class SQLBuilder<T> {
public static final String TYPE_INT = "INT";
public static final String TYPE_TEXT = "TEXT";
public static final String TYPE_VARCHAR = "VARCHAR(#)";
public static final String TYPE_DATE = "DATE";
public static final String END = ");";
... |
package pkg.andru.database;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util... |
package pkg.andru.database;
import android.database.sqlite.SQLiteDatabase;
/**
*
* @author idiottiger
*
*/
public interface DBRunnable {
/**
* the database running method
*
* @param database
*/
public void onDBRunning(SQLiteDatabase database);
}
|
package pkg.andru.database;
import java.util.List;
import android.database.Cursor;
/**
*
* @author idiottiger
*
* @param <T>
*/
public interface IDBResult<T> {
/**
* create the instance from cursor result
*
* @param transaction
* the transaction id, you c... |
package pkg.andru.database;
/**
* simple create table sql creator.
*
* @author idiottiger
* @version 1.0
*/
public class SQLTableCreator extends SQLBuilder<SQLTableCreator> {
static final String TABLE_HEAD = "CREATE TABLE IF NOT EXISTS # ( ID INTEGER PRIMARY KEY AUTOINCREMENT ";
static final String NO... |
package pkg.andru.database;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.List;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import pkg.andru.util.Log;
import android.content.Context;
imp... |
package pkg.andru.net;
/**
* http request method enum
*
* @author idiottiger
*/
public enum HttpRequestMethod {
GET(true, false), POST(true, true), PUT(true, true), DELETE(true, false), HEAD(false, false);
private boolean input, output;
private HttpRequestMethod(boolean in, boolean out) ... |
package pkg.andru.net;
import java.io.InputStream;
/**
* http request exception
*
* @author idiottiger
*
*/
public class HttpRequestException extends Exception {
private InputStream mErrorStream;
/**
*
*/
private static final long serialVersionUID = 1021270821575227932... |
package pkg.andru.net;
import java.io.OutputStream;
import java.net.HttpURLConnection;
/**
* when connect will callback
*
* @author idiottiger
*
*/
public interface HttpURLConnectionCallback {
/**
* before http connection connect to the server
*
* @param connection
* ... |
package pkg.andru.net;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import org.apache.http.HttpStatus;
import android.os.Build;
import android.util.Log;
... |
package pkg.andru.watcher;
import java.lang.ref.WeakReference;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import pkg.andru.util.Log;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.In... |
package pkg.andru.watcher;
import pkg.andru.util.Log;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
/**
* watch the HOME key pressed, we only listen the HOME pressed <b>NOT Intercept
* </b>this pressed.<br>
* Tips:invo... |
package pkg.andru.watcher;
/**
* pre-defined system event interface, you can extends this to add your custom
* system event, all event should be int type
*
* @author idiottiger
*
*/
public interface Event {
public static final int SYS_EVENT_MEDIA_EJECT = 0;
public static final int SYS_EVENT_MEDIA_MOU... |
package pkg.andru.watcher;
import android.content.Intent;
/**
* event listener
*
* @author idiottiger
* @version 1.0
*
*/
public interface OnEventListener {
/**
* do something when you receive system event
*
* @param event
* event type
* @param intent
* ... |
package pkg.andru.collect;
/**
* non blocking queue: <br>
* 1.FIFO; </br> 2.all method is thread safe;</br>3.when size bigger than
* queue's size, will pop queue' head item
*
* @author idiottiger
* @version 1.0
* @param <T>
*/
public class NonBlockingQueue<T> {
/**
* default queue size.
*/
... |
package pkg.andru.async;
import pkg.andru.collect.NonBlockingQueue;
import pkg.andru.concurrent.NonBlockingThreadPool;
import pkg.andru.util.Log;
import android.graphics.Bitmap;
import android.os.Process;
/**
*
* @author idiottiger
*
*/
public class AsyncBitmapLoader {
static final String LOG_TAG = "AsyncB... |
package pkg.andru.concurrent;
import java.util.concurrent.atomic.AtomicInteger;
import android.os.Process;
/**
* some convenience method for thread use
*
* @author frodo
*
*/
public class ThreadUtils {
static AtomicInteger mCounter = new AtomicInteger(0);
/**
* run some short method in another ... |
package pkg.andru.concurrent;
import java.util.ArrayList;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import pkg.andru.util.Lo... |
package pkg.andru.concurrent;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
/**
* A simple thread lock implements, {@link #lock()} will make the thread wait,
* {@link #unLock()} wi... |
package pkg.andru.core;
import java.util.HashMap;
import java.util.Stack;
import pkg.andru.R;
import android.content.Intent;
import android.support.v4.app.FragmentActivity;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.util.Log;
/**
*
... |
package pkg.andru.core;
import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.view.View;
public class CommonFragmentActivity extends FragmentActivity {
protected CommonFragmentManager mCommonFragmentManager;
@Override
protected void onCreate(Bundle bundle) {... |
package pkg.andru.core;
import pkg.andru.util.Log;
import android.app.Application;
/**
* a application better implements<br>
*
* @author idiottiger
* @version 1.0
*
*/
public class BetterApplication extends Application {
static final String LOG_TAG = "BetterApplication";
@Override
public void o... |
package pkg.andru.core;
import android.app.Activity;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.View;
public class CommonFragment extends Fragment {
public static boolean DEBUG_LOG = true;
protected CommonFragmentManager mCommon... |
package pkg.andru.widget;
import pkg.andru.annotation.Alpha;
import android.graphics.Matrix;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.Transformation;
/**
* absolute translate animation, only support absolute translate
*
* @author idiotti... |
package pkg.andru.widget;
import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.os.Message;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
/**
* BetterAdapter extends {@link BaseAdapter}, ha... |
package pkg.andru.widget;
import pkg.andru.util.Log;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.PointF;
import android.util.AttributeSet;
import android.view.GestureDetector;
impo... |
package pkg.andru.widget;
import android.database.DataSetObservable;
import android.database.DataSetObserver;
import android.view.View;
/**
*
* @author idiottiger
*
*/
public abstract class FlipPageAdapter<T> {
private DataSetObservable mObservable = new DataSetObservable();
/**
*... |
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... |
package pkg.andru.widget;
import java.util.ArrayList;
import java.util.List;
import pkg.andru.widget.BetterAdapter;
import android.content.Context;
/**
* the drag and drop adapter, only supply for the {@link DragAndDropListView}.
*
* @author idiottiger
*
* @param <T>
* @param <E>
*/
public a... |
package pkg.andru.widget;
import android.content.Context;
import android.graphics.Canvas;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.VelocityTracker;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.view.animation... |
package pkg.andru.widget;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.SoundEffectConstants;
import a... |
package pkg.andru.widget;
import pkg.andru.annotation.Alpha;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.view.animation.Transformation;
/**
* absolute scale animation, only support absolute translate
*
* @author idiottiger
* @hide
*
*/
@Alpha
class Ab... |
package pkg.andru.widget;
import pkg.andru.widget.BitmapAdapter.IBitmapViewHolder;
import android.content.Context;
import android.graphics.Bitmap;
import android.os.Handler;
import android.os.Message;
import android.view.View;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListen... |
package pkg.andru.util;
import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
import android.graphics.Bitmap;
import android.graphics.Bitmap.CompressFormat;
import android.graphics.BitmapFactory;
/**
* some bas... |
package pkg.andru.util;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* <br>
* Id digest creator.</br>
*
* @author idiottiger
*
*/
public class DigestUtils {
public static final String LOG_TAG = "DigestUtils";
private static MessageDigest md5Digest;
private stati... |
package pkg.andru.util;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.DialogInterface.OnClickListener;
import android.util.Log;
/**
* dialog ... |
package pkg.andru.util;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.Locale;
import android.graphics.Paint;
import android.util.Log;
import android.view.View;
/**
* <b>some super tools, use the reflect to implements.</br> take care use of
* these methods.</b>
*
* @author idi... |
package pkg.andru.util;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
/**
* some file utils
*
* @author idiottiger
* @version 1.0
*/
... |
package pkg.andru.util;
import java.lang.Thread.UncaughtExceptionHandler;
import android.app.Application;
/**
* instead of system {@link UncaughtExceptionHandler}, it will save the crash
* log save to local file.
*
* @author idiottiger
* @version 1.0
*
*/
public class ErrorHandler implements UncaughtExcepti... |
package pkg.andru.util;
import android.app.ActivityManager;
import android.content.Context;
import android.os.Build;
import android.os.Environment;
import android.util.DisplayMetrics;
import android.view.WindowManager;
/**
* some basic device properties, like screen size, every app limits memory,
* platform number,... |
package pkg.andru.util;
import java.security.SecureRandom;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
/**
* crypt tool, use seed to encryt and decrypt
*
* @author idiottiger
*
*/
public class CryptUtils {
/**
* encry... |
package pkg.andru.util;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;
import pkg.andru.collect.NonBlockingQueue;
import andr... |
/*
* ========================
* Author : David Albertson
* Date : October 5, 2011
* Project : andro-repo
* ========================
*/
package com.andengine.lwtemplate;
import com.andengine.letemplate.R;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference... |
/*
* ========================
* Author : David Albertson
* Date : October 5, 2011
* Project : andro-repo
* ========================
*/
package com.andengine.lwtemplate;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.... |
/*
* ========================
* Author : David Albertson
* Date : October 5, 2011
* Project : andro-repo
* ========================
*/
package com.andengine.lwtemplate;
import com.andengine.letemplate.R;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference... |
/*
* ========================
* Author : David Albertson
* Date : October 5, 2011
* Project : andro-repo
* ========================
*/
package com.andengine.lwtemplate;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.... |
package LW.cercle;
import java.io.IOException;
import javax.microedition.khronos.opengles.GL10;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.handler.physics.PhysicsHandler;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.op... |
package LW.Labyrinthe;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.options.EngineOptions;
import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation;
import org.anddev.andengine.engine.options.resolutionpolicy.FillResolutionPolicy;
import org.anddev.andengine.ent... |
package LW.battery;
import java.util.List;
import org.anddev.andengine.engine.camera.Camera;
import org.anddev.andengine.engine.handler.collision.CollisionHandler;
import org.anddev.andengine.engine.handler.collision.ICollisionCallback;
import org.anddev.andengine.engine.handler.physics.PhysicsHandler;
import org.andd... |
/*
* ========================
* Author : David Albertson
* Date : October 5, 2011
* Project : andro-repo
* ========================
*/
package com.andengine.lwtemplate;
import com.andengine.letemplate.R;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.preference... |
package com.andengine.lwtemplate;
import android.graphics.Canvas;
import android.util.Log;
import android.view.SurfaceHolder;
import com.andengine.lwtemplate.LiveWallpaper.WEngine;
public class MainThread extends Thread {
private boolean run;
private SurfaceHolder mSurfaceHolder;
private WEngine panel;... |
/*
* ========================
* Author : David Albertson
* Date : October 5, 2011
* Project : andro-repo
* ========================
*/
package com.andengine.lwtemplate;
import android.R;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.BitmapFactory;
impor... |
package com.gaojice.androsd.file;
public class FileItem {
private String name;
private String pathOnServer;
private Boolean isFile;
private String link;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPathOnServer() {
... |
package com.gaojice.androsd.file;
import java.io.File;
import java.util.ArrayList;
import java.util.List;
import com.gaojice.androsd.constants.Constants;
public class FileItemService {
/**
*
* @param pathOnServer
* @return
*/
public List<FileItem> getFileItems(String pathOnServer) {
List<... |
package com.gaojice.androsd.http;
import java.io.IOException;
import java.io.InterruptedIOException;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.apache.http.impl.DefaultConnectionReuseStrategy;
import or... |
package com.gaojice.androsd.http;
import java.io.IOException;
import org.apache.http.ConnectionClosedException;
import org.apache.http.HttpException;
import org.apache.http.HttpServerConnection;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
import org.apache.h... |
package com.gaojice.androsd.http;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.URISyntaxException;
import java.net.URLDecoder;
import java.util.List;
import java.u... |
package com.gaojice.androsd.template;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URISyntaxException;
import android.app.Activity;
import com.gaojice.androsd.R;
public class UiTemplate {
public static String uiTemplate;
private Activity ... |
package com.gaojice.androsd;
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.util.Enumeration;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import andro... |
package com.gaojice.androsd.configure;
import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import android.app.Activity;
import com.gaojice.androsd.R;
public class Configurator {
private String uiTemplate;
public String getUiTemplate() {
return uiTemplate;... |
package com.gaojice.androsd.constants;
public class Constants {
public static final String ROOT_DIR = "/sdcard";
public static final String BLANK_LINE = "\r\n\r\n";
public static final String FILE_NOT_FOUND_TEXT = "File not found!";
public static final int DEFAULT_PORT = 8888;
}
|
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
/**
* @author Joe LaPenna (joe@joelapenna.com)
*/
public class FoursquaredSettings {
public static final boolean USE_DEBUG_SERVER = false;
public static final boolean DEBUG = false;
public static final boolean LOCATION_DEBUG = f... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquare;
public class TestCredentials {
public static final String oAuthConsumerKey = "";
public static final String oAuthConsumerSecret = "";
public static final String oAuthToken = "";
public static final String oAuthTokenSecret = "";... |
/**
* Copyright 2010 Mark Wyszomierski
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
/*
* Copyright 2010 Facebook, Inc.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... |
/*
* Copyright 2010 Mark Wyszomierski
* Portions Copyright (c) 2008-2010 Facebook, Inc.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-... |
/*
* Copyright 2010 Mark Wyszomierski
* Portions Copyright (c) 2008-2010 Facebook, Inc.
*
* 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
*
* http://www.apache.org/licenses/LICENSE-... |
/**
* 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 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquared.util.NotificationsUtil;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.BroadcastReceiver;
import androi... |
/**
* Copyright 2010 Mark Wyszomierski
*/
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.google... |
/**
* 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.error.FoursquareException;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Tip;
import com.joelapenna.foursquare.types.Todo... |
/**
* Copyright 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.User;
import com.joelapenna.foursquare.types.Venue;
import com.joelapenna.foursquared.app.LoadableListActivi... |
/**
* 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.Mayor;
import com.joelapenna.foursquare.types.Stats;
import com.joelapenna.foursquare.types.Tip;
import com.joe... |
/**
* Copyright 2010 Mark Wyszomierski
*/
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.Tip;
import com.joelapenna.foursquared.app.Loada... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquared.location.LocationUtils;
import com.joelapenna.foursquared.preferences.Preferences;
import com.joelapenna.... |
/**
* 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 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.User;
import com.joelapenna.foursquared.location.LocationUtils;
import com.joelapenna.foursqua... |
/**
* 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 2010 Mark Wyszomierski
*/
package com.joelapenna.foursquared;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.DialogInterface.OnCancelListener;
import android.content.Intent;
import android.os.AsyncTask;
import android.os... |
/**
* 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 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;
import com.joelapenna.foursquare.Foursquare;
import com.joelapenna.foursquare.error.FoursquareError;
import com.joelapenna.foursquare.error.FoursquareException;
import com.joelapenna.foursquare.types.User;
import com.joelapenna.foursquare.util.... |
/**
* Copyright 2009 Joe LaPenna
*/
package com.joelapenna.foursquared;
import com.joelapenna.foursquare.types.Group;
import com.joelapenna.foursquare.types.Tip;
import com.joelapenna.foursquare.types.Todo;
import com.joelapenna.foursquare.types.Venue;
import com.joelapenna.foursquared.app.LoadableListActivity;
imp... |
/**
* Copyright 2010 Mark Wyszomierski
*/
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.Tip;
import com.joelapenna.foursquared.app.Loada... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.