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)

DavyP 2012-04-14 20:13

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

Originally Posted by Arthuro_Adam (Post 1191989)
I tested, but the problem is there. OM starts in landscape mode.

This does not make sense, because the only changes that I applied between both builds that could affect the N9 was the renaming of.the portrait/rotate option.

* If you run the microemu demo midlet, does it also start in landscape?
* Do you use your own launch scripts or the shortcuts in the application menu? If you have your own launch script, can you show it?
* If you run the MIDlet settings application, is the "rotate midlet 90 degrees" option enabled?
* Have you enabled the "Landscape" option in the Opera midlet itself?

I think you still have some old preferences that only worked with the old build. To get those out of the way, I uploaded a new build at:

http://davy.preuveneers.be/phoneme/p...aemo/deb/test/

The only change it has compared to the previous test build is that the "MIDlet Settings" application now has an extra "Clear" button, which will clear all stored preferences. I suggest you tap Clear, and then enable

"Start in full screen"
"Rotate midlet 90 degrees"
"Use anti-aliased fonts"

and then tap Save, and Close.

Based on what I have read on forums and in online documentation is that auto-rotation does not work and that you need to use the QML components for that. I also read that Qt4 applications on MeeGo without QML wrappers always start in landscape. That is why I added the rotate functionality.

For example, the "MIDlet Settings" application is also a simple Qt4 application. On MeeGo, it presume it will always start and remain in landscape mode.

If others with a N9 also have these issues, or can point out which of my assumptions are wrong, I would love to hear from you as I cannot reproduce it myself with the emulator.

Davy

DavyP 2012-04-14 20:33

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

Originally Posted by hoa2ngminh (Post 1190351)
I want to play the game "Di tim trieu phu" (Milionaire), but could not. I can not help. Thank's

The game produces a null pointer exception in the millionaire
constructor.

After some significant testing, I found out that the game tries to
play a midi file. I correctly executes the Manager.createPlayer()
passing along a reference to the midi file.

Since on N900, I have not implemented midi support, I throw a
media exception like the JSR 135 spec specifies. However, the
game catches and ignores this exception and assumes the midi
player has been initialized whereas in fact it is null.

So this is a bug in the application.

Davy

DavyP 2012-04-15 07:26

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

Originally Posted by santiago (Post 1191007)
Happy easter, sorry for the ******!
Anyway, Davy Nimbuzz doesnt work. It's not fully supported by your JVM becouse it needs to be maybe remapped?! Anyway... I have a problem with the Facebook app. The new facebook app has to store some data, but this version doesnt, becouse of the vm maybe, it doesnt save username and password. In the error log, there's not nothing about this kind of problem,this is the Facebook official APP, can you make something to fix this error? i add the Jar file down here... Thx 1000

Cristian

I just ran Nimbuzz (but only briefly as I did not create an account
etc). What is not working for you?

Also, regarding the facebook app. I ran it, logged in on facebook,
browsed through the application. Closed it. When I started the
application again, it remembered my credentials.

Davy

santiago 2012-04-15 08:19

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

Originally Posted by DavyP (Post 1192293)
I just ran Nimbuzz (but only briefly as I did not create an account
etc). What is not working for you?

Also, regarding the facebook app. I ran it, logged in on facebook,
browsed through the application. Closed it. When I started the
application again, it remembered my credentials.

Davy

thx Davy for this try. what does phoneme use like a storage path? Maybe i have to chown that. In nimbuz? From maemo, doesnt work, it's hard to go up/down and select the right button. If you want to register from the app, you cant, it's impossible.

thx 4 the help
Cristian

wokawoka 2012-04-15 16:46

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
1 Attachment(s)
DavyP, thank you for your fantastic work!

Are there any chances that midi support will be added in the future releases of PhoneME?

I'm mostly interested in java mobile utilities for guitar training and music ear training: I've attached a demo of a program called guitar trainer. The program starts and works as intended but there are no sounds. I suppose all the sounds are in midi format.

