예제 #1
0
    // Use this for initialization
    void Start()
    {
        sharePlugin = SharePlugin.GetInstance();
        sharePlugin.SetDebug(0);

        cameraPlugin = CameraPlugin.GetInstance();
        cameraPlugin.SetDebug(0);
        cameraPlugin.Init(folderName);

        //imagePickerPlugin = ImagePickerPlugin.GetInstance();
        dispatcher = Dispatcher.GetInstance();

        gpsPlugin = GPSPlugin.GetInstance();
        gpsPlugin.SetDebug(0);

        long updateInterval = 200;
        long minimumMeterChangeForUpdate = 0;

        gpsPlugin.Init(updateInterval, minimumMeterChangeForUpdate);
        AddGPSEventListeners();
        gpsPlugin.StartGPS();
        GetLatitude();
        GetLongitude();

        /*
         * imagePickerPlugin.SetDebug(0);
         * imagePickerPlugin.Init();
         *
         * imagePickerPlugin.OnGetImagesComplete += onGetImagesComplete;
         * imagePickerPlugin.OnGetImageCancel += onGetImagesCancel;
         * imagePickerPlugin.OnGetImageFail += onGetImageFail;
         *
         * imagePickerPlugin.GetImages();*/
        screenShotId = PlayerPrefs.GetInt("SitePicId");
    }
예제 #2
0
    // Use this for initialization
    void Start()
    {
        sharePlugin = SharePlugin.GetInstance();
        sharePlugin.SetDebug(0);

        cameraPlugin = CameraPlugin.GetInstance();
        cameraPlugin.SetDebug(0);
        cameraPlugin.Init(folderName);

        cameraPlugin.SetCameraCallbackListener(onCaptureImageComplete, onCaptureImageCancel, onCaptureImageFail);

        EnableDisableShareButton(false);
    }
예제 #3
0
    // Use this for initialization
    void Start()
    {
        sharePlugin = SharePlugin.GetInstance();
        sharePlugin.SetDebug(0);

        cameraPlugin = CameraPlugin.GetInstance();
        cameraPlugin.SetDebug(0);
        cameraPlugin.Init(folderName);

        cameraPlugin.SetCameraCallbackListener(onCaptureImageComplete,onCaptureImageCancel,onCaptureImageFail);

        EnableDisableShareButton(false);
    }