Active Topics

 



Notices


Reply
Thread Tools
Posts: 105 | Thanked: 99 times | Joined on Feb 2011 @ India
#1
Since both opera widgets and "QT Web Runtime" uses open web technologies to make native applications, I was wondering if its possible to make opera widgets run natively on N900. It turned out to be surprisingly easy.

"QT Web Runtime" needs to be installed from extra-devel if you dont have it installed already.

As the experiment, I tried to run Pipe Mania.

Heres the steps I did to "port" pipe mania:
1) Download pipe mania.

2) It will have .wgt extension which is just a zipped archive renamed to .wgt. Extract the contents.

3) The extracted folder will have all the html, css, js files. The config.xml needs to be edited.

This was the original file:
Code:
<?xml version='1.0' encoding='UTF-8'?>
<widget height="688" version="1.0" viewmodes="floating" width="467">
  <name>Pipe mania</name>
  <description>Old school Pipe Mania game reactivated!</description>
  <icon>icons/icon-128.png</icon>
  <icon>icons/icon-64.png</icon>
  <icon>icons/icon-32.png</icon>
  <icon>icons/icon-16.png</icon>
  <width>413</width>
  <height>605</height>
  <author>
    <name>Opera widgets</name>
    <organization />
    <email />
    <link />
  </author>
  <widgetname>Pipe Mania</widgetname>
</widget>
I modified to this:
Code:
<?xml version='1.0' encoding='utf-8'?>
<widget xmlns="http://www.w3.org/ns/widgets" version="1.0" viewmodes="maximized">
  <name>Pipe mania</name>
  <description>Old school Pipe Mania game reactivated!</description>
  <content src="index.html" />
  <icon src="icons/icon-32.png" />
  <width>413</width>
  <height>605</height>
</widget>
4) Select all files & folders including the config.xml and compress to a zip archive. Do not archive the parent folder, it wont work. Change the extension from .zip to .wgt.

5) Copy the file to n900 and run using file manager. The application will be installed and a shortcut will be created in the application menu. Play the game!

------
Direct link to the app file
Attached Images
  

Last edited by niloy; 2011-04-22 at 17:47.
 

The Following 37 Users Say Thank You to niloy For This Useful Post:
HellFlyer's Avatar
Posts: 1,148 | Thanked: 613 times | Joined on Mar 2010 @ Toronto
#2
Awesome! Could you please attach the file here?
__________________
The quieter you become the more you are able to hear


"I'm a N900 user, can I haz Flash 10 plz?!11!?" © Jaffa


Elopocalypse started on 11.02.2011
 
Posts: 105 | Thanked: 99 times | Joined on Feb 2011 @ India
#3
Originally Posted by HellFlyer View Post
Awesome! Could you please attach the file here?
Here. Also updated first post.
 

The Following 3 Users Say Thank You to niloy For This Useful Post:
Posts: 31 | Thanked: 10 times | Joined on Feb 2011
#4
Sounds very cool!! i tried Forest Tower but it didn't work for me. Let me know if someone get it working.
 
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#5
Wow!!! Always wondered about doing this. Used to like running the widgets on the N95-8GB.

Wonder what other widgets can be ported.
__________________
Mick has just punched the cr@p out of the "Unlike" button on the Official Nokia Facebook Page.
 
Posts: 2,014 | Thanked: 1,581 times | Joined on Sep 2009
#6
Tried several. Either they didnt run or I got the error Installation failed - Web application.
__________________
Class .. : Power Poster, Potential Coder
Humor .. : [*********] Alignment: Chaotic Evil
Patience : [***-------] Weapon(s): +2 Logic Mace
Agro ... : |*****-----] Relic(s) : G1, N900

 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#7
Backgammon also works, but the screen is really small and the filed is a bit messed up. Doesn't worth a try.
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>

Last edited by Alfred; 2011-04-23 at 13:17.
 
Posts: 293 | Thanked: 81 times | Joined on Dec 2010 @ Al Quds, Isawiya
#8
cant install web runtime
not compatible error
 
Posts: 102 | Thanked: 23 times | Joined on Apr 2010
#9
What an idea, sirjee..
 
Alfred's Avatar
Posts: 855 | Thanked: 612 times | Joined on Oct 2010 @ Germany
#10
Originally Posted by N900L View Post
cant install web runtime
not compatible error
Did you install it through deb? try installing it with HAM or FAM
__________________
Reps are just one click away: Extras | Extras-Testing | Extras-Devel | My-Maemo | CSSU |
Transform your lock screen into a weather forecast Thanks button ================>
 
Reply


 
Forum Jump


All times are GMT. The time now is 07:25.