text
stringlengths
3
1.18M
package com.cicadalane.androlate; /* * Copyright (C) 2011 cicada.software@gmail.com * * 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/LI...
package com.cicadalane.androlate; /* * Copyright (C) 2011 cicada.software@gmail.com * * 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/LI...
package com.cicadalane.androlate; /* * Copyright (C) 2011 cicada.software@gmail.com * * 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/LI...
package com.cicadalane.androlate; /* * Copyright (C) 2011 cicada.software@gmail.com * * 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/LI...
package com.cicadalane.androlate; /* * Copyright (C) 2011 cicada.software@gmail.com * * 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/LI...
package com.cicadalane.androlate; /* * Copyright (C) 2011 cicada.software@gmail.com * * 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/LI...
package ca.skennedy.androidunusedresources; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; import java.util.SortedMap; /...
package ca.skennedy.androidunusedresources; import java.util.regex.Pattern; public class FileType { private final String mExtension; private final String mUsage; public static final String USAGE_TYPE = "{type}"; public static final String USAGE_NAME = "{name}"; public FileType(final S...
package ca.skennedy.androidunusedresources; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class FileUtilities { priv...
package ca.skennedy.androidunusedresources; import java.util.HashSet; import java.util.Set; import java.util.SortedSet; import java.util.TreeSet; public class Resource implements Comparable<Resource> { private final String mType; private final String mName; private final SortedSet<String> mDec...
package ca.skennedy.androidunusedresources; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; import jav...
package ca.skennedy.androidunusedresources; import java.io.File; public abstract class ResourceType { private final String mType; public ResourceType(final String type) { super(); mType = type; } public String getType() { return mType; } public abstra...
package ca.skennedy.androidunusedresources; public class Loader { private Loader() { super(); } public static void main(final String[] args) { final ResourceScanner resourceScanner = new ResourceScanner(); resourceScanner.run(); } }
/** * Sms2Email: * Android application that automatically forwards received SMS * to a email addresses. */ /* * Copyright 2011 Juergen Felleisen * * 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...
/** * Sms2Email: * Android application that automatically forwards received SMS * to a email addresses. */ /* * Copyright 2011 Juergen Felleisen * * 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...
/** * Sms2Email: * Android application that automatically forwards received SMS * to a email addresses. */ /* * Copyright 2011 Juergen Felleisen * * 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...
package de.felleisen.android.sms2email; import java.util.Date; import java.util.Properties; import javax.activation.CommandMap; import javax.activation.DataHandler; import javax.activation.DataSource; import javax.activation.FileDataSource; import javax.activation.MailcapCommandMap; import javax.mail.Authenticator; i...
/** * Sms2Email: * Android application that automatically forwards received SMS * to a email addresses. */ /* * Copyright 2011 Juergen Felleisen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtai...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
/* * Copyright (c) 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 ...
package com.app.webcamwidgetca; import java.util.Random; import com.app.webcamwidgetca.*; import com.app.webcamwidgetca.WordWidget.UpdateService; import android.app.Activity; import android.appwidget.AppWidgetManager; import android.content.Context; import android.content.Intent; import android.content.Shar...
/* * 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...
/** Automatically generated file. DO NOT MODIFY */ package com.nhn.android.mapviewer; public final class BuildConfig { public final static boolean DEBUG = true; }
/* * NMapCalloutBasicOverlay.java $version 2010. 1. 1 * * Copyright 2010 NHN Corp. All rights Reserved. * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.nhn.android.mapviewer; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Path; import an...
package com.nhn.android.mapviewer; import android.content.Context; import android.graphics.Rect; import android.view.LayoutInflater; import android.view.View; import android.widget.TextView; import com.nhn.android.maps.NMapOverlay; import com.nhn.android.maps.NMapOverlayItem; import com.nhn.android.maps.overlay.NMapP...
/* * NMapPOIflagType.java $version 2010. 1. 1 * * Copyright 2010 NHN Corp. All rights Reserved. * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.nhn.android.mapviewer; /** * Wrapper class representing POI flag types on map view. * * @author kyjkim */ public class NMapPOIfl...
/* * NMapCalloutCustomOverlay.java $version 2010. 1. 1 * * Copyright 2010 NHN Corp. All rights Reserved. * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.nhn.android.mapviewer; import android.graphics.Canvas; import android.graphics.PointF; import android.graphics.Rect; import ...
/* * NMapViewer.java $version 2010. 1. 1 * * Copyright 2010 NHN Corp. All rights Reserved. * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.nhn.android.mapviewer; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import and...
package com.nhn.android.mapviewer; import android.content.Context; import android.graphics.Point; import android.graphics.Rect; import android.view.View; import android.view.animation.ScaleAnimation; import android.widget.FrameLayout; import com.nhn.android.maps.NMapOverlay; import com.nhn.android.maps.NMapOverlayIte...
/* * NMapViewerResourceProvider.java $version 2010. 1. 1 * * Copyright 2010 NHN Corp. All rights Reserved. * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.nhn.android.mapviewer; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFacto...
/** Automatically generated file. DO NOT MODIFY */ package com.example.week7_sax; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week6_tcp; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week4_thread; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week1; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week7_service; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.google.android.gms; public final class BuildConfig { public final static boolean DEBUG = true; }
/* * Copyright (C) 2013 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...
/** Automatically generated file. DO NOT MODIFY */ package com.example.week8_googlemap; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week6_dom; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week8_fragment; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.example.week8_fragment; import android.support.v4.app.FragmentActivity; public class MyFragmentActivity extends FragmentActivity{ }
package com.example.week8_fragment; import android.os.Bundle; import android.app.Activity; import android.view.Menu; public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main);...
/** Automatically generated file. DO NOT MODIFY */ package com.example.week5_adapter; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week6_http; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week6_udp; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week2_1; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week5_sharedpreference; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week4_dialog; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week3_adapter; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week8_broadcast; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week5_filereadandwrite; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week8_sqllite; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package com.example.week2_intent; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.example.week2_intent; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.Menu; import android.view.View; import android.widget.ImageView; public class ImageActivity extends Activity { @Override protected void onCreate(Bundle savedInstan...
/* * Copyright (C) 2006 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 requir...
/* * 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 requir...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
package com.weibo.net; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.InetSocketAddress; import java.net.Proxy; import java.net.SocketAddress; import java.net.URL; import android.app.Dialog; import android.app.ProgressDialog; import andr...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * 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 t...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
package com.weibo.net; import android.os.Bundle; public interface WeiboDialogListener { /** * Called when a dialog completes. * * Executed by the thread that initiated the dialog. * * @param values * Key-value string pairs extracted from the response. ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 * * Unle...
/* * Copyright 2011 Sina. * * Licensed under the Apache License and Weibo 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.open.weibo.com * http://www.apache.org/licenses/LICENSE-2.0 ...
/* * Copyright (C) 2008 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 ...
/* * Copyright (C) 2008 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...
package com.androidclient; public class sendData { String _username; String _password; String _longitude; String _latitude; String _datetime; String _device_id; public sendData(){ } public sendData(String username, String password,String DateTime, String lon...
/** * */ package com.androidclient; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.widget.Toast; /** * @author Hrafnkell * */ public class TransmissionService extends Service { TransmitDataBroadcastReciever alarm = new TransmitDataBroadcas...
package com.androidclient; public class sendData { String _username; String _password; String _longitude; String _latitude; String _datetime; String _device_id; public sendData(){ } public sendData(String username, String password,String DateTime, String lon...
package com.androidclient; /** * <p>Encodes and decodes to and from Base64 notation.</p> * <p>Homepage: <a href="http://iharder.net/base64">http://iharder.net/base64</a>.</p> * * <p>Example:</p> * * <code>String encoded = Base64.encode( myByteArray );</code> * <br /> * <code>byte[] myByteArray = Base64.decod...
package org.itri.teapot; import android.app.Activity; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; public class TeapotES extends...
/* * 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 org.itri.teapot; import android.content.Context; import android.opengl.GLSurfaceView; class MyGLSurfaceView extends GLSurfaceView { private TeapotRenderer mMyRenderer; public MyGLSurfaceView(Context context) { super(context); } @Override public void setRenderer(GLSurfaceView.Renderer...
package data_model; public class Courses { public Courses() {} private String courses; public String getCourses() { return courses; } public void setCourses(String courses) { this.courses = courses; } public String getSchedule() { return schedule; } public void setSchedule(String schedul...
package com.example.assigment2; import java.util.ArrayList; import sqliteHelper.MyDBHandler; import data_model.Courses; import adapter.MyAdapter; import android.app.ActionBar; import android.app.Activity; import android.app.Dialog; import android.database.Cursor; import android.database.sqlite.SQLiteDataba...
package com.example.assigment2; import android.app.ActionBar; import android.app.Activity; import android.content.Intent; import android.graphics.Typeface; import android.graphics.drawable.ColorDrawable; import android.os.Bundle; import android.view.Menu; import android.view.MenuItem; import android.view.View; import ...
package sqliteHelper; import data_model.Courses; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class MyDBHandler extends SQLiteOpenHelper { public static fin...
package adapter; import java.util.ArrayList; import data_model.Courses; import com.example.assigment2.CoursesActivity; import com.example.assigment2.R; import android.R.color; import android.app.Activity; import android.graphics.Color; import android.view.LayoutInflater; import android.view.View; import a...
/** Automatically generated file. DO NOT MODIFY */ package com.example.assigment2; public final class BuildConfig { public final static boolean DEBUG = true; }
/** Automatically generated file. DO NOT MODIFY */ package android.support.v7.appcompat; public final class BuildConfig { public final static boolean DEBUG = true; }
package data_model; public class Contact { private String name, number, email; private boolean isCheck=false; public boolean isCheck() { return isCheck; } public void setCheck(boolean isCheck) { this.isCheck = isCheck; } public String getName() { return name; } public void setName(String name) { th...