meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
maemo:getting_started [2011/08/17 12:34] japskua [Running the Project in the Emulator] |
maemo:getting_started [2011/08/18 13:34] japskua [Running the Project Remotely] |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== GETTING STARTED - FROM 0 to 100 ===== | ===== GETTING STARTED - FROM 0 to 100 ===== | ||
- | |||
==== Creating a Python Project ==== | ==== Creating a Python Project ==== | ||
Line 72: | Line 71: | ||
Unless you just got a blank screen, you are trying to run the project under ARMEL settings. Change the run configuration to X86 and try again. | Unless you just got a blank screen, you are trying to run the project under ARMEL settings. Change the run configuration to X86 and try again. | ||
- | ==== Running the Project in a Real Machine ==== | + | ===== Running the Project in a Real Machine ===== |
+ | |||
+ | ==== Doing the Preconfiguration (one-time only!) ==== | ||
+ | |||
+ | |||
+ | Here are the instructions on how run your project | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Select the Remote Systems tab -> Maemo Device (USB) -> SSH shells and right click. Select Connect... from the right-click menu. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | After this you will be queried for the password and username. The details are the following: | ||
+ | * Username: user | ||
+ | * password: lut | ||
+ | And I suggest saving the info so you don't have to give it again. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | If this is the first run, you will be asked to accept the RSA keys. Just choose yes here. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | And in this final screen just input the same information as in the previous password dialog. Remember settings and voilá! You should have SSH connection working. | ||
+ | |||
+ | **After this just Run the project as a Remote Project and it should run in the real machine. Enjoy! ;-)** | ||
+ | |||
+ | ===== Changing Run Settings ===== | ||
+ | |||
+ | Here is the instructions on changing the Run Settings. This is needed to switch between Local Emulator and Remote Real Device. | ||
+ | |||
+ | Right click your Project folder in Esbox and choose Preferences from the right-click menu. After this you should see the following picture | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Here you need to double click the wanted Interpreter (either X86 or ARMEL). The wanted interpreter should change to bold font. | ||
+ | |||
+ | ARMEL = Real Device | ||
+ | X86 = Virtual Device | ||
+ | |||
+ | |||
+ | ==== Running the Project Remotely ==== | ||
+ | |||
+ | To run the project remotely, you need to first change to the correct interpreter from the project settings (ARMEL is for Remote). | ||
+ | After this, right click the main python file you want to run | ||
- | {{:maemo:remote1.png|}} | + | {{:maemo:remote_exec1.png|Configuring Python Interpreter}} |
- | {{:maemo:remote2.png|}} | + | {{:maemo:remote_exec2.png|Download Methods to Use}} |
- | {{:maemo:remote3.png|}} | + | {{:maemo:remote_exec3.png|Selecting the Target}} |
- | {{:maemo:remote4.png|}} | + | {{:maemo:remote_exec4.png|Password required}} |