Notices


Reply
Thread Tools
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#31
Originally Posted by kubahaha View Post
Hi! I am impressed with sviox's work, but i have few questions:
1. Why every widget (from Opera, or Tizen) give me error "Invalid configuration file", what should i do to fix it? Example widget: link
2. How can I check version of Hydra, i am running?
Sorry for the late reply (been a bit busy with the xmas and all!).

1) I've successfully installed that same Bubbles widget several times and it should be working flawlessly. How are you installing it? Also, if you have developer mode enabled, could you check if the installation successfully extracts the config.xml from the package to /tmp/widget-installer/ (not on my Linux at the moment so not exactly sure about the path but something like this).

2) Go to "Device settings", select "Applications", then "Manage installations". This starts the package manager of the device. In it's main view you can see all the installed applications (with their versions below the name) on your device alphabetically sorted. Try finding "Hydra widget platform" (or "Widget runtime beta" if your using an older version). To help you with issue #1, please let me know what version your running.
 
Posts: 142 | Thanked: 72 times | Joined on Jan 2013
#32
I have tried some wigets. Some are ok but most of the cases are slow. It's hard to find more wigets though the Hydra is good app. Continue to follow this topic...
 
Posts: 142 | Thanked: 72 times | Joined on Jan 2013
#33
Dear Dev,

I like to browse picasa photo from GApp of N9 but seems it not good enough. I find the attached wiget (blw link) of Picasa_photo but cannot install. Maybe it's not compactable with Hydra. Can any one convert the file so we can use to the browse picasa photo? tks

https://www.dropbox.com/s/3902yxhhn0...asa_photos.rar
 
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#34
Originally Posted by Macros View Post
Thank you that worked

Maybe you can extend your application and add the functionality to scan the first subdirectory as if it was the top level of the zip file when install fails.
I got a bit ahead of myself by planning this feature. This is unfortunately explicitly forbidden by W3C compliancy (http://dev.w3.org/2006/waf/widgets/#ta-dxzVDWpaWg) so I'm afraid it won't happen.
 
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#35
Originally Posted by tonyhuynh View Post
Dear Dev,

I like to browse picasa photo from GApp of N9 but seems it not good enough. I find the attached wiget (blw link) of Picasa_photo but cannot install. Maybe it's not compactable with Hydra. Can any one convert the file so we can use to the browse picasa photo? tks

https://www.dropbox.com/s/3902yxhhn0...asa_photos.rar
Hi! The widget seems to install just fine with the latest Hydra but the widget seems to have some issues. The runtime stops running the widget's code after it encounters an error in file riff.beta.1.8.9.js, at line 2379. This is an error in the widget since the line is:
Code:
widget.window.resizeWindow(_width, _height);
Now if you look up widget API defined by W3C in http://www.w3.org/TR/widgets-apis/#widget, you'll see that the widget does not have a window property and thus the execution is stopped.

The widget configuration contains some weird stuff in it too. It defines widget dimensions to be explicitly 400x400, which means that Hydra will scale the app 1.2x in portrait and prevent scrolling in any direction (due to static size). The content seems to be optimized for about 530px wide viewport.

There is also a reference to BONDI (depricated platform API that has been replaced by WAC) feature usage in the configuration file, suggesting the widget was created for Bada or LiMo platforms.

Where did you find this widget?

EDIT: Should have guessed, it's Samsung's quality software work at large here. Samsung seems to be using a weird non-standard Widget API (http://developer.samsung.com/widgets...ocs/Widget-API). I'll have to think if it's worth the trouble to be compatible with that.

Last edited by sviox; 2013-01-06 at 11:42.
 
Posts: 142 | Thanked: 72 times | Joined on Jan 2013
#36
Hi Sviox,

You are right. I got the file from: http://developer.samsung.com/widgets.../Picasa-widget. Thanks for your sharing. The thing we lack is, we hardly find good apps at this time of blooming HTML5...
 
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#37
Originally Posted by tonyhuynh View Post
Hi Sviox,

You are right. I got the file from: http://developer.samsung.com/widgets.../Picasa-widget. Thanks for your sharing. The thing we lack is, we hardly find good apps at this time of blooming HTML5...
That's quite so - unfortunately.

I kind of got interested on Samsung's Widget API additions and there may or may not be some level of support for them in the next version
 
Posts: 68 | Thanked: 25 times | Joined on Mar 2012
#38
I have a problem with a widget . wgz tells me "failed to extract the config file " I have the latest version . time ago, elleo ( tizmee developer ) modified this widget , just told me that I had to add a configuration file ( . xml ) , and it worked , the problem here is that they released an update of that widget , and I have to modify it for use with your application , how can I add that configuration file ? or How to convert. wgz to wgt ? This is the file https://www.dropbox.com/s/8w1ibglr7c...ader_1.0.6.wgz
 
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#39
New version is at Store intake at the moment. Here are the changes in version 1.3.3:
* Implemented support for WAC 2.1 orientation API
* Implemented support for WAC 2.1 accelerometer API
* Implemented support for Samsung's (SHP, Bada and Windows Mobile) additions to Widget API and configuration rules
* Widget description and update-description can now be decorated with HTML
* Added widget type to details page
* Added Wikipedia shortcut widget
* Fixed launcher shortcut name during installation
* Fixed showing license from files that are embedded in the packaging
* Fixed storage size on details page to refresh when preferences or cookies modified

panukooo: I'll check your widget another day later this week, ok?
 

The Following 4 Users Say Thank You to sviox For This Useful Post:
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#40
Originally Posted by panukooo View Post
I have a problem with a widget . wgz tells me "failed to extract the config file " I have the latest version . time ago, elleo ( tizmee developer ) modified this widget , just told me that I had to add a configuration file ( . xml ) , and it worked , the problem here is that they released an update of that widget , and I have to modify it for use with your application , how can I add that configuration file ? or How to convert. wgz to wgt ? This is the file https://www.dropbox.com/s/8w1ibglr7c...ader_1.0.6.wgz
Okay I tried to install the app and here is what I discovered. First of all, that widget is .wgz, which means that it's created for Symbian WRT platform. As such, it should be supported by Hydra directly, without adding the config.xml. Symbian widgets use a configuration file called "info.plist" instead.

Hydra seems to be looking for info.plist file in case-sensitive manner because W3C demands such behavior for config.xml. And unfortunately this widget contains "Info.plist" file (capital first letter), which prevents the configuration file extraction from working. Nokia documentation doesn't say if this should be handled case-sensitively and this is the first widget with this kind. But since I suppose the file works on Symbian, it is a bug. I'll see about fixing this for the next version.

Meanwhile, you can 'fix' the widget by unzipping it, renaming the "Info.plist" to "info.plist" and then rezipping the whole thing (remember to zip the directory with the files, not the files in that directory, i.e. info.plist should not be on the root of the zip package but exactly one directory below!). Finally, rename the .zip file to .wgz and your ready to deploy it on your N9.
 

The Following User Says Thank You to sviox For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:55.