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)

HtheB 2012-03-08 18:33

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

Originally Posted by DavyP (Post 1176589)
I mentioned this before, but eBuddy needs support for JSR 234
as it at relies on the following missing class:

javax.microedition.amms.control.ImageFormatControl

Davy

is there any way to add missing classes?

DavyP 2012-03-08 19:45

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

Originally Posted by HtheB (Post 1176663)
is there any way to add missing classes?

Yes, by implementing the missing classes (based on the JSR
documentation).

Davy

Arthuro_Adam 2012-03-08 22:13

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

Originally Posted by DavyP (Post 1176708)
Yes, by implementing the missing classes (based on the JSR
documentation).

Davy

Worth to try the new version on N9? (auto-rotation, sound)

DavyP 2012-03-09 01:14

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

Originally Posted by Arthuro_Adam (Post 1176782)
Worth to try the new version on N9? (auto-rotation, sound)

You can try out the latest MeeGo build, though auto-ration will not
work (due to the QWidget based approach).

Someone else said that the audio did not work either for the Alerts
in the microemu demo. Perhaps you can confirm (just to be sure as I
cannot test this myself with the N9 emulator).

Davy

DavyP 2012-03-09 18:55

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

Originally Posted by DavyP (Post 1176641)
Yes, I can confirm. I get a segfault too while trying to play a midi file.

Davy

Brian_7: I disabled the midi part, and now I seem to be able
to run your game again with my latest build (20120309).

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

Davy

Brian_7 2012-03-09 21:07

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Thank, it works again now :)

If the sound support will bring problems with games like mine. Maybe you should add the option -nosound, like you did with the fullscreen option.

christianko 2012-03-09 21:15

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Just as an additional confirmation, I have no sound on the N9 as well.

Ist there any chance that GPS is supported ever on the N9?
Would be nice for google maps and the various public transport apps..

HtheB 2012-03-09 21:15

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

Originally Posted by DavyP (Post 1176708)
Yes, by implementing the missing classes (based on the JSR
documentation).

Davy

Any help related to this would be great! (or maybe even putting it by default in the PhoneME build so that everybody can use it)

DavyP 2012-03-10 00:17

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

Originally Posted by Brian_7 (Post 1177199)
Thank, it works again now :)

If the sound support will bring problems with games like mine. Maybe you should add the option -nosound, like you did with the fullscreen option.

That would indeed be a possibility. However, for some reason
your application caused a segmentation fault. This is an error
I would like to avoid under any circumstances because it may
leave stale processes running in the background (even consuming
100% of the CPU).

So I am trying to figure out how I can get detailed stack traces
for segmentation faults reported in the log files to simplify the
debugging process.

Davy

DavyP 2012-03-10 00:25

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

Originally Posted by christianko (Post 1177201)
Just as an additional confirmation, I have no sound on the N9 as well.

Ist there any chance that GPS is supported ever on the N9?
Would be nice for google maps and the various public transport apps..

I hope so but I cannot promise anything. I already found I would
need to use this on MeeGo:

http://doc.qt.nokia.com/qtmobility/l...-overview.html

but the problem is I have no way of testing any implementation
I would make (the N9 MeeGo emulator - Madde - does not seem
to be able to emulate a GPS).

Cheers,
Davy

DavyP 2012-03-10 02:11

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Mmm, N9 owners might be lucky.

QtLocation APIs are also available on the N900. If I get them to work
on this device, we might get support for N9 out of the box.

Stay tuned!

Davy

DavyP 2012-03-10 02:27

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Latest build (20120310) has GPS support through QtLocation (from the
QtMobility package). It works on the N900, I would like to hear if it also
works on the N9

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

There is a midlet in /opt/phoneme/Location2.jar to help you test.

Thanks,
Davy

prophet412 2012-03-10 02:44

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
GPS Location does seem to be working on my N9 with the new build. :)

Quote:

Originally Posted by DavyP (Post 1177275)
Latest build (20120310) has GPS support through QtLocation (from the
QtMobility package). It works on the N900, I would like to hear if it also
works on the N9

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

There is a midlet in /opt/phoneme/Location2.jar to help you test.

Thanks,
Davy


christianko 2012-03-10 09:16

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
It works for me as well on my N9, but only with your test jar, not with Google maps or db Rail navigator.

