views:

36

answers:

1

Suppose i want to open an xml file which i have in my email through my app. How should i go for this. Thanks,

A: 

Based on the comment you just posted. I would do it this way:

Have the person send the email with a link to the file using a 3rd party service (create one?? Shouldn't be too hard considering what you want to do) and use a custom URL scheme to automatically launch your application, then load the file

If you don't know how to create a custom url scheme, just go here

Matt S.
How to create a thord party service?? and what do i need to make one
Ashutosh
just create a website that is a simple php script to retrieve the file based on the url. ex: myapp://55jJH3 will go to your url (which you will define in your iphone code) with 55jJH3 after the ?whatever= then will do a simple mysql query to get the file name, then it'll return the file
Matt S.
Can you provide me with some links that would help me create this.
Ashutosh
laready have a website but the server doen't support php it supports JScript though.
Ashutosh
then just have url be the file name and just return the file directly.
Matt S.
so you mean to say i should save the file on my webspace and name the file as the my url appended with the app name and get the file. But what about saving the file on my webspace.
Ashutosh
if possible provide me with some example or some link
Ashutosh
Like this?? http://www.cs.tut.fi/~jkorpela/forms/file.html
Matt S.