[iPhone] Programmatically set proxy (for both wifi and gprs/umts)

Hi,
i'm new to iphone developing. I need to write an application which programmatically setup a proxy for all the available connections (that said, gprs/umts and wifi). This is for a leading phone operator.
Now, the standard Preferences.app (from what i understood) sets the proxy only for wifi connection. And the CFNetworkCopySystemProxySettings returns just that (and, moreover, i couldnt find any function to save proxy settings)
So my questions are :
1) is there any API i can use to read / write proxy settings for all the available connection types (network locations) ?
2) if not, there's a way to write directly to /private/var/Preferences/SystemConfiguration/preferences.plist ? i doubt .....
regards,
valerio

I did look at the Settings/Cellular to check the applications.  This is one of the steps I did with the person from Verizon who was an "iPhone Specialist".  And he didn't see anything unusual.  And I can honestly tell you they have very minimal number of apps on their phones.
When I went to the Apple Store the first time with this problem, they had me update the phones iOS systems to see if this would correct the problem.  They were each running older versions but different versions.  One son had one update to do and the other had a couple of updates needed.  So, the problem started before they were updated and they weren't even on the same update.  And nothing changed after we did the updates.
I didn't reboot the router and modem, because I'm not having any other issues with my phone, my husband's phone, our iPad, xbox, PS3, or laptops.  Would the wifi only affect their phones?

