View Single Post
Jaffa's Avatar
Posts: 2,535 | Thanked: 6,681 times | Joined on Mar 2008 @ UK
#3
If your app isn't launched from the desktop launcher it won't have various environment variables set correctly.

This is what run-standalone.sh does. A properly packaged app will have a /usr/share/applications/hildon/myapp.desktop file; but you don't have to have do packaging to create and test that (though, if you want to distribute your app, you'll want to package it at some point).
__________________
Andrew Flegg -- mailto:andrew@bleb.org | http://www.bleb.org

Last edited by Jaffa; 2009-12-15 at 22:48. Reason: Fix BBCode
 

The Following User Says Thank You to Jaffa For This Useful Post: