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 8910501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:42:18+00:00 2026-06-15T03:42:18+00:00

I try work this out for some day and I just can’t figured out.

  • 0

I try work this out for some day and I just can’t figured out. I am programem for android and have class that get data from server. Everything works well if I am connected to WiFi, but if I turned WiFi off to Mobile connection it works only on few phones. (Works on Galaxy Note, don’t work on Galaxy Nexus and Galaxy 2)

code is very simple:

public void execute(DSRESTCommand command) throws DBXException {
    HttpClient client = null;

    HttpUriRequest method = CreateRequest(command);
    client = getHttpClient();
    HttpResponse response = client.execute(method);
    setSessionIdentifier(response);
    throwExceptionIfNeeded(response)
    String s = EntityUtils.toString(response.getEntity());

I tested this in debug mode and it turs it out that client and command are identical when it works and when it does not.

Only different that I can see in debug mode is response
string s whit WiFi on (and on Galaxy Note)look like :

 {"result":["Cube tree loaded ...  size: 3657",[60,63,120,109,108,32,118,...

whit WiFi off it looks like:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
    <card id="FEHLER" title="ERROR">
       <p>
        The requested item could not be loaded <br/>
        Wrong MIME-Type
       <do type="prev" label="back">
           <prev/>
       </do>

       </p>
      </card>
</wml>

Can anyone know why this happend ? Please help me out.

  • 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-15T03:42:20+00:00Added an answer on June 15, 2026 at 3:42 am

    I find the problem to my question. I will post it for those who has similar problem.

    It turned up to be the problem in mobile settings. All I have to do was delete Proxy from my APN in phone

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

Sidebar

Related Questions

I've been trying this for a day now and I can't work it out.
I have been Trying to figure this out for some time now. I have
I have been struggling to get this to work all day and finally got
I try to work with ctags and it simply doesn't work. I follow this
i try to work with spinner on dialog public class data extends Dialog {
I've been struggling all morning to try and work out how mod_rewrite works after
I try to register to C2DM but it doesn't work. I included com.google.android.c2dm in
I try to run the following raw query in android, it seems not work
I've spent so much time the last few days trying to work out some
At work I use ClearCase and SourceSafe, but have found some time to do

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.