×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Re: nokia C1-01

    when i try to post the HTTPConnection throws a java.io.IOException in nokia c1-01.....
    the gprs connectivity works fine i've tried to access google.com in the browser and it works fine

    The program works fine in the emulator and i've also tested on sony ericsson phones (hazel j20i and naite j105 )..

    I can't seem to figure out what the problem is.... on my nokia c1-01

  2. #2
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: nokia C1-01

    give all access to application..from application setting
    thanks & Regards.
    Nilesh

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    376

    Re: nokia C1-01

    Or you may push the acess in push registry

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: nokia C1-01

    Quote Originally Posted by dsrpraveenvarma View Post
    when i try to post the HTTPConnection throws a java.io.IOException in nokia c1-01.....
    the gprs connectivity works fine i've tried to access google.com in the browser and it works fine
    Hi and welcome to the Forum Nokia Di Bo,

    Well IOExceoption is thrown If some other kind of I/O error occurs. Please try to debug the code and find which line is causing the exception. You can use the println statements to find the exact line.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  5. #5
    Registered User
    Join Date
    Mar 2010
    Posts
    3

    Re: nokia C1-01

    Quote Originally Posted by raj_J2ME View Post
    Hi and welcome to the Forum Nokia Di Bo,

    Well IOExceoption is thrown If some other kind of I/O error occurs. Please try to debug the code and find which line is causing the exception. You can use the println statements to find the exact line.
    HttpConnection hc = (HttpConnection) Connector.open(url);

    the above code geives a java.io.IOException

    Also the GPRS is working fine (tested from the browser).

    As i've mentioned in my previous post the same code is working without any exception on emulator and Sony ericson hazel
    So is there some setting on the nokia c1-01 that has to be set for the app to run a connection..

  6. #6
    Registered User
    Join Date
    Jun 2010
    Location
    India
    Posts
    200

    Re: nokia C1-01

    Quote Originally Posted by dsrpraveenvarma View Post
    HttpConnection hc = (HttpConnection) Connector.open(url);

    the above code geives a java.io.IOException

    Also the GPRS is working fine (tested from the browser).

    As i've mentioned in my previous post the same code is working without any exception on emulator and Sony ericson hazel
    So is there some setting on the nokia c1-01 that has to be set for the app to run a connection..
    your phone not allowing network connection for your URL...so check metwork setting
    & write statement in try-catch block
    thanks & Regards.
    Nilesh

  7. #7
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: nokia C1-01

    What is the URL you are trying to hot from the app, please share the same?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  8. #8
    Registered User
    Join Date
    Nov 2012
    Posts
    2

    Re: nokia C1-01

    Hi dsrpraveenvarma,

    I have the same issue with Nokia C1-01. The Nokia Emulator for S40 5th Edition and Samsung SGH-i637 Device with MSA-1 enabled (JSR-242) it woks fine...! But ...the Nokia C1-01 does not work, could you fixed the problem? Thanks in advance.

    It seems to me is something regard Certification, but I am not sure, the issues is in httpConnection, when I try to get json from my server, my list give me an error
    Last edited by davidguzmanartincell; 2012-12-21 at 05:40. Reason: misktake in comment

  9. #9
    Registered User
    Join Date
    Feb 2004
    Posts
    1,980

    Re: HTTPConnection fails on Nokia C1-01

    Had better put
    HttpConnection hc = (HttpConnection) Connector.open(url);
    in try{} function.

  10. #10
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: nokia C1-01

    Quote Originally Posted by davidguzmanartincell View Post
    Hi dsrpraveenvarma,

    I have the same issue with Nokia C1-01. The Nokia Emulator for S40 5th Edition and Samsung SGH-i637 Device with MSA-1 enabled (JSR-242) it woks fine...! But ...the Nokia C1-01 does not work, could you fixed the problem? Thanks in advance.

    It seems to me is something regard Certification, but I am not sure, the issues is in httpConnection, when I try to get json from my server, my list give me an error
    JSR-242 is not supported by Nokia C1-01 as its a Series 40 5th Ed. FP1 Lite SDK device.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  11. #11
    Registered User
    Join Date
    Nov 2012
    Posts
    2

    Re: nokia C1-01

    Quote Originally Posted by im2amit View Post
    JSR-242 is not supported by Nokia C1-01 as its a Series 40 5th Ed. FP1 Lite SDK device.
    But can I read

    http://xteloan.artincell.com/api/Clientes

    is an web api in json format, it works in emulator for Series 40 5th. Ed. FP1 Lite SDK Emullator, what I should do ?

    thanks

  12. #12
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: nokia C1-01

    Please check in other J2me apps are able to connect to internet via HTTP connection, check the network access settings of this app.

    Allow Network Access

    Check if the connection allowed - by putting a try catch and see what exception is thrown.
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  13. #13
    Nokia Developer Champion
    Join Date
    Mar 2003
    Posts
    4,105

    Re: nokia C1-01

    As the other replies state, first make sure to catch all exceptions to make sure not to face a SecurityException.
    Quote Originally Posted by dsrpraveenvarma View Post
    the gprs connectivity works fine i've tried to access google.com in the browser and it works fine
    Because Java MIDlets use a different Internet setting on some network operators, this does not make sure, your device is configured correctly. Please, go to your Nokia » Menu » Settings » Configuration » Personal settings » New or Options » Add new » Access point » Access point settings » Bearer settings » Packet data access point » instead of ‘internet’ enter the APN of your network operator. Then return to the main menu » Settings » Configuration » Preferred access point » select your newly created one.

Similar Threads

  1. nokia C1-01
    By wicky439 in forum General Development Questions
    Replies: 10
    Last Post: 2011-05-17, 08:31
  2. j2me HttpConnection download fails
    By barbeNoire in forum Mobile Java General
    Replies: 11
    Last Post: 2010-07-26, 07:53
  3. HttpConnection fails on x6
    By ritcoder in forum Mobile Java Networking & Messaging & Security
    Replies: 5
    Last Post: 2010-06-06, 09:03

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •