text stringlengths 3 1.18M |
|---|
/* $Id$
* Created on 28.10.2003
*/
package com.illposed.osc.utility;
import com.illposed.osc.*;
import java.util.Date;
import java.util.Enumeration;
import java.util.Hashtable;
/**
* @author cramakrishnan
*
* Copyright (C) 2003, C. Ramakrishnan / Auracle
* All rights reserved.
*
* See license.txt (or licens... |
package com.illposed.osc;
import com.illposed.osc.utility.*;
/**
* OSCPacket is the abstract superclass for the various
* kinds of OSC Messages. The actual packets are:
* <ul>
* <li>OSCMessage — simple OSC messages
* <li>OSCBundle — OSC messages with timestamps and/or made up of multiple messages
* ... |
package com.illposed.osc;
import java.util.Date;
/**
* Interface for things that listen for incoming OSC Messages
* <p>
* Copyright (C) 2003-2006, C. Ramakrishnan / Illposed Software.
* All rights reserved.
* <p>
* See license.txt (or license.rtf) for license information.
*
* @author Chandrasekhar Ramakrishna... |
package com.illposed.osc;
import java.net.*;
import java.io.IOException;
import com.illposed.osc.utility.OSCByteArrayToJavaConverter;
import com.illposed.osc.utility.OSCPacketDispatcher;
/**
* OSCPortIn is the class that listens for OSC messages.
* <p>
* An example based on com.illposed.osc.test.OSCPortTest::testR... |
package com.illposed.osc;
import java.util.Enumeration;
import java.util.Vector;
import com.illposed.osc.utility.*;
/**
* An simple (non-bundle) OSC message. An OSC message is made up of
* an address (the receiver of the message) and arguments
* (the content of the message).
* <p>
* Internally, I use Vector t... |
package com.illposed.osc;
import java.math.BigInteger;
import java.util.Date;
import java.util.Enumeration;
//import java.util.GregorianCalendar;
import java.util.Vector;
import com.illposed.osc.utility.*;
/**
* A bundle represents a collection of osc packets (either messages or other bundles) and
* has a timetag ... |
package com.illposed.osc;
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.InetAddress;
import java.net.SocketException;
import java.net.UnknownHostException;
/**
* OSCPortOut is the class that sends OSC messages to a specific address and port.
*
* To send... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// 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 ... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// 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 ... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// 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 ... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// 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 ... |
// Copyright 2011 Google Inc. All Rights Reserved.
//
// 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 ... |
package Jama;
/** LU Decomposition.
<P>
For an m-by-n matrix A with m >= n, the LU decomposition is an m-by-n
unit lower triangular matrix L, an n-by-n upper triangular matrix U,
and a permutation vector piv of length m so that A(piv,:) = L*U.
If m < n, then L is m-by-m and U is m-by-n.
<P>
The... |
package Jama;
import Jama.util.*;
/** QR Decomposition.
<P>
For an m-by-n matrix A with m >= n, the QR decomposition is an m-by-n
orthogonal matrix Q and an n-by-n upper triangular matrix R so that
A = Q*R.
<P>
The QR decompostion always exists, even if the matrix does not have
full rank, so the constru... |
package Jama;
import java.text.NumberFormat;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Locale;
import java.text.FieldPosition;
import java.io.PrintWriter;
import java.io.BufferedReader;
import java.io.StreamTokenizer;
import Jama.util.*;
/**
Jama = Java Matrix class.
<... |
package Jama;
import Jama.util.*;
/** Eigenvalues and eigenvectors of a real matrix.
<P>
If A is symmetric, then A = V*D*V' where the eigenvalue matrix D is
diagonal and the eigenvector matrix V is orthogonal.
I.e. A = V.times(D.times(V.transpose())) and
V.times(V.transpose()) equals the identity mat... |
package Jama;
import Jama.util.*;
/** Singular Value Decomposition.
<P>
For an m-by-n matrix A with m >= n, the singular value decomposition is
an m-by-n orthogonal matrix U, an n-by-n diagonal matrix S, and
an n-by-n orthogonal matrix V so that A = U*S*V'.
<P>
The singular values, sigma[k] = S[k]... |
package Jama;
/** Cholesky Decomposition.
<P>
For a symmetric, positive definite matrix A, the Cholesky decomposition
is an lower triangular matrix L so that A = L*L'.
<P>
If the matrix is not symmetric or positive definite, the constructor
returns a partial decomposition and sets an internal flag... |
package Jama.util;
public class Maths {
/** sqrt(a^2 + b^2) without under/overflow. **/
public static double hypot(double a, double b) {
double r;
if (Math.abs(a) > Math.abs(b)) {
r = b/a;
r = Math.abs(a)*Math.sqrt(1+r*r);
} else if (b != 0) {
r = a/b;
... |
package com.kostmo.wallpaper.spiral.base;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.PointF;
import android.graphics.Paint.Style;
import android.util.FloatMath;
import java.util.ArrayList;
import java.util.Collect... |
package com.kostmo.wallpaper.spiral.base;
import android.graphics.Path;
import android.graphics.PointF;
public class BezierPoint {
public PointF start, c0, c1, end;
// ========================================================================
BezierPoint(PointF start, PointF c0, PointF c1, PointF end) {
this.sta... |
package com.kostmo.wallpaper.spiral.base;
import Jama.Matrix;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.PointF;
import android.graphics.Paint.Style;
import android.util.FloatMath;
import android.util.Log;
impor... |
package com.kostmo.wallpaper.spiral.base;
import android.graphics.Path;
import android.graphics.Point;
import android.graphics.PointF;
import android.util.FloatMath;
public class ArchimedeanSpiral extends SpiralGenerator {
// ========================================================================
public Archimed... |
package com.kostmo.wallpaper.spiral;
import java.util.ArrayList;
import java.util.List;
import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.CornerPathEffect;
import android.graphics.Paint;
import android.graphics.Path;
import android.graphic... |
package com.kostmo.wallpaper.spiral.view;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.P... |
package com.kostmo.wallpaper.spiral;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.conten... |
package com.kostmo.wallpaper.spiral;
import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffXfermode;
import android.graphics.Paint.Join;... |
package com.kostmo.wallpaper.spiral.activity.prefs;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;... |
package com.kostmo.wallpaper.spiral.activity.prefs;
import java.util.ArrayList;
import java.util.List;
import java.util.Random;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;... |
package com.kostmo.wallpaper.spiral.activity.prefs;
import com.kostmo.wallpaper.spiral.R;
import com.kostmo.wallpaper.spiral.activity.HypnoActivity;
import android.os.Bundle;
import android.preference.PreferenceActivity;
public class PrefsHypnoDisc extends PreferenceActivity {
public static final String PREFKEY... |
package com.kostmo.wallpaper.spiral.activity;
import com.kostmo.wallpaper.spiral.Market;
import com.kostmo.wallpaper.spiral.R;
import com.kostmo.wallpaper.spiral.activity.prefs.PrefsHypnoDisc;
import com.kostmo.wallpaper.spiral.view.HypnoView;
import android.app.Activity;
import android.app.AlertDialog;
import androi... |
package com.kostmo.wallpaper;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.os.Handler;
import android.os.SystemClock;
import android.service.wallpaper.WallpaperS... |
package com.kostmo.wallpaper;
import java.util.ArrayList;
import java.util.List;
import android.graphics.Color;
public class ColorTransition {
ColorTransition(long transition_start_time, float transition_duration_seconds, List<Integer> old_colors) {
this.transition_start_time = transition_start_time;
this.tran... |
package com.kostmo.tools.view;
import android.content.Context;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.RectF;
import android.graphics.Paint.Join;
import android.graphics.Paint.Style;
import android.util.AttributeSet;
import android.util.Log;... |
package com.kostmo.tools.view.seekbar;
import com.kostmo.wallpaper.spiral.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.SeekBar;
public class RangeSeekBar extends SeekBar implements IntegerRangeSeekBarInterface {
static final Str... |
package com.kostmo.tools.view.seekbar;
public interface IntegerRangeSeekBarInterface {
// =================================
public void setRange(int min, int max);
// =================================
public int getValue();
// =================================
public void setValue(in... |
package com.kostmo.tools.view.seekbar;
import com.kostmo.wallpaper.spiral.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.widget.SeekBar;
public class FloatRangeSeekBar extends SeekBar implements FloatRangeSeekBarInterface {
static final S... |
package com.kostmo.tools.view.seekbar;
public interface FloatRangeSeekBarInterface {
// =================================
public void setGranularity(int granules);
// =================================
public void setRange(float min, float max);
// =================================
publ... |
package com.kostmo.tools.view.seekbar;
public interface IntegerSeekBarInterface {
public void setMax(int max);
public int getMax();
public void setProgress(int progress);
public int getProgress();
}
|
package com.kostmo.tools.view.preference;
import android.preference.Preference;
public interface ColorReceiverActivity {
void pickColor(int passed_color, Preference preference);
}
|
package com.kostmo.tools.view.preference;
import com.kostmo.tools.view.seekbar.IntegerSeekBarInterface;
import com.kostmo.wallpaper.spiral.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.preference.DialogPreference;
import android.util.AttributeSet;
import android.view.View;
i... |
package com.kostmo.tools.view.preference;
import android.content.Context;
import android.content.res.TypedArray;
import android.preference.Preference;
import android.util.AttributeSet;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.kostmo.tools.view.SwatchView;
imp... |
/**
* This is the most updated version of EditIntegerPreference.
* It automatically saves the preference to Float or Decimal
* format depending upon the android:numeric="integer" or
* android:numeric="decimal" attribute.
*
* June 12, 2010
*/
package com.kostmo.tools.view.preference;
import com.kostmo.wallpape... |
package com.kostmo.tools.view.preference;
import com.kostmo.tools.view.seekbar.FloatRangeSeekBar;
import com.kostmo.tools.view.seekbar.FloatRangeSeekBarInterface;
import com.kostmo.wallpaper.spiral.R;
import android.content.Context;
import android.content.res.TypedArray;
import android.preference.DialogPreference;
im... |
package example.simpleservice1;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.util.Log;
public class MyService extends Service {
protected static final String TAG = "MyService";
boolean doneWorking = false;
@Override
public IBinder onBind(Intent arg0) {
re... |
package example.simpleservice1;
import android.app.Activity;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.IBinder;
import android.util.Log;
import android.view.View;
import andr... |
package example.simpleservice1;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.CompoundButton;
import android.widget.CompoundButton.OnCheckedChangeListener;
import android.wid... |
package com.team4.muchentuchen;
import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
public class mySplash extends Activity {
MediaPlayer mpSplash;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceStat... |
package com.team4.muchentuchen;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.ActivityNotFoundException;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Configuration;
import android.net.Uri;
import android.os.Bundle;
imp... |
package com.team4.muchentuchen;
import android.app.Activity;
import android.content.Intent;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
public class myMainMenu extends Activity{
@Override
protected void onCreate(Bundle savedInstanc... |
package com.team4.muchentuchen;
import com.team4.general.OSMView;
import org.mapsforge.android.maps.GeoPoint;
import org.mapsforge.android.maps.MapActivity;
import org.mapsforge.android.maps.MapController;
import android.content.Context;
import android.location.Location;
import android.location.LocationLis... |
package com.team4.general;
import org.mapsforge.android.maps.MapView;
import org.mapsforge.android.maps.MapViewMode;
import android.content.Context;
import android.util.AttributeSet;
// This class initializes the Open Street View map
public class OSMView extends MapView{
public OSMView(Context context)
... |
package XMLParser;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
public class myHandler extends DefaultHandler{
private ParsedData myPD = new ParsedData();
private String str="";
private String locName="";
pu... |
package XMLParser;
public class ParsedData {
private double lng = 0;
private double lat = 0;
private String country = "";
private String city = "";
private String street = "";
private int houseNumber = 0;
public double getLong() {
return lng;
}
public void... |
package com.mkyong.android;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class StoreActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView textview = new TextView(this);
... |
package com.mkyong.android;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelpActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView textview = new TextView(this);
... |
package com.mkyong.android;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HomeActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView textview = new TextView(this);
... |
package com.mkyong.android;
import android.app.Dialog;
import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import... |
package com.mkyong.android;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class EditActivity extends Activity {
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView textview = new TextView(this);
... |
/** Automatically generated file. DO NOT MODIFY */
package com.mkyong.android;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
/** Automatically generated file. DO NOT MODIFY */
package com.example.helloworldimage02;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.example.helloworldimage02;
import android.os.Bundle;
import android.app.Activity;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
|
package com.example.activity02;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;
public class OtherActivity extends Activity{
private TextView myTextView = null;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.on... |
package com.example.activity02;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.app.Activity;
import android.content.Intent;
public class MainActivit... |
package com.example.activity04;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.app.Activity;
import android.content.Intent;
public class MainActivity extends Activity {
private Button myButton = null;
@Override
protected void onCreate(Bundle savedInstanceStat... |
/** Automatically generated file. DO NOT MODIFY */
package com.example.createtextview;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.example.createtextview;
import android.os.Bundle;
import android.app.Activity;
import android.widget.TextView;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
TextView myTextView = new ... |
package com.example.activity01;
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.main);
}... |
package com.example.layout_03;
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... |
package com.example.layout_02;
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... |
package com.example.layout_01;
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.radiocheck;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.example.radiocheck;
import android.os.Bundle;
import android.widget.CheckBox;
import android.widget.CompoundButton;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.Toast;
import android.app.Activity;
public class MainActivity extends Activity {
private RadioGrou... |
/** Automatically generated file. DO NOT MODIFY */
package com.example.helloworldimage;
public final class BuildConfig {
public final static boolean DEBUG = true;
} |
package com.example.helloworldimage;
import android.os.Bundle;
import android.app.Activity;
import android.widget.ImageView;
public class MainActivity extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ImageView myImageView = ... |
package com.example.activity03.util;
import android.app.Activity;
import android.os.Build;
import android.view.View;
/**
* A utility class that helps with showing and hiding system UI such as the
* status bar and navigation/system bar. This class uses backward-compatibility
* techniques described in <a href=
* "h... |
package com.example.activity03.util;
import android.app.Activity;
import android.view.View;
import android.view.WindowManager;
/**
* A base implementation of {@link SystemUiHider}. Uses APIs available in all
* API levels to show and hide the status bar.
*/
public class SystemUiHiderBase extends SystemUiHider {
... |
package com.example.activity03.util;
import android.annotation.TargetApi;
import android.app.Activity;
import android.os.Build;
import android.view.View;
import android.view.WindowManager;
/**
* An API 11+ implementation of {@link SystemUiHider}. Uses APIs available in
* Honeycomb and later (specifically {@link Vie... |
package com.example.activity03;
import com.example.activity03.util.SystemUiHider;
import android.annotation.TargetApi;
import android.app.Activity;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import android.view.MotionEvent;
import android.view.View;
/**
* An example full-screen ac... |
package com.example.helloworld;
import android.os.Bundle;
import android.app.Activity;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
import android.view.*;
import android.content.Intent;
public class MainActivity extends Activity {
private Button myButton = null;
pr... |
package org.fourzoas.smartmusicplayer;
import android.app.Activity;
import android.os.Bundle;
public class MusicPlayerActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... |
package tangweijie.clock;
import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.widget.LinearLayout;
public class ClockTestActivity extends Activity {
protected static final int MSG_CLOCK = 0x1234;
private LinearLayout pannel;
private DrawC... |
package com.master.android.activity;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;
i... |
package com.master.android.activity;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
im... |
package com.master.android.activity;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
im... |
package com.master.android.activity;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import org.json.JSONException;
import org.json.JSONObject;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.ap... |
package com.master.android.activity;
import java.util.List;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.wi... |
package com.master.android.fachada;
import android.content.ContextWrapper;
public class Fachada {
private static Fachada instancia;
private Fachada(ContextWrapper context){
iniciar(context);
}
private void iniciar(ContextWrapper context){
}
public static Fachada getInstancia(ContextW... |
package com.master.android.adapter;
import java.util.List;
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.TextView;
import com.master.and... |
package com.master.android.adapter;
import java.util.List;
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.TextView;
import com.master.and... |
package com.master.android.util;
import com.master.android.entidade.Estabelecimento;
import com.master.android.entidade.Usuario;
public class Sessao {
private static Usuario logado;
private static Estabelecimento escolhido;
public static void logar(Usuario u){
logado = u;
}
public static Usu... |
package com.master.android.util;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class GerenteConexao {
static String driver = "com.mysql.jdbc.Driver";
static String url = "jdbc:mysql://";
// public static String endereco = "192.168.100.241/masterfila";
//... |
package com.master.android.util;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Formatter;
public class Criptografia {
public static String encryptPassword(String password)
{
String sha1 = "";
tr... |
package com.master.android.util;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Context;
import android.content.Intent;
import android.os.AsyncT... |
package com.master.android.util;
public class Constantes {
public static String SERVIDOR = "http://192.168.0.164:8080/MasterFila/controlador?";
//public static String SERVIDOR = "http://10.0.2.2:8080/MasterFila/controlador?";
}
|
package com.master.android.entidade;
public class Ficha {
private Usuario cliente;
private String numero;
private String hora;
public Usuario getCliente() {
return cliente;
}
public void setCliente(Usuario cliente) {
this.cliente = cliente;
}
public String getNumero() {
return numero;
... |
package com.master.android.entidade;
import com.master.android.R;
public class Estabelecimento {
private static int ICONE_OUTRO = R.drawable.icon_outros;
private String id;
private String nome;
private int icone;
public String getId() {
return id;
}
public void setId(String id) {
this.i... |
package com.master.android.entidade;
public class Usuario {
private Long id;
private String login;
private String senha;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getLogin() {
return login;
}
public void setLogin(String login) {
... |
/*
* 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... |
/**
*
*/
package com.google.code.androidsmb;
import java.util.LinkedList;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
import org.alfresco.config.ConfigElement;
import org.alfresco.jlan.debug.DebugInterface;
import android.content.ContextWrappe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.