HomeStoreForumsWikiiPhone Native AppsiPhone Apps modmyifone Downloadsmodmyifone Links








Cell Phone Reception

Go Back   iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion
Register FAQ Members List READ THIS Today's Posts Mark Forums Read

iPhone / iPod Touch SDK | Development Discussion SDK questions. A place for iPhone developers to post code snippets, discuss creating iPhone apps, and any other iPhone developing.


MMi Super Contest | 30 winners! Over $1500 in Prizes! Enter Today!

Discuss AppStore Apps! | MMi Cydia Repo Download Stats

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

2.1 Unlock|Jailbreak OS X | iPhone 3G Detailed Review w/Pics! | Developers - Port Your Apps to 2.0
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-20-2008, 02:32 PM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Modify plist files using an SDK app?

Well, it's been a long time since I've even attempted to code anything, so I'm going to ask for a little (or a lot of) help:

I want to write an app that goes and modifies the preferences.plist file on my company's iPhones. All I need this app to do it to open that file and add a couple lines into the appropriate spot.

Specifically I'm trying to add a proxy server setting under the settings for our custom APN. Obviously I can add the code in manually to a jailbroken phone, but I'd like a way to do it without jailbreaking all the phones around.

Can anyone help me out?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2 (permalink)  
Old 08-20-2008, 04:29 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 1.1.3
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,113
Thanks: 35
Thanked 181 Times in 146 Posts

I don't think it will be possible without jailbreak since a standard SDK application runs in a sandbox with restricted filesystem access.

What about using Apple's corporate configuration tools for the iPhone?
__________________
Starlight Computer Wizardry
Pocket-sized Development
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 08-21-2008, 08:23 AM
What's Jailbreak?
 
Join Date: Aug 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

Yeah that would be ideal, however even the enterprise config tool doesn't allow for a proxy server to be setup on any cellular data connections. It's a glaring omission, IMHO - We can't be the only company with a setup like this.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 08-22-2008, 05:30 PM
NetMage's Avatar
Developer
 
Join Date: Aug 2007
Device + Firmware: iPhone 1.1.3
Operating System: Windows XP / OS X
Location: Virginia
Posts: 1,113
Thanks: 35
Thanked 181 Times in 146 Posts

If you can tell me where the file is located, I could see if it is accessible via the iTunesMobileDevice API with a USB connection without jailbreak.
__________________
Starlight Computer Wizardry
Pocket-sized Development
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 09-05-2008, 05:05 AM
What's Jailbreak?
 
Join Date: Sep 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
How does one change the proxy server for iphone 3G on ATT?

@NetMage
the file that possibly needs modification is the the preferences.plist file in /private/var/preferences/Systemconfiguration

@Jeweibe
You said "Specifically I'm trying to add a proxy server setting under the settings for our custom APN. Obviously I can add the code in manually to a jailbroken phone, but I'd like a way to do it without jailbreaking all the phones around."

I want to do the same, however assuming it is a Jailbroken phone and one has access to the all the files and can change any file on the iphone. Which file would need to be changed and how?
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > 3rd Party Apps For iPhone | iPod Touch > iPhone / iPod Touch SDK | Development Discussion

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
Forum Jump

ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Dedicated Server Hosting by SingleHop - iPhone Wallpapers - iPhone forums | iPod touch forums, news, themes, apps, games, unlock, jailbreak community - ModMyiFone.com RSS Feeds - Contact Us - Link to us - Archive - Privacy Statement - - Top
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 05:08 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly