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 > iPhone SDK Development - Advanced Discussion

Reply
 
LinkBack Thread Tools Display Modes
Old 09-07-2011, 07:17 AM   #1 (permalink)
Registered Member
 
Join Date: Jul 2011
Posts: 2
Andrey Mishanin is on a distinguished road
Default Transfer both files and metadata from device via iTunes file sharing

I'm designing an iOS app which will allow user to take text/photo/video notes and tag them with one or more text tags. As well as that I'm planning to add the ability to transfer created notes to PC or Mac via iTunes file sharing. So, the question is — what might be the best way to transfer tags from a device to a PC?

So, the ideal solution:
  • would require user to copy just note files themselves (with tags somehow embedded inside)
  • would work on both Windows and Mac OS X
  • would allow user to search notes by their tags using standard filesystem search in corresponding OS (Spotlight on Mac OS X, Windows search for Files and Folders - the one with the dog)

I won't be surprised if all these requirements can't be met at once but all suggestions are welcome.

What I've tried so far: On Mac OS X I tried to implement tags as HFS+ extended attributes using getxattr()/setxattr() functions. Extended attributes are set and read just fine on a device itself, however it seems that iTunes file sharing doesn't transfer them (xattr -l shows nothing for the same files transferred via iTunes). Of course this approach won't work under Windows at all.
Andrey Mishanin is offline   Reply With Quote
Reply

Bookmarks

Tags
file sharing, ios, itunes

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: 378
8 members and 370 guests
bignoggins, epaga, hussain1982, LunarMoon, omagod, Paul10, pinacate, skog
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,643
Threads: 94,110
Posts: 402,860
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Diligent
Powered by vBadvanced CMPS v3.1.0

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