Let the virtual meego tablet fly. Build a meego tablet development and testing platform in real-world Oracle virtualbox

Source: Internet
Author: User

BackgroundLast year, I installed the meego netbook on the open-source Oracle virtualbox. It seems that the speed is good and it is much better to use than the meego simulator (emulator) in qemu. After the beta version of meego tablet was released at the beginning of the year. I always wanted to build a meego tablet development and testing platform in Oracle virtualbox. But it has never been successful. The installation of img/ISO from meego ended with a black screen no matter how debugging was done. At the moment, I couldn't find out at which intersection I was wrong. The meego flat image is not released for a long time. There are few resources on the Internet, and Google cannot find any clues to solve the problem after there is a problem. I have asked a lot of the same questions on the Internet, but there is basically no access (maybe I have not had time to share it ). However, the progress in this area is too important. In the growing pain phase from the birth of meego tablet to the gradual growth of feathers, it is just a quick word to seize emerging markets. Using the virtual meego tablet platform to develop applications and pass intel appup certification to be received, without any flat hardware or time-consuming drivers Development, you can start work immediately, it can be said that it is an economical and feasible way to explore the depth of the water in the meego River. I don't know if Android and IOs can provide such opportunities. After that, I found the following "Honey nationality" to share with you. Speak louder. Let's get started.   HardwareI have been using Lenovo t61 for many years. Although I was ridiculed as an outdated device by a friend at IDF in Beijing, I still successfully set up a virtual meego tablet test platform that uses 4 GB hard disks, the test results are satisfactory. It is estimated that it is about 3-5 times faster than meego emulator in qemu. It is sufficient to develop and test the meego application. (As far as I know, the meego tablet emulator in qemu has not been reported, or has been published on a blog or blog, but I am too lazy to see it. If someone sees it, add a URL to share with you ). The following summarizes the hardware requirements:
  • 2g RAM
  • 4 GB hard disk space
  • Middle-end books bought three years ago.
  • The installation process is like installing a MS Office 2007.

The above is based on my own experience. First, I have not read any release notes and so on.

 Download and install Oracle virtualbox

