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

  • Home
  • SEARCH
  • 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 6863787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:49:46+00:00 2026-05-27T02:49:46+00:00

I am developing an app for tablets like samsung galaxy, moto xoom and kindle

  • 0

I am developing an app for tablets like samsung galaxy, moto xoom and kindle fire.

My webview is not loading the desktop version of urls which I am giving.

I tried by setting the user Agent, but I dont know whats the exact “ua string” will solve my issue. When I took log of ua string I got the following

Code :

String ua = m_webview.getSettings().getUserAgentString() ;
Log.i("AboutActivity", "UA = "+ua) ;

UA String:

UA = Mozilla/5.0 (Linux; U; Android 3.1; en-US; GT-P7500 Build/HMJ37) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13

I read somewhere that I need to remove the “mobile” in the ua string but I didnt get “mobile” in the printed ua string.

I have tried the following ua string by adding desktop in it, even though its not coming

 String ua = "Mozilla/5.0 (Linux; U; Android 3.1; en-US; GT-P7500 Build/HMJ37) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Desktop Safari/534.13";
 mWebview.getSettings().setUserAgentString(ua);
  • 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-05-27T02:49:47+00:00Added an answer on May 27, 2026 at 2:49 am

    It might be that they know you are on a mobile phone because you have Android in the user agent. Try something more desktop browser looking such as:

    String ua = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/20100101 Firefox/4.0";
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a tablet app on a Samsung Galaxy Tab 10.1 (Android 3.2). The
Im developing an App which is going to be used on Samsung Galaxy SII
I am developing an Android app for tablets and not using the compatibility library.
I'm considering developing an app for Google App Engine, which should not get too
I'm developing an app that we will put on Android tablets on be used
Synopsis: I am developing a HTML5 web app that will allow tablets(iPad or Droid)
I am developing an EJB3-app, where I use stateless beans. It seems like the
I am currently developing an android app for phones and for tablets.I need to
I am developing a single application for both tablets and for handsets..My app is
I am developing an android app for android smartphones but want to support tablets,

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.