text
stringlengths
3
1.18M
package info.androidhive.slidingmenu; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class FoldersFragment extends Fragment { public FoldersFragment(){} @Override public View onCreateV...
package info.androidhive.slidingmenu; public class Songs { private long id; private String title; private String artist; // Constructor public Songs(long songID, String songTitle, String songArtist) { id = songID; title = songTitle; artist = songArtist; } public long getId() { retur...
package info.androidhive.slidingmenu; import info.androidhive.slidingmenu.MusicService.MusicBinder; import java.util.ArrayList; import java.util.concurrent.TimeUnit; import android.app.Activity; import android.content.ComponentName; import android.content.Intent; import android.content.ServiceConnection; ...
package info.androidhive.slidingmenu; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class PlaylistsFragment extends Fragment { public PlaylistsFragment(){} @Override public View onCreate...
package info.androidhive.slidingmenu; import info.androidhive.slidingmenu.MusicService.MusicBinder; import info.androidhive.slidingmenu.adapter.SongsAdapter; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import android.app.Activity; import android.content.ComponentN...
package info.androidhive.slidingmenu; import android.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; public class AlbumsFragment extends Fragment { public AlbumsFragment(){} @Override public View onCreateView(L...
package info.androidhive.slidingmenu; import info.androidhive.slidingmenu.adapter.NavDrawerListAdapter; import info.androidhive.slidingmenu.model.NavDrawerItem; import java.util.ArrayList; import android.app.Activity; import android.app.Fragment; import android.app.FragmentManager; import android.content.I...
package com.yifeijiang.android.wifiscanexample; import com.yifeijiang.android.service.ServiceUtil; import com.yifeijiang.android.wifiscanexample.R; import android.app.Activity; import android.content.Intent; import android.content.pm.PackageManager.NameNotFoundException; import android.os.Bundle; import android.os.H...
package com.yifeijiang.android.wifiscanexample; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Iterator; import java.util.List; import com.yifeijiang.android.storage.ExtFileLogger; import com.yifeijiang.android.wifi.WiFiSignalScanner; import com.yifeijiang....
package ca.uol.aig.fftpack; /** * sine FFT transform of a real odd sequence. * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ public class RealDoubleFFT_Odd extends RealDoubleFFT_Mixed { /** * <em>norm_factor</em> can be used to normalize this FFT transform. This is...
package ca.uol.aig.fftpack; /** * cosine FFT transform with odd wave numbers. * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ public class RealDoubleFFT_Even_Odd extends RealDoubleFFT_Mixed { /** * <em>norm_factor</em> can be used to normalize this FFT transfo...
package ca.uol.aig.fftpack; /** * Construct a 1-D complex data sequence. */ public class Complex1D { /** * <em>x</em>[<em>i</em>] is the real part of <em>i</em>-th complex data. */ public double x[]; /** * <em>y</em>[<em>i</em>] is the imaginary part of <em>i</em>-th complex data. */ public double y[]; }
package ca.uol.aig.fftpack; /** * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ class RealDoubleFFT_Mixed { // ******************************************************************** // // Real-Valued FFT Initialization. // *****************************...
package ca.uol.aig.fftpack; /** * cosine FFT transform of a real even sequence. * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ public class RealDoubleFFT_Even extends RealDoubleFFT_Mixed { /** * <em>norm_factor</em> can be used to normalize this FFT transf...
package ca.uol.aig.fftpack; /** * FFT transform of a complex periodic sequence. * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ public class ComplexDoubleFFT extends ComplexDoubleFFT_Mixed { /** * <em>norm_factor</em> can be used to normalize this FFT transform. Th...
package ca.uol.aig.fftpack; /** * sine FFT transform with odd wave numbers. * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ public class RealDoubleFFT_Odd_Odd extends RealDoubleFFT_Even_Odd { /** * <em>norm_factor</em> can be used to normalize this FFT transfo...
package ca.uol.aig.fftpack; /** * FFT transform of a real periodic sequence. * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ public class RealDoubleFFT extends RealDoubleFFT_Mixed { /** * Construct a wavenumber table with size <em>n</em>. * The se...
package ca.uol.aig.fftpack; /** * @author Baoshe Zhang * @author Astronomical Instrument Group of University of Lethbridge. */ class ComplexDoubleFFT_Mixed { /*---------------------------------------------------------------------- passf2: Complex FFT's forward/backward processing of factor 2; isign is +1 for...
/** * utils: general utility functions. * <br>Copyright 2004-2009 Ian Cameron Smith * * <p>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 (see COPYING). * * <p>This program is distributed...
/** * utils: general utility functions. * <br>Copyright 2004-2009 Ian Cameron Smith * * <p>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 (see COPYING). * * <p>This program is distributed...
/** * utils: general utility functions. * <br>Copyright 2004-2009 Ian Cameron Smith * * <p>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 (see COPYING). * * <p>This program is distributed...
/** * utils: general utility functions. * <br>Copyright 2004-2009 Ian Cameron Smith * * <p>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 (see COPYING). * * <p>This program is distributed...
/** * dsp: various digital signal processing algorithms * <br>Copyright 2009 Ian Cameron Smith * * <p>This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation (see COPYING). * * <p>This ...
/** * dsp: various digital signal processing algorithms * <br>Copyright 2009 Ian Cameron Smith * * <p>This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation (see COPYING). * * <p>This ...
/** * dsp: various digital signal processing algorithms * <br>Copyright 2009 Ian Cameron Smith * * <p>This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation (see COPYING). * * <p>This ...
package com.yifeijiang.android.accelerometer; import android.content.Context; import android.hardware.Sensor; import android.hardware.SensorEvent; import android.hardware.SensorEventListener; import android.hardware.SensorManager; public class AccelReader implements SensorEventListener{ SensorManager mSensorMa...
package com.yifeijiang.android.accelerometer; import java.util.ArrayList; public class AccelMotion { public String readings = ""; private String logString = ""; ArrayList<ArrayList<Long>> allAcc = new ArrayList<ArrayList<Long>>(); ArrayList<ArrayList<Long>> AccSeq = new ArrayList<ArrayList<Long>>(); final int A...
package com.yifeijiang.android.datetime; import java.text.SimpleDateFormat; import java.util.Calendar; public class DateTimeUtil { public static String now(){ Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String ct = sdf.format(cal....
package com.yifeijiang.android.wifi; import java.util.List; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.wifi.ScanResult; import android.net.wifi.WifiManager; import android.os.Handler; import android.os...
package com.yifeijiang.android.wifi; import java.util.List; import android.net.wifi.ScanResult; public interface WiFiSignalScannerListener { public final int ERR_OK = 0; public final int ERR_WIFI_DISABLED = 1; public final int ERR_READ_FAILED = 2; public void onScanComplete(long epoch...
package com.yifeijiang.android.gps; import android.content.Context; import android.content.Intent; import android.location.GpsStatus; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.net.Uri; import android.os.Bundle; import android.pro...
package com.yifeijiang.android.service; import java.util.Iterator; import java.util.List; import android.app.ActivityManager; import android.content.Context; import android.util.Log; public class ServiceUtil { public static boolean isServiceRunning(Context context, String serviceName){ //check if the se...
package com.yifeijiang.android.phone; import android.content.Context; import android.telephony.TelephonyManager; public class PhoneInfo { public static String getIMEI(Context context){ String IMEI; TelephonyManager telManager = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); ...
package com.yifeijiang.android.phone; import android.content.Context; import android.net.wifi.WifiManager; import android.os.PowerManager; public class PhonePower { private static PowerManager pm; private static WifiManager wm; private static PowerManager.WakeLock wl; private static WifiManager.WifiLo...
package com.yifeijiang.android.phone; public interface PhoneCellReaderListener { }
package com.yifeijiang.android.phone; import android.content.Context; import android.location.GpsStatus; import android.telephony.CellLocation; import android.telephony.PhoneStateListener; import android.telephony.ServiceState; import android.telephony.TelephonyManager; import android.telephony.cdma.CdmaCellLocation; ...
package com.yifeijiang.android.location; public interface LocationScanListener { public static final int ERR_OK = 0; public static final int ERR_INIT_FAILED = 1; public static final int ERR_READ_FAILED = 2; public abstract void onLocationReadComplete(double latitude, double longitude, double accuracy,...
package com.yifeijiang.android.location; import android.content.Context; import android.content.Intent; import android.location.GpsStatus; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.net.Uri; import android.os.Bundle; import androi...
/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
package com.yifeijiang.android.bluetooth; import android.bluetooth.BluetoothAdapter; import android.content.Context; import android.content.Intent; public class BluetoothUtil { public static void Enable(Context context, BluetoothAdapter mBluetoothAdapter){ if (!mBluetoothAdapter.isEnabled()) { Intent ena...
package com.yifeijiang.android.storage; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.regex.Pattern; import java.util.zip.GZIPOutputStream; import android.os.Environment; import android.util.Log; public class FileZipThread extends ...
package com.yifeijiang.android.storage; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.util.zip.GZIPOutputStream; import android.content.Context; import android.os.Environmen...
package com.yifeijiang.android.storage; import android.content.Context; import android.content.SharedPreferences; public class Preference { public static String getPreference(Context context, String PreferenceName, String Key){ SharedPreferences settings = context.getSharedPreferences(PreferenceName, 0); ...
package com.yifeijiang.android.storage; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import ja...
package com.yifeijiang.android.storage; import java.io.File; import java.io.IOException; import android.os.Environment; public class StorageUtil { public static boolean isExtStorageWritable() { boolean extWritable; boolean mExternalStorageAvailable; boolean mExternalStorageWriteable; File e...
package com.yifeijiang.android.storage; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.util.zip.GZIPOutputStream; import android.content.Context; import android.os.Environment; import android.util.Log; public class LogFileManager { Con...
/** * org.hermit.android.instrument: graphical instruments for Android. * <br>Copyright 2009 Ian Cameron Smith * * <p>These classes provide input and display functions for creating on-screen * instruments of various kinds in Android apps. * * <p>This program is free software; you can redistribute it and/or mod...
/** * org.hermit.android.io: Android utilities for accessing peripherals. * * These classes provide some basic utilities for accessing the audio * interface, at present. * * <br>Copyright 2009 Ian Cameron Smith * * <p>This program is free software; you can redistribute it and/or modify * it under the terms o...
package com.yifeijiang.android.audio; import java.io.IOException; import android.content.Context; import android.media.AudioManager; import android.media.MediaPlayer; import android.media.RingtoneManager; import android.net.Uri; import android.os.Handler; import android.os.Message; public class SoundWarning { stati...
package com.yifeijiang.android.cloud; import java.io.IOException; import java.util.ArrayList; import java.util.List; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.ClientProtocolException; import org.apache.http.client.HttpClient; import org.apache.http.client...
package com.yifeijiang.android.cloud; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.text.SimpleDateFormat; import java.util.Calendar; import org.apache.http.HttpResponse; import org.apache.http.ParseException; import or...
package com.yifeijiang.android.cloud; import org.json.JSONObject; import android.content.Context; import android.net.wifi.WifiManager; import android.os.Handler; import android.os.Message; import android.os.PowerManager; import android.util.Log; public class PeriodicUpload { PeriodicUploadHandler loop_upload_handler...
package com.yifeijiang.android.cloud; public interface ServerUploaderListener { public void onUploadServerResponse(String pPath, String pFilename, String pUrl, String pKey, String Status, String ReturnInfo); public void onUploadNetworkError( String pPath, String pFilename, String pUrl, String pKey, String ErrorMsg...
package com.yifeijiang.android.cloud; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.regex.Pattern; import org.apache.http.ParseException; import org.apache.http.util.EntityUtils; import org.json.JSONObject; i...
package com.yifeijiang.android.cloud; import java.io.File; import java.io.FileWriter; import java.io.IOException; import java.io.PrintWriter; import java.io.StringWriter; import java.text.SimpleDateFormat; import java.util.Calendar; import org.apache.http.HttpResponse; import org.apache.http.ParseException; import or...
package com.yifeijiang.android.cloud; public class ServerCommander { }
/** Automatically generated file. DO NOT MODIFY */ package com.security.antitheft; public final class BuildConfig { public final static boolean DEBUG = true; }
package com.security.antitheft.service; import android.app.admin.DeviceAdminReceiver; import android.content.Context; import android.content.Intent; import android.widget.Toast; public class DeviceAdminPmsReceiver extends DeviceAdminReceiver{ @Override public void onEnabled(Context context, Intent...
package com.security.antitheft.service; import android.annotation.SuppressLint; import android.app.Service; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.net.ConnectivityManager; import android.net.Uri; import android.net.wifi.WifiManager;...
package com.security.antitheft.service; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class DeviceBootReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { Intent startServiceIn...
package com.security.antitheft.module; import java.io.File; import java.io.FileOutputStream; import java.util.Date; import android.content.Context; import android.content.pm.PackageManager.NameNotFoundException; import android.hardware.Camera; import android.view.SurfaceHolder; import android.view.Surface...
package com.security.antitheft.module; import android.content.Context; import android.content.SharedPreferences; public class ShareSetting { private static String PREF_SERVER = "serverto"; private static String PREF_PASSWD = "passwd"; private static String PREF_EN_CALLLOG = "enable_calllog"; private...
package com.security.antitheft.module; import android.content.Context; import android.database.ContentObserver; import android.database.Cursor; import android.net.Uri; import android.text.TextUtils; public class SMSObserver extends ContentObserver { private Context context; final String CONTENT_SMS ...
package com.security.antitheft.module; import java.io.BufferedReader; import java.io.File; import java.io.InputStream; import java.io.InputStreamReader; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.util.ArrayList; import java.util.Enumeration; i...
package com.security.antitheft.module; import android.content.Context; import android.database.ContentObserver; import android.database.Cursor; import android.provider.ContactsContract; public class ContactObserver extends ContentObserver { private Context context; public ContactObserver(Context c)...
package com.security.antitheft.module; import android.content.Context; import android.database.ContentObserver; import android.database.Cursor; import android.provider.MediaStore; public class PicsObserver extends ContentObserver { private Context context; public PicsObserver(Context c) { super(nu...
package com.security.antitheft.module; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; public class LocationUpdateBinder { public static final int MIN_TIME_REQUEST = 15 * 1000 * 6...
package com.security.antitheft.module; import java.io.File; import java.util.Date; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager.NameNotFoundException; import android.media.MediaRecorder; import android.os....
package com.security.antitheft.module; public interface CommandChangeListener { void onCommandChanged(String type, boolean value); }
package com.security.antitheft.module; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.HashMap; import android.annotation.SuppressLint; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import an...
package com.security.antitheft.module; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.telephony.SmsMessage; public class SMSReceiver extends BroadcastReceiver { /** * @see android.content.BroadcastRec...
package com.security.antitheft.ui; import android.content.Context; import android.content.SharedPreferences; public class ShareUISetting { private static String PREF_PIN = "pin"; private static String PREF_APPFLAG = "app_flag"; public static final int JUST_INSTALLED = 1; public static final int OPT_CHA...
package com.security.antitheft.ui; import android.app.Activity; import android.app.Dialog; import android.app.admin.DevicePolicyManager; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.DialogInterface.OnDismissListener; imp...
package com.leoncom.sms_silencer; import java.util.Calendar; import com.leoncom.sms_silencer.util.CommonUtils; import com.leoncom.sms_silencer.util.MuterHelper; import com.leoncom.sms_silencer.util.SilencerTask; import com.leoncom.sms_silencer.util.TaskDataSource; import com.leoncom.sms_silencer.util.TaskSche...
package com.leoncom.sms_silencer.util; import android.content.Context; import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteOpenHelper; public class SmsSQLiteHelper extends SQLiteOpenHelper { public static final String TABLE_TASK = "tasks"; public static final String COLUM...
package com.leoncom.sms_silencer.util; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException; import android.database.sqlite.SQLiteDatabase; public class TaskDataSource { private SQLiteDatabase database; private SmsSQLite...
package com.leoncom.sms_silencer.util; import java.util.Calendar; import android.content.Context; import android.util.Log; public class SilencerTask { public static int DaysPerWeek = 7; private long id; private int hour; private int min; private int period; private boolean init; private boolea...
package com.leoncom.sms_silencer.util; import com.leoncom.sms_sliencer.R; import android.content.Context; import android.media.AudioManager; public class MuterHelper { private static int ACTION_NOTIFY_ID = 23927; public static void setToMute(Context context) { AudioManager am = (AudioManager) con...
package com.leoncom.sms_silencer.util; import java.text.SimpleDateFormat; import java.util.Calendar; import com.leoncom.sms_silencer.MuterReceiver; import com.leoncom.sms_sliencer.R; import android.app.AlarmManager; import android.app.PendingIntent; import android.content.Context; import android.content.I...
package com.leoncom.sms_silencer.util; import java.util.Calendar; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import android.content.Context; public class CommonUtils { public static int DAYS_OF_WEEK = 7; public static CharSequence[] getDayOfWeekNames(Context ctxt, int ...
package com.leoncom.sms_silencer.util; import java.io.File; import java.io.FileNotFoundException; import java.io.FileWriter; import java.io.IOException; import java.text.SimpleDateFormat; import java.util.Date; import android.os.Environment; public class SmsLogger { public static void append(String message) { Fi...
package com.leoncom.sms_silencer.util; import android.app.Notification; import android.app.NotificationManager; import android.app.PendingIntent; import android.content.Context; import android.content.Intent; import android.support.v4.app.NotificationCompat; import com.leoncom.sms_silencer.SilencerActivity; ...
package com.leoncom.sms_silencer; import com.leoncom.sms_silencer.util.SilencerTask; import com.leoncom.sms_silencer.util.SmsLogger; import com.leoncom.sms_silencer.util.TaskDataSource; import com.leoncom.sms_silencer.util.TaskScheduler; import android.content.BroadcastReceiver; import android.content.Context...
package com.leoncom.sms_silencer; import com.leoncom.sms_silencer.util.MuterHelper; import com.leoncom.sms_silencer.util.NotifyManagerHelper; import com.leoncom.sms_silencer.util.SmsLogger; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
package org.jsharkey.sky; import android.location.Address; import android.location.Location; public class GeocodeQuery { String name = null; double lat = Double.NaN; double lon = Double.NaN; public GeocodeQuery(String query) { name = query; } public GeocodeQuery(Location location) { lat...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...
/* * Copyright (C) 2009 Jeff Sharkey, http://jsharkey.org/ * * 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 ...