Hi,
I want download IMAGES from URL and save it to IMAGE FOLDER or any iPad pictures or photo folder.
after performing download it can be displayed into UIImageView.<b> But my problem is I didn't know how to downloaded images are stored to iPad folder which Destination Path I can set to for iPad Image Folder .</b>
also how to get image from this path
my code is
public override void HandleOpenURL (UIApplication application, NSUrl url)
{
HttpDownloader _objHttpDwnloader = new HttpDownloader();
if (url != null)
{
Implementation.Scheme = url.Scheme;
string urlHttp = Implementation.Scheme.Replace (url.Scheme, "http://");
Implementation.Host = url.Host;
Implementation.BaseServerDirectory = string.Empty;
UrlPath = urlHttp + Implementation.Host + url.RelativePath;
string dPath = Path.GetFileName (url.RelativePath);
string destPath = Path.Combine (Environment.GetFolderPath)(Environment.SpecialFolder.Personal), @"Library/Caches/Pictures/");
//string destPath = @"/Developer/IOS Dicom Viewer/DicomViewerApplication/DicomViewerApplication/Images";
_objHttpDwnloader.Download (UrlPath, destPath);
}
what is wrong with my code my download logic that i implement is correct but I confuse about the destination path.
Regards
Pritish M. Deshmukh