text
stringlengths
3
1.18M
package com.wu.viewpagerdemo; import android.os.Bundle; public class ActivityTab2 extends ActivityTabSub { public static ActivityTab2 instance; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_tab_second); } ...
package com.wu.viewpagerdemo; import java.util.ArrayList; import java.util.List; import android.app.ActivityGroup; import android.app.LocalActivityManager; import android.content.Intent; import android.os.Bundle; import android.support.v4.view.PagerAdapter; import android.support.v4.view.PagerTitleStrip; import andro...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * BeDecoder.java * * Created on May 30, 2003, 2:44 PM * Copyright (C) 2003, 2004, 2005, 2006 Aelitis, All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; ei...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * BEncoder.java * * Created on June 4, 2003, 10:17 PM * Copyright (C) 2003, 2004, 2005, 2006 Aelitis, All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; ei...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * Java Bittorrent API as its name indicates is a JAVA API that implements the Bittorrent Protocol * This project contains two packages: * 1. jBittorrentAPI is the "client" part, i.e. it implements all classes needed to publish * files, share them and download them. * This package also contains exampl...
/* * @(#)EventListenerList.java 1.37 05/11/17 * * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package com.romancetech.androidtor; import java.io.*; import java.util.*; import java.lang.reflect.Array; /** * A class t...
package com.romancetech.androidtor; import android.app.Activity; public class showError extends Activity { }
package com.romancetech.androidtor; import atorrentapi.Constants; import atorrentapi.DownloadManager; import atorrentapi.TorrentFile; import atorrentapi.TorrentProcessor; import atorrentapi.Utils; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAc...
package com.romancetech.androidtor; import java.util.Timer; import java.util.TimerTask; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.util.Log; import com.romancetech.*; public class unChoke extends Service { private Timer timer = new Timer(); p...
package com.romancetech.androidtor; import java.io.File; import java.io.FileFilter; import java.util.ArrayList; import java.util.List; import android.app.AlertDialog; import android.app.ListActivity; import android.app.AlertDialog.Builder; import android.content.DialogInterface; import android.conten...
package com.romancetech.androidtor; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; ...
package com.romancetech.androidtor; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.LinearLayout; import android.widget.TextView; public class DownloadDone extends Activity { ...
package com.romancetech.androidtor; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.net.Uri; import android.os.Bundle; import android.util.Log; import android.widget.TabHost; public class andtor extends TabActivity { ...
package will.android; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; import android.view.View; import android.view.View.OnClickListener; import android.widget.*; public class Timer2 extends Activity { TextView hTextView; Button hButton, hBu...
package will.android; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; import android.view.View; import android.view.View.OnClickListener; import android.widget.*; public class TimerActivity extends Activity { private Handler mHandler = new Handler();...
package will.android; import android.os.Handler; import android.widget.TextView; public class Task implements Runnable { private TextView display; private Handler mHandler = new Handler(); private int nCounter = 0; private long orderTime = 0L; public Task(TextView display, long order...
package will.android; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.SystemClock; import android.view.View; import android.view.View.OnClickListener; import android.widget.*; public class Timer3 extends Activity { TextView hTextView; Button hBu...
package com.cn; import android.content.Context; import android.util.AttributeSet; import android.util.Log; import android.view.MotionEvent; import android.view.VelocityTracker; import android.view.View; import android.view.ViewConfiguration; import android.view.ViewGroup; import android.widge...
package activity_atividades; import java.sql.Date; import java.text.SimpleDateFormat; import util.TableHeaderTextView; import util.TableRowTextView; import activity_alarmes.Alarmes; import activity_disciplinas.Disciplinas; import activity_provas.Provas; import activity_trabalhos.Trabalhos; import android.a...
package activity_atividades; import java.text.SimpleDateFormat; import java.util.Date; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.con...
package com.adjt.droidsapiens; import activity_semestres.NovoSemestre; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.os.Bundle; import android.os.Handler; import android.view.Menu; import database.DatabaseConnector; public class Home extends Activity { @O...
package activity_trabalhos; import java.sql.Date; import java.text.SimpleDateFormat; import util.TableHeaderTextView; import util.TableRowTextView; import activity_alarmes.Alarmes; import activity_atividades.Atividades; import activity_disciplinas.Disciplinas; import activity_provas.Provas; import android....
package activity_trabalhos; import java.util.HashMap; import java.util.Map; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; ...
package activity_trabalhos; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Dialog; import ...
package activity_provas; import java.text.SimpleDateFormat; import java.util.Date; import java.util.HashMap; import java.util.Map; import android.annotation.SuppressLint; import android.app.Activity; import android.app.AlertDialog; import android.app.DatePickerDialog; import android.app.Dialog; import and...
package activity_provas; import java.sql.Date; import java.text.SimpleDateFormat; import util.TableHeaderTextView; import util.TableRowTextView; import activity_alarmes.Alarmes; import activity_atividades.Atividades; import activity_disciplinas.Disciplinas; import activity_trabalhos.Trabalhos; import andro...
package activity_provas; import java.util.HashMap; import java.util.Map; import android.app.Activity; import android.app.DatePickerDialog; import android.app.Dialog; import android.app.TimePickerDialog; import android.content.ContentValues; import android.content.Intent; import android.database.Cursor; im...
package util; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.widget.TextView; @SuppressLint("DrawAllocation")...
package util; import android.annotation.SuppressLint; import android.content.Context; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.graphics.Rect; import android.util.AttributeSet; import android.widget.TextView; @SuppressLint("DrawAllocation")...
package activity_disciplinas; import util.TableHeaderTextView; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.util.TypedValue; import android.view.Gravity; import android.view.Men...
package activity_disciplinas; import util.TableHeaderTextView; import util.TableRowTextView; import activity_atividades.Atividades; import activity_provas.Provas; import activity_trabalhos.Trabalhos; import android.annotation.SuppressLint; import android.app.Activity; import android.content.Intent; import an...
package activity_semestres; import android.app.Activity; import android.content.ContentValues; import android.content.Intent; import android.os.Bundle; import android.view.Menu; import android.view.View; import android.widget.CheckBox; import android.widget.RadioButton; import android.widget.Spinner; import...
package com.example.android_swfopener_demo; /* This stub is for using by IDE only. It is NOT the Manifest class actually packed into APK */ public final class Manifest { }
/** Automatically generated file. DO NOT MODIFY */ package com.example.android_swfopener_demo; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.example.android_swfopener_demo; /* This stub is for using by IDE only. It is NOT the R class actually packed into APK */ public final class R { }
package com.example.android_swfopener_demo; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageInfo; import android.content.pm.PackageManager; import android.net.Ur...
package com.example.android_swfopener_demo; /** * Created with IntelliJ IDEA. * User: Ryan * Date: 12-12-26 * Time: 上午10:28 */ public class SwfVideo { public String title = ""; public String localPath = ""; public String netUrl = ""; public SwfVideo(String title, String localPath, St...
package com.devdan.headsetfix; import static com.devdan.headsetfix.HeadsetCommonConstants.*; import static com.devdan.headsetfix.HeadsetCommonConstants.KEY_TRIAL_MONTH; import static com.devdan.headsetfix.HeadsetCommonConstants.KEY_TRIAL_YEAR; import static com.devdan.headsetfix.HeadsetCommonConstants.NUMBER_OF_TRIAL_...
/* * Copyright 2012 DevDan * * 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...
/* * Copyright 2012 DevDan * * 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...
package com.devdan.headsetfix; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.telephony.TelephonyManager; import android.util.Log; public class HeadsetfixHandle extends BroadcastReceiver { public boolean buttonActi...
/* * Copyright 2012 DevDan * * 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...
package com.devdan.headsetfix; public class HeadsetCommonConstants { public final static String PREFSFILE = "HeadsetButtonDialerPrefs"; public final static String BUTTON_BEHAVIOUR = "BUTTON_BEHAVIOUR"; public final static String KEY_ENABLED = "KEY_ENABLED"; public final static String KEY_SELECTED_PHO...
package com.devdan.headsetfix; import java.util.ArrayList; import android.app.Activity; import android.app.ListActivity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.ContactsContract.CommonDataKinds.Phone; import android.prov...
/* * Copyright 2012 DevDan * * 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...
// Obsolete! // This file is removed. package com.devdan.headsetfix; import android.content.Intent; import android.telephony.PhoneStateListener; import android.telephony.TelephonyManager; public class MyPhoneStateListener extends PhoneStateListener{ HeadsetfixActivity myHeadsetfixActivity; // Always gets a STATE_...
package ar.com.thewall; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.DisplayMetrics; import android.view.Window; import android.view.WindowManager; public class Init extends Activity { PhysicsWorld mWorld; private Handler mHandler; @Override public void on...
package ar.com.thewall; import java.util.Random; import org.jbox2d.collision.AABB; import org.jbox2d.collision.CircleDef; import org.jbox2d.collision.PolygonDef; import org.jbox2d.common.Vec2; import org.jbox2d.dynamics.Body; import org.jbox2d.dynamics.BodyDef; import org.jbox2d.dynamics.World; import android.conten...
package es.greenandroid.contact; import es.greenandroid.main.R; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.View; public class ContactView extends View { // Contact backgroun...
package es.greenandroid.shape; import es.greenandroid.main.R; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Canvas; import android.graphics.Color; import android.graphics.Paint; import android.util.AttributeSet; import android.view.View; public class Circle extends Vie...
package com.google.anytool; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.RandomAccessFile; import java.security.GeneralSecurityException; import java.util.List; import a...
package com.google.anytool; import com.google.anytool.AnyToolActivity; import android.app.Service; import android.content.Intent; import android.os.IBinder; import android.os.RemoteException; import android.util.Log; import android.widget.Toast; public class AnyToolService extends Service { private s...
package amit.example.tweenanimations; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.animation.Animation; import android.view.animation.AnimationUtils; import android.widget.ImageView; public class TweenAnimsActivity extends Activity { private ImageView imageView...
package whutcs.viky.viq; import static whutcs.viky.viq.ViqCommonUtilities.CODE_SELECT_PHOTO; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_ID; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_LICENCE; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_VEHICLE; import static whutcs.viky.viq.Viq...
package whutcs.viky.viq; import android.app.ListActivity; import android.app.Service; import android.content.Context; import android.content.Intent; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; import ...
package whutcs.viky.viq; import android.content.Context; import android.os.Bundle; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; public class ViqPreferenceActivity extends PreferenceActivity { @Override protected void onCreate(Bundle savedInstanceState) { s...
package whutcs.viky.viq; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.graphics.Color; import android.os.Bundle; import android.text.Editable; import android....
package whutcs.viky.viq; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_ID; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_LICENCE; import static whutcs.viky.viq.ViqCommonUtilities.getBitmapByName; import static whutcs.viky.viq.ViqCommonUtilities.getRelativeTime; import static whutcs.viky.viq.Viq...
/** * */ package whutcs.viky.viq; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_ID; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_LICENCE; import static whutcs.viky.viq.ViqCommonUtilities.getRelativeTime; import static whutcs.viky.viq.ViqSQLiteOpenHelper.TABLE_QUERY; import static whutcs....
package whutcs.viky.viq; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import android.cont...
package whutcs.viky.viq; import static whutcs.viky.viq.ViqCommonUtilities.CODE_SELECT_PHOTO; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_ID; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_LICENCE; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_VEHICLE; import static whutcs.viky.viq.Viq...
package whutcs.viky.viq; import static whutcs.viky.viq.ViqCommonUtilities.getBitmap; import static whutcs.viky.viq.ViqCommonUtilities.getDcimDirectory; import static whutcs.viky.viq.ViqCommonUtilities.getExistingImageFile; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStr...
package whutcs.viky.viq; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_ID; import static whutcs.viky.viq.ViqCommonUtilities.EXTRA_LICENCE; import static whutcs.viky.viq.ViqSQLiteOpenHelper.TABLE_INFO; import static whutcs.viky.viq.ViqSQLiteOpenHelper.TABLE_INFO_COLUMNS; import static whutcs.viky.viq.Viq...
/*Patrick Heisel -- Client Entry April 2011*/ package com.cs252.AudioTest; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.DatagramPacket; import java.net.DatagramSocket; import java.n...
package com.cs252.AudioTest; import java.util.ArrayList; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.SharedPreferences; import android.content.pm.ActivityInfo; import android.graphics.Color; import android....
package com.cs252.AudioTest; import java.net.*; import java.util.ArrayList; import java.io.*; public class Server { ArrayList<ClientEntry> clients = new ArrayList<ClientEntry>();//Holds connected clients final int PORT = 4400; final int UPORT = 4401; //This class is responsible for administering TDP and U...
/*Patrick Heisel -- Client Entry April 2011*/ package com.cs252.AudioTest; import java.io.PrintWriter; import java.net.Socket; /*contains basic info to hold a server client*/ public class ClientEntry { Socket sock; String name; PrintWriter printer; ClientEntry buddy; boolean bridge = false; publ...
package com.ptt; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemSelectedListener; import android.widget.Toast; public class IpOnItemSelectedListener implements OnItemSelectedListener { public void onItemSelected(AdapterView<?> parent, View ...
package com.ptt; import android.app.*; import android.os.Bundle; import java.io.*; import java.net.*; import java.util.*; import org.apache.http.conn.util.InetAddressUtils; import android.content.*; import android.media.*; import android.media.MediaRecorder.AudioSource; import android.net.DhcpInfo; import android.net.w...
/* * Copyright (C) 2010 Moduad Co., Ltd. * * 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 applicabl...
/* * Copyright (C) 2010 Moduad Co., Ltd. * * 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 applicabl...
package cn.ccsu.client.provider; import org.jivesoftware.smack.packet.IQ; import org.jivesoftware.smack.provider.IQProvider; import org.xmlpull.v1.XmlPullParser; public class IQUserProvider implements IQProvider{ public IQ parseIQ(XmlPullParser arg0) throws Exception { return null; } }
/* * HorizontalListView.java v1.5 * * * The MIT License * Copyright (c) 2011 Paul Soucy (paul@dev-smart.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 rest...