Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8019735
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:28:56+00:00 2026-06-04T21:28:56+00:00

I’m getting a strange issue on Android ICS, I have the following code to

  • 0

I’m getting a strange issue on Android ICS, I have the following code to stablish a connection to read an xml file:

// previous code......

URL url = new URL("https://urltomyxmlfile.com/xmlfile");
SAXParserFactory spf = SAXParserFactory.newInstance();
SAXParser sp = spf.newSAXParser();
XMLReader xr = sp.getXMLReader();
XML_handler myXML_handler = new XML_handler();
xr.setContentHandler(myXML_handler);

HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setConnectTimeout(5000);
connection.setReadTimeout(25000);
connection.setDoInput(true);
connection.connect();
InputStream input = connection.getInputStream();
xr.parse(new InputSource(input));

//more code....

This code works properly in all android versions both wifi and 3G but in Android ICS only works with wifi, on a 3G connection I’m getting a 403 response.

I can’t figure the origin of this issue, Am I not properly configuring the connection? Is there any new restriction in Android ICS? problems with https?

Extra info: this code is not running in the UI-thread

Thanks for your help!

New Extra info: I have discovered that only Samsung Galaxy SII users are experiencing the issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:28:57+00:00Added an answer on June 4, 2026 at 9:28 pm

    Finally I got the answer!!!, it was not code related.

    Spanish carrier ORANGE is selling terminals and sending OTA updates with a wrong APN configuration. Please find pasted below the correct APN configuration to avoid this issue for the main Spanish Carriers (Vodafone, Movistar, Orange, Yoigo and Simyo)

    VODAFONE ES-INTERNET

    Nombre: Vodafone ES
    APN: airtelwap.es
    Proxy: No establecido
    Puerto: No establecido
    Nombre de Usuario: wap@wap
    Contraseña: wap125
    Servidor: No establecido
    MMSC: null
    Proxy MMS: No establecido
    Puerto MMS: No establecido
    MCC: 214
    MNC: 01
    Tipo de APN: default

    MOVISTAR -INTERNET

    Nombre: Movistar
    APN: telefonica.es
    Proxy: 10.138.255.133
    Puerto: 8080
    Nombre de Usuario: telefonica
    Contraseña: telefonica
    Servidor: No establecido
    MMSC: No establecido
    Proxy MMS: No establecido
    Puerto MMS: No establecido
    Código País del Móvil (MCC): 214
    Código de Red Móvil (MNC): 07
    Autentificación: No establecido
    Tipo de APN: internet

    ORANGE -INTERNET

    Nombre: Orange Internet
    APN: internet
    Proxy: No establecido
    Puerto: No establecido
    Nombre de Usuario: cliente
    Contraseña: amena
    Servidor: 62.36.225.150
    MMSC: No establecido
    Proxy MMS: No establecido
    Puerto MMS: No establecido
    MCC: 214
    MNC: 03
    Tipo de APN: default

    YOIGO-INTERNET

    Nombre: Yoigo
    APN: internet
    Proxy: 10.08.00.36
    Puerto: 8080
    MMSC:
    Proxy MMS:
    Puerto MMS:
    MCC: 214
    MNC: 04
    Tipo de autentificacion: PAP
    Tipo de APN: Internet

    SIMYO -INTERNET

    Nombre: SimyoInternet
    APN:gprs-service.com
    Proxy: No establecido
    Puerto: No establecido
    Nombre de Usuario: No establecido
    Contraseña: No establecido
    Servidor: No establecido
    MMSC: No establecido
    Proxy MMS: No establecido
    Puerto MMS: No establecido
    MCC: 214
    MNC: 19
    Tipo de APN: default

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
In my XML file chapters tag has more chapter tag.i need to display chapters
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
We are using XSLT to translate a RIXML file to XML. Our RIXML contains
I have a reasonable size flat file database of text documents mostly saved in
I'm parsing an XML file, the creators of it stuck in a bunch social
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I am using parse_ini_file to read the contents of a file however it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.