DavyP 2012-03-10 12:29

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

Originally Posted by christianko (Post 1177355)
It works for me as well on my N9, but only with your test jar, not with Google maps or db Rail navigator.

I don't think Google Maps uses the JSR 179 API. With regard
to db Rail Navigator, it took me a while to figure out what was
wrong, but apparently the code checks for a system property
'microedition.location.version' which should have value 1.0.

I updated my last build so that this parameter is automatically
added if you run the application through "run midlet".

If you have a script or shortcut directly calling the cvm application,
just add -Dmicroedition.location.version=1.0 as an additional
command line parameter to cvm.

I did some minimal testing and the GPS did seem to start, but
my German is pretty bad, so I did not really know how to use the
application.

Davy

christianko 2012-03-10 14:16

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

Originally Posted by DavyP (Post 1177407)
I don't think Google Maps uses the JSR 179 API. With regard
to db Rail Navigator, it took me a while to figure out what was
wrong, but apparently the code checks for a system property
'microedition.location.version' which should have value 1.0.

I updated my last build so that this parameter is automatically
added if you run the application through "run midlet".

If you have a script or shortcut directly calling the cvm application,
just add -Dmicroedition.location.version=1.0 as an additional
command line parameter to cvm.

I did some minimal testing and the GPS did seem to start, but
my German is pretty bad, so I did not really know how to use the
application.

Davy

Did not work for me, I tried /opt/phoneme/runmidlet as well as "run midlet". Still says GPS not supported, but if I run as root that the midlet does not start at all.

DavyP 2012-03-10 14:50

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

Originally Posted by christianko (Post 1177435)
Did not work for me, I tried /opt/phoneme/runmidlet as well as "run midlet". Still says GPS not supported, but if I run as root that the midlet does not start at all.

Could you please download the latest build again and check once more?

I was testing the maemo build, and may have forgotten to upload the latest meego build.

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

Running the midlet through "Run MIDlet" or from a terminal as /opt/phoneme/bin/runmidlet dbmidlet.jad gives the same result.

When I start the application, I get a menu:
-I choose Orte/Karten
-I select <<<GPS Bestimmung>>>.
-I select Location API (GPS icon in status bar starts to flicker)
-First it says "GPS Kein Signal"
-After a while it says "GPS Signal", I get a lock and see my geo-coordinates

That is it.

Davy

Arthuro_Adam 2012-03-10 18:45

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

Originally Posted by DavyP (Post 1177450)
Could you please download the latest build again and check once more?

I was testing the maemo build, and may have forgotten to upload the latest meego build.

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

Running the midlet through "Run MIDlet" or from a terminal as /opt/phoneme/bin/runmidlet dbmidlet.jad gives the same result.

When I start the application, I get a menu:
-I choose Orte/Karten
-I select <<<GPS Bestimmung>>>.
-I select Location API (GPS icon in status bar starts to flicker)
-First it says "GPS Kein Signal"
-After a while it says "GPS Signal", I get a lock and see my geo-coordinates

That is it.

Davy

On N9, with the last version I can play the sounds in the microemulator.

Something happened with Opera Mini. It starts in landscape mode, and after I allow landscape mode in the settings, it's rotate to portrait mode, but a 180° opposite.

