download mp3 file on server in iphone

Ads
 

download mp3 file on server in iphone

I want to download mp3 file on the server in iphone......plz help me give me the demo code

View Answers

October 4, 2013 at 7:47 PM

Hi,

Do you want to send the MP3 file from iPhone to Server? or Download the file from Server on your iPhone?

Thanks


October 4, 2013 at 7:50 PM

I want Download the file from Server on iPhone


October 4, 2013 at 8:02 PM

Hi,

You can try following code:

// Create the request.
NSURLRequest *theRequest=[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.mywebsite.com/myfile.mp3"]
            cachePolicy:NSURLRequestUseProtocolCachePolicy
           timeoutInterval:60.0];

NSURLConnection *theConnection=[[NSURLConnection alloc] initWithRequest:theRequest delegate:self];
if (theConnection) {
    // Get Data
    receivedData = [[NSMutableData data] retain];
} else {
    // Error handling
}

Thanks


October 4, 2013 at 8:03 PM

Hi,

After getting the data you can save it on your iphone.

Thanks


October 4, 2013 at 8:03 PM

Hi,

After getting the data you can save it on your iphone.

Thanks


October 5, 2013 at 7:20 PM

how to save data in my iphone......

Ads









Related Tutorials/Questions & Answers:
download mp3 file on server in iphone
download mp3 file on server in iphone  I want to download mp3 file on the server in iphone......plz help me give me the demo code
upload and download mp3
upload and download mp3   code of upload and download Mp3 file in mysql database using jsp and plz mention which data type used to store mp3 file in mysql database
Advertisements
Playing mp3 file in Java...
Playing mp3 file in Java...  I created frame with play and stop buttons and added separate ActionListener to those buttons but i can't stop the music while playing
FTP Server : Download file
This tutorial contains description of file downloading from the FTP server using java
file download
file download  I uploaded a file and saved the path in database. Now i want to download it can u plz provide code
uploading audio file iphone
uploading audio file iphone  uploading audio file iphone
File Download in jsp
File Download in jsp  file upload code is working can u plz provide me file download
Download PDF file
Download PDF file  How to download PDF file with JSF
add plist file iphone sdk
add plist file iphone sdk  how to add plist file in XCode
add plist file iphone sdk
add plist file iphone sdk  how to add plist file in XCode
File Download Security
File Download Security   Hello, I trying to create an application in PHP to prevent or provide file download security. So, I need the help of senior... files downloading. Please read this article about File Download Security
csv file download
csv file download  Hello Every one, when user clicks download button I want to retrieve data from mysql database table in csv format using java.if you know please send code. Thanks in Advance   Please visit
Application server to download
Application server to download  Which Application server can be downloaded for free to use personally at home to practice JSP,EJB etc
Uploading and download pdf or .txt file.
Uploading and download pdf or .txt file.  I want admin user to upload pdf file into database and the users can download those pdf format from database
how to download a file from a folder??
how to download a file from a folder??  i can upload any kind of files to a folder, and only the path of the file is saved into the database, now how a client can download the file from my folder. pls provide me the jsp code
How to upload and download file in hadoop?
How to upload and download file in hadoop?  Hi, I am trying to learn to upload the file on the Hadoop HDFS and then download the same file for learning the process. How to upload and download file in hadoop? What
Download.
Download.  I need a swing program to download a file from the server
upload and download a file - Java Beginners
upload and download a file  how to upload a file into project folder in eclipse and how to download the same using jsp   Hi Friend, Try the following code: 1)page.jsp: Display file upload form to the user
how to create a php script to download file
how to create a php script to download file  php script to download file
jsp upload file to server
jsp upload file to server  How to create and upload file to server in JSP?   Find the given example that explains how to upload single and multiple file on server using JSP
ModuleNotFoundError: No module named 'django-file-download'
ModuleNotFoundError: No module named 'django-file-download'  Hi...: No module named 'django-file-download' How to remove the ModuleNotFoundError: No module named 'django-file-download' error? Thanks   Hi
Where to download spring framework zip file?
Where to download spring framework zip file?  Hi, I am trying to find the link to download the full distribution zip file of the Spring Framework.... Can anyone tell me the url from where I can download the full zip file
Uploading File on Server
Uploading File on Server  Hello, Can someone explain or suggest example. How do i uploading files on the FTP Server. Thanks
problem in creating create .ipa file in my iPhone app
problem in creating create .ipa file in my iPhone app  Hi, does anyone have idea on how to create a .create .ipa file for my iPhone / iPad application? Also do i need to delete the previous build to create .ipa file? Thanks
Capture browser file download event - JSP-Servlet
Capture browser file download event  Hi, I appreciate your help and thaanks for that.But my question was when filedownload dialog box comes in browser,how we can come to know that user has clicked on Open,save or cancel button
how to create a php script to download file from database mysql
how to create a php script to download file from database mysql  how to create a php script to download file from databse mysql
I need Oracle connector jar file. where will i download?
I need Oracle connector jar file. where will i download?  I need Oracle connector jar file. where will i download
how to create a php script to download file from database mysql
how to create a php script to download file from database mysql  how to create a php script to download file from databse mysql
download xml file from website using java code
download xml file from website using java code  how to download xml file from website using java code
How to download and save a file from Internet using Java?
How to download and save a file from Internet using Java?  How to download and save a file from Internet using Java
uploading file to tomcat server
uploading file to tomcat server  please tell me how to upload a file to the URL "http://192.168.12.7:8000/tomcat-docs/" ? thanks

Ads