// 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"); }
// 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); }
// 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); }