I really hope that one day I'll be able to use these midlets with sounds on my N900 so I will be able to improve my music skills on the go.

Thank you gain,
Luca

Arthuro_Adam 2012-04-15 19:47

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

Originally Posted by DavyP (Post 1192164)
This does not make sense, because the only changes that I applied between both builds that could affect the N9 was the renaming of.the portrait/rotate option.

* If you run the microemu demo midlet, does it also start in landscape?
* Do you use your own launch scripts or the shortcuts in the application menu? If you have your own launch script, can you show it?
* If you run the MIDlet settings application, is the "rotate midlet 90 degrees" option enabled?
* Have you enabled the "Landscape" option in the Opera midlet itself?

I think you still have some old preferences that only worked with the old build. To get those out of the way, I uploaded a new build at:

http://davy.preuveneers.be/phoneme/p...aemo/deb/test/

The only change it has compared to the previous test build is that the "MIDlet Settings" application now has an extra "Clear" button, which will clear all stored preferences. I suggest you tap Clear, and then enable

"Start in full screen"
"Rotate midlet 90 degrees"
"Use anti-aliased fonts"

and then tap Save, and Close.

Based on what I have read on forums and in online documentation is that auto-rotation does not work and that you need to use the QML components for that. I also read that Qt4 applications on MeeGo without QML wrappers always start in landscape. That is why I added the rotate functionality.

For example, the "MIDlet Settings" application is also a simple Qt4 application. On MeeGo, it presume it will always start and remain in landscape mode.

If others with a N9 also have these issues, or can point out which of my assumptions are wrong, I would love to hear from you as I cannot reproduce it myself with the emulator.

Davy

In the midletsettings, there wasn't enable the 90° degree rotation. It worked before without the changes in the settings.

So it's works fine. Thanks.

DavyP 2012-04-15 20:24

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

Originally Posted by Arthuro_Adam (Post 1192532)
In the midletsettings, there wasn't enable the 90° degree rotation. It worked before without the changes in the settings.

So it's works fine. Thanks.

Indeed, I changed the naming from "portrait" to "rotate 90
degrees". On the N9, the original naming was OK because the
application by default started in landscape, and after turning it 90
degrees it would be in portrait mode.

However, on the N900 which does support rotation, people got
confused assuming that the "portrait" option would keep the midlet
in that position. With the portrait option enabled and while holding
the device in portrait mode, the midlet got displayed in landscape mode.

That is why I relabelled the option to "rotate 90 degrees", because
that was what I do technically.

Anyway, I am glad the issue got resolved.

Cheers,
Davy

DavyP 2012-04-15 20:43

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

Originally Posted by santiago (Post 1192302)
thx Davy for this try. what does phoneme use like a storage path? Maybe i have to chown that. In nimbuz? From maemo, doesnt work, it's hard to go up/down and select the right button. If you want to register from the app, you cant, it's impossible.

thx 4 the help
Cristian

If the app uses record stores, they are located in the folder:
/opt/phoneme/midp/midp_linux_fb_gcc/appdb

Normally the write privileges should be ok, at least if you install the
deb.

I don't know which version you used for Nimbuz. I again tested
version 1.9.5 (I downloaded the version for the LG KP500 - I just
needed a JavaME phone with touch screen), and I went through
the registration process just fine on my N900. I was able to log in
and navigate around without problems.

Davy

DavyP 2012-04-15 20:59

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

Originally Posted by wokawoka (Post 1192477)
DavyP, thank you for your fantastic work!

Are there any chances that midi support will be added in the future releases of PhoneME?

I'm mostly interested in java mobile utilities for guitar training and music ear training: I've attached a demo of a program called guitar trainer. The program starts and works as intended but there are no sounds. I suppose all the sounds are in midi format.

I really hope that one day I'll be able to use these midlets with sounds on my N900 so I will be able to improve my music skills on the go.

Thank you gain,
Luca

