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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-30-2009, 03:32 AM   #3 (permalink)
Artem
Registered Member
 
Join Date: Jun 2009
Posts: 39
Default

I have a quite large gps navigation app and during track recording user is allowed to take a photo. So, once I've got an image I store it in sqlite database (or file, doesn't matter). Also, there is NSOperation continuously running in background, so whenever it discovered not uploaded photo it sends HTTP POST request with this photo. When it has done with upload it checks for a new one, etc. If no photos are in 'queue' it pauses NSThread (background one) for some time and then checks again.
Artem is offline   Reply With Quote
 

» Advertisements
» Online Users: 751
19 members and 732 guests
AppAnnex, carpi, dfvdan, Domele, Gurpartap Singh, her-ur, jjig99, juggler, kiancheong, melmoup, nathanrose, nidie, Pavel Volobuev, PetarPM, phackdat, sneaky, Tambourin, V_SC&, Xaron
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,836
Threads: 89,209
Posts: 380,643
Top Poster: BrianSlick (7,129)
Welcome to our newest member, abbylowin
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.