GPS doesn't work with location.jar. It says: Valid:false. GPS didn't start (I don't see the icon on the status bar).

christianko 2012-03-10 18:51

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

Originally Posted by DavyP (Post 1177450)
Could you please download the latest build again and check once more?


When I start the application, I get a menu:
-I choose Orte/Karten
-I select <<<GPS Bestimmung>>>.
-I select Location API (GPS icon in status bar starts to flicker)

Up to here it is about the same for me, but then I get "nicht unterstützt" -not supported - as I would if I select bluetooth.
(btw on the german version I use I get slightly different words occasionally, the my oebbmidlet version uses the same vocabulary as yours, but esentially the behavior is the same)

I even removed old versions, and debs, and cleared the app cache

freemangordon 2012-03-10 19:35

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
@DavyP - Would put the source code on a public repo (gitorious for example) so anyone to be able to contribute to the project not only by bug reporting. Along with some instructions on how to build it.

DavyP 2012-03-10 21:35

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

Originally Posted by Arthuro_Adam (Post 1177543)
On N9, with the last version I can play the sounds in the microemulator.

Something happened with Opera Mini. It starts in landscape mode, and after I allow landscape mode in the settings, it's rotate to portrait mode, but a 180° opposite.

GPS doesn't work with location.jar. It says: Valid:false. GPS didn't start (I don't see the icon on the status bar).

I just uploaded a new build (still the same filename) in which I
replaced the audio playback to use QtMobility framework rather
than the Phonon backends (which did not appear to work on the N9).

I am surprised to hear that the orientation of Opera Mini has
changed. I guess this will be the case for all midlets then. Not
sure what caused this, maybe the dependency on QtMobility
triggered this. On the N900, everything is still fine.

Regarding the GPS application, I included a shortcut for the
hildon menu and I also slightly changed the midlet itself as there
was indeed a bug in it. The new application is called "Location
Test" and it seems to be working on the N900.

Davy

DavyP 2012-03-10 21:43

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

Originally Posted by christianko (Post 1177544)
Up to here it is about the same for me, but then I get "nicht unterstützt" -not supported - as I would if I select bluetooth.
(btw on the german version I use I get slightly different words occasionally, the my oebbmidlet version uses the same vocabulary as yours, but esentially the behavior is the same)

I even removed old versions, and debs, and cleared the app cache

Can you perhaps point me to this midlet? Is it this one?

http://www.oebb.at/de/Mobile_Dienste...downloaden.jsp

Even that version seems to work on my N900:
-Karten/Nahbereichssuche und Orte
-<<<GPS Bestimmung>>>
-Aktuelle Position

And after a while I can see my geocoordinates.

Davy

Davy

DavyP 2012-03-10 22:01

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

Originally Posted by freemangordon (Post 1177562)
@DavyP - Would put the source code on a public repo (gitorious for example) so anyone to be able to contribute to the project not only by bug reporting. Along with some instructions on how to build it.

Putting the code somewhere would indeed be a good idea.

I will look into cleaning up my code (it is currently a mess with
lots of debugging code and other redundant code) and put it
online somewhere. Though I would have to warn you in advance
that compiling the code will not be trivial.

Cheers,
Davy

Vlad_on_the_road 2012-03-10 22:21

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Just tried PhoneME with the built-in Opera browser and with Google Maps (without GPS) : they work perfectly ! Wow that is excellent work ! I'll do more testing later.

Thank you Davy and DarkGUNMAN for bringing this here :)

freemangordon 2012-03-11 00:16

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

Originally Posted by DavyP (Post 1177619)
Putting the code somewhere would indeed be a good idea.

I will look into cleaning up my code (it is currently a mess with
lots of debugging code and other redundant code) and put it
online somewhere. Though I would have to warn you in advance
that compiling the code will not be trivial.

Cheers,
Davy

I will try to make it compilable in scratchbox, so it could enter extras-devel at some point.

christianko 2012-03-11 00:26

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

Originally Posted by DavyP (Post 1177616)
Can you perhaps point me to this midlet? Is it this one?

http://www.oebb.at/de/Mobile_Dienste...downloaden.jsp

Even that version seems to work on my N900:
-Karten/Nahbereichssuche und Orte
-<<<GPS Bestimmung>>>
-Aktuelle Position

And after a while I can see my geocoordinates.

Davy

Davy

With today's deb it works now for me as well, in both versions!
Thanks!
Even one googlemaps jar seems to start the gps, but it says "location temporarily not available"

DavyP 2012-03-11 00:51

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

Originally Posted by freemangordon (Post 1177642)
I will try to make it compilable in scratchbox, so it could enter extras-devel at some point.

I am not familiar with the scratchbox environment, but phoneME
requires compilation of code to target both x86 and ARM.
In some cases, you compile a piece of generated source code to
x86, run it, and use its output to cross-compile to ARM (this is
an oversimplification).

I use two toolchains, the CodeSourcery for cross-compiling
the phoneME stack as a library, and the Madde toolchains in
Nokia Qt SDK 1.2 for the Qt4 front-end that links against the
phoneME library. I had a go at trying to create a single Madde
build setup, but failed due to the above constraints. I am not sure
if scratchbox will be able to handle that.

Anyway, the next several days, I won't have much time to work on
this, but I hope to upload my cleaned up code somewhere by the
end of next week.

Happy testing with the latest builds,
Davy

freemangordon 2012-03-11 08:03

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

Originally Posted by DavyP (Post 1177653)
I am not familiar with the scratchbox environment, but phoneME
requires compilation of code to target both x86 and ARM.

Should not be a problem, in scratchbox ARMEL environment you can use both CC(crosscompiler) and HOSTCC(native x86 compiler). BTW those should be available in madde too.

Quote:

In some cases, you compile a piece of generated source code to
x86, run it, and use its output to cross-compile to ARM (this is
an oversimplification).
AFAIK, the same happens when you compile Qt.

Arthuro_Adam 2012-03-11 17:33

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I tested the latest version on N9.

Sounds work, GPS work (tested only with your test jar), Opera Mini has the same issue that I mentioned in my last post.

If you would like test it with the Rail app jar, I can do it later.

casketizer 2012-03-14 19:19

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Thank you very much for this app!

Could you please take a look at this app and check if location function could be enabled?
www.fahrplaner.de/hafas/help.exe/dnp?tpl=app
It is a public transport app for northwest Germany and already works much better in PhoneME than in Microemu.
It would be highly appreciated!


Edit: I just discovered the page with the latest builds. Location API works fine in the March 11 build on my N900!

Thanks so much!!

casketizer 2012-03-14 20:12

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Found a problem. Opera Mini Next (7. 0) java hangs when trying to open advanced settings. Opera Mini 6.5 works fine though.

DavyP 2012-03-16 12:29

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

Originally Posted by casketizer (Post 1179522)
Found a problem. Opera Mini Next (7. 0) java hangs when trying to open advanced settings. Opera Mini 6.5 works fine though.

Do you have a download link to the jar/jad? I cannot seem to
download it from the Opera website. Elsewhere I find something
called Opera Mini Next 7 HUI 2.0.3, but it does not allow me to
properly connect to the internet and install the app.

Davy

myname24 2012-03-16 12:44

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

Originally Posted by DavyP (Post 1180212)
Do you have a download link to the jar/jad? I cannot seem to
download it from the Opera website. Elsewhere I find something
called Opera Mini Next 7 HUI 2.0.3, but it does not allow me to
properly connect to the internet and install the app.

Davy

http://m.opera.com/next

casketizer 2012-03-16 13:06

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
It can also easily be found with Google by searching "Opera Mini Next java".

DavyP 2012-03-16 16:44

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

Originally Posted by myname24 (Post 1180220)

Thanks for the answers, but I found this link myself but the
browser on my desktop or N900 always redirected me to
http://www.opera.com/mobile/ which gave me an Opera
Mini 6.5 or older version. In the end I used Opera Mini 6.5 to
figure out the exact url for the Opera Mini Next jad file:

http://m.opera.com/next/mini.jad?act...=all&region=en

You can find the URL for the jar file itself in the jad file (see MIDlet-Jar-URL entry)

Davy

DavyP 2012-03-16 20:37

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
FYI, I noticed some issues with Opera Mini 7 next as well. One
minor glitch has to do with the fact that some lines in the jad file
are too long. You can circumvent this problem by selecting the jar
instead or downloading the jad without the certificates:

http://m.opera.com/next/mini.jad?act...none&region=en

Nonetheless, I still get random crashes and lock-ups after fixing this.
Furthermore, I have the same problems with my Android port and
no details in the log files :-(

Davy

helloct 2012-03-18 22:44

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Hello,
I try to use NIMBUZZ java app but it dont work. It open a black screen then crash :(

DavyP 2012-03-19 15:26

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

Originally Posted by helloct (Post 1181213)
Hello,
I try to use NIMBUZZ java app but it dont work. It open a black screen then crash :(

Not sure which version you tried, but I tried version 2.0.8. It runs
but is stuck in the intro screen "Testing your connection" :-(

Davy

colla84 2012-03-20 10:44

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
how can i test?

freemangordon 2012-03-20 14:00

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
@DavyP - seems you're a busy man and don't have enough free time to setup a repo with source code. So I was thinking - what do you think to just tar.gz your working folder and upload it somewhere, based on it I will setup a repo on gitorious.


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

vBulletin® Version 3.8.8