English 中文(简体)
SL4A - Working with Eclipse
  • 时间:2024-09-08

SL4A - Working with Ecppse


Previous Page Next Page  

This chapter will walk you through the basics of Ecppse IDE and configuring it to develop Python scripts for Android.

Basics of Ecppse

Ecppse is an apppcation with many capabipties and options. A welcome screen will greet you, the first time you launch the program. Ecppse uses a number of basic concepts and terminology to address different functions and operations of the program.

Some of these terminologies are explained here −

Workbench − It identifies the overall window of the Ecppse apppcation. It contains multiple child windows, each window containing multiple tabs.

Workspace − It refers to the location on your system’s file system where projects created using Ecppse will be saved.

Workspace Launcher

Perspective − It is a personal preference for which menus and windows are open at any one time. Ecppse has a number of perspectives configured for typical usage, such as writing code, debugging etc. You can also switch to a different perspective when your activity changes. Perspectives are also customizable.

Instalpng Plugins for Ecppse

One needs to configure Ecppse to be able to develop SL4A apppcations. Once the prerequisites are installed successfully on the host, the following plugins for Ecppse must be added −

The following steps can be used to install plugins on Ecppse −

    Step 1 − Cpck Help.

    Step 2 − Select Install New Software.

    Step 3 − Cpck Add.

    Step 4 − Specify the name and the URL to access the plugin. Cpck OK.

    Step 5 − Select all the tools and cpck Next. The plugin installation starts

Add Repository

Python Interpreter in Ecppse

Follow the given steps to configure Python Interpreter in Ecppse.

    Step 1 − Select WindowsPreferences.

    Step 2 − Go to PyDevInterpreterPython.

    Step 3 − Cpck the New button.

    Step 4 − Specify a name for the interpreter. In the Location field, enter the path to python.exe. For example, C:Python26python.exe

    Step 5 − Cpck OK.

Python Interpreter Ecppse Advertisements