Similar Messages

  • Hello! My name is Vadim. I'm from Russia. I'd like to buy two iPhones 5, 64 GB: for my wife and myself. But I have a question to you. Will it work in Russia? How much will it cost for me? And how much will delivery cost to Russia? Thank you very much.

    Dear Sir or Madame,
    My name is Vadim. I'm from Russia. I'd like to buy two iPhones 5, 64 GB online, from your official website Apple: for my wife and myself. But I've a question to you. Will it (iPhone 5, 64 GB) work in Russia? How much will they cost for me? And how much will the delivery from America to Russia cost?
    Yours sincerely,
    Vadim Fedotov.

    iPhone 5 is not available unlocked in US  and
    Apple Store online does not ship outside the Country it operates
    You are best served waiting for the iPhone 5 to be announced in Russia
    through your Apple Approved carriers

  • Signals drop on iPhone 5s iOS 8.1 both wifi and network

    I am having the following problems since i updated to iOS 8.1 on my iPhone 5s 16GB model A1533 :
    1- My network signals drop to 3 dots and sometimes to 2 and stay there.
    2- Sometimes my wifi disconnects itself on my iphone for almost 4 or 5 seconds
    3- My battery is draining faster that ever. I turned off the use of fingerprint and found it useful but still my iphone consumes a lot of battery. I get my battery percentage dropped to 80% from 100% in just 20minutes of whatsapp usage. My fone's vibration is never on. Location services all off except find my iphone. Background app refresh also off. I tried everything. Erase all settings, hard reset etc. NO USE
    4- Playing games is really difficult. Battery drains very fast.
    I did not have these problems on 7.1.2. Need help
    Regards,
    Ahmad

    I understand that but I hope that people from Apple will be referring to the support groups and may actually think about that last paragraph.

  • Can SAP tax procedure be set up for both internal and external ?

    Hi all,
    Hoping to get some help from you here.
    Our current SAP system is set up with internal tax procedure, and we are planning to use Vertex as the external tax system. However, due to phase approach, we are planning to launch Vertex for part of the company codes and the rest of the company codes will stay with internal tax procedure. Is this possible?
    Thanks in advance for all your help!
    Best,
    Cyanna

    Hi,
    The tax procedure ia activated at country level. So this can cont be setup company code wise.
    Regards,
    SDNer

  • Set up for both SD and HD Monitors?

    It appears the time has come to integrate an HD monitor into my editing station. Here is the plan
    I currently have a Sony Trinitron PVM14L1 CRT Monitor for SD monitoring (going into/out from my Quad G5 through a Canopus ADVC 300 Converter)
    I have a 23" Cinema Display. My plan is to bring over the 20" Cinema Display I use on another computer to use as the HD monitor.
    So the question is...What do I need to add (PCI X cards, whatever) to integrate the 20" Cineman display as an HD monitor and still be able to switch back to the Sony for SD project monitoring? And...how does one switch back and forth between monitors for SD or HD Projects in FCP 6?
    Thanks
    Quad G5, Dual G5, Dual G4   Mac OS X (10.4.4)  

    Studio is right. The only way to monitor HD on your computer LCD (need the Apple 23" or a Dell 2407 for this) without a capture card is the MXO. The Decklink HD Link and AJA HDP both take an SDI signal and convert it to DVI...meaning that you need a capture card to connect them too.
    The MXO takes your already captured HD footage and outputs a true broadcast quality image to an Apple 23" display...giving you true color. Plus the new drivers allow you to properly cailbrate that monitor to bars, even giving you a BLUE ONLY option.
    The Intensity would require that you get an HDMI ready TV,and won't get you broadcast quality. Neither will the HD LInk or HDP. Only the MXO will get you broadcast colors on the LCDs.
    Shane

  • Using both WiFi and GPRS (not at the same time!)

    When at home I want my E71 to use the WiFi, probably also when available in hotels etc. but otherwise I want to use the GPRS data conenction. There doesn't seem to be any easy way to set things up so that the E71 uses the 'best' connection.
    Am I missing something or do I always have to select the connection method manually?

    Your not missing anything, its not there. If you want to change the connection an application uses you need to do it manually each time.
    The other option is to load an application such as this one.
    http://connect.psiloc.com/
    Message Edited by twopuds on 06-Sep-2008 07:04 PM

  • POP3 & IMAP Email setup for both Wifi & Cell use separately...

    Hello,
    I was asked to post info about this by an iPhone support rep.
    I initially had lots of trouble setting accounts for use with both my WiFi home and office networks and for use through the ATT cell network.
    If you have a question as to how to setup email for both WiFi and Cell use, answer is you can't configure these manually and you don't want to...the phone does this automatically...and seamlessly. (you will NOT see the change in the advanced settings menu, this occurs internally, the settings appear the same)
    The problem: Accounts changing settings automatically...when manually configuring two separate accounts with the same email address but trying to setup the outgoing settings for different ports...one for WiFi (your broadband server acct / port 587) and one for Cell (cwmx.com / port 25)...THIS WON'T WORK!! My WiFi configured email accounts would automatically switch to Cellular configured email accounts as long as they had the same email address. Even though I gave them different names, the phone looks at the "actual email address" and if they are the same it changes your configuration to match the other account (it does this by matching the account that was either ON or OFF first and as soon as you match the second account to that setting (either ON or OFF) the phone switches the settings to match the first account.
    The Solution: (End of the Story first for those who have or are facing this problem): Be sure to setup the email accounts for use with your WiFi account first (and ONLY), as when you leave the WiFi area or turn off the WiFi setting the email account will automatically reconfigure itself for use with the ATT Cellular network...then the settings will switch back when you re-connect to the WiFi area(s). The settings that you will "SEE" are your setup for WiFi, this will not change even when using the Edge network (at least not what is displayed in the "advanced" menu). You will still see Port 587, even though the phone is changing setups internally and changes back once back on a WiFi network, you just don't see the changes.
    *I hope this helps!*
    (more details below for those who might be interested and _for those who may be trying to setup using COMCAST Broadband_)...
    My issue began because I could not get my Comcast setup to work for outgoing email. So I was advised to setup for the Edge port settings by an iPhone support person from ATT...this was a huge error. Because I attempted to do this it actually kept the phone from smoothly converting settings as needed. I only discovered this after resolving the actual problem with my WiFi (Comcast Broadband settings) issue which was actually the setup that MUST HAVE a user ID and Password, at least when using a Comcast Broadband account. Unlike the rest of my XP and ME computers on my networks which do not require this info, the iPhone DOES.
    Because I could not get outgoing mail to work with my broadband setup I attempted to setup two accounts for each email address...one for Cellular and one for WiFi for when I would figure out my problem...or for just sending email more quickly. This does not work as the conflict causes a nightmare. This is something the iPhone support folks should have explained but failed to do so, perhaps as they didn't know this?
    Bottom line: Let the phone do the choosing...it works great and will avoid YOU wasting TWO DAYS and more than 12 hours on the phone with iPhone Support as I did. I eventually figured the port switching issues and solutions on my own through trial and error and luckily one bright iPhone support person advised me that he knew for sure that when using the iPhone with Comcast you must setup "outgoing settings" using an "ID" and "Password" which I was provided by Comcast in only a few minutes. I don't use their emial account but I setup one just for this purpose. Once done, my email accounts began working normally. Once I resolved the conflict issues listed above the phone now works great both WiFi and Cell.
    -Rich

    fullspool,
    Comcast offers an authenticating SMTP server that should work for you on WiFi and EDGE both.
    The settings are linked in this Apple knowledge base article:
    http://docs.info.apple.com/article.html?artnum=306074
    The Comcast link is:
    http://www.comcast.net/help/faq/index.jsp?faq=Emailtop18913
    From that link the settings are:
    Your email address: [email protected]
    The email server type (POP)
    Incoming mail server: mail.comcast.net
    Outgoing mail server: smtp.comcast.net
    With SSL on for both incoming and outgoing.
    Hope this helps,
    Nathan C.

  • Lost the ability to connect to both WiFi and Bluetooth on my iPhone 4S.  Any suggestions on how to fix this?

    Lost the ability to connect to both WiFi and Bluetooth on my iPhone 4S.  Any suggestions on how to fix the problem?

    Have you followed http://support.apple.com/kb/TS1559 ?
    Also try settings>general>reset>reset all settings
    If you have followed that article and restored your phone and set it up as new and you're still having that issue you may call and explain you followed the article and are still having the problem. Most likely they will either set up a replacement for you. If they ask you to set up the one time phone support agreement, and they assist you with a restore again, they won't bill you if they end up having to repair it.

  • How can I tether via USB my iPhone 4S with iOS 7.1.1 to my MacBook with Snow Leopard 10.6.8 and iTunes 11.2.2 ?? Please note that at the same time Personal Hotspot via both WiFi and Bluetooth works perfectly!

    How can I tether via USB my iPhone 4S with iOS 7.1.1 to my MacBook with Snow Leopard 10.6.8 and iTunes 11.2.2 ?? Please note that at the same time Personal Hotspot via both WiFi and Bluetooth works perfectly!

    Hello, lustige luka. 
    Thank you for visiting Apple Support Communities. 
    The Personal Hotspot feature using USB  should be as simple as connecting the device to your Mac via the USB cable when Hotspot is enabled.  Here is some more information regarding this feature and an article that will provide some troubleshooting steps if you are experiencing an issue. 
    iOS: Understanding Personal Hotspot
    http://support.apple.com/kb/ht4517
    iOS: Troubleshooting Personal Hotspot
    http://support.apple.com/kb/TS2756
    Cheers,
    Jason H. 

  • Advice on improving graphics for app for both iPad and iPhone

    I am creating an app for both iPad and iPhone 4 and it looks terrible on the iPhone 4.
    I have created the Flash File in Flash CS5.5 IDE with Movie Size 1024 x 768 and I am using the following AIR for IOS settings:
    Rendering: CPU
    Device: iPhone and iPad
    Resolution: High
    All my graphics are vector so I assumed that it would look crisp on both devices. It is not as perfect looking on the iPad as it appears on my PC monitor but I can live with it. I can't however live with the iPhone 4 appearance.
    I am therefore seeking advice on how to improve the iPhone 4 appearance.
    As far as I am aware, there is not a way to use 2 sets of graphics, one for each device. Please correct me if this is wrong and it would offer me a solution.
    Would doing all the graphics as PNG be a solution?
    Btw I am using AIR 3.2 SDK if that has any relevance and my graphics are static.
    Thanks in advance.

    Thank you for the swift reply Colin. I do not recall setting a stage.quality setting - is the default setting low?
    I did a quick google search and see this appears to be the code I need. I assume I put this in the first frame of my Flash movie?
    stage.quality = StageQuality.MEDIUM;
    Thanks
    Paul

  • HT4314 I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    I have a iPad and iPhone with the same Apple ID, but on Game Center I have used the same id for both devices and they are two different profiles and I was wondering how to have one of the accounts on both devices.

    Hi Jamesdwills,
    Welcome to the Support Communities!
    If you are using the same Apple ID on both devices, the Game Center profile should be the same.
    Check out this information from the iPad User Guide.  Try signing out of the Game Center on both devices and then sign back in with the correct Apple ID:
    Using Game Center
    http://support.apple.com/kb/ht4314
    Game Center settings - iPad User Guide
    http://help.apple.com/ipad/7/#/iPad9a13d039
    Game Center settings
    Go to Settings > Game Center, where you can:
    Sign out (tap your Apple ID)
    Allow invites
    Let nearby players find you
    Edit your Game Center profile (tap your nickname)
    Get friend recommendations from Contacts or Facebook
    Specify which notifications you want for Game Center. Go to Settings > Notifications > Game Center. If Game Center doesn’t appear, turn on Notifications.
    Change restrictions for Game Center. Go to Settings > General > Restrictions.
    Cheers,
    - Judy

  • I recently purchase an ipad2.  I also have a mac laptop.  Now, when I facetime call using my iphone to my ipad2 or mac, it states busy.  how can i fix this problem?  I have the same apple id e mail for both ipad2 and mac.  it might be getting confuse now.

    I recently purchase an ipad2.  I also have a mac laptop.  Now, when I facetime call using my iphone to my ipad2 or mac, it states busy.  how can i fix this problem?  I have the same apple id e mail for both ipad2 and mac.  it might be getting confuse now.  I want to be able to face time also using my ipad2 to my laptop especially if one of the members of the family is traveling.  Thanks.

    thanks.  your answer was correct, clearer.  I have another question, maybe you can answer.  I just purchase my ipad2 2 days ago.  yesterday, there was a sound.  today there is no sound.  there is a sound only in movies and you tube and music.  but no sound on all apps and keyboards.  I look it up and seems like ther are few that have this problem.  I called walmart coz I bought it there and they told me that they have not heard that before but if I can't fix it, just return it and exchange it with anew one since I have 14 days to do that.  I tried rebooting it and still won't work.  Should I just restore it?

  • I have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??

    i have two iphone one is iphone 5 and othere is iphone 4 . can i use same id for both ? And do i have to purchase the application again for iphone 4 which i have buyed for iphone 5.??

    You can use the same Apple ID for both phones, you would then be able to use the purchased Apps/Content on both phones without having to pay again.

  • How do I set up a POP account that links to my business email account for both receiving and sending

    How do I set up a POP account that links my icloud email to my business email account for both receiving and sending?

    Can you post your Troubleshooting Information?
    Help (Alt-H) - Troubleshooting Information

  • How do I set up my iPhone as a modem for my computer and my iPad ?

    How do I set up my iPhone as a modem for my computer and my iPad ?

    Thank you. Does this mean I can get rid of the mobile modern on my computer and the pre paid sim card in my iPad if I choose? (data and plan considerations aside) 

Maybe you are looking for