[Q] Faking Android Model for the Browser? - Captivate Q&A, Help & Troubleshooting

Hey, I'm trying to fake my Android model version in the browser - the primary reason being that I'm trying to download some games straight from EA's mobile site, and it doesn't give me any download options for the i897 besides The Game of Life. So, if I could fake it as a different Galaxy S model, I'm thinking some other games might show up. Any ways that I might be able to do this?

Seems like a job for build.prop.

Use a user agent switcher on firefox to change the user agent settings to a specific phone (maybe fascinate or vibrant). You can look up on google what some of the user agent settings should be. If you can download the apk this way you can just transfer it to your phone and install it. Never tried downloading from EA but this might work if they're using the browser to check the phone model.
Sent from my SAMSUNG-SGH-I897 using XDA App

Unfortunately every way I know of changing your user agent on the stock browser causes crashes. Just download dolphin hd browser. It's nice, free and has the option to change the user agent to a desktop computer if you want.

MikeyMike01 said:
Seems like a job for build.prop.
Click to expand...
Click to collapse
Ooh, this might be one worth toying around with.
somomomo said:
Use a user agent switcher on firefox to change the user agent settings to a specific phone (maybe fascinate or vibrant). You can look up on google what some of the user agent settings should be. If you can download the apk this way you can just transfer it to your phone and install it. Never tried downloading from EA but this might work if they're using the browser to check the phone model.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Don't know if it's a user agent thing, but I could certainly try it - I do wish it was easier to switch user agents on the default browser.
k2snowboards88 said:
Unfortunately every way I know of changing your user agent on the stock browser causes crashes. Just download dolphin hd browser. It's nice, free and has the option to change the user agent to a desktop computer if you want.
Click to expand...
Click to collapse
Now, non-default browsers can't use Flash, right? Not like I use it, but just curious.
Edit: Well, it looks like User Agent might be part of it, but I can't do any custom user agent strings with Dolphin or Firefox (much less the default browser, where I can't even find the setting even after I put in about:debug), just the default settings it provides.

