maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [BETA RELEASE] PhoneME Advanced (Java Mobile) (https://talk.maemo.org/showthread.php?t=81969)

santiago 2012-02-07 01:28

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by DavyP (Post 1161181)
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 ;)

jw461 2012-02-07 01:42

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I know GPS isn't working yet, but has anyone tried the Google Maps applet yet?

DavyP 2012-02-07 09:05

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by santiago (Post 1161488)
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 ;)

I installed a bunch of packages in the Madde N900 emulator,
including mplayer, alsasound, mediaplayer, pulseaudio, etc. I
restarted the emulator. Some of the errors I got before are gone
and mplayer seems to be playing a test wav and mp3 file, but I
still hear no sound. Same problems with aplay and play-sound. I
checked my mixer settings too.

Has anyone tried to play audio in the emulator?

Davy

Arthuro_Adam 2012-02-07 09:18

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I tried the newest version (0206) on N9, and the fonts are great, it shows every Hungarian character (őűí), but it's slower, than the first one.

The grey bar is there.

DavyP 2012-02-07 09:54

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by Arthuro_Adam (Post 1161569)
I tried the newest version (0206) on N9, and the fonts are great, it shows every Hungarian character (őűí), but it's slower, than the first one.

The grey bar is there.

Text rendering is indeed slower.

I am still investigating the grey bar issue. Merely replacing
QApplication with MApplication as suggested before, does not
seem to cut it.

Davy

manojkumaru 2012-02-07 12:40

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by bipinbn (Post 1158849)
I will try to find out if I can get hold of used N900 here in India, Bangalore, should be able to get a cheap deal since not many ppl here know about our awesome N900 ..

Looking for an used N900?? Little late, I had a friend in Banglore who sold it for 7000INR, just before he left for US of A,a month ago. No worries, still there is another friend of mine from Gujarat willing to sell his N900. I am less fortunate to make it mine, but still I don't want it to go to any hands which don't know the awesomeness of this phone. If you're willing, I can connect you to him. PM me.

DavyP 2012-02-07 15:16

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by DavyP (Post 1161585)
Text rendering is indeed slower.

I am still investigating the grey bar issue. Merely replacing
QApplication with MApplication as suggested before, does not
seem to cut it.

Davy

I found out that this grey bar is actually the system tray that can
be disabled on the N9 device:

http://forum.meego.com/showthread.php?t=1868

Another way is to run the app in fullscreen by default, or to use
PageStackWindow, but for that I would need to change my port to
use the Qt Quick Components .

http://forum.meego.com/showthread.php?t=3636

I put a new build online and added a separate build for N9 that
starts in full screen.

Davy

Arthuro_Adam 2012-02-07 18:58

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by DavyP (Post 1161713)
I found out that this grey bar is actually the system tray that can
be disabled on the N9 device:

http://forum.meego.com/showthread.php?t=1868

Another way is to run the app in fullscreen by default, or to use
PageStackWindow, but for that I would need to change my port to
use the Qt Quick Components .

http://forum.meego.com/showthread.php?t=3636

I put a new build online and added a separate build for N9 that
starts in full screen.

Davy

Thanks for your work.

[DarkGUNMAN] 2012-02-07 20:43

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Tested new version:
Default font is slightly smaller, works better for medium fonts but still jerky - I have not tried this overclocked yet.
Fullscreen and rotation now automatically redraw the screen to fit :)
Very nice work.

File upload and download is supported:
download only seems to work in Opera Mini 4.2.. in v6.5 download fails
upload works fine - access to MyDocs and SDCard

DavyP 2012-02-07 21:21

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quote:

Originally Posted by manojkumaru (Post 1161648)
Looking for an used N900?? Little late, I had a friend in Banglore who sold it for 7000INR, just before he left for US of A,a month ago. No worries, still there is another friend of mine from Gujarat willing to sell his N900. I am less fortunate to make it mine, but still I don't want it to go to any hands which don't know the awesomeness of this phone. If you're willing, I can connect you to him. PM me.

Thanks for the suggestion, but my hope is that I can do as much as possible with the emulators and have others do some testing for the things I cannot check myself. If I would have to buy a device for each platform and OS revision I had to test against or create a custom build for, I would be spending a lot of money too :-). Up to now, I managed to do all my Windows Mobile and Android porting with emulators and a dual boot device. A pitty it cannot triple boot to Maemo or MeeGo. That would be really cool :-)

Cheers,
Davy


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

vBulletin® Version 3.8.8