// Path: TangyuComponentProject/Source/src/com/tangyu/component/ActionCfg.java
// public class ActionCfg {
// 
//     public static final String APP_NAME = "com.tangyu.app";
// 
//     public static final String ACT_GPS = ".gps";
// 
//     public final static String ACT_REMIND_NEWDAY = ".NEWDAY_REMIND";
//     public final static String ACT_REMIND_WAKEUP = ".WAKEUP";
// }


import android.app.PendingIntent;
import android.content.Context;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationManager;
import com.tangyu.component.ActionCfg;
/**
 * The MIT License (MIT)
 * Copyright (c) 2012-2014 唐虞科技(TangyuSoft) Corporation
 *
 * 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, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.tangyu.component.util;



/**
 * Before use GPSHelper. u should add permission in AndroidManifest.xml</br>
 * "android.permission.ACCESS_FINE_LOCATION"
 *
 * @author bin
 */
public class GPSHelper {

    public static final int MIN_DISTANCE = 500;

    public static final int MIN_TIME = 120 * 1000;

    public static int minDistance = MIN_DISTANCE;

    public static int minTime = MIN_TIME;

// Path: TangyuComponentProject/Source/src/com/tangyu/component/ActionCfg.java
// public class ActionCfg {
// 
//     public static final String APP_NAME = "com.tangyu.app";
// 
//     public static final String ACT_GPS = ".gps";
// 
//     public final static String ACT_REMIND_NEWDAY = ".NEWDAY_REMIND";
//     public final static String ACT_REMIND_WAKEUP = ".WAKEUP";
// }


// Path: TangyuComponentProject/Source/src/com/tangyu/component/util/GPSHelper.java
import android.app.PendingIntent;
import android.content.Context;
import android.location.Criteria;
import android.location.Location;
import android.location.LocationManager;
import com.tangyu.component.ActionCfg;

/**
 * The MIT License (MIT)
 * Copyright (c) 2012-2014 唐虞科技(TangyuSoft) Corporation
 *
 * 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, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package com.tangyu.component.util;



/**
 * Before use GPSHelper. u should add permission in AndroidManifest.xml</br>
 * "android.permission.ACCESS_FINE_LOCATION"
 *
 * @author bin
 */
public class GPSHelper {

    public static final int MIN_DISTANCE = 500;

    public static final int MIN_TIME = 120 * 1000;

    public static int minDistance = MIN_DISTANCE;

    public static int minTime = MIN_TIME;

    public static final String ACTION_GPS = ActionCfg.APP_NAME + ActionCfg.ACT_GPS;