Sorry I meant to use firefox on your pc to change the user agent so it looks like a mobile browser. The desktop version should have more options available in the extension (and shouldn't crash). I got a gameloft game this way and was able to download the apk, and then transfer it to my phone to install.
Sent from my SAMSUNG-SGH-I897 using XDA App

wondroushippo said:
Now, non-default browsers can't use Flash, right? Not like I use it, but just curious.
Click to expand...
Click to collapse
Sure they can.

somomomo said:
Sorry I meant to use firefox on your pc to change the user agent so it looks like a mobile browser. The desktop version should have more options available in the extension (and shouldn't crash). I got a gameloft game this way and was able to download the apk, and then transfer it to my phone to install.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
Yep, that worked perfectly, thank you!

Related

Why doesn't the Browser have user/desktop default option?

Google touts: desktop quality page displays...but the stock browser chooses the mobile site version by default! Makes no sense. All other browsers offer the desktop option.
(I know about 'about:debug'.....I'm talking about default.
Thanks
I believe its because on most mobile sites you can find what you are looking for faster then on the desktop version. Either way, I hate when I am directed to the mobile ones and more so now that we have flash (they don't show up on mobile view).
Exactly. Thing is its the 'google-android' browser. You'd think ...at least with Froyo/flash it'd be set at desktop by default.
Don't get it.
It has always had this option. Type about:debug in the address bar, then go to browser settings and at the bottom will be user agent string. Change it to desktop.
-------------------------------------
Sent via the XDA Tapatalk App
And websites going to mobile versions has nothing to do with Google or their browser. The web master of each site is responsible for this, and for not giving you a clickable link to the full version.
-------------------------------------
Sent via the XDA Tapatalk App
I know about that option... I'm talking about having it as a default. That process in addition to bring a pain in the ass...is short lived ...have to keep repeating it.
Well in that case is there any other phone on the market that gives you that option out of the box?
-------------------------------------
Sent via the XDA Tapatalk App
RogerPodacter said:
Well in that case is there any other phone on the market that gives you that option out of the box?
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
Nokia N900 loads all websites in full desktop view no matter what
What is Google supposed to do about this? The people designing the website are the ones that control how their site looks and if they want to detect what browser you are using and serve you a different design based on it then that's their choice.
I agree that a lot of mobile versions suck, but some are nice. If you want to fake what browser you are using, the debug option is for you.
Many sites have a link at the bottom of the page to load the desktop version. I can't think of any site that I have visited that did not have this option.
I'd just like the option to set desktop in the stock browser settings itself. As in all other browsers....especially with froyo.. I BELIEVE the pre-froyo browser had a settings check use or not use mobile site versions
skyfire browser has a handy button for defining & quickly altering this on it's adress bar.
there's a form of flash on there too, use that.

[Q] Dolphin HD user agent not working properly

So I recently returned my nook (defective) and my new one doesn't seem to use the user agents in dolphin correctly. No matter what I set it to, it seems to load the html version of gmail and the mobile verison of google (although its not even formatted correctly).
Has anyone else had this issue? I've tried reinstalling dolphin HD, but that doesn't seem to fix the issue.
Having the same issue on auto nootered 1.0.1
User agent is a mac no matter what I select in dolphin hd setup.
This is the same api that worked perfect on nootered 1.0.0
Sent from my LogicPD Zoom2 using Tapatalk
Mine has never worked properly. I would like to go to mobilemp4.com to watch movies but it says its only for mobile devices
The user agent works just fine. Make sure you set it to "desktop" if you wish to avoid the mobile versions of certain sites.
If I set it to "Android", sites that are capable of showing a mobile version will do so, otherwise you'll see the regular verion.
It's not a matter of not using it correctly. I experienced the same thing today. No matter which agent I told it to use it showed me the full version of sites.
If you have 1.0.1, I believe you can change the setting to Android user agent in the stock browser. Which is what Dolphin gets its "android" agent from.
The stock browser uses a Mac default user agent, but it can be changed in 1.0.1.
Is there any place the default browser can be downloaded at? I accidentally deleted it.
imnotoct said:
Is there any place the default browser can be downloaded at? I accidentally deleted it.
Click to expand...
Click to collapse
Here ya go. It should install via Package Installer.
http://db.tt/iapS3ab
I tried changing the settings in the stock browser but it had no effect in dolphin. I can't seem to get the user agent to work as iPad
wvcachi said:
Here ya go. It should install via Package Installer.
Click to expand...
Click to collapse
Link doesn't seem to work. Could you point me to another place where the default browser could be downloaded at?
psoulos said:
So I recently returned my nook (defective) and my new one doesn't seem to use the user agents in dolphin correctly. No matter what I set it to, it seems to load the html version of gmail and the mobile verison of google (although its not even formatted correctly).
Has anyone else had this issue? I've tried reinstalling dolphin HD, but that doesn't seem to fix the issue.
Click to expand...
Click to collapse
Same issue here. I've also tried all the suggestions listed in this thread and the browser still brings up mobile pages.
Sent from my rooted NookColor using XDA app
imnotoct said:
Link doesn't seem to work. Could you point me to another place where the default browser could be downloaded at?
Click to expand...
Click to collapse
Oops - link updated; it'll work now.
wvcachi said:
Oops - link updated; it'll work now.
Click to expand...
Click to collapse
Thanks a bunch!
Sorry to *bump*, but has anyone figured this out yet?
I've changed my user agent in stock browser (1.0.1) to "Mobile", rebooted, and checked to make sure Dolphin HD's user agent was set to "Android" ..
I've even tried changing Dolphin's user agent from Android to Desktop and back, but it still identifies itself as OSX.
This breaks google image search and other sites that expect a mouse/keyboard, and have no way of accessing the mobile version other than user agent detection.
wvcachi said:
Here ya go. It should install via Package Installer.
http://db.tt/iapS3ab
Click to expand...
Click to collapse
How do I install, I've tried installing apks that I download but it won't let me?
I'm also seeing the same behavior. I can switch user agents inside of the default browser between desktop and mobile just fine. Both change. But inside of Dolphin HD the user agent always reports as the desktop user agent from the default browser no matter the setting selected. I just sent an email to [email protected] to see if there is anything they can do.
The Nook isn't a standard platform for them I'm sure but hopefully they can help us out.
There's a Market app called User Agent Switcher that can be called up from within Dolphin - worked for me.
Dupe thread:
http://forum.xda-developers.com/showthread.php?p=10191718#post10191718
Having the same problem, always reports as desktop no matter what I switch it to.

Viewing pages as "Desktop" user agent

I have a Sprint tab and since I bought it I have been using Dolphin browser with user agent set to "Desktop".
It's always been my preference with Android devices to view full desktop versions of web sites as opposed to mobile versions.
For some reason (And this has been the case through a firmware update or two) some web sites won't see my tab as a Desktop device. Mainly www.bankofamerica.com but I've found others.
My Samsung fascinate does not have this problem. I'm wondering, does anyone know how I can fix that? I have root access on my tab.
cheers,
Collin
Have you tried this with the Miren browser? This one too had various user agent settings that can be changed on the fly... Check if it has the same behavior with this browser, it might work... Our not...
Sent from my GT-P1000 using XDA App
I use the iPad user agent and it went to the desktop version of the bank site you posted.
Very strange- I followed both of your suggestions. With Miren set to Desktop user agent and with Dolphin set to iPad user agent, I still get the mobile version.
0TheRain0 said:
Very strange- I followed both of your suggestions. With Miren set to Desktop user agent and with Dolphin set to iPad user agent, I still get the mobile version.
Click to expand...
Click to collapse
Are you manually entering the desktop URL for the title page of the site?
0TheRain0 said:
Very strange- I followed both of your suggestions. With Miren set to Desktop user agent and with Dolphin set to iPad user agent, I still get the mobile version.
Click to expand...
Click to collapse
I don't know what ROM version you are using, but I can tell you that when I got my Tab, I had precisely the same issue and the only way I was able to solve it was to flash to a later ROM.
Regards,
Dave
I use Dolphin HD set to Desktop and just went to that site this morning. No problems, except I forgot my password, lol. Got the desktop site.
Using stock Korean version, no roots, no mods.
Sent from my SHW-M180S using XDA App
samspunker said:
I use Dolphin HD set to Desktop and just went to that site this morning. No problems, except I forgot my password, lol. Got the desktop site.
Click to expand...
Click to collapse
+1 same for me.
Is there a way to change the user agent of the built-in web browser, using the stock ROM? I'd rather not have to install and use another web browser such as Dolphin.
onlinespending said:
Is there a way to change the user agent of the built-in web browser, using the stock ROM? I'd rather not have to install and use another web browser such as Dolphin.
Click to expand...
Click to collapse
I have same issue/question.

Full Website?

I'm using the stock browser. Wondering if there's some trick to force access to full sites on the internet...as opposed to the mobile version? I tried Dolphin browser, and its doing the same thing...
TIA
Sent from my SGH-I897 using XDA App
I don't quite understand your question. To force desktop versions there is a user agent control pretty sure it is not on the stock browser but it is definatley on dolphin under settings. If you have that set to desktop and its still loading the mobile sites then that that website has features that the user agent control cant trick and then just try another site.
Some sites force the mobile version anyway. They use your ip or something to know you are mobile. I don't know of any fix for that.
:edit: It can't be ip because it happens on wifi too

Getting sick of mobile sites!

Guys i got a problem with the browsing on the net with the xperia Z. It is so stupid that with every browser available out there on the store the phone still showes me the mobile version of the site even if the browser is set on desktop mode. I tried everything but it doesen't work so i figure there must be a problem with the phone because on my Galaxy S2 i did not have this problem. Can anyone tell me how can i solve this ?
The only browser that is kind of working is chrome but of course i don't have flash player. But hey it's great that we have HD screens and quad cores to view mobile sites, thang God that android doesen't force me to view WAP sites, would not be a surprize.
alexchris said:
Guys i got a problem with the browsing on the net with the xperia Z. It is so stupid that with every browser available out there on the store the phone still showes me the mobile version of the site even if the browser is set on desktop mode. I tried everything but it doesen't work so i figure there must be a problem with the phone because on my Galaxy S2 i did not have this problem. Can anyone tell me how can i solve this ?
The only browser that is kind of working is chrome but of course i don't have flash player. But hey it's great that we have HD screens and quad cores to view mobile sites, thang God that android doesen't force me to view WAP sites, would not be a surprize.
Click to expand...
Click to collapse
It is not the phone but the browser. Had it been phone, chrome will do the same isn't it.
Sent From XPERIA Z ::: Stock, Locked & Rooted ( SLR )
Just change it to desktop view in the settings and it will change.
See here....
Sent from my C6603 using xda app-developers app
Get Dolphin and change the user agent to desktop. Works fine.
Sent from my C6603 using xda app-developers app
Try www.realitatea.net with every browser available in play store with UA set to desktop the site still enters in mobile mode and like this site there are allot more. Try it and do jot set in the site web version. I am starting to miss my old Samsung
alexchris said:
Try www.realitatea.net with every browser available in play store with UA set to desktop the site still enters in mobile mode and like this site there are allot more. Try it and do jot set in the site web version. I am starting to miss my old Samsung
Click to expand...
Click to collapse
Not sure what Ur issue is. This looks like the normal not the mobile version of that side. So I got it on both of my browsers I have on my phone.
Sent from my C6603 using xda app-developers app
If u r here to badmouth the Xperia Z then please back it up. Because I just proved to u that that certainly isn't the mobile site of the site u provided. And I did it on both browsers on the Xperia Z.
Sent from my C6603 using xda app-developers app
What rom and fw are you using? On my phone I can't enter the desktop version doesen t matter what user agent I select and it is very annoying. And a tried every browser available on playstore.
I don t want to badmouth the xperia but for me this is a very frustrating problem! And i can t find an answer! Or maybe the answer is that every xperia is diffrent and mine is a rubish.
alexchris said:
What rom and fw are you using? On my phone I can't enter the desktop version doesen t matter what user agent I select and it is very annoying. And a tried every browser available on playstore.
I don t want to badmouth the xperia but for me this is a very frustrating problem! And i can t find an answer! Or maybe the answer is that every xperia is diffrent and mine is a rubish.
Click to expand...
Click to collapse
Here i show u how to enter it. There are two ways I show example in Google Chrome
First one go in menu it pops up this Window select request desktop site and it will reload it to the normal site or when in mobile site scroll all the way down and select desktop site in the mobile site itself looks.
Sent from my C6603 using xda app-developers app
Did u figure it out?
Sent from my C6603 using xda app-developers app
Yes i know what you are saying. My question is why the sites see my phone as a phone and not as a desktop when the UA is set to desktop mode. i know that site has a desktop version. anyway i will live it like that. After some tests i saw that chrome works with desktop mode but it doesen t support flash. Thank you for the tips anyway
Yes chrome doesn't support flash as android jelly bean normally don't but u still can make flash work on some other browsers like dolphin or Firefox. Well Ur phone primarily sent information online that makes sites see it as a mobile device. But u can make it switch to normal browser.
Sent from my C6603 using xda app-developers app
There are a few ways to get around this issue.
If you use chrome then you can install a file in the data/local directory that will change the user agent of chrome permanently. Just Google running chrome for android in permanent desktop mode, don't forget to set permissions and remove .txt from the file.
Your second option is to use Firefox and add a new string to override useragent in the about:config menu. Again Google using Firefox for android in permanent desktop mode.
Then relax. Restart your phone and try out your browser. You no longer need to have to tick desktop mode, it's done automatically.
Sent from my Brain via my Keyboard on my Xperia Z
dolphin - user agent - desktop
simple.
good browser but it does crash randomly from time to time whichever version of android you have.. :/
shoomacca said:
dolphin - user agent - desktop
simple.
good browser but it does crash randomly from time to time whichever version of android you have.. :/
Click to expand...
Click to collapse
Does it stay permanently in desktop mode and does it always work in desktop mode?
Sent from my Brain via my Keyboard on my Xperia Z
Stays in desktop mode. Most sites have it so you can change it to desktop version at the very bottom anyway.
If it changes when you update. Real easy to change back. Try it. Free
Sent from my Zzzz
I understand you. But there are quite a few sites that don't have the switch at the bottom. There are others then that do still detect a mobile browser even on ticked desktop mode. The way I have it done its permanent desktop always.
It's having to keep switching to desktop mode all the time gets annoying.
Sent from my Brain via my Keyboard on my Xperia Z

Categories

Resources