Reply
Thread Tools
Posts: 3 | Thanked: 0 times | Joined on Dec 2009
#1
Hello,
I just started playing with developing a program on the n900. Just running through the examples on this site.
My question is: When i run ./helloworld it looks ugly in scratchbox.
I googled and apparently I should run run-standalone.sh ./helloworld. This works and looks very pretty.

When I copy my binary (compiled for arm) to the n900 unless I run run-standalone beforehand it looks ugly again. Is this because i have not gone through all the packaging/.desktop stuff/because I am not using liboss?

Really loving my N900 btw.

sham
 
Posts: 3 | Thanked: 0 times | Joined on Dec 2009
#2
anyone know? please?
bump de bump
 
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:
Posts: 3 | Thanked: 0 times | Joined on Dec 2009
#4
Thanks for the info Jaffa!
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:07.