Since the N900 does not come with built-in midi support, this is not
an easy task. You could rely on a software synthesizer like timidity
and install a bunch of midi sound patches to play different
instruments. However, the JSR 135 spec requires you to be able
to play, pause, stop, rewind the audio stream, and this is difficult
when you use an external media player. On all devices on which I
had midi support working (Windows Mobile and Android) the
sound format was built-in.

However, your guitar app might also be simply doing some tone
generations with a certain frequency, length and volume, but
without source code it is hard to tell.

Cheers,
Davy

wokawoka 2012-04-16 21:01

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Thank you for your reply Davy.
The guitar app I've uploaded is just one of the many music apps I was trying to run on the N900. I believe that all of them relies on midi though.

As you were speaking about external players, I remember playing midi files on the N900 default mediaplayer after having installed the midi decoding package a couple of years ago.
They are talking about it in this thread:
http://talk.maemo.org/showthread.php?t=50301
Would that be useful for the aim of adding midi support in phoneme?

Even if maybe it could sound childish or simplistic to you, my programming knowledge is very limited and I can't help you as mach as I would.

Thank you so much again,
Luca

DavyP 2012-04-16 22:36

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

Originally Posted by wokawoka (Post 1192968)
Thank you for your reply Davy.
The guitar app I've uploaded is just one of the many music apps I was trying to run on the N900. I believe that all of them relies on midi though.

As you were speaking about external players, I remember playing midi files on the N900 default mediaplayer after having installed the midi decoding package a couple of years ago.
They are talking about it in this thread:
http://talk.maemo.org/showthread.php?t=50301
Would that be useful for the aim of adding midi support in phoneme?

Even if maybe it could sound childish or simplistic to you, my programming knowledge is very limited and I can't help you as mach as I would.

Thank you so much again,
Luca

Well, the jar file itself does not contain any midi files. This basically means if it does assume midi, it generates midi streams on the fly (in memory), which will then be a mess to play with an external midi player.

The link you provided indeed refers to some software synthesisers and midi sound patches. I have used similar players on Linux, and they indeed a nice sound, but they are hard to control from another application.

To explain what I mean, have a look at the mplayer music player. It provides a slave mode which allows you to control it from a different application:
http://www.mplayerhq.hu/DOCS/tech/slave.txt

