View Single Post
Guest | Posts: n/a | Thanked: 0 times | Joined on
#2
Originally Posted by omeriko9 View Post
Hi, I'm using the scratchbox to test my PyQt4 app before moving it to the n900.

I couldn't find a way to use some of the n900 built-in functionalities inside the scratchbox, for example:

- Simulate a phone call
- Simulate accelerometers changes, like rotate or shake the device
You can't actually simulate those events, to my knowledge, as SINE (Scratchbox Is Not an Emulator (TM)), however, you may be able to use D-Bus in some cases to simulate some of the effects of various events. I'm not actually sure, but you might want to look into it.

Originally Posted by omeriko9 View Post
- Install packages from extras/extras-devel
You have to add some lines to /etc/apt/sources.list in sbox. Look in /etc/apt/sources.list.d/hildon-application-manager.list on-device for examples. Note that lines beginning with "deb" are binary repos, and those beginning with "deb-src" are the corresponding source repos (where they exist - accessible using apt-get source) - otherwise, the syntax is identical.
 

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