Exemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        sharePlugin = SharePlugin.GetInstance();
        sharePlugin.SetDebug(0);

        customCameraPlugin = CustomCameraPlugin.GetInstance();
        customCameraPlugin.SetDebug(0);
        customCameraPlugin.Init(folderName, imageFileName, true);

        customCameraPlugin.SetCameraCallbackListener(onCaptureImageComplete, onCaptureImageCancel, onCaptureImageFail);

        EnableDisableShareButton(false);
    }
Exemplo n.º 2
0
    // Use this for initialization
    void Start()
    {
        dispatcher = Dispatcher.GetInstance();

        sharePlugin = SharePlugin.GetInstance();
        sharePlugin.SetDebug(0);

        customCameraPlugin = CustomCameraPlugin.GetInstance();
        customCameraPlugin.SetDebug(0);
        customCameraPlugin.Init(folderName, imageFileName, useBackCamera);

        customCameraPlugin.SetCameraCallbackListener(onCaptureImageComplete, onCaptureImageCancel, onCaptureImageFail);

        mediaScannerPlugin = MediaScannerPlugin.GetInstance();
        mediaScannerPlugin.SetDebug(0);
        mediaScannerPlugin.Init();
        mediaScannerPlugin.SetCallbackListener(onScanStarted, onScanComplete, onScanFail);

        EnableDisableShareButton(false);
    }
Exemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        sharePlugin = SharePlugin.GetInstance();
        sharePlugin.SetDebug(0);

        customCameraPlugin = CustomCameraPlugin.GetInstance();
        customCameraPlugin.SetDebug(0);
        customCameraPlugin.Init(folderName,imageFileName,true);

        customCameraPlugin.SetCameraCallbackListener(onCaptureImageComplete,onCaptureImageCancel,onCaptureImageFail);

        EnableDisableShareButton(false);
    }