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.* 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 .*
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
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Where-I-Stored-Downloaded-images-into-iPad-tp4569982p4569982.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch