code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* * Copyright 2012 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 agreed to in...
zyf404283839-mypush
gcm-client-deprecated/src/com/google/android/gcm/GCMConstants.java
Java
asf20
6,105
/* * Copyright 2012 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 agreed to in...
zyf404283839-mypush
gcm-client-deprecated/src/com/google/android/gcm/GCMLogger.java
Java
asf20
1,530
/* * Copyright 2012 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 agreed to in...
zyf404283839-mypush
gcm-client-deprecated/src/com/google/android/gcm/GCMBaseIntentService.java
Java
asf20
14,032
/* * Copyright 2012 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 agreed to in...
zyf404283839-mypush
gcm-client-deprecated/src/com/google/android/gcm/GCMBroadcastReceiver.java
Java
asf20
3,012
/* * Copyright 2012 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 agreed to in...
zyf404283839-mypush
gcm-client-deprecated/src/com/google/android/gcm/GCMRegistrar.java
Java
asf20
22,174
/* * Copyright 2012 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 agreed to in w...
zyf404283839-mypush
gcm-server/src/com/google/android/gcm/server/Message.java
Java
asf20
5,628
/* * Copyright 2012 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 agreed to in w...
zyf404283839-mypush
gcm-server/src/com/google/android/gcm/server/InvalidRequestException.java
Java
asf20
1,700
/* * Copyright 2012 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 agreed to in w...
zyf404283839-mypush
gcm-server/src/com/google/android/gcm/server/Sender.java
Java
asf20
24,302
/* * Copyright 2012 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 agreed to in w...
zyf404283839-mypush
gcm-server/src/com/google/android/gcm/server/Result.java
Java
asf20
3,458
/* * Copyright 2012 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 agreed to in w...
zyf404283839-mypush
gcm-server/src/com/google/android/gcm/server/MulticastResult.java
Java
asf20
3,886
/* * Copyright 2012 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 agreed to in w...
zyf404283839-mypush
gcm-server/src/com/google/android/gcm/server/Constants.java
Java
asf20
6,107
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/Floating.java
Java
mit
4,689
package com.farproc.wifi.connecter; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiConfiguration.AuthAlgorithm; import android.net.wifi.WifiConfiguration.GroupCipher; import android.net.wifi.WifiConfiguration.KeyMgmt; import android.net.wifi.WifiConfiguration...
zyh3290-wifi
src/com/farproc/wifi/connecter/ConfigurationSecuritiesOld.java
Java
mit
7,074
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/NewNetworkContent.java
Java
mit
3,822
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/ChangePasswordContent.java
Java
mit
3,871
package com.farproc.wifi.connecter; import java.lang.reflect.Field; import android.os.Build.VERSION;; /** * Get Android version in different Android versions. :) * @author yuanxiaohui * */ public class Version { public final static int SDK = get(); private static int get() { final Class<VERSION> version...
zyh3290-wifi
src/com/farproc/wifi/connecter/Version.java
Java
mit
741
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/BaseContent.java
Java
mit
4,299
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/ChangingAwareEditText.java
Java
mit
1,707
package com.farproc.wifi.connecter; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; public abstract class ConfigurationSecurities { /** * @return The security of a given {@link WifiConfiguration}. */ public abstract String getWifiConfigurationSecurity(WifiConfiguration wifiC...
zyh3290-wifi
src/com/farproc/wifi/connecter/ConfigurationSecurities.java
Java
mit
1,151
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/TestWifiScan.java
Java
mit
5,979
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/ConfiguredNetworkContent.java
Java
mit
4,962
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/ReenableAllApsWhenNetworkStateChanged.java
Java
mit
3,500
package com.farproc.wifi.connecter; import android.net.wifi.ScanResult; import android.net.wifi.WifiConfiguration; import android.net.wifi.WifiConfiguration.AuthAlgorithm; import android.net.wifi.WifiConfiguration.KeyMgmt; import android.util.Log; public class ConfigurationSecuritiesV8 extends ConfigurationSecurities...
zyh3290-wifi
src/com/farproc/wifi/connecter/ConfigurationSecuritiesV8.java
Java
mit
6,321
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/Wifi.java
Java
mit
9,745
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/MainActivity.java
Java
mit
3,635
/* * Wifi Connecter * * Copyright (c) 20101 Kevin Yuan (farproc@gmail.com) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation ...
zyh3290-wifi
src/com/farproc/wifi/connecter/CurrentNetworkContent.java
Java
mit
5,714
#!/usr/bin/python2.6 # # Simple http server to emulate api.playfoursquare.com import logging import shutil import sys import urlparse import SimpleHTTPServer import BaseHTTPServer class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): """Handle playfoursquare.com requests, for testing.""" def do_GET(self...
zyjwsg-foursquared
mock_server/playfoursquare.py
Python
asf20
2,253
/** * 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...
zyjwsg-foursquared
examples/FoursquaredSettings.java
Java
asf20
444
/** * 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 = "";...
zyjwsg-foursquared
examples/TestCredentials.java
Java
asf20
441
#!/usr/bin/python import os import subprocess import sys BASEDIR = '../main/src/com/joelapenna/foursquare' TYPESDIR = '../captures/types/v1' captures = sys.argv[1:] if not captures: captures = os.listdir(TYPESDIR) for f in captures: basename = f.split('.')[0] javaname = ''.join([c.capitalize() for c in basena...
zyjwsg-foursquared
util/generate.py
Python
asf20
772
#!/usr/bin/python """ Pull a oAuth protected page from foursquare. Expects ~/.oget to contain (one on each line): CONSUMER_KEY CONSUMER_KEY_SECRET USERNAME PASSWORD Don't forget to chmod 600 the file! """ import httplib import os import re import sys import urllib import urllib2 import urlparse import user from xml....
zyjwsg-foursquared
util/oget.py
Python
asf20
3,416
#!/usr/bin/python import datetime import sys import textwrap import common from xml.dom import pulldom PARSER = """\ /** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquare.parsers; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.error.FoursquareError; import com.joel...
zyjwsg-foursquared
util/gen_parser.py
Python
asf20
4,392
#!/usr/bin/python import logging from xml.dom import minidom from xml.dom import pulldom BOOLEAN = "boolean" STRING = "String" GROUP = "Group" # Interfaces that all FoursquareTypes implement. DEFAULT_INTERFACES = ['FoursquareType'] # Interfaces that specific FoursqureTypes implement. INTERFACES = { } DEFAULT_CLA...
zyjwsg-foursquared
util/common.py
Python
asf20
2,820
<html> <head> <style type="text/css"> body { background:#fff; color:#000; font:normal 12px Tahoma, Arial, Helvetica, Serif; margin:0px; padding:0px; } h4 { float:left; height:15px; margin:0px 0 0; pa...
zyjwsg-foursquared
main/assets/changelog-en.html
HTML
asf20
9,096
/** * 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...
zyjwsg-foursquared
main/src/com/facebook/android/FacebookWebViewActivity.java
Java
asf20
14,675
/* * 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 ...
zyjwsg-foursquared
main/src/com/facebook/android/FacebookError.java
Java
asf20
1,304
/* * 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-...
zyjwsg-foursquared
main/src/com/facebook/android/Facebook.java
Java
asf20
10,363
/* * 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-...
zyjwsg-foursquared
main/src/com/facebook/android/FacebookUtil.java
Java
asf20
7,679
/** * 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; ...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/FriendsMapActivity.java
Java
asf20
10,764
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/FetchImageForViewIntent.java
Java
asf20
16,224
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/NearbyVenuesMapActivity.java
Java
asf20
8,273
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/AddVenueActivity.java
Java
asf20
30,780
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/TodosActivity.java
Java
asf20
21,177
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/UserMayorshipsActivity.java
Java
asf20
10,408
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/VenueActivity.java
Java
asf20
35,457
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/TipsActivity.java
Java
asf20
19,171
/** * 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....
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/LoginActivity.java
Java
asf20
8,813
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/SearchVenuesActivity.java
Java
asf20
16,934
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/UserDetailsActivity.java
Java
asf20
45,842
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/CategoryPickerDialog.java
Java
asf20
7,738
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/AddTodoActivity.java
Java
asf20
8,752
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/providers/VenueQuerySuggestionsProvider.java
Java
asf20
566
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/providers/GlobalSearchProvider.java
Java
asf20
8,688
/** * 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....
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/Foursquared.java
Java
asf20
16,225
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/VenueTipsActivity.java
Java
asf20
9,133
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/UserDetailsTipsActivity.java
Java
asf20
20,048
/** * Copyright 2008 Joe LaPenna */ package com.joelapenna.foursquared; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquared.preferences.Preferences; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.BroadcastReceiver; import an...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/PreferenceActivity.java
Java
asf20
8,363
/** * 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.google.andro...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/SearchVenuesMapActivity.java
Java
asf20
8,920
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.view.View; import android.widget.TabHost; import android.widget.TabHost.TabSpec; /** * Acts as an interface to the TabSpec class for setting the content view. * The level 3 SDK doesn't support setting a View for the...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/TabsUtil4.java
Java
asf20
841
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquared.FoursquaredSettings; import org.apache.http.Header; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods....
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/RemoteResourceFetcher.java
Java
asf20
6,456
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.text.TextUtils; import com.joelapenna.foursquare.types.FoursquareType; import com.joelapenna.foursquare.types.Tip; import com.joelapenna.foursquare.types.Todo; /** * @date September 2, 2010. * @author Mark Wyszomie...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/TipUtils.java
Java
asf20
2,077
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.app.Activity; import android.os.Build; /** * Acts as an interface to the contacts API which has changed between SDK 4 to * 5. * * @date February 14, 2010 * @author Mark Wyszomierski (markww@gmail.com), foursquar...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/AddressBookUtils.java
Java
asf20
902
// Copyright 2003-2009 Christian d'Heureuse, Inventec Informatik AG, Zurich, Switzerland // www.source-code.biz, www.inventec.ch/chdh // // This module is multi-licensed and may be used under the terms // of any of the following licenses: // // EPL, Eclipse Public License, http://www.eclipse.org/legal // LGPL, GNU Le...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/Base64Coder.java
Java
asf20
6,665
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquared.FoursquaredSettings; import android.os.Environment; import android.util.Log; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.File; import java.io.FileInputStream; ...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/BaseDiskCache.java
Java
asf20
7,683
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import com.google.android.maps.GeoPoint; import android.content.Context; import android.location.Location; import android.location.LocationManager; import java.util.List; /** * @date June 30, 2010 * @author Mark Wyszomierski (ma...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/GeoUtils.java
Java
asf20
1,993
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.os.Parcel; import android.text.TextUtils; import com.joelapenna.foursquare.types.Group; import com.joelapenna.foursquare.types.Tip; import com.joelapenna.foursquare.types.Todo; import com.joelapenna.foursquare.types.V...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/VenueUtils.java
Java
asf20
5,574
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquared.FoursquaredSettings; import android.net.Uri; import android.util.Log; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.Observable; import java.util.Observer; ...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/RemoteResourceManager.java
Java
asf20
3,347
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquared.R; import android.content.Context; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.Build; import android.view.LayoutInflater; import android.view.View; im...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/TabsUtil.java
Java
asf20
2,428
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.media.ExifInterface; import android.text.TextUtils; /** * @date July 24, 2010 * @author Mark Wyszomierski (markww@gmail.com) */ public class ExifUtils { private ExifUtils() { } public static int get...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/ExifUtils.java
Java
asf20
1,279
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; /** * @author Joe LaPenna (joe@joelapenna.com) */ public class NullDiskCache implements DiskCache { /* * (non-J...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/NullDiskCache.java
Java
asf20
1,637
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.util.Log; import java.util.Calendar; import java.util.Date; /** * Initializes a few Date objects to act as boundaries for sorting checkin lists * by the following time categories: * * <ul> * <li>Within the la...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/CheckinTimestampSort.java
Java
asf20
2,310
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquare.error.FoursquareCredentialsException; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquared.FoursquaredSettings; import com.joelapenna.foursquared.error.LocationExcep...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/NotificationsUtil.java
Java
asf20
2,476
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date;...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/StringFormatters.java
Java
asf20
8,145
package com.joelapenna.foursquared.util; import com.joelapenna.foursquare.types.Group; import com.joelapenna.foursquare.types.User; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.Set; /** *...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/AddressBookEmailBuilder.java
Java
asf20
5,397
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import java.io.File; import java.io.IOException; import java.io.InputStream; /** * @author Joe LaPenna (joe@joelapenna.com) */ public interface DiskCache { public boolean exists(String key); public File getFile(String key); ...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/DiskCache.java
Java
asf20
539
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquare.types.Checkin; import com.joelapenna.foursquare.types.Tip; import com.joelapenna.foursquare.types.User; import com.joelapenna.foursquare.types.Venue; import java.text.ParseException; import java.util.Compa...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/Comparators.java
Java
asf20
6,515
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import android.util.Log; import java.util.HashMap; import java.util.Map; import java.util.logging.Handler; import java.util.logging.Level; import java.util.logging.LogRecord; /** * @author Joe LaPenna (joe@joelapenna.com) */ public cla...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/JavaLoggingHandler.java
Java
asf20
1,135
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Matrix; import android.os.Build; import java.io.FileOutputStream; import java.io.OutputStream; /** * @date July 24, 2010 * @author Mar...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/ImageUtils.java
Java
asf20
3,265
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.graphics.drawable.Drawable; import android.widget.TabHost.TabSpec; /** * Acts as an interface to the TabSpec class for setting the content view. * The level 3 SDK doesn't support setting a View for the content secti...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/TabsUtil3.java
Java
asf20
860
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquared.Foursquared; import com.joelapenna.foursquared.R; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.content.res.Resources; imp...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/FeedbackUtils.java
Java
asf20
2,801
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquared.PreferenceActivity; import com.joelapenna.foursquared.R; import android.content.Context; import android.content.Intent; import android.view.Menu; /** * Collection of common functions which are called fr...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/MenuUtils.java
Java
asf20
894
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.app.Activity; import android.database.Cursor; import android.provider.Contacts; import android.provider.Contacts.PhonesColumns; /** * Implementation of address book functions for sdk levels 3 and 4. * * @date Feb...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/AddressBookUtils3and4.java
Java
asf20
3,066
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.util.Log; import android.widget.Toast; /** * @date September 15, 2010. * @author Mark Wyszomierski (mar...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/UiUtil.java
Java
asf20
2,738
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared.util; import android.app.Activity; import android.database.Cursor; import android.provider.ContactsContract.Contacts; import android.provider.ContactsContract.CommonDataKinds.Email; import android.provider.ContactsContract.CommonDataKinds....
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/AddressBookUtils5.java
Java
asf20
2,701
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.googlecode.dumpcatcher.logging.Dumpcatcher; import com.googlecode.dumpcatcher.logging.DumpcatcherUncaughtExceptionHandler; import com.googlecode.dumpcatcher.logging.StackFormattingUtil; import com.joelapenna.foursquared.Foursqua...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/DumpcatcherHelper.java
Java
asf20
4,040
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.util; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.types.User; import com.joelapenna.foursquared.Foursquared; import com.joelapenna.foursquared.R; import android.app.Activity; import android.content.Context; imp...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/util/UserUtils.java
Java
asf20
5,931
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/CheckinResultDialog.java
Java
asf20
14,998
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; /** * Presents the user wit...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/AddFriendsActivity.java
Java
asf20
3,791
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.types.CheckinResult; import com.joelapenna.foursquared.location.LocationUtils; import com.joelapenna.foursquared.util.NotificationsUtil; import android.app.Act...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/ShoutExecuteActivity.java
Java
asf20
9,696
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared; import android.app.Activity; import android.graphics.Bitmap; import android.os.Bundle; import android.util.Log; import android.view.KeyEvent; import android.view.Window; import android.webkit.WebView; import android.webkit.WebViewClient; ...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/WebViewActivity.java
Java
asf20
2,497
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared; import android.app.Dialog; import android.content.Context; import android.os.Bundle; import android.view.Display; import android.view.WindowManager; import android.webkit.WebView; import android.widget.LinearLayout; /** * Renders the r...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/WebViewDialog.java
Java
asf20
2,290
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared; import android.app.Activity; import android.app.ProgressDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.AsyncTask; imp...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/TipActivity.java
Java
asf20
16,987
/** * Copyright 2010 Mark Wyszomierski */ package com.joelapenna.foursquared; import com.joelapenna.foursquare.Foursquare; import com.joelapenna.foursquare.error.FoursquareException; import com.joelapenna.foursquare.types.Settings; import com.joelapenna.foursquare.types.User; import android.app.Activity; import an...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/UserDetailsPingsActivity.java
Java
asf20
9,363
/** * 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.foursquared.app.LoadableListActivity; import com.joelapenna.foursquared.location...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/UserDetailsFriendsActivity.java
Java
asf20
9,270
/** * 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.app.LoadableL...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/NearbyVenuesActivity.java
Java
asf20
20,287
package com.joelapenna.foursquared.location; import com.joelapenna.foursquared.FoursquaredSettings; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Log; import java.util.Date; import java.util.List; im...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/location/BestLocationListener.java
Java
asf20
7,669
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared.location; import com.joelapenna.foursquare.Foursquare.Location; /** * @author Joe LaPenna (joe@joelapenna.com) */ public class LocationUtils { public static final Location createFoursquareLocation(android.location.Location location) { ...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/location/LocationUtils.java
Java
asf20
1,081
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/AddTipActivity.java
Java
asf20
7,839
/** * 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.foursquared.app.LoadableListActivityWithViewAndHeader; import com.joelapenna.fou...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/UserDetailsFriendsFollowersActivity.java
Java
asf20
23,526
/** * 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...
zyjwsg-foursquared
main/src/com/joelapenna/foursquared/VenueMapActivity.java
Java
asf20
4,672