Build a computer pys60 software development platform

Source: Internet
Author: User

Step 1: Install Nokia s60 SimulationProgram

Three software is required here.
ActivePerl
: Http://www.onlinedown.net/soft/8364.htm
Follow the prompts to install (preferably drive C)

S60 SDK
: Http://www.forum.nokia.com/info/sw.nokia.com/id/4a7149a5-95a5-4726-913a-3c6f21eb65a5/S60-SDK-0616-3.0-mr.html

Note that three versions are available in three versions. Although the difference is not big, you 'd better select your own mobile phone version. Here I provide the FP1 version and FP1.
If there is a problem with downloading the Nokia official website, it must be registered, but it is free of charge. You need to fill in your email address and verify it. Then you can download it.
Follow the prompts to install the C drive.

Sun Java Runtime Environment
: Http://www.skycn.com/soft/27213.html
What about this software? I didn't say I want to install it in that tutorial, but if I don't install it, there will be a problem. The mobile phones virtualized by Nokia cannot be Chinese, and all Chinese are colloquial.
So install

Next, I will teach you how to make the mobile phone virtualized by the Nokia SDK into Chinese.

For example, after installing the Nokia SDK, you will find a change to Chinese in the program, but it is useless if you click it ?!
First, you must install the Sun Java Runtime Environment mentioned above.
In addition, you need to make a small modification.

Right-click the change to Chinese (a shortcut)
Modify the target path. The file is clearly in c: \ windows \ system32. It will be OK after modification. Do not change it later!
If it is still useless, search for the file in drive C to see where it is.

Running now
Start Menu -- s60 -- run emulater
In this way, the Nokia SDK is opened, which is a virtual phone (which has always been a white screen. Do not press any other buttons. At first I thought it didn't watch the machine and clicked the boot button. In fact, it is starting, and the speed is very slow. It will take about half a minute)

Step 2: Install python on our simulated mobile phone
This simulated mobile phone is basically the same as our mobile phone, but of course it is also different.
We open the root directory of the Nokia SDK program, and then open epoc32 \ winscw, which contains drive C and drive E. This is the two disks of the virtual phone. We can put something in it directly.
Naive me and many naive people directly installed the python installer on the machine. The installation was successful! I was so excited that I couldn't run it!
Because, this installation is wrong, and I don't know why...
Python also has a dedicated SDK, Which is customized for the Nokia SDK.

Python SDK
: Http://sourceforge.net/project/showfiles.php? Group_id = 154155
Open the page and click Download. Many files are displayed after the page is displayed.
Download the corresponding Python SDK Based on the Nokia SDK you just installed.
Three
Pythonfors60_rj4_5_sdk_3rded.zip
Pythonfors60_rj4_5_sdk_3rdedfp1.zip
Pythonfors60_00004_5_sdk_3rdedfp2.zip (fp2 is not released on the Internet. Ask fp2 users to use FP1 directly. Thanks to Chen ER for his testing and confirmation)

Download the package. decompress the package. Open the folder. view the package sdk_files.zip and uninstall_pythonfors60_sdk_3rded.cmd at the bottom of the page"
Decompress the sdk_files.zip file and copy the file "epoc32" to the Nokia SDK root directory.
This will prompt that a folder already exists and you can merge it directly.

The "uninstall_pythonfors60_sdk_3rded.cmd" is used to delete the python SDK.

Now, the installation is complete. Start the system now, go to the menu, and check the python running directory.

Then, how can we set PythonSource codePut it in and run it?

As mentioned above, there is a folder named drive C and drive E on the mobile phone, so you only need to put it there.
Go to the Nokia SDK root directory and go to \ epoc32 \ winscw \ c \ Python \
OK. Put it in.

Step 3: Install Python development tools
The platform has just been set up, and the script can be run after it is put in that folder, so the test efficiency is much higher than that of the mobile phone!
But what do you use to write Python programs?
Notepad ?...... You are humorous ~ But that's what I said in the post ~
In fact, there are better tools, which are of course the official Python computer development tools.

Python for Windows (please be sure to install it on drive C! Otherwise it will be troublesome later !)
: Www.python.org
Download version 2.5.2 in Windows (do not mention version 2.6 or even version 3.0. Those are test versions and there is a huge difference in syntax. 2.5.2)
If the speed is slow, you can search Baidu: "Python windows 2.5.2" can be downloaded everywhere.

After installation, go to the Start menu -- Python 2.5 -- open idle (Python GUI)
In this way, you can start writing Python sources.CodeNow, auto indent is supported, and the syntax is discolored. You can see it clearly ~

Note: Don't press F5 to run it directly, because you are writing python for s60, Which is useless on the computer and must follow the above instructions, let our simulated mobile phone run
TIPS: You can directly create the source code in \ epoc32 \ winscw \ c \ Python \ under the root directory of the Nokia SDK. Open the editor and edit the source code. Then you can run it on a simulated mobile phone ~ This is the most efficient

Note: The above may be outdated, but now the network is so developed, I do not believe that the download cannot be found online.

<End>

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.