text stringlengths 3 1.18M |
|---|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package AutoCommandGroups;
import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.command.WaitCommand;
import ticks.chromedome.commands.DriveDistance;
import ticks.chromedome.commands.E... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package AutoCommandGroups;
import edu.wpi.first.wpilibj.command.CommandGroup;
import ticks.chromedome.OI;
/**
*
* @author Jared
*/
public class AutoMainCommandGroup extends CommandGroup {
p... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Threads;
/**
*
* @author Jared
*/
public class TCPComms {
//New NetworkTables
//Version 14
}
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Threads;
import edu.wpi.first.wpilibj.Timer;
import edu.wpi.first.wpilibj.camera.AxisCamera;
import edu.wpi.first.wpilibj.camera.AxisCameraException;
import edu.wpi.first.wpilibj.image.BinaryImage;
imp... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package Threads;
import edu.wpi.first.wpilibj.SerialPort;
import edu.wpi.first.wpilibj.visa.VisaException;
import ticks.chromedome.commands.CommandBase;
/**
*
* @author Jared
*/
public class ArduinoSer... |
package ticks.chromedome;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floating around.
*/
public class RobotMa... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Stopper;
/**
*
* @author Jared
*/
public class ReleaseStopper extends CommandBase {
public ReleaseStopper() {
req... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Suspension;
/**
*
* @author Jared
*/
public class SuspensionFront extends CommandBase {
boolean state;
public SuspensionFro... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class SlashJogDown extends CommandBase {
public SlashJogDown() {
requires(slash_static_instance);
// Use requi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class SlashJogUp extends CommandBase {
public SlashJogUp() {
requires(slash_static_instance);
// Use requires(... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Turret;
/**
*
* @author Jared
*/
public class TurretJogLeft extends CommandBase {
public TurretJogLeft() {
requir... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.DebugRobot;
/**
*
* @author Jared
*/
public class DebugCommand extends CommandBase {
public DebugCommand() {
// Use requires... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Drive;
/**
*
* @author Jared
*/
public class DriveDistance extends CommandBase {
Drive m_drive;
double m_distance;
doubl... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Drive;
/**
*
* @author Jared
*/
public class DriveWithJoystick extends CommandBase {
Drive m_drive;
public DriveWithJoystick() ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Suspension;
/**
*
* @author Jared
*/
public class SuspensionRear extends CommandBase {
boolean m_state;
public SuspensionRe... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Elevator;
/**
*
* @author Jared
*/
public class ElevatorUp extends CommandBase {
Elevator m_elevator;
public ElevatorUp... |
package ticks.chromedome.commands;
/**
*
* @author bradmiller
*/
public class ExampleCommand extends CommandBase {
public ExampleCommand() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
}
// Called just before this Command runs the f... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import ticks.chromedome.OI;
/**
*
* @author Jared
*/
public cl... |
package ticks.chromedome.commands;
import Threads.ArduinoSerial;
import Threads.VisionProcessing;
import edu.wpi.first.wpilibj.SerialPort;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import ticks.chromedome.GlobalData;
import ticks.chromedome.OI;
i... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Stopper;
/**
*
* @author Jared
*/
public class ActivateStopper extends CommandBase {
public ActivateStopper() {
r... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Turret;
/**
*
* @author Jared
*/
public class TurretJogRight extends CommandBase {
public TurretJogRight() {
requ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.commands.CommandBase;
/**
*
* @author Jared
*/
public class SetSlashSetpoint extends CommandBase {
public static double SLASH_UP_VOLTAGE = ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.PottyChair;
/**
*
* @author Jared
*/
public class PottyChairDown extends CommandBase {
public PottyChairDown() {
re... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.CameraLight;
/**
*
* @author Jared
*/
public class SetCameraLight extends CommandBase {
private boolean light_state;
public... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Elevator;
/**
*
* @author Jared
*/
public class ElevatorStop extends CommandBase {
public ElevatorStop() {
requires... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.PottyChair;
/**
*
* @author Jared
*/
public class PottyChairUp extends CommandBase {
private double m_timeout;
public stati... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class WaitForSpeed extends CommandBase {
public WaitForSpeed() {
}
// Called just before this Command runs the fir... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
import ticks.chromedome.subsystems.Elevator;
/**
*
* @author Jared
*/
public class ElevatorDown extends CommandBase {
public ElevatorDown() {
requir... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class SlashStop extends CommandBase {
public SlashStop() {
requires(slash_static_instance);
// Use requires() ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class SetShooterSetpoint extends CommandBase {
double shooter_speed;
public SetShooterSetpoint(double speed) {
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class SetVisionDisabled extends CommandBase {
public SetVisionDisabled() {
// Use requires() here to declare subsystem ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.commands;
/**
*
* @author Jared
*/
public class SetVisionEnabledCommand extends CommandBase {
SetVisionDisabled a;
public SetVisionEnabledCommand() {
// Use requi... |
package ticks.chromedome;
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.InternalButton;
import edu.wpi.first.wpilibj.buttons.JoystickButton;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import ticks.chromedome.commands.El... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.AnalogChannel;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.PIDComman... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.Counter;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Victor;
import edu.wp... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.command.Subsystem;
import ticks.chromedome.RobotMap;
import ticks.chromedome.commands.ActivateStopper;
... |
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.command.Subsystem;
/**
*
*/
public class ExampleSubsystem extends Subsystem {
// Put methods for controlling this subsystem
// here. Call these from Commands.
public void initDefaultCommand() {
// Set the default co... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;
import ticks.chromedome.RobotMap;
import ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import Threads.VisionProcessing;
import edu.wpi.first.wpilibj.command.PIDSubsystem;
import ticks.chromedome.Robot;
import ticks.chromedome.commands.CommandBase;
/**
*
... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.command.Subsystem;
import ticks.chromedome.RobotMap;
import ticks.chromedome.commands.PottyChairDown;
/**... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.command.Subsystem;
import ticks.chromedome.RobotMap;
/**
*
* @author Jared
*/
public class CameraLi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.command.Subsystem;
import ticks.chromedome.RobotMap;
/**
*
* @author Jared
*/
public class... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome.subsystems;
import edu.wpi.first.wpilibj.Counter;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.command.Subsystem;
import ticks.chromedome.OI;
import ticks.chro... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome;
/**
*
* @author Jared
*/
public class Functions {
/**
*Useful STATIC method for conversions(esp. automode!)
* @param array
* Array to be converted to a... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome;
import ticks.chromedome.subsystems.CameraLight;
import ticks.chromedome.subsystems.Drive;
/**
*
* @author Jared
*/
public class DebugRobot {
private static String debug_da... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package ticks.chromedome;
/**
*
* @author Jared
*/
public class GlobalData {
private double shooter_speed=0;
private double turret_speed=0;
private boolean vision=false;
private int[] li... |
package edu.wpi.first.wpilibj.templates;
/**
* The RobotMap is a mapping from the ports sensors and actuators are wired into
* to a variable name. This provides flexibility changing wiring, makes checking
* the wiring easier and significantly reduces the number of magic numbers
* floating around.
*/
publi... |
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.BallHandling;
/**
*
* @author Jared
*/
public class CollectBalls extends CommandBase {
BallHandlin... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.BallHandling;
import edu.wpi.first.wpilibj.templates.RobotMap;
/**
*
* @author Jared
*/
public class C... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Chassis;
/**
*
* @author Jared
*/
public class DriveStraight extends CommandBase {
private double ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.command.CommandGroup;
import edu.wpi.first.wpilibj.templates.subsystems.DecideAuto;
/**
*
* @author Jared
*/
public class A... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Chassis;
/**
*
* @author Jared
*/
public class DriveWithJoystick extends CommandBase {
Chassis m_c... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Slash;
/**
*
* @author Jared
*/
public class SlashUp extends CommandBase {
Slash m_slash;
public ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Shooter;
/**
*
* @author Jared
*/
public class ShootFromFender extends CommandBase {
Shooter m_sho... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Slash;
/**
*
* @author Jared
*/
public class SlashDown extends CommandBase {
Slash m_slash;
p... |
package edu.wpi.first.wpilibj.templates.commands;
/**
*
* @author bradmiller
*/
public class ExampleCommand extends CommandBase {
public ExampleCommand() {
// Use requires() here to declare subsystem dependencies
// eg. requires(chassis);
}
// Called just before this Com... |
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.command.Command;
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj.templates.OI;
import edu.wpi.first.wpilibj.templates.subsystems.ExampleSubsystem;
/**
* The base for all commands. All atomi... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Shooter;
/**
*
* @author Jared
*/
public class SetShooterSpeed extends CommandBase {
Shooter m_shoot... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Shooter;
/**
*
* @author Jared
*/
public class ShootFromKey extends CommandBase {
Shooter m_shoote... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.Slash;
/**
*
* @author Jared
*/
public class SlashStop extends CommandBase {
Slash m_slash;
p... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.commands;
import edu.wpi.first.wpilibj.templates.subsystems.BallHandling;
/**
*
* @author Jared
*/
public class StopBallHandling extends CommandBase {
BallHan... |
package edu.wpi.first.wpilibj.templates;
//this comment from imac and toshiba
import edu.wpi.first.wpilibj.DriverStation;
import edu.wpi.first.wpilibj.Joystick;
import edu.wpi.first.wpilibj.buttons.JoystickButton;
import edu.wpi.first.wpilibj.templates.commands.CollectBalls;
import edu.wpi.first.wpilibj.templat... |
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.command.Subsystem;
/**
*
*/
public class ExampleSubsystem extends Subsystem {
// Put methods for controlling this subsystem
// here. Call these from Commands.
public void initDefaultCommand() {
// Set... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.RobotDrive;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.RobotMap;
import edu.wpi.fir... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.Dashboard;
import edu.wpi.first.wpilibj.DriverStation;
/**
*
* @author Jared
* When updateAll is called the shooter speed ... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.templates.OI;
/**
*
* @author Jared
*/
public class DecideAuto extends Su... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.DoubleSolenoid;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Victor;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilib... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.wpi.first.wpilibj.templates.subsystems;
import edu.wpi.first.wpilibj.Counter;
import edu.wpi.first.wpilibj.CounterBase;
import edu.wpi.first.wpilibj.SpeedController;
import edu.wpi.first.wpilibj.Vic... |
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package project;
/**
*
* @author Jared
*/
public class Project {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code applic... |
import javax.swing.*;
public class UserInput {
public static void mian(String[] args){
String num= "";
num = JOptionPane.showInputDialog(
null, "Please enter your name");
}
} |
public class main {
public static void main(String [] args){
int x;
x=10;
System.out.println(x);
}
}
|
import javax.swing.*;
public class calculator {
public static void main(String[] args){
String num="";
num = JOptionPane.showInputDialog(null,"Input a number");
int a = Integer.parseInt(num);
if(a%2==0){
JOptionPane.showInputDialog(null,"Its odd");
}
else{
JOp... |
import javax.swing.*;
public class UserInput1 {
public static void main(String[] args){
String num = "";
num = JOptionPane.showInputDialog(
null,"Please enter your name");
if(num == null){
JOptionPane.showInputDialog(null,"no name");
}
else{
JOptionPane.showInputDialog(null,"Hello"+num)... |
class MyArrayList{
private int[] MyArray;
private int size;
public MyArrayList(int value, int seed, int inc){
MyArray = new int [value];
size = value;
for (int i = 0; i < size; i++){
MyArray[i]=seed;
seed += inc;
}
}
public void PrintElement(){
for (int i = 0; i < size; i++){
System.out.println(MyArray... |
public class MyArray {
}
|
class MyArrayList{
private int[] MyArray;
private int size;
public MyArrayList(int value, int seed, int inc){
MyArray = new int [value];
size = value;
for (int i = 0; i < size; i++){
MyArray[i]=seed;
seed += inc;
}
}
public void PrintElement(){
for (int i = 0; i < size; i++){
System.out.println(MyArray... |
import java.util.Scanner;
public class Arrays_neighbouring_numbers {
public static void main(String[] args) {
int k = 0;
Scanner sc = new Scanner(System.in);
System.out.println("Enter the array's size: ");
if(sc.hasNextInt()){
k = sc.nextInt();
}
int a[] = new int[k];
System.out.p... |
import java.util.Scanner;
public class Arrays_neighbouring_numbers {
public static void main(String[] args) {
int sizeOfArray = 0;
Scanner inputUserData = new Scanner(System.in);
System.out.println("Enter the array's size: ");
if(inputUserData.hasNextInt()){
sizeOfArray = inputUserData.nextInt();
... |
package kaistcs.android.dontkoala;
import java.util.ArrayList;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.net.Ur... |
package kaistcs.android.dontkoala;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.Checkable;
import android.widget.LinearLayout;
public class ECNItemLayout extends LinearLayout implements Checkable{
int checkableId;
Checkable ... |
package kaistcs.android.dontkoala;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
import android.util.Log;
public class... |
package kaistcs.android.dontkoala;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
import java.util.Timer;
import java.util.TimerTask;
import com.google.android.maps.MapActivity;
import com.google.android.maps.MapController;
import com.google.android.maps.MapView;
import com.goo... |
package kaistcs.android.dontkoala;
import android.app.TabActivity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.widget.TabHost;
import android.widget.TabHost.OnTabChangeListener;
import android.widget.Toast;
// TODO: change black UI to white
public class DontK... |
package kaistcs.android.dontkoala;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.location.LocationProvider;
import android.os.Bundle;
public class GPSProvider {
LocationManager locManager;
Locatio... |
package kaistcs.android.dontkoala;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.PreferenceActivity;
import android.preference.Preference;
import android.preference.CheckBoxPreference;
import android.widget.Toast;
import android.content.Intent;
public class ProfileT... |
package kaistcs.android.dontkoala;
import java.util.List;
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.Overlay;
import android.content.Intent;
import... |
package kaistcs.android.dontkoala;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.preference.Pref... |
package kaistcs.android.dontkoala;
import android.app.KeyguardManager;
import android.content.Context;
import android.os.PowerManager;
import android.util.Log;
public class PushWakeLock {
private static PowerManager.WakeLock sCpuWakeLock;
private static KeyguardManager.KeyguardLock mKeyguardLock;
private sta... |
package kaistcs.android.dontkoala;
import java.io.IOException;
import java.net.MalformedURLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
import org.apache.http.NameValuePair;
import org.apache.http.client.HttpClient;
import org.apache.http.cl... |
package kaistcs.android.dontkoala;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.Window;
import android.widget.Button;
import android.widget.TextView;
public class CustomizeDialog extends Dialog implements android.view.View.OnCl... |
package kaistcs.android.dontkoala;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.Map;
import org.apache.http.HttpEntity;
import org.... |
package kaistcs.android.dontkoala;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.util.Log;
public class SMSReceiver extends BroadcastReceiver {
protected static final String LOG_T... |
package kaistcs.android.dontkoala;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Parcel;
import android.os.Parcelable;
import android.preference.PreferenceManager;
import android.telephony.TelephonyManager;
/** SharedPreferences wrapper for accessing Profile (exc... |
package kaistcs.android.dontkoala;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.uti... |
package kaistcs.android.dontkoala;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.MalformedURLException;
import java.util.ArrayList;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.... |
package gui;
import java.rmi.Naming;
import java.rmi.registry.LocateRegistry;
import java.rmi.registry.Registry;
import java.util.Scanner;
import interfaces.IServidorCliente;
public class SoftwareCliente {
static Scanner aScanner = new Scanner(System.in);
static IServidorCliente aIServidorCliente = null... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.