text
stringlengths
3
1.18M
package tyt.android.bigplanettracks.tracks.writer; import java.io.IOException; import tyt.android.bigplanettracks.tracks.db.TrackDBAdapter; import android.location.Location; public class GpxFile extends FileHandle { private String gpxFooter = "</trkseg>\n"+ "</trk>\n"+ "</gpx>"; public GpxFile(String tra...
package tyt.android.bigplanettracks.tracks.writer; import java.util.ArrayList; import tyt.android.bigplanettracks.BigPlanet; import tyt.android.bigplanettracks.maps.storage.SQLLocalStorage; import tyt.android.bigplanettracks.tracks.TrackTabViewActivity; import tyt.android.bigplanettracks.tracks.db.TrackDBAdapt...
package tyt.android.bigplanettracks.tracks.reader; import org.xml.sax.Attributes; import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; import tyt.android.bigplanettracks.tracks.MyTimeUtils; import tyt.android.bigplanettracks.tracks.db.TrackDBAdapter; import android.location.Location; ...
package tyt.android.bigplanettracks.tracks.reader; import java.io.File; import java.util.ArrayList; import java.util.List; import tyt.android.bigplanettracks.maps.storage.SQLLocalStorage; import tyt.android.bigplanettracks.tracks.listview.ExtendedCheckBox; import android.os.Handler; /** * @author taiyu...
package tyt.android.bigplanettracks.tracks.reader; import java.util.ArrayList; import android.location.Location; /** * @author taiyuchen, TYTung * @version 0.1 */ public class ParsedDataSet { private String trackName; private String trackDescription; private String trackStartGMTTime; private A...
package tyt.android.bigplanettracks.tracks.reader; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; import java.io.UnsupportedEncodingException; import java.util.ArrayList; import ja...
package tyt.android.bigplanettracks.tracks; import java.util.ArrayList; import java.util.Collections; import tyt.android.bigplanettracks.BigPlanet; import android.location.Location; import android.util.Log; /** * @author TYTung * @version 0.2 */ public class TrackAnalyzer { public static final...
package tyt.android.bigplanettracks.tracks.db; public class SQLConstants { private static String table = TrackDBAdapter.TRACKS_TABLE; public static final String SQL_UPDATE_1_1 = "DROP TABLE IF EXISTS '"+ table +"_2';"; public static final String SQL_UPDATE_1_2 = "CREATE TABLE '"+ table +"_2' AS SELECT *...
package tyt.android.bigplanettracks.tracks.db; import java.util.ArrayList; import tyt.android.bigplanettracks.maps.storage.SQLLocalStorage; import tyt.android.bigplanettracks.tracks.TrackAnalyzer; import android.content.ContentValues; import android.database.Cursor; import android.database.SQLException; im...
/* * Copyright 2007 Steven Osborn * * 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 law or agreed ...
/* * Copyright 2007 Steven Osborn * * 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 law or agreed ...
package tyt.android.bigplanettracks.tracks.listview; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.ArrayList; import tyt.android.bigplanettracks.R; import tyt.android.bigplanettracks.tracks.MyTimeUtils; import tyt.android.bigplanettracks.tracks.db.TrackDBAdapter; import andr...
/* * Copyright 2007 Steven Osborn * * 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 law or agreed ...
package com.twodudesdev.amerikick.learnkarate; import com.twodudesdev.amerikick.learnkarate.DBAdapter; import com.twodudesdev.amerikick.learnkarate.DBAdapter.DatabaseHelper; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.database.Cursor; //impor...
package com.twodudesdev.amerikick.learnkarate; import android.app.TabActivity; import android.content.Context; import android.content.Intent; import android.content.res.Resources; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.os.Vibrator; import a...
package com.twodudesdev.amerikick.learnkarate; import java.util.List; import com.twodudesdev.amerikick.learnkarate.DBAdapter; import com.twodudesdev.amerikick.learnkarate.R; import com.twodudesdev.amerikick.learnkarate.DBAdapter.DatabaseHelper; import android.app.Activity; import android.content.Context; i...
package com.twodudesdev.amerikick.learnkarate; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.MenuItem; import android.widget.ImageView; public class HomeActivity e...
package com.twodudesdev.amerikick.learnkarate; import java.util.List; import com.twodudesdev.amerikick.learnkarate.DBAdapter.DatabaseHelper; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.Re...
package com.twodudesdev.amerikick.learnkarate; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.data...
package com.twodudesdev.amerikick.learnkarate; import java.util.List; import com.twodudesdev.amerikick.learnkarate.DBAdapter.DatabaseHelper; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.Re...
package twodudesdev.amerikick.learnkaratema; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import android.widget.TextView; public class Home extends Activity { public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
package twodudesdev.amerikick.learnkaratema; import android.app.Activity; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.ImageView; public class Video extends Activity implements OnCli...
package twodudesdev.amerikick.learnkaratema; import android.app.TabActivity; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.widget.TabHost; import android.widget.Toast; public class Main extends TabActivity { void showToast(CharSequence msg) { ...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/* * Copyright (C) 2013 Mobs and Geeks * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
package com.twodstar.photobattle.slidemenu; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import com.actionbarsherlock.app.SherlockFragment; import com.actionbarsherlock.view.MenuItem; import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu; impor...
package com.twodstar.photobattle.slidemenu; import java.util.Arrays; import java.util.List; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.res.TypedArray; import android.os.Bundle; import android.support.v4.app.Fragment; import android.v...
package com.twodstar.photobattle; import java.util.HashMap; import android.app.Activity; import android.support.v4.app.FragmentManager; import android.util.Log; import com.parse.FunctionCallback; import com.parse.ParseCloud; import com.parse.ParseException; import com.parse.ParseInstallation; import com.parse.Parse...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
package com.twodstar.photobattle; import android.content.Intent; import android.graphics.drawable.Drawable; import android.os.Bundle; import android.support.v4.app.Fragment; import android.util.Log; import android.view.View; import com.actionbarsherlock.app.ActionBar.Tab; import com.actionbarsherlock.app.Ac...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
package com.twodstar.selfie; import android.util.Log; /** * Use a custom Application class to pass state data between Activities. */ public class PBUtility { private static boolean m_PrintLog = false; public static void SetShowLog(boolean b) { m_PrintLog = b; } public static void LOG(String Msg...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/* * Copyright (C) 2013 Mobs and Geeks * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
package com.twodstar.selfie.slidemenu; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransaction; import android.util.Log; import com.actionbarsherlock.app.SherlockFragment; import com.actionbarsherlock.view.MenuItem; import com.chartboost.sdk.CBPreferences; i...
package com.twodstar.selfie.slidemenu; import java.util.Arrays; import java.util.List; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; import android.content.res.TypedArray; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View;...
package com.twodstar.selfie; import java.util.HashMap; import android.app.Activity; import com.parse.FunctionCallback; import com.parse.ParseCloud; import com.parse.ParseException; import com.parse.ParseInstallation; import com.parse.ParseObject; import com.parse.ParsePush; import com.parse.ParseQuery; import com.p...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
package com.twodstar.selfie; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.util.ArrayList; import java.util.List; import java.util.Locale; import java.util.Timer; import ...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
/** * Copyright 2010-present Facebook. * * 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 law or agre...
package org.libsdl.app; import java.util.Arrays; import android.app.*; import android.content.*; import android.view.*; import android.view.inputmethod.BaseInputConnection; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputConnection; import android.view.inputmethod.InputMethodManager; ...
package com.twodstar.match5; import org.libsdl.app.SDLActivity; import com.chartboost.sdk.Chartboost; import com.chartboost.sdk.ChartboostDelegate; import com.nextpeer.android.Nextpeer; import com.nextpeer.android.NextpeerListener; import com.nextpeer.android.NextpeerSettings; import com.nextpeer.android.Nextp...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
package org.json; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringReader; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software a...
package org.json; /* Copyright (c) 2008 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
package org.json; /* Copyright (c) 2006 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; /** * The JSONException is thrown by the JSON.org classes when things are amiss. * @author JSON.org * @version 2010-12-24 */ public class JSONException extends Exception { private static final long serialVersionUID = 0; private Throwable cause; /** * Constructs a JSO...
package org.json; /** * The <code>JSONString</code> interface allows a <code>toJSONString()</code> * method so that a class can change the behavior of * <code>JSONObject.toString()</code>, <code>JSONArray.toString()</code>, * and <code>JSONWriter.value(</code>Object<code>)</code>. The * <code>toJSONString...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; /* Copyright (c) 2002 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, ...
package org.json; import java.io.IOException; import java.io.Writer; /* Copyright (c) 2006 JSON.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including witho...
package notel.client; import java.io.Serializable; import java.util.ArrayList; /** * @author Sreejith Raman, Ashton Coulson */ public abstract class Event implements Serializable { public abstract void addToSchedule(TimeOfDay timeOfDay); public abstract void removeFromSchedule(TimeOfDay timeOfDay); publi...
package notel.client; /** * @author Sreejith Raman */ import android.widget.ImageView; public class ImageNote extends Note { private ImageView note; public void editNote(ImageView note) { this.note = note; } public ImageView getNote() { return note; } }
package notel.client; import java.io.Serializable; /** * @author Sreejith Raman */ public abstract class Note implements Serializable { //abstract class which will be extended by the kind of notes // //method to edit the existing content // abstract void editContent(Object content); // // //method to retrieve ...
package notel.client; import java.util.*; /** * Compares two TimeOfDay objects to compare which object starts first in any given week * @author Sreejith Raman * */ public class TimeOfDayComparator implements Comparator { /* * if arg0 starts before arg1, return -1 * if arg0 and arg1 starts at the same time...
package notel.client; /** * @author Sreejith Raman */ import java.io.Serializable; import java.util.ArrayList; public class Lecture implements Serializable{ private int lectureNo; private ArrayList<Note> notes; public Lecture(int lectureNo) { this.lectureNo = lectureNo; notes = new ArrayList<Note>(); } ...
package notel.client; /** * @author Sreejith Raman */ public class TextNote extends Note { private String note; public TextNote(String note) { this.note = note; } public void editNote(String note) { this.note = note; } //gets note public String getNote() { return note; } }
package notel.client; import java.io.Serializable; import java.util.ArrayList; public class User implements Serializable{ private String name; private ArrayList<Note> notes;//notes of specific lecture public User(ArrayList<Note> notes, String name) { this.notes = notes; this.setName(name); } public void...
package notel.client; import java.io.Serializable; import java.util.GregorianCalendar; /** * * @author Sreejith Raman, Ashton Coulson * */ public class TimeOfDay implements Serializable { private int startMin; private int startHour; private int finishMin; private int finishHour; private days day;//day of ...
package notel.client; import java.util.ArrayList; /** * * @author Sreejith Raman, Ashton Coulson * Courses will be defined by a course name and course number. * Course will hold a "TimeOfDay" ArrayList that will store the courses weekly events. * Each TimeOfDay will hold the day, time, and frequency of the eve...
package notel.client; /** * @author Sreejith Raman */ import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import notel.client.TimeOfDay.days; import org.json.JSONArray; import org.json.JSONObject; import android.app.Application; import android.net.Uri; import android.util.Log; //This class ...
package notel.client; /** * @author Ashton Coulson - acoulso */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.Reader; import java.net.URL; import java.net.URLConnection; import java.net.URL...
package notel.client; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import android.app.ProgressDialog; import android.content.Context; import android.os.Bundle; import android.os.Handler; import android.o...
package notel.client; /** * @author Sreejith Raman */ import java.net.URL; import java.util.*; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os...
package notel.client; import java.net.URL; import java.util.ArrayList; import java.util.HashMap; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import android.app.AlertDialog; import android.app.ProgressDialog; impor...
package notel.client; import java.util.ArrayList; /** * @author Ashton Coulson * * Saves events that are not Courses thus will not have notes or be shared */ public class OtherEvent extends Event { private static final long serialVersionUID = 1L; private String name; private ArrayList<TimeOfDay> timeBlo...
package notel.client; /** * @author Sreejith Raman */ import java.net.URL; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import org.json.JSONArray; import org.json.JSONObject; import android.app.*; import android.content.DialogInterface; import android.content.Intent; import a...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package programa; import java.util.*; import Model.*; /** * * @author manelv8 */ public class Principal { public static ArrayList<BloqueioInfo> tabelaBloqueio; static ArrayList<Operacao> sch...
package Model; /* * To change this template, choose Tools | Templates and open the template in * the editor. */ /** * * @author manelv8 */ public class Operacao { /* * GRANULARIDADE TUPLA (R) PAGINA(P) TABELA(T) */ /* * RD - LEITURA UD - UPDATE WR - ESCRITA IR - INTENCIONA...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Model; /** * * @author manelv8 */ public class Tupla { String id; Tabela tabela; Pagina page; public Tupla(String id, Tabela tabela, Pagina page) { this.id = id; ...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Model; import java.util.ArrayList; /** * * @author manelv8 */ public class Tabela { String nome; ArrayList<Pagina> paginas; public String getNome() { return nome; }...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Model; /** * * @author manelv8 */ public class Granularidade { public static final int tupla =0; public static final int pagina = 1; public static final int tabela = 2; ...
package Model; /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author manelv8 */ public class BloqueioInfo { public String transacaoId; public String objeto; public int tipoBloqueio; public int status; public int...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Model; /** * * @author manelv8 */ public class Bloqueio { public static final int RL = 0; public static final int UL = 1; public static final int WL = 2; public static final in...
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package Model; import java.util.ArrayList; /** * * @author manelv8 */ public class Pagina { String pageId; Tabela tabela; public Tabela getTabela() { return tabela; } ...