Created
November 10, 2012 22:20
-
-
Save archon810/4052743 to your computer and use it in GitHub Desktop.
BraveNewCode WpTouch Android tablets DGIF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Android Tablet support | |
Started 1 year ago by Anurag Bansal (24 posts) (6 users) Latest reply from Emilio Rivera This topic is one of your favorites [×] | |
THIS TOPIC IS NOT RESOLVED | |
ANURAG BANSAL | |
Licenses: WPtouch Pro (2 posts) | |
Posted 1 year ago ∞ | |
I would love to see the I pad theme to Android tablet users too. As of now, it shows a phone theme, not the I pad one. | |
Thanks in advance. | |
EMILIO RIVERA | |
Support Staff (12443 posts) | |
Posted 1 year ago ∞ | |
We plan on supporting other tablets going forward. WPtouch started with only iPhone support, so it's come a long way. Look for it in future releases. Thanks! | |
STEVENSPOHN | |
Licenses: WPtouch Pro (7 posts) | |
Posted 1 year ago ∞ | |
What you should do is change the UA String to "Android-Mobile" for phone. Honeycomb's UA string is just "Android" and should be served the desktop version of the blog. I have a Xoom and desktop works great if you can get past people's UA strings showing the phone version. | |
EMILIO RIVERA | |
Support Staff (12443 posts) | |
Posted 1 year ago ∞ | |
We're actually excluding Motorola Xoom and Galaxy Tab. You see the mobile theme on those devices? | |
ARTEM | |
Licenses: WPtouch Pro (64 posts) | |
Posted 1 year ago ∞ | |
You shouldn't be manually excluding devices - there is a universal fix to this described here: http://twitter.com/AndroidDev/statuses/53247823042461696: "Point the nearest webmaster at http://goo.gl/vWwVk and get them to tell all their friends." | |
The link it points to is: http://googlewebmastercentral.blogspot.com/2011/03/mo-better-to-also-detect-mobile-user.html. | |
DALE MUGFORD | |
BNC Design Guru (1525 posts) | |
Posted 1 year ago ∞ | |
Artem, at this time our user agent code isn't designed for more than one agent to test against. | |
The exclusion was more of a stop-gap to ensure that it wasn't loading on the two (popular) devices. | |
STEVENSPOHN | |
Licenses: WPtouch Pro (7 posts) | |
Posted 1 year ago ∞ | |
Dale, | |
Must be some issues then. Every blog I go to on my Xoom that has WPTouch installed serves me the mobile version. | |
DALE MUGFORD | |
BNC Design Guru (1525 posts) | |
Posted 1 year ago ∞ | |
WPtouch, possibly yes— over half the install base of the free version hasn't updated to our release containing that fix. | |
WPtouch Pro, not likely. | |
DALE MUGFORD | |
BNC Design Guru (1525 posts) | |
Posted 1 year ago ∞ | |
It can also be that while we are excluding them, they're being manually re-added in the custom users agents options. | |
ARTEM | |
Licenses: WPtouch Pro (64 posts) | |
Posted 1 year ago ∞ | |
Dale, now that the Galaxy Tab and many other tablets have been released, do you have an approximate ETA on the rewrite of the exclusion function to support the proper fix? I am getting hammered with support for this. | |
Additionally, I'd like to be able to show the full site - not the iPad version for such tablets. | |
DALE MUGFORD | |
BNC Design Guru (1525 posts) | |
Posted 1 year ago ∞ | |
Not sure what you're asking, Artem— are you saying that Tab's are still showing WPtouch Pro despite our exclusion code? | |
ARTEM | |
Licenses: WPtouch Pro (64 posts) | |
Posted 1 year ago ∞ | |
Dale, sorry, I meant the Galaxy Tab 10.1, which is a 10.1 inch super-slim Honeycomb version of the old 7" Tab clunker. Yeah, it shows the mobile site, so the workaround doesn't work for it. | |
But my point was that there are at least 10 different models of Android tablets out there now - you can't keep whitelisting them all forever. ViewSonic gTablet, Notion Ink Adam, ASUS Eee Pad Transformer, Acer Iconia, HTC Flyer and View 4G, Nookcolor, and the list goes on. | |
EMILIO RIVERA | |
Support Staff (12443 posts) | |
Posted 1 year ago ∞ | |
Artem, | |
The Galaxy Tab 10.1 is showing the mobile site because of Android in its mobile user agent string. If you must show your desktop site to users on that device try adding it to the exclusion list in /wptouch-pro/include/config.php by adding GT-P7100. If you'd like to exclude other tablets, search for their user agent strings and add a unique fragment of the UA to the exclusion list the same way. | |
But my point was that there are at least 10 different models of Android tablets out there now - you can't keep whitelisting them all forever. | |
There are plans to support other tablets in the future, for now you can exclude those that don't display WPtouch Pro well. Thanks. | |
ARTEM | |
Licenses: WPtouch Pro (64 posts) | |
Posted 1 year ago ∞ | |
Wanted to add Acer Iconia A500 "Mozilla/5.0 (Linux; U; Android 3.0.1; en-us; A500 Build/HRI66) AppleWebKit/534.13 (KHTML, like Gecko) Version/4.0 Safari/534.13" to the list, if you're maintaining one internally until it's fixed properly (just wanted to let you know the user agent). | |
ARTEM | |
Licenses: WPtouch Pro (64 posts) | |
Posted 1 year ago ∞ | |
Also, the Tab 10.1 (the new slim one) is actually GT-P7510, not GT-P7100. | |
A few more: | |
'TF101', // ASUS Transformer tablet | |
'GTablet', // ViewSonic GTablet tablet | |
'Adam', // Notion Ink Adam tablet | |
DALE MUGFORD | |
BNC Design Guru (1525 posts) | |
Posted 1 year ago ∞ | |
Thanks Artem. | |
DALE MUGFORD | |
BNC Design Guru (1525 posts) | |
Posted 1 year ago ∞ | |
We'll blacklist them for now until the code is re-written/support for them is offered. We're currently working on WPtouch Pro updates and WordTwit Pro. | |
ANDREWGIRDWOOD | |
Licenses: WPtouch Pro (2 posts) | |
Posted 9 months ago ∞ | |
Hiya - would like to revisit this since there are a few more popular Android Tablets (like the Transformer Prime) out there. | |
Ideally, I'd like to show my full desktop experience to an Android Tab but the mobile site to Android mobiles. Google now ensures that the word "mobile" is in the UA of phones and it's excluded from tabs (blog post) so this seems like a much smaller challenge now? | |
ARTEM | |
Licenses: WPtouch Pro (64 posts) | |
Posted 9 months ago ∞ | |
Been waiting for this for months - another vote from me here. | |
EMILIO RIVERA | |
Support Staff (12443 posts) | |
Posted 9 months ago ∞ | |
Hi Andrew and Artem, we'll be revising the code that handles this. We'll also need to look at preventing false positives that may happen when a device is not running the latest Android software. Thanks for your input. | |
Emilio, I don't see any indication that even 2-year-old devices didn't use the string Mobile in their user agent. The biggest problem is Android is treated right now the same no matter what just based on the keyword "Android". | |
EMILIO RIVERA | |
Support Staff (12443 posts) | |
Posted 9 months ago ∞ | |
Ok, thanks. We'll be taking a look at the user agent code and determine what's best to do there. Not to worry. | |
ANDREWGIRDWOOD | |
Licenses: WPtouch Pro (2 posts) | |
Posted 7 months ago ∞ | |
Hiya, | |
I was wondering whether we'd made any progress? Just talked to an Asus Prime (Android) user who was scolding me for serving them the iPad theme. Oddly they said they got the mobile theme if the came through Facebook! | |
Okay, putting that user aside - given the growth Android tablets (Kindle Fire!) - any updates? | |
EMILIO RIVERA | |
Support Staff (12443 posts) | |
Posted 7 months ago ∞ | |
Hi Andrew, | |
No updates to report on yet for this. You can add the Asus Prime's user agent to the exclusion list in wptouch-pro/include/config.php. | |
Oddly they said they got the mobile theme if the came through Facebook! | |
Odd indeed. On the same device (Asus Prime)? Are you running any cache plugins on your website by any chance? Thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment