text stringlengths 3 1.18M |
|---|
package cn.itcast.web.project.domain;
public class Admin {
private int id;
private String username;
private String password;
private String role;
public Admin(){}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getUsername() {
return username;
}
public... |
package cn.itcast.web.project.domain;
public class Address {
private int id;
private String location;
private String ip;
public Address(){}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getLocation() {
return location;
}
public void setLocation(String loca... |
package cn.itcast.web.project.domain;
public class Content {
private int id;
private int age;
private String description;
private Vote vote;
private Image image;
public Image getImage() {
return image;
}
public void setImage(Image image) {
this.image = image;
}
public Content(){}
public int getId(... |
package cn.itcast.web.project.domain;
public class Image {
private int id;
private String path;
private Content content;
public Image(){}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.pat... |
package cn.itcast.web.project.domain;
import java.sql.Timestamp;
public class Info {
private int id;
private String ip;
private Timestamp votetime;
private Address address;
public Address getAddress() {
return address;
}
public void setAddress(Address address) {
this.address = address;
}
public Info() {
... |
package cn.itcast.web.project.domain;
public class Vote {
private int id;
private String content;
private int ticket;
private Content detail;
private Image image;
public Vote() {
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getContent() {
return con... |
package scgl.android;
import android.app.Activity;
import android.os.Bundle;
public class ScglandroidActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(... |
package jp.saver.speedtest;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
import android.telephony.TelephonyManager;
public class Connectivity {
/**
* Get the network info
* @param context
* @return
*/
public static N... |
package jp.saver.speedtest;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import jav... |
package com.vanhung.speedtest;
public interface SpeedChecker {
public static final int UPDATE_INTERVAL = 200;
// public static final int EXPECTED_SIZE_IN_BYTES = 1048576;
// public static final int EXPECTED_SIZE_IN_BYTES = 852152;
public static final int EXPECTED_SIZE_IN_BYTES = 1037120;
public static ... |
package com.vanhung.speedtest;
import java.text.DecimalFormat;
import android.os.AsyncTask;
import android.view.View;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.ProgressBar;
import android.widget.TextView;
public abstract class AsyncNetWorker extends AsyncTask<S... |
package com.vanhung.speedtest;
import java.io.DataOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.net.HttpURLConnection;
import java.net.URL;
import android.os.Environment;
import android.util.Log;
import android.view.View;
public class AsyncUploader extends AsyncNetWorker ... |
package com.vanhung.speedtest;
import android.content.Context;
import android.net.ConnectivityManager;
import android.net.NetworkInfo;
public class Connectivity {
/**
* Get the network info
*
* @param context
* @return
*/
public static NetworkInfo getNetworkInfo(Context context) {
Connec... |
package com.vanhung.speedtest;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
import java.net.URL;
import java.net.URLConnection;
import android.os.Environment;
import android.util.Log;
import android.vie... |
package com.vanhung.speedtest;
import android.app.Activity;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Matrix;
import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.widget.ImageView;
import android.widg... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
// Rage Comic Maker for Android (c) Tamas Marki 2011-2013
// 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, either version 3 of the License, or
// (at your option) any later versi... |
/*
* Copyright (C) 2011 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... |
/*
* Copyright (C) 2011 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... |
/*
* Copyright (C) 2011 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... |
/*
* Copyright (C) 2008-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 b... |
/*
* Copyright (C) 2008-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 b... |
/*
* Copyright (C) 2011 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... |
/*
* Copyright (C) 2008-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 b... |
/*
* Copyright (C) 2008-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 b... |
package akshay.drawing;
import android.graphics.Paint;
public class Circle {
private static final long serialVersionUID = 1L;
float x=0;
float y=0, r=0;
Paint p=null;
public String Name="Circle";
private String ContentText="";
private static boolean ismoving=false;
private int i... |
package akshay.drawing;
import android.graphics.Paint;
public class Rectangle {
float x1=0,x2=0;
float y1=0,y2=0;
Paint p=null;
public Rectangle(){
}
public void setRect(float x1,float y1,float x2,float y2,Paint p){
this.x1=x1;
this.y1=y1;
this.x2=x2;
this.y2=y2;
this.p=p;
... |
package akshay.drawing;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.vi... |
package akshay.drawing;
import java.util.Vector;
import akshay.drawing.EditActivity;
import android.app.Notification;
import android.content.Context;
import android.content.Intent;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Path;
i... |
package akshay.drawing;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.SubMenu;
import android.view.ViewGroup.LayoutParams;
import android.widget.Toast;
public class SmartDrawingActivity extends Activity {
static Display v;
static ... |
package longtdbk.android.job.data;
import java.util.Date;
public class JobData {
public String company;
public String location;
public String link;
public String phone;
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("CompanyName - " + th... |
package longtdbk.android.job.data;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import ... |
package org.xmlrpc.android;
/**
* A Base64 Encoder/Decoder.
*
* <p>
* This class is used to encode and decode data in Base64 format as described in
* RFC 1521.
*
* <p>
* This is "Open Source" software and released under the <a
* href="http://www.gnu.org/licenses/lgpl.html">GNU/LGPL</a> license.<br>
* It is... |
package org.xmlrpc.android;
public class XMLRPCException extends Exception {
/**
*
*/
private static final long serialVersionUID = 7499675036625522379L;
public XMLRPCException(Exception e) {
super(e);
}
public XMLRPCException(String string) {
super(string);
}
}
|
package org.xmlrpc.android;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.StringWriter;
import java.net.URI;
import java.net.URL;
import java.util.Map;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.Htt... |
package org.xmlrpc.android;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
impo... |
package org.xmlrpc.android;
public class XMLRPCFault extends XMLRPCException {
/**
*
*/
private static final long serialVersionUID = 5676562456612956519L;
private String faultString;
private int faultCode;
public XMLRPCFault(String faultString, int faultCode) {
super("XMLRPC Fault: " + faultString + " [co... |
package com.google.android;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Canvas;
import android.graphics.drawable.Drawable;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.... |
package com.google.android;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.util.Log;
public class JobsShowActivity extends Activity {
/** Called when the activity is first created. */
private static fina... |
package com.google.android;
import android.app.ProgressDialog;
import android.content.Context;
import android.graphics.drawable.Drawable;
import android.location.Location;
import android.location.LocationListener;
import android.location.LocationManager;
import android.location.LocationProvider;
import android.os.Bund... |
package com.google.android;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;
import longtdbk.android.... |
package com.google.android;
import android.location.Location;
import android.util.Log;
import com.google.android.maps.GeoPoint;
import java.text.DecimalFormat;
public class LocationHelper {
public static final String CLASSTAG = LocationHelper.class.getSimpleName();
public static final double MILLION = 1e6... |
package com.google.android;
import longtdbk.android.job.data.JobData;
import com.google.android.maps.GeoPoint;
import com.google.android.maps.OverlayItem;
/**
* Simple class to represent each data point we want to display on a Map.
*
* @author charliecollins
*
*/
public class JobOverlayItem extends OverlayIte... |
package com.google.android;
public class Constants {
public static final String LOGTAG = "WindWaves";
}
|
package androidstore.app.data;
public class AppData {
public String AppScreenShot;
public String DeviceName;
public String linkIcon;
public String Description;
public String KeyWord;
public String AppName;
public Float Price;
public int DownloadNumber;
public String linkSource;
... |
package androidstore.app.data;
public class ReviewData {
public String CommentContent;
public Integer Votes;
public String CustomerName;
public String DatePost;
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("CommentContent - " +... |
package androidstore.app.data;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.net.URI;
import java.util.ArrayList;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import androids... |
package org.xmlrpc.android;
/**
* A Base64 Encoder/Decoder.
*
* <p>
* This class is used to encode and decode data in Base64 format as described in
* RFC 1521.
*
* <p>
* This is "Open Source" software and released under the <a
* href="http://www.gnu.org/licenses/lgpl.html">GNU/LGPL</a> license.<br>
* It is... |
package org.xmlrpc.android;
public class XMLRPCException extends Exception {
/**
*
*/
private static final long serialVersionUID = 7499675036625522379L;
public XMLRPCException(Exception e) {
super(e);
}
public XMLRPCException(String string) {
super(string);
}
}
|
package org.xmlrpc.android;
import java.io.InputStreamReader;
import java.io.Reader;
import java.io.StringWriter;
import java.net.URI;
import java.net.URL;
import java.util.Map;
import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.HttpStatus;
import org.apache.http.client.Htt... |
package org.xmlrpc.android;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.StringReader;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
impo... |
package org.xmlrpc.android;
public class XMLRPCFault extends XMLRPCException {
/**
*
*/
private static final long serialVersionUID = 5676562456612956519L;
private String faultString;
private int faultCode;
public XMLRPCFault(String faultString, int faultCode) {
super("XMLRPC Fault: " + faultString + " [co... |
package com.fedorvlasov.lazylist;
import java.io.InputStream;
import java.math.BigDecimal;
import java.net.URL;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Intent;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.Bundle;
imp... |
package com.fedorvlasov.lazylist;
import java.util.ArrayList;
import com.fedorvlasov.lazylist.LazyAdapter.ViewHolder;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;... |
package com.fedorvlasov.lazylist;
import java.io.InputStream;
import java.io.OutputStream;
import android.accounts.Account;
import android.accounts.AccountManager;
import android.content.Context;
public class Utils {
public static void CopyStream(InputStream is, OutputStream os)
{
final i... |
package com.fedorvlasov.lazylist;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URL;
import java.util.HashMap;
import java.util.Stack;
import android.app.Act... |
package com.fedorvlasov.lazylist;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ImageView;
import android.widget.T... |
package com.fedorvlasov.lazylist;
import java.util.ArrayList;
import androidstore.app.data.AppData;
import androidstore.app.data.AppFetcher;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.M... |
package com.fedorvlasov.lazylist;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.TextView;
import android.widget.AdapterView.... |
package com.fedorvlasov.lazylist;
import android.app.Activity;
import android.app.SearchManager;
import android.content.Intent;
import android.os.Bundle;
public class SearchableActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState){
super.onCreate(savedInstanceState)... |
package com.fedorvlasov.lazylist;
import java.util.ArrayList;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.AdapterView.OnItemClickListener;
import andr... |
package com.baturinsky.dbcon;
import java.io.File;
import java.util.ArrayList;
import java.util.regex.Pattern;
import android.app.ListActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import com.bat... |
package com.baturinsky.tabletop.game;
import java.util.ArrayList;
import java.util.List;
import java.util.TreeMap;
import org.xml.sax.Attributes;
import android.util.Log;
public class Accessory {
final static int WIDTH = 0, HEIGHT = 1, DEPTH = 2;
final static int X = 0, Y = 1, Z = 2;
final static ... |
package com.baturinsky.tabletop.game;
import java.util.List;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Matrix;
public class Deck extends Visible {
//private final static String TAG = "Deck";
private final static int cardShift = 10;
private final static in... |
package com.baturinsky.tabletop.game;
public class Attr {
public String value, name;
public long _id;
Attr(String name, String val)
{
_id = Accessory.indCount++;
this.value = val;
this.name = name;
}
Attr(long _id, String name, String val)
{
this._id = _id;
this.value = val;
this.n... |
package com.baturinsky.tabletop.game;
import android.graphics.Canvas;
public class Card extends Visible {
Visible face, back;
Card setFaceAndBack(Visible face, Visible back) {
if(!has("name"))
changeAttribute("name", face.name());
this.face = face;
this.back = back;
size = face.size.clon... |
package com.baturinsky.tabletop.game;
import java.io.File;
import java.io.FileOutputStream;
import com.baturinsky.tabletop.service.DbListener;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.graphics... |
package com.baturinsky.tabletop.game;
import org.xml.sax.Attributes;
import org.xml.sax.ext.DefaultHandler2;
import android.util.Log;
public class Parser extends DefaultHandler2
{
protected static final String TAG = "game.parser";
Accessory current;
Accessory root = null;
public Parser(Manager ... |
package com.baturinsky.tabletop.game;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
public class Picture extends Visible {
private Drawable image;
private boolean ant... |
package com.baturinsky.tabletop.game;
import java.io.InputStream;
import java.util.Date;
import java.util.HashMap;
import java.util.TreeMap;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sa... |
package com.baturinsky.tabletop.game;
import java.util.ArrayList;
import java.util.List;
import android.graphics.Canvas;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.RectF;
public class Visible extends Accessory {
final static int REPLACED = 1, HOLE = 2, STATIC... |
package com.baturinsky.tabletop.game;
import android.graphics.Matrix;
public class Grid extends Visible {
float delta[][];
@Override
void calculateMatrix() {
if (matrix == null)
return;
matrix.setTranslate(place()[X], place()[Y]);
if (delta != null) {
Matrix m = new Matrix();
m.setP... |
package com.baturinsky.tabletop.service;
public interface PartyConstants {
final static int SYSTEM = -1, NAME = -2, OPTION = -3, USER = -4,
VISIBILITY = -5, ATTRIBUTE = -6, ACCESSORY = -7, ROOT = -8;
}
|
package com.baturinsky.tabletop.service;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import com.baturinsky.tabletop.R;
import android.content.Context;
import android.database.Cursor;
import android.database.SQLException;
import android.database.sqli... |
package com.baturinsky.tabletop.service;
import java.util.Date;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteStatement;
public class DbListener implements PartyListener {
SQLiteDatabase db;
SQLiteStatement sqlLink, sqlDelete, sqlUnlink, sqlWrite, sqlWriteNamed;
boo... |
package com.baturinsky.tabletop.service;
import java.util.Date;
import android.util.Log;
public class PartyListenerLog implements PartyListener{
final static String TAG = "pl log";
@Override
public void begin(long time) {
Log.i(TAG, " BEGIN " + new Date(time).toString());
}
@Override
pu... |
package com.baturinsky.tabletop.service;
import java.nio.ByteBuffer;
import android.content.Context;
import android.util.Log;
public class Update implements PartyListener
{
ByteBuffer data;
private static final char
USER = '@',
WRITE = '*',
DELETE = ' ',
LINK = '=',
UNLINK = '#',
BEGIN =... |
package com.baturinsky.tabletop.service;
public interface PartyListener {
void user(long id);
void begin(long time);
void write(long id, String val);
void delete(long id);
void link(long sup, long sub);
void unlink(long sup, long sub);
void end();
void write_named(String name, String val);
}
|
package com.baturinsky.tabletop.browser;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.ViewInflate;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.LinearLayout;
import android... |
package com.baturinsky.tabletop.browser;
import java.io.File;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ContentValues;
import android.content.DialogInterface;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabas... |
package com.baturinsky.tabletop;
import java.io.File;
import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import com.baturinsky.tabletop.game.Table;
public class TabletopMain extends Activity {
public static final String TAG = "T... |
package com.baturinsky.tabletop.lobby;
import java.io.File;
import org.xmlpull.v1.XmlPullParser;
import android.app.Activity;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.text.Editable;
import android.text.Html;
import android.text.Spanned;
import andro... |
package com.baturinsky.tabletop.lobby;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.regex.Pattern;
import com.baturinsky.tabletop.R;
import android.widget.Toast;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.DialogInte... |
package kr.saelidamil.androidhosoo.ch04;
import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
public class ImageViewTest extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... |
package kr.saelidamil.androidhosoo.ch04;
import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
public class ButtonAndEditText extends Activity {
@Override
protected void onCreate(B... |
package kr.saeildamil.androidstudy;
import kr.saeildamil.androidhosoo.ch05.FrameEx;
import kr.saeildamil.androidhosoo.ch05.GravityEx1;
import kr.saeildamil.androidhosoo.ch05.PaddingEx;
import kr.saelidamil.androidhosoo.ch04.ButtonAndEditText;
import kr.saelidamil.androidhosoo.ch04.ImageViewTest;
import android.... |
package kr.saeildamil.androidhosoo.ch05;
import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
public class FrameEx extends Activity {
@Override
protected void onCrea... |
package kr.saeildamil.androidhosoo.ch06;
import kr.saeildamil.androidstudy.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.LinearLayout.LayoutPa... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.