Activity not getting registered in the journal

shivaprasad javali jbsp72 at gmail.com
Wed Jan 14 01:26:15 EST 2009


Hi,

      I have an activity written in c++. I have used catmoran's libsugarise
library to sugarise my activity and create the activity bundle. It runs fine
on the XO but when I run my activity it is not registered in the journal. I
have attached a copy of my activity.info file and sugarise script which
loads the libsugarise and calls my application. Can anyone figure out why
the activity is not registered in the journal?

      Also I wanted to ask one more thing. The applciation needs the home
path i.e. path to /home/olpc. But I cannot get this from the $HOME variable
as this will not be where the activity is installed when run from the
activity launcher. So I have hardcoded the path in my application to
/home/olpc. How safe do you think it is. Is it reasonable to assume that the
users home path will be this. Is there any other way I can get this path?

Thanks
jbsp72
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20090114/11ac7d1e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: activity.info
Type: application/octet-stream
Size: 153 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20090114/11ac7d1e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sugarize
Type: application/octet-stream
Size: 563 bytes
Desc: not available
URL: <http://lists.laptop.org/pipermail/devel/attachments/20090114/11ac7d1e/attachment-0001.obj>


More information about the Devel mailing list