Android Open Source - LocationSpy Location Spy Manager Activity






From Project

Back to project page LocationSpy.

License

The source code is released under:

GNU General Public License

If you think the Android project LocationSpy listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.github.mvollebregt.locationspy;
// ww w .  j  a  v a 2s.  co m
// This file is part of LocationSpy.
//
// LocationSpy 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, either version 3 of the License, or
// (at your option) any later version.
//
// LocationSpy is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with LocationSpy.  If not, see <http://www.gnu.org/licenses/>.

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;

public class LocationSpyManagerActivity extends Activity
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        Log.i("LOCATIONSPY", "Started location spy");
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        // set up the service and start it
        // TODO: make a user interface to switch it on and off
        startService(new Intent(this, LocationSpyService.class));

    }
}




Java Source Code List

com.github.mvollebregt.locationspy.LocationSpyManagerActivity.java
com.github.mvollebregt.locationspy.LocationSpyService.java
com.github.mvollebregt.locationspy.Serviceable.java
com.github.mvollebregt.locationspy.UserLocationDetector.java
com.github.mvollebregt.locationspy.UserLocationListener.java
com.github.mvollebregt.locationspy.UserLocationPublisher.java
com.github.mvollebregt.locationspy.UserLocation.java
com.github.mvollebregt.locationspy.gtalk.GtalkStatusUserLocationPublisher.java
com.github.mvollebregt.locationspy.location.TravelListener.java
com.github.mvollebregt.locationspy.wifi.WifiConnectionListener.java
org.jivesoftware.spark.util.DummySSLSocketFactory.java