If the maemo port of mplayer also supports this slave mode, that would be the easiest way to implement audio playback support. Unfortunately, it does not do midi :-(

Another way of adding midi support is using a lib like: fluidsynth
http://maemo.org/packages/view/fluidsynth/

Cheers,
Davy

wokawoka 2012-04-16 22:52

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Everything is more clear now, thanks.
Too bad mplayer doesnt support midi files.

Now I can just really hope that one day you'll be able to implement midi support trough an external library like fluidsynth.

Thank you once again,
Luca

MJ m 2012-04-18 06:42

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Phoneme is great! some digital chocolate's and gameloft's touchscreen java games work. i have tried crazy penguin party, adventure of tintin and motocross trial extreme, they 100% work!
doodle jump works also, on fullscreen but is not very great on landscape mode. why all apps are so slow in portrait mode? is there thread for java apps compatibility?

thanks!

DavyP 2012-04-18 07:11

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

Originally Posted by freemangordon (Post 1190398)
@DavyP - did you look at cvm code I pushed on gitorious and my build scripts?

I have uploaded new builds to the main download website:
http://davy.preuveneers.be/phoneme/?q=node/10#maemo

You can download the latest and older builds as well from:
http://davy.preuveneers.be/phoneme/public/maemo/deb/

This build integrates most of the changes from freemangordon (thanks again for that). However, it contains further fixes to support rotation (which freemangordon disabled), and I further optimized the rendering speed.

With the JBenchmark midlet, I had a score of 3800 after freemangordon's changes, and with some additional tweaks, I was able to bump up the score to 4300 (yet another 10% improvement).

Some additional remarks: for the fastest rendering speed, enable the option "Start in full screen" in the MIDlet Settings application.
Also, do not enable to "Rotate midlet 90 degrees option". Especially the latter will significantly slow down the rendering.

Feedback is much appreciated.

Regards,
Davy

DavyP 2012-04-18 07:17

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

Originally Posted by MJ m (Post 1193675)
Phoneme is great! some digital chocolate's and gameloft's touchscreen java games work. i have tried crazy penguin party, adventure of tintin and motocross trial extreme, they 100% work!
doodle jump works also, on fullscreen but is not very great on landscape mode. why all apps are so slow in portrait mode? is there thread for java apps compatibility?

thanks!

I am not sure which device you are using, but on the N900 rotation works out of the box (at least on my device) and I don't have to tweak the way midlets are rendered. On the N9, midlets are always started in landscape, so if you want to run the midlet in portrait mode, you have to enable the "Rotate midlet 90 degrees" option in the MIDlet Settings application. Unfortunately, it rotates every frame 90 degrees before it is rendered, which will definitely slow down the rendering speed in portrait mode.

Unfortunately, I cannot tell how bad it is as I do not have an N9.

Best regards,
Davy

ivgalvez 2012-04-18 07:22

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

Originally Posted by MJ m (Post 1193675)
is there thread for java apps compatibility?

A wiki page would be very useful.

wwweagle 2012-04-18 13:38

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

Originally Posted by DavyP (Post 1166528)
These classes are provided by JSR 120 or JSR 205 and they
require a tight integration with the underlying platform. There is
currently no support for that.

Davy

I found something here, can it be a pathway to many abilities some consider to be unnatural (e.g. partially implementation of jsr 120 or 205)?
Many apps rely on jsr 120 or 205 deal with mobile communications, massaging, which would be nice if they work well on phones.

freemangordon 2012-04-18 13:56

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
@DavyP - mind to request your changes merged on gitorious?

DavyP 2012-04-18 21:19

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

Originally Posted by freemangordon (Post 1193848)
@DavyP - mind to request your changes merged on gitorious?

Sure, go ahead. You can find the latest source updates over here:

http://davy.preuveneers.be/phoneme/public/maemo/src/

I basically added the rotation feature again, and increased the delay
in the usleep function from 1 to 1000.

Davy

DavyP 2012-04-18 21:41

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

Originally Posted by wwweagle (Post 1193842)
I found something here, can it be a pathway to many abilities some consider to be unnatural (e.g. partially implementation of jsr 120 or 205)?
Many apps rely on jsr 120 or 205 deal with mobile communications, massaging, which would be nice if they work well on phones.

I am aware that the QtMobility framework provides some messaging services (QMessage and QMessageService), and I am sure you can make at least a partial JSR 120/205 implementation based on that. If I would only have the spare time to implement all these feature requests ...

Davy

wwweagle 2012-04-19 03:32

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

Originally Posted by DavyP (Post 1194062)
I am aware that the QtMobility framework provides some messaging services (QMessage and QMessageService), and I am sure you can make at least a partial JSR 120/205 implementation based on that. If I would only have the spare time to implement all these feature requests ...

Davy

I am aware that you are a busy busy man and I am sure you have contributed overwhelmingly to this project:) , this is just a side note since we had git and everything, maybe someone would like to tinker with it at some point.

[DarkGUNMAN] 2012-04-19 15:04

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Been testing the new build for a couple of days now.. smooth is the word!
It behaves as if I were overclocking at 805, with very smooth scrolling in landscape/fullscreen. Windowed performance is definitely better than it was.

Nice work!

k0ydaika 2012-04-20 13:46

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
help me!!!!!!!!! ola is not working....wap.ola.vn....thanks all!

Joseph9560 2012-04-21 06:12

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I would phoneme to have ability to handle web links to .jad file (that comes when I try to download anything from opera store etc.). Also ability to change the operating system recognized by java apps (such as opera mini) to some java touch app would be great.

DavyP 2012-04-21 15:09

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

