Welcome to my blog, hope you enjoy reading
RSS

Tuesday 6 November 2012

how to test website google android on your pc



             The addon for the bowser is the User-Agent Switcher

For chrome:
             A.  To install the following addon click here.

             B. For add the new User Agents.



Create a user agent setting for your mobile device in User Agent Switcher.
  1. select  User-Agent Switcher for Chrome.  and  select the 'settings'.
  2. Select Custom User-Agents...
  3. Enter user agent values. For example ...

    New User-agent nameSamsung Android

    New User-Agent String Mozilla/5.0 (Linux; U; Android 2.2; en-gb; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

    * App Code Name: Mozilla

    * App Name: Netscape

    * App Version: 5.0 (Linux; U; Android 2.2; en-gb; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

    GroupAndroid/Ios/etc

    Append?select 'replace' if u want replace already exist user-agent                                                            select 'append' if u add new user-agent

    Indicator Flaggive any thing.  

    *Click  'add'  Button.     

For Firefox:
            A. To install the following addon click here.

            B. For add the new User Agents



  • From your browser, open the mobile version of a website. For example: Fark.com's mobile site is http://m.fark.com/
     
  • Web Developer setting: Resize > View Responsive Layouts
     
  • Create a user agent setting for your mobile device in User Agent Switcher.
    1. From the main menu, select Edit User Agents... to view the 'User Agents Switcher Options' window.
       
    2. Click the New button, and select New User Agent....
       
    3. In a separate browser window, do a google search to find the latest user agent strings for your phone. I went here for my Android user agent: http://www.gtrifonov.com/2011/04/15/google-android-user-agent-strings-2/
       
    4. Enter user agent values. For example ...

      * Description: Samsung Android

      * User Agent: Mozilla/5.0 (Linux; U; Android 2.2; en-gb; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

      * App Code Name: Mozilla

      * App Name: Netscape

      * App Version: 5.0 (Linux; U; Android 2.2; en-gb; GT-P1000 Build/FROYO) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1

      * Platform: Android

      * Vendor: Samsung

      * Vender Sub:
       
    5. Click OK to close the 'Edit User Agent' window.
       
    6. Click OK to close the 'User Agent Switcher Options' window.
       
  • In User Agent Switcher, select Samsung Android
     
  • Done.
  • 0 comments: