code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * Copyright 2012 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * 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 applica...
Java
/* * Copyright 2012 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 applica...
Java
class jeongho{ public static void main(String[] args) { int i =0; int f = 1; for(i=1;i<=10;i++) { f=f*i; System.out.println(i+"! = " +f); } } }
Java
package javaclass; public class hw3_4 { /** * @param args */ public static void main(String[] args) { for(char i='A';i<='J';i++) { System.out.print(i+" "); } System.out.print("\n"); for(char j='K';j<='T';j++) { System.out.print(j+" "); } System.out.pr...
Java
package javaclass; public class hw3_5 { /** * @param args */ public static void main(String[] args) { int result = 1; for(int i=1;i<=10;i++) { result = result*i; System.out.println(i+"! = "+result); } } }
Java
public class practice3_2 { /** * @param args */ public static void main(String[] args) { int x = 100, y = 30; System.out.println("***** result *****"); System.out.println("x+y =" + (x+y)); System.out.println("x-y =" + (x-y)); System.out.println("x*y =" + (x*y)); System.out.println("x...
Java
public class practice3_1 { /** * @param args */ public static void main(String[] args) { int ken = 10, yoo=-20, boo; boo=-yoo; System.out.println("***** result *****"); System.out.println("ken = " + ken + "," + "yoo = " + yoo + ","+ "boo = " + boo); System.out.println("++ken...
Java
package homework; public class instance { public static void main(String[] args) { ins doo = new ins(); doo.ins(65); doo.ins(65,65.5); doo.ins(65,65.5,"doo young"); } }
Java
public class practice3_4 { /** * @param args */ public static void main(String[] args) { int x = 50, y = 30; System.out.println("**** result ****"); System.out.println("x<y ->" + (x<y)); System.out.println("x<=y ->"+ (x<=y)); System.out.println("x>y ->" + (x>y)); System.out.pr...
Java
public class practice3_3 { /** * @param args */ public static void main(String[] args) { boolean x = true, y = true, z = false; System.out.println("***** result *****"); System.out.println("boolean x =true, y=true, z=false"); System.out.println("--- logical AND---"); System.out.prin...
Java
package systemdb; import java.util.ArrayList; public class Project { private String name; private String iconPath; private ArrayList<Table> tables = new ArrayList<Table>(); public Project(String name, String iconPath) { this.name = name; this.iconPath = iconPath; } public String getName() { ...
Java
package systemdb; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.util.ArrayList; import java.util.Random; public class User { private String username; private String encryptedsaltedpassword; private String salt;...
Java
package systemdb; import java.util.ArrayList; public class Table { private ArrayList<String> columns = new ArrayList<String>(); private String tableName; /** * adds a new table to the DB * * @param table */ public static void addTable(Table table) { // TODO } /** * updates the t...
Java
package connection; import java.sql.DriverManager; import java.sql.SQLException; import com.mysql.jdbc.Connection; public class DBconnection { static private Connection connect = null; static DBconnection dbc = new DBconnection(); private DBconnection() { connectToDatabase(); } public static ...
Java
package exceptions; public class NoSuchUserException extends Exception { }
Java
package exceptions; public class WrongNumberOfRowsException extends Exception { }
Java
package login; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import systemdb.User; /** * Servlet implementa...
Java
package Comm.Restfull.Service; import java.sql.ResultSet; import javax.annotation.security.DenyAll; import javax.ws.rs.*; import javax.ws.rs.core.*; import javax.ws.rs.GET; import javax.ws.rs.Path; import org.codehaus.jettison.json.JSONArray; import Utils.ToJson; @Path("/1TBL") public class Api { ...
Java
package users; import java.io.UnsupportedEncodingException; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; public class User { private String username; private String encryptedSaltedPassword; private String salt; private int ID; public User(String username, Stri...
Java
package Utils; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.ResultSetMetaData; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; import javax.ws.rs.core...
Java
package com.oneTable.database; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.sql.Statement; public class DBConnection { private static final String DB_URL = "jdbc:mysql://localhost:3306/onetable"; private static final String USER_NAME = "root"; pri...
Java
package com.oneTable.database; public class UserManagment { }
Java
package com.oneTable.servlets; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * Servlet implementation clas...
Java
package com.oneTable.beans; import java.util.Date; public class Project { private int id; private String name; private Date CreationDate; private String description; private String token; private String url; private Date lastModified; public Project(int id, String name, Date creationDate, Stri...
Java
package com.oneTable.beans; import java.util.ArrayList; import java.util.Date; public class User { private int id; private String name; private String eMail; private Date creationDate; private Date lastLogin; private String password; private ArrayList<Project> projects; public User(int id, St...
Java
package management; import java.sql.Connection; import java.sql.SQLException; import java.sql.Statement; import com.sun.rowset.*; import javax.sql.rowset.JdbcRowSet; import connection.DBconnection; import exceptions.NoSuchUserException; import users.User; public class UserManagement { private static DB...
Java
package management; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import connection.DBconnection; import exceptions.WrongNumberOfRowsException; public class DMLQueries { private static DBconnection con = DBconnection.getInstance(); static Statement statement; st...
Java
package management; public class Column { public String columnName; public boolean notNull; public boolean unique; public boolean primaryKey; public boolean foreignKey; public boolean check; public String Default; /** * generate column with all the constraints */ public Column(String colu...
Java
package management; import java.sql.SQLException; import java.sql.Statement; import connection.DBconnection; public class DDLQueries { private static DBconnection con = DBconnection.getInstance(); static String createTable = "CREATE TABLE "; static String dropTable = "DROP TABLE "; static String trunc...
Java
package management; public class UsersManagement { }
Java
package dashboard.projects; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import systemdb.Project; import syste...
Java
package dashboard.projects; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import systemdb.User; /** * Servl...
Java
package dashboard.projects; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import management.ProjectsManagement...
Java
package dashboard.projects; import java.io.IOException; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import systemdb.Project; /** * Se...
Java
package dashboard.tables; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import co...
Java
package com.RombieSoft.whisper.pref; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/14/12 * Time: 11:53 PM * To change this template use File | Settings | File Templates. */ public class ServiceItem implements Comparable<ServiceItem> { private String serviceName; private String SS...
Java
package com.RombieSoft.whisper.pref; import android.content.Context; import android.content.SharedPreferences; import android.preference.PreferenceManager; import com.RombieSoft.whisper.MyActivity; import com.RombieSoft.whisper.WhisperUtility; import com.RombieSoft.whisper.util.Base64Coder; import com.RombieSoft.whisp...
Java
package com.RombieSoft.whisper.service; import android.R; import android.app.IntentService; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android....
Java
package com.RombieSoft.whisper; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager; import android.os.Bundle; import android.prov...
Java
package com.RombieSoft.whisper; import android.app.Activity; import android.os.Bundle; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/15/12 * Time: 10:04 PM * To change this template use File | Settings | File Templates. */ public class HelpActivity extends Activity { @Override pub...
Java
package com.RombieSoft.whisper.wispr; import java.util.HashMap; import java.util.Iterator; import java.util.Map; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 3/18/12 * Time: 12:51 PM * To change this template use File | Settings | File Templates. */ public class TPEFreeLogger extends HTTPL...
Java
package com.RombieSoft.whisper.wispr; import android.content.Context; import android.database.DatabaseErrorHandler; import android.util.Log; import android.view.Display; import android.view.WindowManager; import com.RombieSoft.whisper.MyActivity; import com.RombieSoft.whisper.WhisperUtility; import com.RombieSoft.whis...
Java
package com.RombieSoft.whisper.wispr; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/16/12 * Time: 7:57 PM * To change this template use File | Settings | File Templates. */ public class LoggerResult { private String result; private String msg; private String logOffUrl; pub...
Java
package com.RombieSoft.whisper.wispr; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/16/12 * Time: 7:49 PM * To change this template use File | Settings | File Templates. */ public class WISPrConstants { public static String WISPR_MESSAGE_TYPE_INITIAL = "100"; public static String ...
Java
package com.RombieSoft.whisper.wispr; import org.xml.sax.Attributes; import org.xml.sax.helpers.DefaultHandler; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/16/12 * Time: 8:02 PM * To change this template use File | Settings | File Templates. */ public class WISPrResponseHandler extends ...
Java
package com.RombieSoft.whisper.wispr; import android.util.Log; import com.RombieSoft.whisper.service.WISPrLoginService; import com.RombieSoft.whisper.util.HttpUtils; import org.xml.sax.SAXException; import javax.xml.parsers.FactoryConfigurationError; import javax.xml.parsers.ParserConfigurationException; import java....
Java
package com.RombieSoft.whisper.wispr; import android.util.Log; import com.RombieSoft.whisper.MyActivity; import com.RombieSoft.whisper.service.WISPrLoginService; import com.RombieSoft.whisper.util.HttpUtils; import java.io.IOException; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import ...
Java
package com.RombieSoft.whisper.wispr; import org.xml.sax.Attributes; import org.xml.sax.helpers.DefaultHandler; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/16/12 * Time: 8:00 PM * To change this template use File | Settings | File Templates. */ public class WISPrInfoHandler extends Defa...
Java
package com.RombieSoft.whisper.wispr; import com.RombieSoft.whisper.WhisperUtility; import com.RombieSoft.whisper.pref.ServiceItemList; import com.RombieSoft.whisper.util.HttpUtils; import java.io.IOException; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/18/12 * Time: 3:22 PM * To change...
Java
package com.RombieSoft.whisper.wispr; import java.util.HashMap; import java.util.Map; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/18/12 * Time: 3:27 PM * To change this template use File | Settings | File Templates. */ public class TaiwanLogger extends WISPrLogger { @Override pu...
Java
package com.RombieSoft.whisper; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import com.RombieSoft.whisper.util.HttpUtils; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * D...
Java
package com.RombieSoft.whisper; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import com.RombieSoft.whisper.util.ScreenUtils; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/14/12 * Time: 9:52 PM * To change this template use File | ...
Java
package com.RombieSoft.whisper; import android.app.Activity; import android.app.AlertDialog; import android.app.Dialog; import android.content.DialogInterface; import android.os.Bundle; import android.view.ContextMenu; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.wid...
Java
package com.RombieSoft.whisper; import android.app.AlertDialog; import android.app.TabActivity; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.SharedPreferences; import android.content.pm.PackageInfo; import android.net.Uri; import android....
Java
package com.RombieSoft.whisper; import android.app.NotificationManager; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.ConnectivityManager; import android.net.NetworkInfo; import android.net.wifi.WifiInfo; import android.net.wifi.WifiManager;...
Java
package com.RombieSoft.whisper; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageInfo; import android.os.Build; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; import com.RombieSoft.whisper.util.AppLogger; im...
Java
package com.RombieSoft.whisper.priv; public class Constants { final public static String deviceId = ""; final public static String trackId = ""; final public static String admobId = ""; final public static String admobTestDeviceId = ""; final public static int key = 0xff; }
Java
package com.RombieSoft.whisper; import android.app.Activity; import android.content.pm.PackageInfo; import android.os.Bundle; import android.widget.TextView; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/14/12 * Time: 9:15 PM * To change this template use File | Settings | File Templates. ...
Java
package com.RombieSoft.whisper.util; import org.apache.http.conn.ssl.SSLSocketFactory; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import java.io.IOException; import java.net.Socket; import java.net.UnknownHostException; import java.security.*; /** * Cr...
Java
package com.RombieSoft.whisper.util; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/17/12 * Time: 11:48 PM * To change this template use File | Settings | File Templates. */ public class Base64Coder { // The line separator string of the operating system. private static final String ...
Java
package com.RombieSoft.whisper.util; import android.content.Context; import android.util.Log; import java.io.BufferedWriter; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.text.DateFormat; import java.util.Date; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/...
Java
package com.RombieSoft.whisper.util; import android.content.Context; import android.view.Display; import android.view.WindowManager; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 3/18/12 * Time: 11:12 AM * To change this template use File | Settings | File Templates. */ public class ScreenU...
Java
package com.RombieSoft.whisper.util; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/16/12 * Time: 7:19 PM * To change this template use File | Settings | File Templates. */ import java.io.IOException; import java.net.SocketException; import java.security.KeyStore; import java.util.ArrayList...
Java
package com.RombieSoft.whisper.util; import java.io.BufferedReader; import java.io.FileReader; /** * Created by IntelliJ IDEA. * User: morven@livemail.tw * Date: 2/14/12 * Time: 10:11 PM * To change this template use File | Settings | File Templates. */ public class AdCheck { private static Boolean m_adsVal...
Java
package org.anddev.andengine.examples.app.cityradar; import java.util.ArrayList; import java.util.HashMap; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.camera.hud.HUD; import org.anddev.andengine.engine.options.EngineOptions; im...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import java.io.IOException; import java.io.InputStream; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.SmoothCamera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.S...
Java
package org.anddev.andengine.examples; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientati...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import java.io.IOException; import java.io.InputStream; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.SmoothCamera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.S...
Java
package org.anddev.andengine.examples; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientati...
Java
package org.anddev.andengine.examples.launcher; import java.util.Arrays; import org.anddev.andengine.examples.R; import org.anddev.andengine.util.Debug; import android.app.AlertDialog; import android.app.Dialog; import android.app.ExpandableListActivity; import android.content.Context; import android.content.Intent;...
Java
package org.anddev.andengine.examples.launcher; import org.anddev.andengine.examples.R; /** * (c) 2010 Nicolas Gramlich * (c) 2011 Zynga * * @author Nicolas Gramlich * @since 11:13:34 - 27.06.2010 */ public enum ExampleGroup { // =========================================================== // El...
Java
package org.anddev.andengine.examples.launcher; import org.anddev.andengine.examples.AnalogOnScreenControlExample; import org.anddev.andengine.examples.AnalogOnScreenControlsExample; import org.anddev.andengine.examples.AnimatedSpritesExample; import org.anddev.andengine.examples.AugmentedRealityExample; import ...
Java
package org.anddev.andengine.examples.launcher; import org.anddev.andengine.examples.R; import android.content.Context; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.BaseExpandableListAdapter; import android.widget.TextView; /** * (c) ...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.SingleSceneSplitScreenEngine; import org.anddev.andengine.engine.camera.BoundCamera; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; im...
Java
package org.anddev.andengine.examples; import java.io.IOException; import java.io.InputStream; import javax.microedition.khronos.opengles.GL10; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.SmoothCamera; import org.anddev.andengine.engine.options.EngineOptions; import...
Java
package org.anddev.andengine.examples; import java.util.concurrent.Callable; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.entity.primitive.Line; import org.anddev.andengine.entity.scene.Scene; import org.anddev.andengine.entity.sprite.AnimatedSprite; import org.anddev.andengine.extension.physics.box2d.PhysicsConnector; import org.anddev.andengine.extension.physics.b...
Java
package org.anddev.andengine.examples; import org.anddev.andengine.engine.Engine; import org.anddev.andengine.engine.camera.Camera; import org.anddev.andengine.engine.options.EngineOptions; import org.anddev.andengine.engine.options.EngineOptions.ScreenOrientation; import org.anddev.andengine.engine.options.reso...
Java