meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
maemo:getting_started [2011/08/17 12:42]
japskua [Running the Project in a Real Machine]
maemo:getting_started [2011/08/18 13:43] (current)
japskua [Esbox Explained]
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 53: Line 52:
  
 ==== Esbox Explained ==== ==== Esbox Explained ====
- +This is self-explanatoryNo need for explaining. Try and see for youself :-P
-In the following picture you have Esbox explained. +
- +
-{{:maemo:esbox_explained.png|Esbox overview}}+
  
  
Line 72: Line 68:
 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  on the real physical n900. Note that before this, you have to have switched the project run settings to ARMEL in order to run the code on the device. Here are the instructions on how run your project  on the real physical n900. Note that before this, you have to have switched the project run settings to ARMEL in order to run the code on the device.
Line 96: Line 95:
  
 **After this just Run the project as a Remote Project and it should run in the real machine. Enjoy! ;-)** **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
 +
 +{{:maemo:changing_run.png|Changing Running settings}}
 +
 +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 and select Run As -> Maemo Remote Application. **If you don't see option for Remote Application, you have not changed the Interperter to ARMEL**.
 +
 +Now, when running remotely, you should see the following:
 +
 +{{:maemo:remote_exec1.png|Configuring Python Interpreter}}
 +
 +Just click okay here and things should go just fine. Unless the great Cthulhu decides otherwise.
 +
 +{{:maemo:remote_exec2.png|Download Methods to Use}}
 +
 +Here you have to choose the Copy Program (SSH) options. The other one should not even work and just give you bunch of errors. So please, don't choose that :-D
 +Now click okay and you get the following dialog:
 +
 +{{:maemo:remote_exec3.png|Selecting the Target}}
 +
 +Choose the right remote connection you are using. The correct answer here might be USB. Or it might not be? Who knows, but you. However, if you ARE indeed use the usb cable, then USB is your best choice. However, feel free to try Bluetooth or a tin hat. As you like.
 +
 +{{:maemo:remote_exec4.png|Password required}}
 +
 +just put the same stuff as before here. user & lut and your soul will be transferred to Nokia in a blink of an eye. Enjoy!