maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle [Added a concept solution on 9th Jun 2012] (https://talk.maemo.org/showthread.php?t=84787)

marmistrz 2012-06-09 14:20

[Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle [Added a concept solution on 9th Jun 2012]
 
Hi
I'm finally posting something I did a long time ago. If someone was watching the Palm WebOS on N900 thread, he'd notice that.

Through trial and error I managed to run some Mojo apps under Chromium. It's not the optimal solution, which would be qtwrt but at least works.

Then I was looking for someone who'd help with this, to use qtwrt instead of sluggish Chromium, but all in vain. Only TransTech joined me, but even then we couldn't do it. So I decided that I'll push what I already did.

Finally I worked out a concept solution which isn't perfect but doesn't suffer from Chromium-caused downsides.

How to set this up:

First of all you need Easy Debian. I told you it's not the optimal solution, didn't I?

After you set up Easy Debian, install Chromium in Easy Debian chroot // concept solution doesn't need all this stuff, but isn't perfect

Code:

apt-get install chromium-browser
Then you need to set the Mojo framework up.

http://wiki.maemo.org/Standard_WebOS_apps

You can download WebOS image from here

Prewebenv provides a symlink in /usr/palm which point to /home/user/palm

Why that way? It's nice to have all the setup done after reflash. You have all the apps saved too.
With it you can install the WebOS apps (preenv games too) by just
Code:

dpkg -x /path/to/ipk/file /
How to run a Mojo app?

After adding the line specified in the wiki, you just need to run
Code:

prewebenv /usr/palm/application/<appname>/index.html
Unfortunately, you need to provide the full path. I don't know a way to modify the arguments yet.

What works not:
  • Chromium is sluggish and laggy
  • Launching an app is really slow
  • You need Easy Debian
  • vkb doesn't work in Chromium.
  • You need to provide full path
  • For Easy Debian you need to modify the index.html // in concept solution it should be removed as the workaround causes the interface to be painted 2 times
  • There's no easy way to make shortcuts
  • EDIT: the concept solution has problems too. Although it reduces the problems of Chromium (lagginess), it has problems with running them.

As you can see, there's a lot to be done. There's a concept solution I found, but it's very imperfect... http://talk.maemo.org/showpost.php?p...0&postcount=17

The current team for QtWRT porting is:
  • marmistrz
  • TransTech - he did some QtWRT apps

If you want to support my work, you can DONATE. Thank you!
If you can't donate but you want to support this project, please contact me.

sifo 2012-06-09 14:38

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
marmistrz you rock again ;) thank you

naru 2012-06-09 16:13

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
thanks u are rocking... very nice

HtheB 2012-06-09 16:32

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
finally!
thanks! been waiting so long for this! :)

possible to make it able to work for N9/N950

qwazix 2012-06-09 16:47

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
There is native chromium for the N900 on a contributors repository

deb http://maemo.jacekowski.org/ fremantle free non-free

maybe that works a bit better

marmistrz 2012-06-09 18:37

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
Quote:

Originally Posted by qwazix (Post 1219942)
There is native chromium for the N900 on a contributors repository

deb http://maemo.jacekowski.org/ fremantle free non-free

maybe that works a bit better

Unfortunately it won't. I checked it a long time ago. I tried chess.com app and it works with chromium >= 6. With chromium 5 there's an "Aw snap" error.

willi6868 2012-06-10 14:32

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
[OffTopic]

An emuluator/app like AlienDalvik (which have been never released?!) for running Android apps would be amazing. :D :)

[OffTopic]

Nice work! :)

marmistrz 2012-06-27 18:21

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
I've just uploaded a minor update. Chromium had problems with the location of the symlink. Now the symlink points to /home/user/palm.

jflatt 2012-06-27 19:27

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
What kind of problems did you run into with QtWRT?

MINKIN2 2012-06-27 20:54

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
This is cool! Would be nice to have some sort of exhibition app runnuing on the n900.

Sadly I appear to have stumbled on the first hurdle already...

What is missing?

Code:

Chroot dir specified: /.debian
No image file or partition specified.
ls: /media/mmc1/debian*.img*: No such file or directory
/.debian has a qmount already!
/home/user/MyDocs/debian-m5-v3d.img.ext2 already mounted on /.debian...
Everything set up, running chroot...
[root@deb-m5v3d: /]apt-get install chomium-browser
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Couldn't find package chomium-browser



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

vBulletin® Version 3.8.8