Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-21-2012, 06:36 PM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 920
spiderguy84 is on a distinguished road
Default Audio From Webview in Background

My app has a simple webview that populates from a podcast xml. When you click on the episode, it is simply a link to the .mp3 and starts playing the audio from within the webview. This seems to be a bit different than the scenarios in which they give for playing audio in the background of an app. What would be the best way to get mine to continue to play audio in background?
__________________
My latest app...i Miss Mommy
spiderguy84 is offline   Reply With Quote
Old 01-21-2012, 10:53 PM   #2 (permalink)
Registered Member
 
panzeriti's Avatar
 
Join Date: Mar 2009
Posts: 323
panzeriti is an unknown quantity at this point
Default

Check out: Audio Streamer

I used this to develop a radio app. As long as the audio file is hosted somewhere, then you can stream it.
__________________
My Apps
panzeriti is offline   Reply With Quote
Old 01-22-2012, 11:10 PM   #3 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 920
spiderguy84 is on a distinguished road
Default

im kind of just wantin to play in webview but dont know how to set all stuff for audio in background
__________________
My latest app...i Miss Mommy
spiderguy84 is offline   Reply With Quote
Old 01-22-2012, 11:31 PM   #4 (permalink)
Registered Member
 
panzeriti's Avatar
 
Join Date: Mar 2009
Posts: 323
panzeriti is an unknown quantity at this point
Default

I see. What you need to do is kick off a background task. This thread on Stack Overflow shows a good example of starting/stopping a bg task.

Background Task
__________________
My Apps
panzeriti is offline   Reply With Quote
Old 01-23-2012, 09:26 AM   #5 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 920
spiderguy84 is on a distinguished road
Default

Quote:
Originally Posted by panzeriti View Post
I see. What you need to do is kick off a background task. This thread on Stack Overflow shows a good example of starting/stopping a bg task.

Background Task
Thanks
__________________
My latest app...i Miss Mommy
spiderguy84 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 394
10 members and 384 guests
7twenty7, Atatator, FrankWeller, glenn_sayers, guusleijsten, iphonedevshani, MAMN84, QuantumDoja, tim0504, VinceYuan
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,674
Threads: 94,122
Posts: 402,907
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Atatator
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:46 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0