Exemplo n.º 1
0
    private void OnImageSaveFailedEvent(string data)
    {
        GallerySaveResult res = new GallerySaveResult("", false);

        OnImageSaved(res);
        dispatch(IMAGE_SAVED, res);
    }
Exemplo n.º 2
0
    void OnAndroidImageSaved(GallerySaveResult res)
    {
        UM_ImageSaveResult result = new UM_ImageSaveResult(res.imagePath, res.IsSucceeded);

        OnImageSaved(result);
        dispatch(IMAGE_SAVED, result);
    }
Exemplo n.º 3
0
 void OnImageSaved(GallerySaveResult result)
 {
     AndroidCamera.instance.OnImageSaved -= OnImageSaved;
     if (result.IsSucceeded)
     {
         AN_PoupsProxy.showMessage("Saved", "Image saved to gallery \n" + "Path: " + result.imagePath);
         SA_StatusBar.text = "Image saved to gallery";
     }
     else
     {
         AN_PoupsProxy.showMessage("Failed", "Image save to gallery failed");
         SA_StatusBar.text = "Image save to gallery failed";
     }
 }
Exemplo n.º 4
0
    private void OnImageSaveFailedEvent(string data)
    {
        GallerySaveResult res = new GallerySaveResult("", false);

        OnImageSaved(res);
    }
Exemplo n.º 5
0
    private void OnImageSavedEvent(string data)
    {
        GallerySaveResult res = new GallerySaveResult(data, true);

        OnImageSaved(res);
    }
	void OnImageSaved (GallerySaveResult result) {

		AndroidCamera.instance.OnImageSaved -= OnImageSaved;

		if(result.IsSucceeded) {
			AN_PoupsProxy.showMessage("Saved", "Image saved to gallery \n" + "Path: " + result.imagePath);
			SA_StatusBar.text =  "Image saved to gallery";
		} else {
			AN_PoupsProxy.showMessage("Failed", "Image save to gallery failed");
			SA_StatusBar.text =  "Image save to gallery failed";
		}



	}
Exemplo n.º 7
0
    void OnAndroidImageSaved(GallerySaveResult res)
    {
        UM_ImageSaveResult result = new UM_ImageSaveResult(res.imagePath, res.IsSucceeded);

        OnImageSaved(result);
    }