×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    14

    Getting Error : - 30180 in Nokia N97

    Hi,
    In one of my application i am getting response in xml format .I am converting that data into raw data using some spilt method.But it's working fine in emulator . But when it comes to real device (mobile) ,if i am converting xml into raw data ,it is showing message like this "Permission javax.microedition .io.HttpConnection".

    And also when i tried to print the xml response,it gives me -30180.

    Regards
    Susmitha

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

    Re: Getting Error : - 30180 in Nokia N97

    Quote Originally Posted by susmitham View Post
    Hi,
    1.But when it comes to real device (mobile) ,if i am converting xml into raw data ,it is showing message like this "Permission javax.microedition .io.HttpConnection".

    2.And also when i tried to print the xml response,it gives me -30180.

    Regards
    Susmitha
    1.How are you converting the XML in the row data?
    which device are you testing with?
    What API's are you using?
    Please share the complete alert shown by the device


    2.is that the XML response or the sever response?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

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

    Re: Getting Error : - 30180 in Nokia N97

    I am using Nokia N97 emulator for testing.
    I am converting xml data into raw data using my own spilt method.
    When i am testing N97 emulator data is coming in xml format and can able to convert it into raw data.
    It's working very well in emulator.

    But whereas coming into real device(nokia n97 phone),i am getting some error value Like - 30180 instead of xml response.
    I traced out all the responses by capturing it in a text file.


    The xml response i am getting is the respnse from server.

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Getting Error : - 30180 in Nokia N97

    paste the code of your split method so that we can debug it and see the error.

    thanks,
    ~Amitabh

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

    Re: Getting Error : - 30180 in Nokia N97

    Here i am pasting the spilt method code

    public String[] split(String a)
    {
    String b[]=new String[100];
    m=a.indexOf("<");
    a=a.substring(m+1);
    while(c!=-1)
    {
    i=a.indexOf(">");
    k=a.indexOf("<");
    j=a.indexOf("/");
    if(i!=-1)
    {


    if(j==(k+1))
    {
    b[c]=a.substring(0,k);
    c++;
    }
    a=a.substring(i+1);
    }
    else
    {
    //b[c]=a;
    break;
    }

    }
    return(b);
    }

    Regards
    Susmitha
    Last edited by susmitham; 2010-05-12 at 14:27.

  6. #6
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,087

    Re: Getting Error : - 30180 in Nokia N97

    Put a try catch on your split method to identify where it is failing.

    thanks,
    ~Amitabh

Similar Threads

  1. Infra-red capability
    By Symbian_Challenge_0412 in forum General Development Questions
    Replies: 1
    Last Post: 2005-08-16, 18:24
  2. Nokia Mobile VPN Client
    By marcyl in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2003-12-01, 14:47

Posting Permissions

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