Discussion Board

Results 1 to 13 of 13
  1. #1
    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 nyerunkar's Avatar
    Join Date
    Jun 2010
    Location
    India
    Posts
    200
    give all access to application..from application setting
    thanks & Regards.
    Nilesh

  3. #3
    Registered User prssupe's Avatar
    Join Date
    Dec 2009
    Posts
    376
    Or you may push the acess in push registry

  4. #4
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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
    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 nyerunkar's Avatar
    Join Date
    Jun 2010
    Location
    India
    Posts
    200
    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
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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
    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
    Super Contributor r60600's Avatar
    Join Date
    Feb 2004
    Posts
    1,980
    Had better put
    HttpConnection hc = (HttpConnection) Connector.open(url);
    in try{} function.

  10. #10
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    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
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  11. #11
    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 im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    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
    (Poster of the Month -Dec'12)
    Follow me on my blog for Innovative Mobile Apps

  13. #13
    Nokia Developer Champion traud's Avatar
    Join Date
    Mar 2003
    Posts
    3,896
    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. cannt change menu icon files->nokia c1-01
    By andy9232 in forum Themes/Carbide.ui
    Replies: 2
    Last Post: 2013-04-20, 12:37
  2. nokia C1-01
    By wicky439 in forum General Development Questions
    Replies: 10
    Last Post: 2011-05-17, 08:31
  3. how can i put themes on my Nokia C1-01?
    By march21 in forum Mobile Design and User Experience
    Replies: 4
    Last Post: 2011-02-10, 12:00
  4. j2me HttpConnection download fails
    By barbeNoire in forum Mobile Java General
    Replies: 11
    Last Post: 2010-07-26, 07:53
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved