Creating a non-python activity

Bert Freudenberg bert at freudenbergs.de
Wed May 21 05:14:57 EDT 2008


On 21.05.2008, at 07:25, shivaprasad javali wrote:

> Hi,
>
>         I have a C++ activity which i want to use on the olpc. I  
> tried to sugarize my activity based on the info  i found on the olpc  
> wiki http://wiki.laptop.org/go/Sugarizing  .
>
>          The code for sugarizing in that page didnt work for me. I  
> was only able to launch my process as a separate application to my  
> python script so that there were two processes running for my one  
> application.
>
>        I could not figure out how to tie my application's window to  
> the blank window provided for the python script.

You need to _SUGAR_BUNDLE_ID and _SUGAR_ACTIVITY_ID as properties to  
your X window. This is documented here:

http://wiki.laptop.org/go/Low-level_Activity_API


- Bert -





More information about the Devel mailing list