Originally Posted by Joseph9560 (Post 1195190)
I would phoneme to have ability to handle web links to .jad file (that comes when I try to download anything from opera store etc.). Also ability to change the operating system recognized by java apps (such as opera mini) to some java touch app would be great.

If you open a file manager and tap on a jad file, it should open the midlet if the jar file is also there with the same name (except for the file extension). The reason why this might not suffice for browsers in the current the current implementation, is that the browser might only download the jad file and not the jar file.

I am also not sure what you are referring to with the OS being recognized by Java apps. Are you referring to the following system properties?

microedition.profiles
microedition.platform
microedition.configuration

or are you referring to the User-Agent when you are doing a http request from within a midlet?

Cheers,
Davy

sifo 2012-04-21 15:55

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
cool i never thought about the ability of runing JAVA on N900 thanks [DarkGUNMAN] and Davy Preuveneers for this ;)

casketizer 2012-04-21 16:19

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Davy,
Did you have a look at Opera Next? It still hangs all the time with the latest build for me.

Thx

DavyP 2012-04-21 19:25

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

Originally Posted by casketizer (Post 1195431)
Davy,
Did you have a look at Opera Next? It still hangs all the time with the latest build for me.

Thx

Can you send me a download link to the jar and jad?

I started at http://www.opera.com/mobile/next/, but I only
seem to end up with Opera Mini 6.5 or lower with whatever link I take.

Davy

casketizer 2012-04-21 19:30

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
It's weird. Sometimes I can't find it on opera.com either.
Use this:
http://opera-mini-next.en.softonic.com/java/download

Edit:
http://m.opera.com/next/

DavyP 2012-04-21 22:20

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

Originally Posted by casketizer (Post 1195529)
It's weird. Sometimes I can't find it on opera.com either.
Use this:
http://opera-mini-next.en.softonic.com/java/download

Edit:
http://m.opera.com/next/

I can confirm the freeze.

When I kill the app, I see a call to GeoPositionInfoSource::createDefaultSource() as a last entry in the stack trace, though I would have to do some more debugging to figure out what is going wrong.

I am not sure if the JSR 179 is to blame, but maybe a build without Location API support could help figure out if the above method is causing the crash ...

Davy

casketizer 2012-04-21 22:29

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Hope you can make it work eventually. But no rush needed. :)

DavyP 2012-04-22 16:42

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

Originally Posted by casketizer (Post 1195594)
Hope you can make it work eventually. But no rush needed. :)

I did a quick recompile with JSR 179 disabled, and Opera Mini Next still freezes. So, it is probably not related to that feature. Very strange ...

Davy

sifo 2012-04-22 16:59

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
plz guys some help when i clicked on the first post to download the maemo release i got error 404 file not found is it blocked or so plz some body help i really want this app:(

DavyP 2012-04-22 17:14

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

Originally Posted by sifo (Post 1195934)
plz guys some help when i clicked on the first post to download the maemo release i got error 404 file not found is it blocked or so plz some body help i really want this app:(

Not sure which link you are trying, but you can find the deb files
for maemo and meego over here:

http://davy.preuveneers.be/phoneme/?q=node/10#maemo

Davy

sifo 2012-04-22 17:43

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Thanx DavyP Very Much For This . ;)

munozferna 2012-04-24 00:06

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
DavyP, hopefully you can apply for a N9 http://lists.maemo.org/pipermail/mae...il/005134.html !

Jeffrey04 2012-04-25 09:46

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
can we try http://talk.maemo.org/showthread.php?t=83827 with phoneme?

DavyP 2012-04-25 15:39

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

Originally Posted by Jeffrey04 (Post 1197401)

No, this is a Swing application, which is not supported by Java ME.

Davy

nisheet 2012-04-26 13:46

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
any1 plz provide me link to working ucweb java or steps to make it run with phoneme.....thanx in advance

don_falcone 2012-04-26 14:42

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
http://www.ucweb.com/English/UCbrows...c_browser.html


All times are GMT. The time now is 16:28.

vBulletin® Version 3.8.8