First download software to the official website of Marshal: Download virtualbox. (http://www.virtualbox.org/wiki/Downloads) download and installation before of course to accept Oracle use open source virtualbox terms. I used virtualbox 4.0.6 for Windows hosts (only to find that Oracle virtualbox is also cross-platform. Windows, apple, Linux, and Solaris ). After the installation is complete, complete the installation steps.

Create an oracle virtualbox compatible meego Image

If you have played virtualbox, I am afraid that you have downloaded the ISO file and installed it at meego.com. You can try it and see how lucky it is. Warm up (if you are not as sweaty as I do ). Here I will introduce the shortcuts to getting the latest meego development image. We went directly to the backyard of meego.com and went to the repository of meego below to catch the latest package:

 Http://repo.meego.com/MeeGo/builds/trunk/latest/images/meego-tablet-ia32-qemu/

Decompress the package with WinZip or WinRAR. You will see the following four files:

 

 Convert the raw image of meego to the vdi image of virtualbox

The following are some tips. I have introduced some of my colleagues, but I have been using it for many times. In this case, we use the virtualboxmanagement tool (vboxmanage.exe) of Oracle to directly convert the raw image of meego's disk to the VDI image (virtualbox disk image (VDI) of oracle ). This removes the need for traditional ISO/IMG-based installation. When you install Oracle virtualbox, this tool is placed in the installation folder C:/program files/Oracle/virtualbox of virtualbox). If you are solving the. dll disappearance, you can copy vboxmanage.exe to your favorite folder for conversion. I tried it several times but always encountered an error. dll could not be found. Therefore, the following steps should be taken to abandon the traditional practice:

  • Copy the decompressed meego folder (that is, the folder containing. Raw to C:/program files/Oracle/virtualbox. For convenience, you can name the folder meego.
  • Run as administrator to start the DOS window and then CD to C:/program files/Oracle/virtualbox
  • As the meego version is constantly updated, the version number changes once in a few days. But the format is nothing more than meego-tablet-ia32-qemu-$ {version}-SDA-raw. My version is 1.1.99.4.201102.16.4 of July 4. You only need to add your version number and then execute the following command:

C:/program files/Oracle/virtualbox & gt; vboxmanage convertfromraw meego/meego-tablet-ia32-qemu-1.1.99.4.20110426.4-sda.raw meego/meego-tablet-ia32-qemu-1.1.99.4.20110426.4-sda.vdi

The terminal output is shown below:

Converting from raw image file = "meego/meego-tablet-ia32-qemu-1.1.99.4.20110426.4-sda.raw" to file = "meego/meego-tablet-ia32-qemu-1.1.99.4.20110426.4-sda.vdi "...

Creating dynamic image with size 3145728001 bytes (3001 MB )...

After the conversion, prompt returns to C:/program files/Oracle/virtualbox>

Congratulations! You have created an oracle virtual VDI Image Based on the latest meego operating system image. After completing this step, you can put the generated VDI file (about GB) in the desired place (note, the same VDI image can also be used in virtualbox on Linux and other platforms ).

Set the Linux version in the virtual heap

Unlike traditional meego virtual machines (fedora was always used in the past), this time we chose operating system as Linux and version as Linux 2.6.

Memory settings

My computer has 2 GB of memory. I chose 359 MB, and it runs well.

Virtual hard disk settings

Disk storage is required. You must select the VDI disk image created above. To make full use of the CPU virtual technology, you need to confirm that the VT option in virtualbox is to be selected (If your current VT has not been enabled, you can go to the BIOS to start, the general version, VT has long been available ).

Start PAE

Start VT and nested Paging

 

Next, check your options.

Check virtual machine setting parameters

You can start the virtual meego tablet.

 

The system loads three GB of files, which is always time-consuming. Wait for a while:

In the meego virtual flat operating system, the touch screen must replace the finger with a mouse. At this point, I don't understand it for half a day. The screen displayed on the date above is helpless for half a day until someone else directs me. Let's start to use the mouse to replace your finger. Move your mouse over a lock icon area in the middle of the right of the screen and press the left button. You will see a Blue Crescent. Now, let's hold down the left mouse key and pull it to the left. It's amazing. You can pull out the meego menu:

If you are using a meego tablet, just press the white lock icon on your finger and pull the menu with a few clicks. However, there is no big difference. I compared the Virtual Machine with my physical machine shoulder to shoulder, there is no big difference:

If you are too familiar with windows, every time you start an application (whether it is photo album management, video player, email, or web browser), you will find that it seems like you are driving into a one-way street without exit, open an application without knowing how to turn it off. There is a sense of endless response. If you are as stupid as me, you will immediately start to find the familiar and essential X in the upper right corner. Unfortunately, you cannot find a place! Because we want hello, touch screen, bye, window.

If you often play iPhone or iPad games, you can press the Home Key to close an application. You may feel a little bit. You may have thought about where the home key is actually located? Instead of the small "X" of window. Let's take a look at the Home Key of the virtual meego platform:

That's right. The "window" key is the Home Key of the virtual meego tablet. Press "Windows" to exit any currently running application and enter the following interface. The top menu is the menu. You can click the shortcut menu on the left and the full menu on the right. The following rows are running and Open Applications (here, you can see that the terminal application is running ):

Click the full menu on the right to go to the meego tablet operating system interface. As your application grows, the menu is displayed up and the page number is displayed below, which is no different from the iPad. In the virtual meego, you can drag the mouse down to drag other pages:

You canMeegoThe flat interface automatically captures the keyboard and mouse. To return to your Windows host, use the ctrl key on the right:

VirtualMeego TabletPlatform andWindowNetwork Connection of the master machine 

Because the Intel App Store (appup) first provides the meego app SDK and balancer on the Windows platform. The most idealMeegoApplication Development uses meego SDK (currently version 1.2) and Windows appup SDK on Windows, and then pushes the application to the virtual meego tablet for testing and appup authentication. Therefore, the network connection between the virtual meego tablet platform and the window host is required. Of course, if you have specific development goals, such as the tablet of a PC manufacturer, you can also directly test the tablet on the physical machine. The connection methods are similar. Follow these steps to establish a network connection:

  • Start Oracle virtualbox, and then setting-> Network

Select "Host-only adapter" as the network adapter attached to, and change "name:" To virtualbox host-Only Ethernet adapter. start the meego tablet, start the client, and use the ifconfig command to determine the meego tablet virtual OS IP Address:

  • Start winscp (if you do not have it, download it here ). Remember that the port here is 22, and the password of meego is meego (we will introduce how to directly push the application to virtualbox in QT later ):

After the connection is established, you can install the required development kits, sdks, and applications into the virtual machine:

PushQtApplication(App)The virtualMeego TabletDevelopment and testing platform

Wait for the next decomposition. Wait for a chance to package the tested C ++-based QT application and javascripts-based qml application, and how to use the Intel appup App Store's meego SDK application, authentication and submission for testing. Let's share it with you. If you have been to meego.com, you can find the answer, but you have to invest a lot of time.

Okay. If you have successfully built a virtual meego tablet Development Platform Based on this article, congratulations !. Smile. SmileMeego,AppupPioneer!

 

 

Source: http://g.csdn.net/5183354

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.