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)

HtheB 2012-06-27 21:17

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
does anybody know if grooveshark is working?

by the way, is there no way to get preenv and prewebenv to work on harmattan?

jflatt 2012-06-27 23:44

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

Originally Posted by MINKIN2 (Post 1228331)
E: Couldn't find package chomium-browser

chromium-browser

marmistrz 2012-06-28 11:19

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
1 Attachment(s)
Quote:

Originally Posted by MINKIN2 (Post 1228331)
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


it was a typo, it should be chromium-browser, as jflatt said.


Quote:

Originally Posted by jflatt (Post 1228310)
What kind of problems did you run into with QtWRT?

At first it was http://imageshack.us/photo/my-images/72/chesso.png/
Then I found that way out (attached patch) - the patch was created for the original framework.js
And after patching the error was:

TypeError: Result of expression 'Mojo.appPath' [null] is not an object. framework.js:601

Should I write more about how I set it up?

Quote:

Originally Posted by HtheB (Post 1228339)
does anybody know if grooveshark is working?

by the way, is there no way to get preenv and prewebenv to work on harmattan?

Prewebenv: I don't think so. Unless you have chromium >= 6.0 for it. And easy debian isn't present on N9 afaik.

HtheB 2012-06-28 22:38

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

Originally Posted by marmistrz (Post 1228540)
Prewebenv: I don't think so. Unless you have chromium >= 6.0 for it. And easy debian isn't present on N9 afaik.

I was talking about grooveshark the app that is available for webos. They have an app for webos.

qwazix 2012-06-28 23:14

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
Have you tried helium with this? Webkit based, don't know now recent, might help remove the dependency to easydebian

marmistrz 2012-06-30 18:23

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

Originally Posted by qwazix (Post 1228819)
Have you tried helium with this? Webkit based, don't know now recent, might help remove the dependency to easydebian

Yeah, I think I tried every browser for N900 I found. Only one of them worked at all (the application showed up) - it was probably Digia @web IIRC (for sure there was a blue bar on the right to zoom in & out). Even in this browser trying to log-in to chess.com (I tested with this app) doesn't work, and I didn't see any command line options for @web.

marmistrz 2012-07-08 20:03

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle
 
I'm uploading an other approach, it's a very pre alpha try, but the best way I've found. It's.... Qt HTML5 application. It doesn't complain as much as QtWRT. I modified it so that you should run
Code:

/path/to/prewebenv-runner /path/to/webos/app/index.html
It's run in fullscreen (so you may need to "end current task")
Some features may not work. There might be some problems with touch screen mapping. But this may be connected with my specific software configuration. Please tell how it works with your apps!

Finally the download
http://marmistrz.net63.net/public/prewebenv/
The source is uploaded too, the .tar.gz file. The file prewebenv-runner.gz is the executable.

To developers: I don't think whether it's any need of sticking with QtWRT if this approach works (not perfectly, but it's more customizable than a browser and more working than QtWRT).
What do you think?

ivgalvez 2012-07-09 13:22

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle [Added a concept solution on 9th Jun 2012]
 
Helium Mobile is now available for Maemo 5. Might worth to try with it.

marmistrz 2012-07-09 16:18

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle [Added a concept solution on 9th Jun 2012]
 
Quote:

Originally Posted by ivgalvez (Post 1234441)
Helium Mobile is now available for Maemo 5. Might worth to try with it.

Apps won't load with Helium Mobile. Is anyone here experienced in Qt HTML apps?

marmistrz 2012-07-11 09:12

Re: [Announce][Pre-Alpha] Prewebenv - run Mojo WebOS apps on Fremantle [Added a concept solution on 9th Jun 2012]
 
There was some problem with the executable. I recompiled it and reuploaded.
The executable is in the prewebenv-runner.gz file.
You should gunzip and chmod +x it.


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

vBulletin® Version 3.8.8