TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pritish Deshmukh
NA
194
197.5k
Where I Stored Downloaded images into iPad
Apr 19 2012 2:00 AM
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
Reply
Answers (
0
)
CRUD for ADO.Net and MySql
Threading in biztalkserver