text
stringlengths
3
1.18M
package com.skins; import java.io.Serializable; public class Xml implements Serializable { private static final long serialVersionUID = -8523203374085674288L; String title=""; String link=""; String image=""; String price=""; String selling_price=""; }
package com.skins; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.webkit.WebSettings; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.Toast; public class WebActivity extends Activity { /** Called when the activity is firs...
package org.mcjug.locationmailer.activity; import oauth.signpost.OAuth; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.db.StatusMessageDatabaseHelper; import org.mcjug.locationmailer.oauth.tokens.OauthActivity; import org.mcjug.locationmailer.service.LocationService; import org.mcjug.locationmaile...
package org.mcjug.locationmailer.activity; import org.mcjug.locationmailer.R; import android.os.Bundle; import android.preference.PreferenceActivity; public class PrefActivity extends PreferenceActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //...
package org.mcjug.locationmailer.activity; import java.text.DateFormat; import java.util.Date; import org.mcjug.locationmailer.R; import android.content.Context; import android.database.Cursor; import android.view.View; import android.widget.TextView; import android.widget.SimpleCursorAdapter.ViewBinder; ...
package org.mcjug.locationmailer.activity; import java.util.ArrayList; import java.util.List; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.util.EmailUtil; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterfa...
package org.mcjug.locationmailer.service; import java.util.Date; import java.util.List; import java.util.Properties; import javax.mail.Message; import javax.mail.Session; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; import oauth.signpost.OAuth; import org.mcjug.locationmailer....
package org.mcjug.locationmailer.service; import java.util.Date; import java.util.Timer; import java.util.TimerTask; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.db.StatusMessageDatabaseHelper; import org.mcjug.locationmailer.model.StatusMessage; import org.mcjug.locationmailer.util.Ema...
package org.mcjug.locationmailer.db; import java.util.Date; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.model.StatusMessage; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import an...
package org.mcjug.locationmailer.receiver; import org.mcjug.locationmailer.util.AlarmManagerUtil; import org.mcjug.locationmailer.util.Constants; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.p...
package org.mcjug.locationmailer.oauth.tokens; import java.io.UnsupportedEncodingException; import java.net.URLEncoder; import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer; import oauth.signpost.commonshttp.CommonsHttpOAuthProvider; import android.app.Activity; import android.content.Intent; import android.con...
package org.mcjug.locationmailer.oauth.tokens; import oauth.signpost.OAuthConsumer; import oauth.signpost.OAuthProvider; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.AsyncTask; import android.util.Log; public class OAuthRequestTokenTask extends AsyncTask<Voi...
package org.mcjug.locationmailer.oauth.tokens; import oauth.signpost.OAuth; import oauth.signpost.OAuthConsumer; import oauth.signpost.OAuthProvider; import android.content.Context; import android.content.SharedPreferences; import android.content.SharedPreferences.Editor; import android.net.Uri; import android.os.Asyn...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
package org.mcjug.locationmailer.model; import java.util.ArrayList; import java.util.List; import android.os.Parcel; import android.os.Parcelable; public class Email implements Parcelable { private String sender; private List<String> recipients = new ArrayList<String>(); private String subject; private String bo...
package org.mcjug.locationmailer.model; import java.util.Date; import android.location.Location; public class StatusMessage { private long id; private Location location; private String message; private String address; private Date createdDate; public StatusMessage() { } public long getI...
package org.mcjug.locationmailer.util; import org.mcjug.locationmailer.service.LocationService; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManag...
package org.mcjug.locationmailer.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Properties; import javax.mail.Message; import javax.mail.Session; import javax.mail.internet.InternetAddress; import javax.mail.internet.MimeMessage; ...
package org.mcjug.locationmailer.util; import java.io.IOException; import java.util.List; import java.util.Locale; import org.mcjug.locationmailer.R; import android.content.Context; import android.location.Address; import android.location.Geocoder; import android.location.Location; public class Locatio...
package org.mcjug.locationmailer.util; public class Constants { public static final String PREFS_LOCATION_UPDATE_INTERVAL_KEY = "locationUpdateInterval"; public static final String PREFS_LOCATION_LIST_DISPLAY_SIZE_KEY = "locationListSize"; public static final String PREFS_START_SENDING_EMAIL_KEY = "startSend...
package org.mcjug.locationmailer.activity; import org.mcjug.locationmailer.R; import android.os.Bundle; import android.preference.PreferenceActivity; public class AdminPrefsActivity extends PreferenceActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Locati...
package org.mcjug.locationmailer.activity; import org.mcjug.locationmailer.R; import android.app.Dialog; import android.content.Context; import android.content.res.TypedArray; import android.os.Bundle; import android.preference.DialogPreference; import android.text.SpannableString; import android.text.Spann...
package org.mcjug.locationmailer.activity; import java.util.List; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.model.template.TemplateItem; import org.mcjug.locationmailer.model.template.TemplateItemContainer; import android.content.Context; import android.util.AttributeSet; import an...
package org.mcjug.locationmailer.activity; import java.io.InputStream; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.oauth.tokens.OauthActivity; import android.content.Context; import android.content.Intent; import android.graphics.Canvas; import android.graphics.Movie; import android.os.Bundle;...
package org.mcjug.locationmailer.activity; import oauth.signpost.OAuth; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.db.StatusMessageDatabaseHelper; import org.mcjug.locationmailer.oauth.tokens.OauthActivity; import org.mcjug.locationmailer.service.LocationService; import org.mcjug.locationmaile...
package org.mcjug.locationmailer.activity; import java.util.List; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.model.template.TemplateItem; import org.mcjug.locationmailer.model.template.TemplateItemContainer; import android.content.Context; import android.util.AttributeSet; import an...
package org.mcjug.locationmailer.activity; import org.mcjug.locationmailer.R; import android.os.Bundle; import android.preference.PreferenceActivity; public class PrefActivity extends PreferenceActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //...
package org.mcjug.locationmailer.activity; import org.mcjug.locationmailer.LocationMailerApplication; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.receiver.ExceptionBroadcastReceiver; import org.mcjug.locationmailer.util.NetworkConnectivity; import org.mcjug.locationmailer.util.ParcelableEx...
package org.mcjug.locationmailer.activity; import java.text.DateFormat; import java.util.Date; import org.mcjug.locationmailer.R; import android.content.Context; import android.database.Cursor; import android.location.LocationManager; import android.view.View; import android.widget.ImageView; import andr...
package org.mcjug.locationmailer.activity; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.util.EmailUtil; import android.app.Dialog; import android.content.Context; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.EditText; publ...
package org.mcjug.locationmailer.activity; import java.util.ArrayList; import java.util.List; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.util.EmailUtil; import android.app.Activity; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterfa...
package org.mcjug.locationmailer; import org.mcjug.locationmailer.receiver.ExceptionBroadcastReceiver; import org.mcjug.locationmailer.util.AlarmManagerUtil; import org.mcjug.locationmailer.util.EmailUtil; import android.app.Application; import android.content.IntentFilter; import android.content.SharedPreferences; i...
package org.mcjug.locationmailer.service; import java.util.Date; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.db.StatusMessageDatabaseHelper; import org.mcjug.locationmailer.model.StatusMessage; import org.mcjug.locationmailer.util.EmailUtil; import org.mcjug.locationmailer.util.ExceptionUtil; i...
package org.mcjug.locationmailer.service; import org.mcjug.locationmailer.db.StatusMessageDatabaseHelper; import org.mcjug.locationmailer.model.StatusMessage; import org.mcjug.locationmailer.util.ExceptionUtil; import org.mcjug.locationmailer.util.RunnableWithException; import android.app.Service; import andr...
package org.mcjug.locationmailer.db; import java.util.Date; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.model.StatusMessage; import org.mcjug.locationmailer.util.Constants; import org.mcjug.locationmailer.util.ExceptionUtil; import android.content.ContentValues; import android.conten...
package org.mcjug.locationmailer.receiver; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.service.LocationService; import org.mcjug.locationmailer.util.EmailUtil; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.conten...
package org.mcjug.locationmailer.receiver; import org.mcjug.locationmailer.util.AlarmManagerUtil; import org.mcjug.locationmailer.util.Constants; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.p...
package org.mcjug.locationmailer.receiver; import org.mcjug.locationmailer.LocationMailerApplication; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.activity.LocationMailerActivity; import org.mcjug.locationmailer.activity.SignInActivity; import org.mcjug.locationmailer.util.ParcelableException; ...
package org.mcjug.locationmailer.oauth.tokens; import java.net.URLEncoder; import oauth.signpost.commonshttp.CommonsHttpOAuthConsumer; import oauth.signpost.commonshttp.CommonsHttpOAuthProvider; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.activity.BaseActivity; import org.mcjug.locationmailer....
package org.mcjug.locationmailer.oauth.tokens; import oauth.signpost.OAuthConsumer; import oauth.signpost.OAuthProvider; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.util.Constants; import org.mcjug.locationmailer.util.ExceptionUtil; import org.mcjug.locationmailer.util.RunnableWithException; i...
package org.mcjug.locationmailer.oauth.tokens; import java.io.BufferedReader; import java.io.InputStream; import java.io.InputStreamReader; import oauth.signpost.OAuth; import oauth.signpost.OAuthConsumer; import oauth.signpost.OAuthProvider; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; im...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
/* Copyright 2010 Google Inc. * * 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 to in w...
package org.mcjug.locationmailer.model.template; import java.text.SimpleDateFormat; import org.mcjug.locationmailer.R; public class MonthOfYearTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordMonthOfYear; }...
package org.mcjug.locationmailer.model.template; import java.net.URL; import java.util.List; import org.mcjug.locationmailer.R; //import android.util.Log; import com.google.code.rome.android.repackaged.com.sun.syndication.feed.synd.SyndEntry; import com.google.code.rome.android.repackaged.com.sun.syndication.feed.s...
package org.mcjug.locationmailer.model.template; import java.text.SimpleDateFormat; import org.mcjug.locationmailer.R; public class DayOfWeekTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordDayOfWeek; } ...
package org.mcjug.locationmailer.model.template; import java.util.ArrayList; import java.util.Collections; import java.util.List; import org.mcjug.locationmailer.model.StatusMessage; import android.content.Context; public class TemplateItemContainer { private static TemplateItemContainer instance; private...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.R; public class ErrorMessageTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordErrorMessage; } @Override public String...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.R; public class AddressTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordAddress; } @Override public String getTempl...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.R; import android.location.Location; public class GoogleMapsUrlTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordGoogleMapsUrl; ...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.R; public class LongtitudeTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordLongitude; } @Override public String getTe...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.R; public class LatitudeTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordLatitude; } @Override public String getTempl...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.model.StatusMessage; public abstract class AbstractTemplateItem implements TemplateItem { private StatusMessage statusMessage; public StatusMessage getStatusMessage() { return statusMessage; } public void setSta...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.model.StatusMessage; public interface TemplateItem { public static final int FLAG_LOCATION = 1; public static final int FLAG_NO_LOCATION = 2; public static final int FLAG_ALL = FLAG_LOCATION | FLAG_NO_LOCATION; int getT...
package org.mcjug.locationmailer.model.template; import java.text.SimpleDateFormat; import org.mcjug.locationmailer.R; public class DayOfMonthTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordDayOfMonth; } ...
package org.mcjug.locationmailer.model.template; import org.mcjug.locationmailer.R; public class LocationProviderTemplateItem extends AbstractTemplateItem implements TemplateItem { @Override public int getTemplateItemId() { return R.string.emailKeywordLocationProvider; } @Override public...
package org.mcjug.locationmailer.model; import java.util.ArrayList; import java.util.List; import android.os.Parcel; import android.os.Parcelable; public class Email implements Parcelable { private String sender; private List<String> recipients = new ArrayList<String>(); private String subject; private String bo...
package org.mcjug.locationmailer.model; import java.util.Date; import android.location.Location; public class StatusMessage { private long id; private Location location; private String message; private String address; private Date createdDate; public StatusMessage() { } public long getI...
package org.mcjug.locationmailer.util; import org.mcjug.locationmailer.R; import org.mcjug.locationmailer.receiver.ExceptionBroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Parcelable; //import android.util.Log; public class ExceptionUtil { public static void e...
package org.mcjug.locationmailer.util; import org.mcjug.locationmailer.service.LocationService; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.preference.PreferenceManag...
package org.mcjug.locationmailer.util; import java.util.ArrayList; import java.util.Arrays; import java.util.Date; import java.util.List; import java.util.Properties; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.internet.InternetAddress; imp...
package org.mcjug.locationmailer.util; public interface RunnableWithException { void run() throws Throwable; }
package org.mcjug.locationmailer.util; import java.io.IOException; import java.util.List; import java.util.Locale; import org.mcjug.locationmailer.R; import android.content.Context; import android.location.Address; import android.location.Geocoder; import android.location.Location; //import android.util....
package org.mcjug.locationmailer.util; import java.io.PrintWriter; import java.io.StringWriter; import android.os.Parcel; import android.os.Parcelable; public class ParcelableException implements Parcelable { private String message; public ParcelableException() { super(); } public ParcelableEx...
package org.mcjug.locationmailer.util; import android.content.Context; import android.net.ConnectivityManager; import android.net.NetworkInfo; public class NetworkConnectivity { public static boolean isAvailable(Context context) { ConnectivityManager connMgr = (ConnectivityManager)context.getSystemServic...
package org.mcjug.locationmailer.util; import android.content.Context; import android.preference.PreferenceManager; public class Constants { public static final String PREFS_LOCATION_UPDATE_INTERVAL_KEY = "locationUpdateInterval"; public static final String PREFS_LOCATION_LIST_DISPLAY_SIZE_KEY = "locationLis...
package com.sm.android.httpmodule; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; public class HttpRequest { private String host = "www.lintelligence.com.br"; HttpClient httpclient = new DefaultHttpClient...
package com.sm.android; import android.app.Activity; import android.app.Dialog; import android.os.Bundle; import android.util.Log; import android.view.View; import android.view.Window; import android.widget.Button; import android.widget.EditText; public class AndroidSMActivity extends Activity { /** Called when t...
package com.mommenb.messagewall; /** * @author Benji Mommen * * Main application class */ public class Main { public static void main(String [] args) { System.out.println("Hello World!"); } }
package ch.roth.android.stationFinder.list; import ch.roth.android.stationFinder.R; import android.app.ListActivity; import android.os.Bundle; import android.view.View; import android.widget.AdapterView; import android.widget.AdapterView.OnItemClickListener; import android.widget.ArrayAdapter; import android.widget.Li...
/* * Copyright (C) 2011 Wglxy.com * * 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 (C) 2011 Wglxy.com * * 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 (C) 2011 Wglxy.com * * 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 (C) 2011 Wglxy.com * * 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 ch.roth.android.stationFinder.maps; import java.util.ArrayList; import android.graphics.drawable.Drawable; import android.widget.Toast; import com.google.android.maps.GeoPoint; import com.google.android.maps.ItemizedOverlay; import com.google.android.maps.OverlayItem; public class MyItemizedOverlay extends It...
package com.jumpy.managers; import org.andengine.opengl.texture.TextureOptions; import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlas; import org.andengine.opengl.texture.atlas.bitmap.BitmapTextureAtlasTextureRegionFactory; import org.andengine.opengl.texture.region.TiledTextureRegion; import org.a...
package com.jumpy.entities; import org.andengine.entity.scene.IOnSceneTouchListener; import org.andengine.entity.scene.Scene; import org.andengine.entity.scene.background.Background; import org.andengine.input.touch.TouchEvent; import com.jumpy.MovingRect; import com.jumpy.managers.ResourceManager; public ...
package com.jumpy.entities; import org.andengine.entity.sprite.AnimatedSprite; import org.andengine.opengl.texture.region.TiledTextureRegion; import org.andengine.opengl.vbo.VertexBufferObjectManager; import com.jumpy.MovingRect; public class Character extends AnimatedSprite { public static final float M...
package com.jumpy.entities; import org.andengine.engine.handler.physics.PhysicsHandler; import org.andengine.entity.sprite.AnimatedSprite; import org.andengine.opengl.texture.region.TiledTextureRegion; import org.andengine.opengl.vbo.VertexBufferObjectManager; import com.jumpy.MovingRect; public class Techo...
package com.jumpy; import org.andengine.engine.camera.Camera; import org.andengine.engine.options.EngineOptions; import org.andengine.engine.options.ScreenOrientation; import org.andengine.engine.options.resolutionpolicy.RatioResolutionPolicy; import org.andengine.entity.scene.Scene; import org.andengine.ui.act...
package com.jumpy; import com.jumpy.R; 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_...
package schudel.daniel.androidspellingquiz; import java.util.ArrayList; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.text.method.ScrollingMovementMethod; import android.util.Log; import android.view.KeyEvent; import android.view.MotionEvent; import android.view....
package schudel.daniel.androidspellingquiz; import java.util.ArrayList; import java.util.Collections; import android.app.Application; import android.util.Log; public class SpellingQuizApplication extends Application { private ArrayList<String> currentSpellingWords; private ArrayList<String> spellingAnswers; ...
package schudel.daniel.androidspellingquiz; import java.util.ArrayList; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; public class DB extend...
package schudel.daniel.androidspellingquiz; import java.util.ArrayList; import android.app.Activity; import android.app.AlertDialog; import android.app.AlertDialog.Builder; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.pm.PackageInfo; imp...
package schudel.daniel.androidspellingquiz; import java.util.ArrayList; import java.util.ListIterator; import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.view.View; import...
package schudel.daniel.androidspellingquiz; import java.util.Locale; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.media.AudioManager; import android.os.Bundle; import android.speech.tts.TextToSpeech; import android.speech.tts.TextToSpeech.OnInitListener; ...
package com.mathcat.mobile.android.data.account; import android.content.Context; public class AccountManagerFactory { private static AccountManager manager; private static Object lock = new Object(); public static AccountManager getAccountManager(Context context) { if (manager == null) { sync...
package com.mathcat.mobile.android.data.account; class AccountImpl implements Account { String uid; String password; boolean isPasswordRemembered; boolean isAutoLogin; boolean isLastLogin; AccountImpl(String uid, String password, boolean isPasswordRemembered, boolean isAutoLogin, boolean...
package com.mathcat.mobile.android.data.account; import java.util.ArrayList; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; import android.util.Log; class ...
package com.mathcat.mobile.android.data.account; public interface Account { public String getUid(); public String getPassword(); public boolean isPasswordRemembered(); public boolean isAutoLogin(); public boolean isLastLogin(); public String toString(); }
package com.mathcat.mobile.android.data.account; public interface AccountManager { public void close(); public Account[] getAllAccounts(); public Account getLastLoginAccount(); public Account[] getAccountsExceptLastLogin(); public boolean removeAccount(String uid); public void removeAllA...
package com.mathcat.mobile.android.util; public interface Task { void execute(); void cancel(); }