code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Booking.lib { }
12hth07-hutech-2013
trunk/users/sang/projects/Booking/Booking/lib/StringLibs.cs
C#
asf20
160
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, 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 ap...
13388600101m-fanfouandroid
src/com/commonsware/cwac/sacklist/SackOfViewsAdapter.java
Java
asf20
4,627
/*** Copyright (c) 2008-2009 CommonsWare, LLC Portions (c) 2009 Google, 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 ap...
13388600101m-fanfouandroid
src/com/commonsware/cwac/merge/MergeAdapter.java
Java
asf20
8,418
package com.ch_linghu.fanfoudroid; import java.text.MessageFormat; import android.app.AlertDialog; import android.app.ProgressDialog; import android.app.AlertDialog.Builder; import android.app.Dialog; import android.content.ContentValues; import android.content.DialogInterface; import android.content.Intent; import a...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ProfileActivity.java
Java
asf20
18,412
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.HashSet; import android.app.SearchManager; import android.content.Intent; import android.os.Bundle; import android.text.TextUtils; import android.util.Log; import android.view.Menu; import android.widget.ListView; import com...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/SearchResultActivity.java
Java
asf20
7,652
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/service/BootReceiver.java
Java
asf20
1,245
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/service/TwitterService.java
Java
asf20
15,408
package com.ch_linghu.fanfoudroid.service; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.GregorianCalendar; import java.util.List; import com.ch_linghu.fanfoudroid.FanfouWidget; import com.ch_linghu.fanfoudroid.R; imp...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/service/WidgetService.java
Java
asf20
4,504
package com.ch_linghu.fanfoudroid.data; import com.ch_linghu.fanfoudroid.weibo.DirectMessage; import com.ch_linghu.fanfoudroid.weibo.User; import com.ch_linghu.fanfoudroid.helper.Utils; public class Dm extends Message { @SuppressWarnings("unused") private static final String TAG = "Dm"; public bool...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/Dm.java
Java
asf20
874
package com.ch_linghu.fanfoudroid.data; import java.util.Date; import android.os.Parcel; import android.os.Parcelable; public class User implements Parcelable { public String id; public String name; public String screenName; public String location; public String description; public String profil...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/User.java
Java
asf20
2,792
package com.ch_linghu.fanfoudroid.data; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import android.content.ContentV...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/FanStatus.java
Java
asf20
17,851
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/Tweet.java
Java
asf20
6,276
package com.ch_linghu.fanfoudroid.data; import java.util.Date; public class Message { public String id; public String screenName; public String text; public String profileImageUrl; public Date createdAt; public String userId; public String favorited; public String truncated; public St...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/Message.java
Java
asf20
517
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/TwitterDbAdapter.java
Java
asf20
21,963
package com.ch_linghu.fanfoudroid.data.db; import java.util.Date; /** * All information of status table * */ public final class StatusTablesInfo { }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/StatusTablesInfo.java
Java
asf20
164
package com.ch_linghu.fanfoudroid.data.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; public final class UserInfoTable implements BaseColumns { public static final String TAG...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/UserInfoTable.java
Java
asf20
4,484
package com.ch_linghu.fanfoudroid.data.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Dm; /** * Table - Direct Messages * */ public final class MessageTable implements BaseColumns { ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/MessageTable.java
Java
asf20
3,298
package com.ch_linghu.fanfoudroid.data.db; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import java.util.Locale; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDat...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/StatusDatabase.java
Java
asf20
35,537
package com.ch_linghu.fanfoudroid.data.db; import android.content.ContentValues; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.helper.Utils; /**...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/StatusTable.java
Java
asf20
7,171
package com.ch_linghu.fanfoudroid.data.db; import java.text.ParseException; import android.database.Cursor; import android.provider.BaseColumns; import android.util.Log; import com.ch_linghu.fanfoudroid.data.User; /** * Table - Followers * */ public final class FollowTable implements BaseColumns ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/FollowTable.java
Java
asf20
4,631
package com.ch_linghu.fanfoudroid.data.db; import java.io.File; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.List; import java.util.Locale; import android.content.ContentValues; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/db/TwitterDatabase.java
Java
asf20
38,116
package com.ch_linghu.fanfoudroid.data; import android.content.ContentValues; import android.database.Cursor; public interface BaseContent { long insert(); int delete(); int update(); Cursor select(); }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/data/BaseContent.java
Java
asf20
222
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/TwitterActivity.java
Java
asf20
6,770
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/WriteActivity.java
Java
asf20
20,670
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Timer; import java.util.TimerTask; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.data.db.StatusTable; import com.ch_linghu.fanfoudroid.data.db.Twitter...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/FanfouWidget.java
Java
asf20
7,294
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/TwitterListBaseActivity.java
Java
asf20
9,004
package com.ch_linghu.fanfoudroid.ui.base; import java.io.File; import android.app.Activity; import android.app.SearchManager; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.os.Environ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/BaseActivity.java
Java
asf20
8,992
package com.ch_linghu.fanfoudroid.ui.base; public interface Refreshable { void doRetrieve(); }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/Refreshable.java
Java
asf20
97
package com.ch_linghu.fanfoudroid.ui.base; import android.app.Activity; import android.content.Intent; import android.graphics.drawable.BitmapDrawable; import android.os.Bundle; import android.text.TextPaint; import android.util.Log; import android.view.View; import android.view.ViewGroup; import android.view.animatio...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/WithHeaderActivity.java
Java
asf20
6,877
package com.ch_linghu.fanfoudroid.ui.base; import java.util.ArrayList; import java.util.List; import android.os.Bundle; import android.util.Log; import android.view.View; import android.widget.ImageButton; import android.widget.ListView; import android.widget.ProgressBar; import android.widget.TextView; ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/UserArrayBaseActivity.java
Java
asf20
8,211
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/UserCursorBaseActivity.java
Java
asf20
17,176
package com.ch_linghu.fanfoudroid.ui.base; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.util.Log; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuI...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/UserListBaseActivity.java
Java
asf20
14,113
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/base/TwitterCursorBaseActivity.java
Java
asf20
16,919
/** * */ package com.ch_linghu.fanfoudroid.ui.module; import java.text.ParseException; import java.util.Date; import java.util.List; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.preference.PreferenceManager;...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/UserCursorAdapter.java
Java
asf20
3,832
package com.ch_linghu.fanfoudroid.ui.module; import com.ch_linghu.fanfoudroid.R; import android.content.Context; import android.content.res.Resources; import android.graphics.Color; import android.text.Layout; import android.text.Spannable; import android.text.SpannableString; import android.text.Spanned; im...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/MyTextView.java
Java
asf20
2,701
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/MenuDialog.java
Java
asf20
7,116
/** * */ package com.ch_linghu.fanfoudroid.ui.module; import java.text.ParseException; import java.util.Date; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.Bitmap; import android.preference.PreferenceManager; import android.util.Lo...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/TweetCursorAdapter.java
Java
asf20
5,362
package com.ch_linghu.fanfoudroid.ui.module; import java.util.ArrayList; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.graphic...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/UserArrayAdapter.java
Java
asf20
9,344
package com.ch_linghu.fanfoudroid.ui.module; import android.graphics.Color; import android.text.Editable; import android.text.InputFilter; import android.text.Selection; import android.text.TextWatcher; import android.view.View.OnKeyListener; import android.widget.EditText; import android.widget.TextView; ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/TweetEdit.java
Java
asf20
2,607
package com.ch_linghu.fanfoudroid.ui.module; import java.util.ArrayList; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.helper.ImageCache; import com.ch_linghu.fanfoudroid.helper.Preferences...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/TweetArrayAdapter.java
Java
asf20
4,268
package com.ch_linghu.fanfoudroid.ui.module; import android.content.Context; import android.util.AttributeSet; import android.view.MotionEvent; import android.widget.AbsListView; import android.widget.ListView; public class MyListView extends ListView implements ListView.OnScrollListener { private int mS...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/MyListView.java
Java
asf20
1,620
package com.ch_linghu.fanfoudroid.ui.module; import android.widget.ListAdapter; public interface TweetAdapter extends ListAdapter{ void refresh(); }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/ui/module/TweetAdapter.java
Java
asf20
152
package com.ch_linghu.fanfoudroid; import java.util.List; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.widget.ListView; import android.widget.Toast; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.base.UserArrayBaseActivity; ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/FollowersActivity.java
Java
asf20
2,547
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/MentionActivity.java
Java
asf20
3,424
package com.ch_linghu.fanfoudroid.http; /** * HTTP StatusCode is not 200 */ public class HttpException extends Exception { private int statusCode = -1; public HttpException(String msg) { super(msg); } public HttpException(Exception cause) { super(cause); } public HttpE...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/http/HttpException.java
Java
asf20
741
package com.ch_linghu.fanfoudroid.http; import java.io.BufferedReader; import java.io.File; import java.io.IOException; import java.io.InputStreamReader; import java.io.UnsupportedEncodingException; import java.net.URI; import java.net.URISyntaxException; import java.net.URLEncoder; import java.util.ArrayList; import...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/http/HttpClient.java
Java
asf20
26,105
package com.ch_linghu.fanfoudroid.http; import java.io.BufferedReader; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.util.Arrays; import java.util.regex.Matcher; import java.util.regex.Patter...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/http/Response.java
Java
asf20
8,925
package com.ch_linghu.fanfoudroid.http; import java.util.HashMap; import java.util.Map; public class HTMLEntity { public static String escape(String original) { StringBuffer buf = new StringBuffer(original); escape(buf); return buf.toString(); } public static void escape(StringBuf...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/http/HTMLEntity.java
Java
asf20
26,524
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/LoginActivity.java
Java
asf20
10,440
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/FavoritesActivity.java
Java
asf20
4,105
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.widget.ListView; import android.widget.TextView; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoud...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/UserTimelineActivity.java
Java
asf20
11,104
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.database.Cursor; import android.os.Bundle; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.data.db.StatusTable; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu....
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/BrowseActivity.java
Java
asf20
1,982
package com.ch_linghu.fanfoudroid.task; import java.util.HashMap; import org.json.JSONException; import com.ch_linghu.fanfoudroid.http.HttpException; /** * 暂未使用,待观察是否今后需要此类 * @author lds * */ public class TaskParams { private HashMap<String, Object> params = null; public TaskParams() { params = new Has...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/TaskParams.java
Java
asf20
3,288
package com.ch_linghu.fanfoudroid.task; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.data.Tweet; import com.ch_linghu.fanfoudroid.data.db.StatusTable; import com.ch_linghu.fanfoudroid.http.HttpException; import com.ch_linghu.fanfoudroid.ui.base.BaseAct...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/TweetCommonTask.java
Java
asf20
2,901
package com.ch_linghu.fanfoudroid.task; public interface TaskListener { String getName(); void onPreExecute(GenericTask task); void onPostExecute(GenericTask task, TaskResult result); void onProgressUpdate(GenericTask task, Object param); void onCancelled(GenericTask task); }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/TaskListener.java
Java
asf20
285
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.util.Log; public class TaskManager extends Observable { private static final String TAG = "TaskManager"; public static final Integer CANCEL_ALL = 1; public void cancelAll() { ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/TaskManager.java
Java
asf20
506
package com.ch_linghu.fanfoudroid.task; import java.util.Observable; import java.util.Observer; import android.os.AsyncTask; import android.util.Log; import android.widget.Toast; import com.ch_linghu.fanfoudroid.TwitterApplication; public abstract class GenericTask extends AsyncTask<TaskParams, Object, TaskResult> ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/GenericTask.java
Java
asf20
2,154
package com.ch_linghu.fanfoudroid.task; public abstract class TaskAdapter implements TaskListener { public abstract String getName(); public void onPreExecute(GenericTask task) {}; public void onPostExecute(GenericTask task, TaskResult result) {}; public void onProgressUpdate(GenericTask task, Object...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/TaskAdapter.java
Java
asf20
384
package com.ch_linghu.fanfoudroid.task; public enum TaskResult { OK, FAILED, CANCELLED, NOT_FOLLOWED_ERROR, IO_ERROR, AUTH_ERROR }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/task/TaskResult.java
Java
asf20
141
/* Copyright (c) 2007-2009 All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following dis...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Query.java
Java
asf20
6,707
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Photo.java
Java
asf20
3,159
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/QueryResult.java
Java
asf20
6,404
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/WeiboSupport.java
Java
asf20
2,561
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Trend.java
Java
asf20
3,322
/* * UserObjectWapper.java created on 2010-7-28 上午08:48:35 by bwl (Liu Daoru) */ package com.ch_linghu.fanfoudroid.weibo; import java.io.Serializable; import java.util.List; /** * 对User对象列表进行的包装,以支持cursor相关信息传递 * @author liudaoru - daoru at sina.com.cn */ public class UserWapper implements Serializ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/UserWapper.java
Java
asf20
1,280
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/WeiboResponse.java
Java
asf20
9,545
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Weibo.java
Java
asf20
61,326
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Configuration.java
Java
asf20
12,101
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/User.java
Java
asf20
25,403
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Trends.java
Java
asf20
6,594
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Status.java
Java
asf20
13,533
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/IDs.java
Java
asf20
5,037
package com.ch_linghu.fanfoudroid.weibo; /** * An exception class that will be thrown when WeiboAPI calls are failed.<br> * In case the Fanfou server returned HTTP error code, you can get the HTTP status code using getStatusCode() method. */ public class WeiboException extends Exception { private int statusCode...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/WeiboException.java
Java
asf20
981
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/RetweetDetails.java
Java
asf20
6,254
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/RefuseError.java
Java
asf20
4,493
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/RateLimitStatus.java
Java
asf20
4,014
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/DirectMessage.java
Java
asf20
7,765
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/Paging.java
Java
asf20
3,846
/* Copyright (c) 2007-2009, Yusuke Yamamoto All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/weibo/SavedSearch.java
Java
asf20
5,040
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/PreferencesActivity.java
Java
asf20
2,577
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/AboutDialog.java
Java
asf20
1,798
package com.ch_linghu.fanfoudroid; import java.util.ArrayList; import java.util.List; import android.app.SearchManager; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.LayoutInflater; import android.vie...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/SearchActivity.java
Java
asf20
11,038
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/WriteDmActivity.java
Java
asf20
11,858
package com.ch_linghu.fanfoudroid; import java.text.ParseException; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.database.Cursor; import android.graphics.B...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/DmActivity.java
Java
asf20
17,152
package com.ch_linghu.fanfoudroid.helper; import android.text.Spannable; import android.text.method.LinkMovementMethod; import android.text.method.MovementMethod; import android.view.MotionEvent; import android.widget.TextView; public class TestMovementMethod extends LinkMovementMethod { private double...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/TestMovementMethod.java
Java
asf20
1,339
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/Utils.java
Java
asf20
10,360
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/ImageManager.java
Java
asf20
12,775
package com.ch_linghu.fanfoudroid.helper; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.TwitterApplication; import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.PixelFormat; import android.graphics.drawable.Drawable; public interface ImageCache { ...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/ImageCache.java
Java
asf20
554
package com.ch_linghu.fanfoudroid.helper; import android.graphics.Bitmap; public interface ProfileImageCacheCallback { void refresh(String url, Bitmap bitmap); }
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/ProfileImageCacheCallback.java
Java
asf20
165
/* * Copyright (C) 2009 Google 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...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/Preferences.java
Java
asf20
2,418
package com.ch_linghu.fanfoudroid.helper; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import android.graphics.Bitmap; import android.util.Log; import com.ch_linghu.fanfoudroid.TwitterApplication; import com.ch_linghu.fanfoudroid.task.GenericTask; import com.ch_linghu.fanfoudroid...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/ProfileImageCacheManager.java
Java
asf20
3,043
package com.ch_linghu.fanfoudroid.helper; import java.util.HashMap; import android.graphics.Bitmap; public class MemoryImageCache implements ImageCache { private HashMap<String, Bitmap> mCache; public MemoryImageCache() { mCache = new HashMap<String, Bitmap>(); } @Override public Bi...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/MemoryImageCache.java
Java
asf20
836
package com.ch_linghu.fanfoudroid.helper; import android.app.Activity; import android.content.Intent; import android.widget.Toast; import com.ch_linghu.fanfoudroid.LoginActivity; import com.ch_linghu.fanfoudroid.R; import com.ch_linghu.fanfoudroid.http.HttpAuthException; import com.ch_linghu.fanfoudroid.http.HttpExce...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/helper/ExceptionHandler.java
Java
asf20
2,066
/* * Copyright (C) 2009 Google 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 agree...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/StatusActivity.java
Java
asf20
19,506
package com.ch_linghu.fanfoudroid; import java.util.List; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.ContextMenu; import android.view.ContextMenu.ContextMenuInfo; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.Ad...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/FollowingActivity.java
Java
asf20
3,174
package com.ch_linghu.fanfoudroid; import java.util.HashSet; import android.app.Application; import android.content.Context; import android.content.SharedPreferences; import android.database.Cursor; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.preference.PreferenceM...
13388600101m-fanfouandroid
src/com/ch_linghu/fanfoudroid/TwitterApplication.java
Java
asf20
6,885
#!/bin/bash # 打开apache.http调试信息 adb shell setprop log.tag.org.apache.http VERBOSE adb shell setprop log.tag.org.apache.http.wire VERBOSE adb shell setprop log.tag.org.apache.http.headers VERBOSE echo "Enable Debug"
13388600101m-fanfouandroid
tools/openHttpDebug.sh
Shell
asf20
229
/* Javadoc 样式表 */ /* 在此处定义颜色、字体和其他样式属性以覆盖默认值 */ /* 页面背景颜色 */ body { background-color: #FFFFFF; color:#000000 } /* 标题 */ h1 { font-size: 145% } /* 表格颜色 */ .TableHeadingColor { background: #CCCCFF; color:#000000 } /* 深紫色 */ .TableSubHeadingColor { background: #EEEEFF; color:#000000 } /* 淡紫色 */ .TableRowColor ...
13388600101m-fanfouandroid
doc/stylesheet.css
CSS
asf20
1,370
/* * Copyright (C) 2009 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...
12bymylove-apps-for-android
SpriteMethodTest/src/com/android/spritemethodtest/CanvasSprite.java
Java
asf20
1,425
/* * Copyright (C) 2009 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...
12bymylove-apps-for-android
SpriteMethodTest/src/com/android/spritemethodtest/ProfileRecorder.java
Java
asf20
4,931