View Single Post
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#81
Originally Posted by DavyP View Post
The text does not seem to be well-aligned in your screenshot. This is what I have:

http://davy.preuveneers.be/phoneme/p...roemu-demo.jpg

http://davy.preuveneers.be/phoneme/p...emo/opera2.jpg

About audio support: I cannot seem to produce any sound with the emulator, not even with the built-in 'play-sound' application or the Qt4 qmusicplayer example application. I am guessing QSound in Qt4 is not properly supported for audio playback :-(

/home/developer $ play-sound testmp3.mp3
socket(): Address family not supported by protocol
ca_context_open: Not available

About GPS: Yes, JSR 179 would provide the unifying API to get location information. Any location provider could be plugged into JSR 179, but GPS is quite likely the most important one.

I am aware of OpenLAPI. That is the implementation I used to support JSR 179 on my Android port. The only thing I need to figure out is how to get the GPS data natively on the N900 and how to activate and deactivate GPS programmatically, etc.

Davy
to play a sound you can also use mplayer too
# if you don't have
# sudo apt-get install mplayer

mplayer testmp3.mp3
# it can play mp3, ogg, wav, aac etc etc

for the gps data i don't know seems there's not a command dbus line to switch on/off the gps radio, there's a python script that makes it. If you want to try using jython maybe it can works