You can find an overview of the available arguments by clicking Help on the Profile Selector. The Arguments field allows you to add various command line options to the Opera Mobile instance you’re launching. If you want to change the Window Scale value after launching, you can do this as well through the dropdown menu in the bottom right corner of the Opera Mobile instance. The Profile Selector knows this and therefor launches the HTC One X Opera Mobile instance at 50% of its original size, while preserving the reported width, height, and devicePixelRatio values. the HTC One X profile triggers Opera Mobile to have a size of 720×1280px in portrait orientation, which is too tall to fit on my Dell monitor. This is useful when the spawned Opera Mobile instance has a larger height than the height of your computer screen and you want to make it fit inside: e.g. Window Scale allows you to display the full browser window at a percentage of its original size. To revert to the default value, simply click the Default or Reset button. If you need to set a totally custom UA string, then this can be done as well: launch Opera Mobile with any UA string setting, open opera:config, search for the Custom User-Agent property in the User Prefs section, give it your preferred UA string value and save. When running in tablet mode, the User Agent string is slightly different: Opera Mobi is replaced with Opera Tablet, so as to avoid that sites that use browser-sniffing send a mobile/small-screen optimised version to a large-screen tablet device. Available options are Default ( Opera Mobi on Win/Mac/Linux), Android ( Opera Mobi on Android), MeeGo ( Opera Mobi on MeeGo), Desktop (Opera Desktop). This option allows you to set a custom User Agent before launching an Opera Mobile instance. Figure 3: Multiple instances of the Opera Mobile Emulator with different screen sizes, orientations, and UIs User Agent String To learn more about the differences between these UIs and input modes they trigger, see the input modes section below. The Tablet option enables Opera Mobile’s tablet-optimized touch UI. The Touch option will give you our touch-screen phone UI, whereas choosing Keypad will result in our UI for phones with only keypad input. The User Interface section of the Profile Selector contains a dropdown menu with three options to choose from: Touch, Keypad and Tablet. As above, you can select options from the menu, add your own custom ones, and remove options as you see fit. In the same manner as screen resolution, you can choose the pixel density - which affects Opera Mobile’s default zoom factor and devicePixelRatio - using the dropdown menu in the Pixel Density section. You can also create your own custom resolutions using the Add button, and delete the existing ones using the Remove button. The screen resolution can be changed by choosing between the different options in the Resolution dropdown menu. Mobile phones and tablets come in varying shapes and sizes. Figure 2: The Opera Mobile Emulator’s Profile Selector Resolution Note that you can also tweak existing profiles via the Save/save as… button appearing below the selected profile, or delete them using the Remove button. When you’re all set, select the Add button under the profile selection box, choose a name for the new profile, and save it to the list. If you want to create a new profile, select the Custom option from the profile list and set the relevant options for Resolution, Pixel Density, User Interface, User Agent String, Window Scale, and Arguments. You can then start an Opera Mobile instance using the selected profile by clicking on the Launch button. The Profile Selector comes preconfigured with a series of popular phone and tablet device profiles, such as Samsung Galaxy S III, Samsung Galaxy Tab 10.1 and HTC One X. Here we will discuss the different options available in the Profile Selector. This Profile Selector allows you to spawn different instances of Opera Mobile on your desktop to accurately test different phone configurations, as seen in Figure 3. When you first open the Opera Mobile Emulator, you’re presented with the Profile Selector - see Figure 2. It’s a small, native application that’s easy to install on your desktop machine and runs exactly the same code as its mobile phone version - that way, you can be assured that what you’re seeing on your test environment is practically identical to the experience your end users will get. Our Opera Mobile Emulator for Windows, Linux and Mac makes things a whole lot easier. Making sure that your site looks great and works exactly as it should in mobile and tablet browsers can often be a tedious process - you typically need one or more physical devices, or some form of virtual machine emulating the whole operating system, and that’s just the start. Figure 1: Opera Mobile Emulator running on Mac Introduction
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |