text
stringlengths
3
1.18M
/*Copyright (C) 2014 Yahya Arshad, Email: Yahya.Arshad@Gmail.com 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 version. This pr...
/*Copyright (C) 2014 Yahya Arshad, Email: Yahya.Arshad@Gmail.com 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 version. This pr...
package com.android.jpa.test; import java.util.List; import com.android.jpa.DataType; import com.android.jpa.Entity; import com.android.jpa.ForeignKey; @Entity public class MasterRecord { @ForeignKey(dataType = DataType.Integer) private List<ChildRecord> childs; }
package com.android.jpa.test; import com.android.jpa.Column; import com.android.jpa.Entity; import com.android.jpa.ForeignKey; import com.android.jpa.Id; @Entity(name = "BIO_DATA") public class Table { @Id private long pk; @Column(name = "USER_NAME") private String name; @ForeignKey @Col...
package com.android.jpa.test; import com.android.jpa.Column; import com.android.jpa.Entity; import com.android.jpa.Id; @Entity(name = "ANNOTATED_TABLE") public class Table_With_Annotations { @Id @Column(name = "_id") private int id; }
package com.android.jpa.test; import com.android.jpa.Column; import com.android.jpa.Entity; import com.android.jpa.ForeignKey; @Entity public class ChildRecord { @ForeignKey @Column(name="fk_master") private MasterRecord parent; }
package com.puzzleduck.StalinPhone; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.util.Calendar; import java.util.List; import android.app.Notification; import android.app.No...
package com.puzzleduck.StalinPhone; import android.app.PendingIntent; import android.app.PendingIntent.CanceledException; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.TelephonyManager; import android.util.Log...
package com.puzzleduck.StalinPhone; import java.util.ArrayList; import android.app.Activity; import android.content.Intent; import android.media.MediaPlayer; import android.os.Binder; import android.os.Bundle; import android.os.IBinder; import android.os.Parcel; import android.os.RemoteException; import android.speech...
package com.puzzleduck.StalinPhone; import java.io.BufferedWriter; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.util.Calendar; import java.util.List; import android.app.Activity; import android.app.Notifi...
package com.puzzleduck.StalinPhone; import android.app.PendingIntent; import android.app.PendingIntent.CanceledException; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.TelephonyManager; import android.util.Log...
package com.puzzleduck.StalinPhone; import java.util.ArrayList; import android.app.Activity; import android.content.Intent; import android.media.MediaPlayer; import android.os.Binder; import android.os.Bundle; import android.os.IBinder; import android.os.Parcel; import android.os.RemoteException; import android.speech...
package com.example.xertiniesz.chronos; import android.app.Application; import android.test.ApplicationTestCase; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<Application> { public Application...
package com.example.xertiniesz.chronos; import android.app.ActivityManager; import android.content.BroadcastReceiver; import android.content.IntentFilter; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.app.Service; import android.content.Context; import and...
package com.example.xertiniesz.chronos; import android.content.ContentValues; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLite...
package com.example.xertiniesz.chronos; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.graphics.Typeface; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.util.Log; import android.view.Menu; impor...
/** Automatically generated file. DO NOT MODIFY */ package br.com.vagner.sunshine.app; public final class BuildConfig { public final static boolean DEBUG = true; }
package br.com.vagner.sunshine.app; import android.os.Bundle; import android.preference.ListPreference; import android.preference.Preference; import android.preference.PreferenceActivity; import android.preference.PreferenceManager; /** * A {@link PreferenceActivity} that presents a set of application settings. * <...
package br.com.vagner.sunshine.app; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; import java.util.D...
package br.com.vagner.sunshine.app; import android.content.Intent; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v7.app.ActionBarActivity; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view...
package br.com.vagner.sunshine.app; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.ActionBarActivity; import android.view.Menu; import android.view.MenuItem; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { ...
package com.dotto.atos; public class Config { public static final String DEMO_USER="demo"; public static final String DEMO_PASSWORD="demo"; public static final int CARDIO_SCAN_REQUEST_CODE=1212; public static final String CARDIO_SCAN_TOKEN="3e66358e908643588fe3fc075885926d"; }
package com.dotto.atos.services.errors; @SuppressWarnings("serial") public class UserServiceError extends Exception { public static final int USER_NAME_CODE_WRONG = 101; private int code; private String message; public UserServiceError(int code, String message) { super("Error Code : " + code + " Er...
package com.dotto.atos.services.actions; import java.io.InputStream; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.List; import java.util.Map.Entry; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import com.dotto....
package com.dotto.atos.services.actions; import java.util.Date; import com.dotto.atos.models.Refusal; public class RefusalService { public static final String TAG = "RefusalService>"; @SuppressWarnings("deprecation") public Refusal[] getRefusalList() { Refusal[] list = new Refusal[3]; Refusal r...
package com.dotto.atos.services.actions; import java.util.Date; import com.dotto.atos.models.Announcement; public class AnnouncementService { public static final String TAG = "AnnouncementService>"; @SuppressWarnings("deprecation") public Announcement[] getAnnouncementList() { Announcement[] list ...
package com.dotto.atos.services.actions; import android.os.AsyncTask; import com.dotto.atos.Config; import com.dotto.atos.models.User; import com.dotto.atos.services.errors.UserServiceError; import com.dotto.atos.services.listeners.IUserServiceListener; public class UserService { private static UserServ...
package com.dotto.atos.services.listeners; import com.dotto.atos.models.User; import com.dotto.atos.services.errors.UserServiceError; public interface IUserServiceListener { public void onUserServiceResponse(User user); public void onUserServiceError(UserServiceError error); }
package com.dotto.atos.utils; public class TextUtil { public static Boolean isEmpty(String str){ return str==null || str.length()<=0; } public static Boolean checkMinChar(String str,int min){ return !isEmpty(str) && str.length()>=min; } public static Boolean checkMaxChar(String str,int max...
package com.dotto.atos.utils; import android.util.Log; public class LogUtil { public static void logInfo(String tag, String message) { Log.i(tag, message); } public static void logError(String tag, String errorText) { Log.e(tag, errorText); } public static void logError(String tag, String er...
package com.dotto.atos.utils; public class Constants { public static final String EXTRA_TITLE = "com.dotto.atos.extra.TITLE"; public static final String EXTRA_MESSAGE = "com.dotto.atos.extra.MESSAGE"; public static final String EXTRA_SHOW = "com.dotto.atos.extra.SHOW"; }
package com.dotto.atos.utils; import android.annotation.SuppressLint; import android.app.Activity; import android.app.ProgressDialog; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.text.TextUtils; import android.widget.Toast; import com.dotto.atos.R; @Supp...
package com.dotto.atos.models; import java.util.HashMap; import org.json.JSONObject; public class City { private int id; private int plate; private String name; private String region; private HashMap<String, Branch> provinces; public City() { } public City(JSONObject obj) { if (obj != ...
package com.dotto.atos.models; public class User { private long id; private String branchCode; private String userCode; private String password; public long getId() { return id; } public void setId(long id) { this.id = id; } public String getBranchCode() { return branchCode; } public...
package com.dotto.atos.models; import java.text.SimpleDateFormat; import java.util.Date; import android.annotation.SuppressLint; public class Announcement { public String subject; public String from; public String to; public String message; public Date date; @SuppressLint("SimpleDateFormat") ...
package com.dotto.atos.models; import org.json.JSONObject; public class Branch { private int id; private String name; private int cityId; private City city; public Branch() { } public Branch(JSONObject obj) { if (obj != null) { this.id = obj.optInt("id"); this.name = obj.optString...
package com.dotto.atos.models; import java.text.SimpleDateFormat; import java.util.Date; import android.annotation.SuppressLint; public class Refusal { public String subject; public String from; public String to; public String message; public Date date; @SuppressLint("SimpleDateFormat") publ...
package com.dotto.atos.ui; import java.lang.reflect.InvocationHandler; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import android.content.Context; import android.util.AttributeSet; import android.view.LayoutInflater; import android.view.View; import android.view.View...
package com.dotto.atos.ui; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.TextView; import com.dotto.atos.R; import com.dotto.atos.models.R...
package com.dotto.atos.ui; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ArrayAdapter; import android.widget.EditText; import android.widget.TextView; import com.dotto.atos.R; import com.dotto.atos.models.A...
package com.dotto.atos.ui; import java.util.List; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentPagerAdapter; import com.dotto.atos.fragments.ImageViewFragment; /** * The <code>PagerAdapter</code> serves the fragments when pa...
package com.dotto.atos.ui; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.text.Editable; import android.text.TextWatcher; import android.vie...
package com.dotto.atos; import com.dotto.atos.models.User; public class Application { private static User user; public static User getUser() { return user; } public static void setUser(User user) { Application.user = user; } }
package com.dotto.atos.fragments; import java.util.List; import java.util.Vector; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.view.ViewPager; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGr...
package com.dotto.atos.fragments; import android.annotation.SuppressLint; import android.app.Activity; import android.graphics.Bitmap; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android....
package com.dotto.atos.fragments; import android.app.Activity; import android.graphics.Color; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android...
package com.dotto.atos.fragments; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import com.dotto.atos.R; import com.dotto.atos.models...
package com.dotto.atos.fragments; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import com.do...
package com.dotto.atos.fragments; import java.util.List; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.View.OnFocusChangeListener; imp...
package com.dotto.atos.fragments; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import com.dotto.atos.R; import com.dotto.atos.utils.MessageUtil; public class Card...
package com.dotto.atos.fragments; import java.util.Random; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.wid...
package com.dotto.atos.fragments; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ListView; import com.dotto.atos.R; import com.dotto.atos.models...
package com.dotto.atos.fragments; import android.annotation.SuppressLint; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import com.d...
package com.dotto.atos.fragments; import android.app.Activity; import android.os.Bundle; import android.support.v4.app.Fragment; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import com.do...
package com.dotto.atos.activity; import io.card.payment.CardIOActivity; import io.card.payment.CreditCard; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.Fr...
/** Automatically generated file. DO NOT MODIFY */ package com.dotto.atos; public final class BuildConfig { public final static boolean DEBUG = true; }
/* * Copyright (C) 2011 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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; eit...
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
package net.majorkernelpanic.streaming.exceptions; public class AACNotSupportedException extends RuntimeException { private static final long serialVersionUID = -2637694735773976250L; public AACNotSupportedException() { super("AAC not supported by this phone !"); } }
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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; eit...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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; eit...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * With the help of Havlena Petr, havlenapetr@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
package net.majorkernelpanic.streaming.audio; import java.io.IOException; import net.majorkernelpanic.streaming.MediaStream; /** * Don't use this class directly. */ public abstract class AudioStream extends MediaStream { protected int mAudioSource; protected int mOutputFormat; protected int mAudioEncoder; p...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2012 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
/* * Copyright (C) 2011-2013 GUIGUI Simon, fyhertz@gmail.com * * This file is part of Spydroid (http://code.google.com/p/spydroid-ipcamera/) * * Spydroid 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...
package net.majorkernelpanic.spydroid.api; import net.majorkernelpanic.streaming.Session; import net.majorkernelpanic.streaming.rtsp.RtspServer; public class CustomRtspServer extends RtspServer { public CustomRtspServer() { super(); // RTSP server disabled by default mEnabled = false; } }
package net.majorkernelpanic.spydroid; /** * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE, version 2.1, dated February 1999. * * This program is free software; you can redistribute it and/or modify * it under the terms of the latest version of the GNU Lesser General * Public License as published by the Fr...
package com.basteldroid.framework; public interface Game { public Audio getAudio(); public Input getInput(); public FileIO getFileIO(); public Graphics getGraphics(); public void setScreen(Screen screen); public Screen getCurrentScreen(); public Screen getInitScreen(); }
package com.basteldroid.framework; public interface Sound { public void play(float volume); public void dispose(); }
package com.basteldroid.framework; public abstract class Screen { protected final Game game; public Screen(Game game) { this.game = game; } public abstract void update(float deltaTime); public abstract void paint(float deltaTime); public abstract void pause(); public abstract void resume()...
package com.basteldroid.framework; public interface Music { public void play(); public void stop(); public void pause(); public void setLooping(boolean looping); public void setVolume(float volume); public boolean isPlaying(); public boolean isStopped(); public boolean isLooping(); ...
package com.basteldroid.framework; import java.util.ArrayList; import java.util.List; public class Pool<T> { public interface PoolObjectFactory<T> { public T createObject(); } private final List<T> freeObjects; private final PoolObjectFactory<T> factory; private final int maxSize; public Pool(...
package com.basteldroid.framework; import android.graphics.Paint; public interface Graphics { public static enum ImageFormat { ARGB8888, ARGB4444, RGB565 } public Image newImage(String fileName, ImageFormat format); public void clearScreen(int color); public void drawLine(int x, int y, int x2, ...