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)

vi_ 2012-02-08 08:28

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Right chaps, lets talk turkey.

I will pledge $25 dollars to buy this guy an N900. I can accumulate all pledges till we have enough to get this Mofo an n900. Who is in?

[DarkGUNMAN] 2012-02-08 09:12

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
I'm in. £10 from my next pay packet

[DarkGUNMAN] 2012-02-08 09:32

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Quick update, scrolling in portrait mode is jerky for Medium fonts.
Landscape is fine.
Small fonts no problem

nicolai 2012-02-08 09:34

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Hi DavyP,
I tried again to compile midp, but I can not get this to work.
I tried different howtos I found (phoneme for webos for example)

Starting with building the PCSL part I get this error:

gcc: error trying to exec 'cc1'

looks like a PATH entry is missing.
If I manually change the PATH it can find the cc1 from my arm-toolchain
but I get errors "can not find stdio.h" and if I manually change the
CFLAGS to include that path for stdio.h I get more errors
about other includes missing.
So, somehow my cross-compiler toolchain isn't correct, but
I don't understand what I could have done wrong.

It is working for developing apps for maemo, but for maemo
scratchbox environment is used within its one login shell.
For midp I can not directly use this envirionment because
midp depends on java tools that aren't useable from
within scratchbox.
But it should work to just use scratchbox toolchain I even
tried different toolchains (scratchbox, the one from WebOs,
codesourcery) always the same errors.

Any ideas.

Nicolai


Quote:

Originally Posted by vi_ (Post 1162004)
Right chaps, lets talk turkey.

I will pledge $25 dollars to buy this guy an N900. I can accumulate all pledges till we have enough to get this Mofo an n900. Who is in?

Count me in (10€), not only for his work he already done, but also
because every developer should own a N900 :-)

vi_ 2012-02-08 10:26

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
vi - £15.72
Darkgunman - £10
Nicolai - £8.34

Total = £34.06

vi_ 2012-02-08 10:44

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Ok, I have found a guy who will sell me his old n900 for £69. It is a bit of a beater with a scratched screen in poor cosmetic condition but apparently it all works fine. This means we are %49 of the way to buying it.

If you feel you will benefit from using this piece of software AT ALL now or in the future I ask you to donate some $$$ for the cause. It does not matter how little just donate something, or I will toe your balls the next time you come with a rétarded feature request.

DavyP 2012-02-08 11:01

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
File download issue should be fixed now. It turned there was a seek() operation issue. OperaMini 6.5 did an openOutputStream(0) whereas the older version did an openOutputStream(). This '0' parameter triggered a seek(0) operation, which failed. Unfortunately, the underlying stream implementation does not support seeking, but luckily for OperaMini 6.5 the fix was simple as a seek(0) is the same as not seeking at all. For now, I just check the byte offset for the seek operation and if it is 0 I skip it.

There are new builds on my website (with the same date of 2012-02-08).

One note: I added another virtual folder /FileSystem so you can access any folder you like. However, when you try to save a file, make sure you have write permissions to that folder. The /Private virtual folder should work as it is mapped onto the /home/user/MyDocs folder. The /Storage one is mapped onto /media/mmc1.

Cheers
Davy

DavyP 2012-02-08 11:06

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

Originally Posted by [DarkGUNMAN] (Post 1162033)
Quick update, scrolling in portrait mode is jerky for Medium fonts.
Landscape is fine.
Small fonts no problem

Strange, as I am doing the same thing whether I am in portrait or
landscape mode.

Perhaps in portrait mode, the slowdown is caused because
phoneME needs to print many more smaller (single line) strings,
whereas in landscape mode Opera Mini prints fewer but longer
strings. I am just guessing here.

Davy

Arthuro_Adam 2012-02-08 11:25

Re: [TESTING] PhoneME Advanced (Java Mobile) prototype release
 
Thanks for the update, I will try it at afternoon.

DavyP 2012-02-08 11:26

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

Originally Posted by nicolai (Post 1162034)
Hi DavyP,
I tried again to compile midp, but I can not get this to work.
I tried different howtos I found (phoneme for webos for example)

Starting with building the PCSL part I get this error:

gcc: error trying to exec 'cc1'

looks like a PATH entry is missing.
If I manually change the PATH it can find the cc1 from my arm-toolchain
but I get errors "can not find stdio.h" and if I manually change the
CFLAGS to include that path for stdio.h I get more errors
about other includes missing.
So, somehow my cross-compiler toolchain isn't correct, but
I don't understand what I could have done wrong.

It is working for developing apps for maemo, but for maemo
scratchbox environment is used within its one login shell.
For midp I can not directly use this envirionment because
midp depends on java tools that aren't useable from
within scratchbox.
But it should work to just use scratchbox toolchain I even
tried different toolchains (scratchbox, the one from WebOs,
codesourcery) always the same errors.

Any ideas.

Nicolai




Count me in (10€), not only for his work he already done, but also
because every developer should own a N900 :-)

I am using the ARM 2011.03 GNU EABI cross-compiler from CodeSourcery (which apparently changed its name to Mentor Graphics). The Lite versions of the compilers are a bit harder to find, but you can download the latest ones over here:

http://www.mentor.com/embedded-softw.../lite-edition/

You have to register first, but you can get the compilers directly from:

https://sourcery.mentor.com/sgpp/lit...al/release2029

I use these compilers directly on my linux OS so not in a scratchbox environment. See if this somehow already helps with the missing headers files.

Davy


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

vBulletin® Version 3.8.8