Jump to content

Recommended Posts

Guest tibor22
Posted

I constantly use the Calendar widget on my Omnia Today screen but it is too big, occuupying a lot of the valuable space. So I'd rather use another, smaller widget for the same purpose, and I do have one (downloaded earlier together with many others -- I don't remember from where).

This custom Calendar widget shows the current month and today's date in a small box but does nothing on click. So, my big desire would be to modify somehow the widget in order to be able to open '\Windows\Calendar.exe' - like Omnia's original Calendar widget does. But I am not an expert at all...

I attach the widget. I renamed the .wgt file extension to .zip, thus you can open the widget. There is a small java script inside the 'js' folder, I think this script should be modified by adding a command to open Calendar.exe on click.

So I would be very grateful if someone could help! I am sure not only me but many of us will put it on if we can improve its usability.

Thanks,

ctibor

calendar3.zip

Guest tibor22
Posted

I've tried to insert a command to open the Calendar app on click, after reading some Java programming web tutorials, but no success so far.

Anyway, some programming knowledge would be needed...

Still waiting for help!

Guest condorx
Posted

As far as I know:

no way you can do it, we're all waiting for Samsung to release a software developement kit to do such things (hope it will be this month or next).

Online widgets are neutral to the system: you can run simple scripts - eg clock, calendar - and open webpages, but you can't run command lines, open programs etc.

Guest tibor22
Posted
As far as I know:

no way you can do it, we're all waiting for Samsung to release a software developement kit to do such things (hope it will be this month or next).

Online widgets are neutral to the system: you can run simple scripts - eg clock, calendar - and open webpages, but you can't run command lines, open programs etc.

I fully understand what you have written. But I don't understand how it is possible then that the current OnlineWidgets, made by Samsung, present in the newest ROMs, also have some widgets that trigger an application of the PDA (like the Clock, or the one that writes new SMS, or the original Calendar widget itself).

Isn't is possible to find out how they do that? (Sorry for the naive question, I'm really just a simple user who likes to try every new and good feature avaible for my Omnia. And the possibility to use new widgets, other than the factory-made ones, is really an exciting feature!)

Guest condorx
Posted (edited)
I fully understand what you have written. But I don't understand how it is possible then that the current OnlineWidgets, made by Samsung, present in the newest ROMs, also have some widgets that trigger an application of the PDA (like the Clock, or the one that writes new SMS, or the original Calendar widget itself).

Isn't is possible to find out how they do that? (Sorry for the naive question, I'm really just a simple user who likes to try every new and good feature avaible for my Omnia. And the possibility to use new widgets, other than the factory-made ones, is really an exciting feature!)

Guess we're just talking about two different kind of widgets: online widgets (= opera widgets, simple .wgt files, a few already in ROM) still differ from system widgets (no chance to study or modify them).

I agree that widgets are pretty undervalued, and personally I love'em: they just need more customization and functionalities (eg appointments, optimized size, maybe a multi-page desktop).

Anyway samsung is about to release the right sdk, so hopefully there's a little to wait. And there's the chance we'll get a few touchwiz updates too, stay tuned.

Edited by condorx
Guest tibor22
Posted
Guess we're just talking about two different kind of widgets: online widgets (= opera widgets, simple .wgt files, a few already in ROM) still differ from system widgets (no chance to study or modify them).

I agree that widgets are pretty undervalued, and personally I love'em: they just need more customization and functionalities (eg appointments, optimized size, maybe a multi-page desktop).

Anyway samsung is about to release the right sdk, so hopefully there's a little to wait. And there's the chance we'll get a few touchwiz updates too, stay tuned.

Thanks for the information!

Now I see that you are right: only the system widgets are capable of opening applications. So we should wait for the SDK (and the good work of our forum-mates with it :D ).

cheers

  • 4 months later...
Guest BAStumm
Posted

You should be able to use the "onclick" Javascript function in conjunction with "launchApp" to acheive the desired result. As some may have already figured out, specifying the path doesn't seem to work so I'm guessing you need the applications UID instead of the path. If anyone has had luch with this or knows how to get the Application UID for various applications let me know. I tried:

<div id="L02" width="132" height="46" onclick="launchApp('/Windows/clock.exe')">

but no success.

Anyone figured this out???

  • 2 weeks later...
Guest tibor22
Posted
You should be able to use the "onclick" javascript function in conjunction with "launchApp" to acheive the desired result. As some may have already figured out, specifying the path doesn't seem to work so I'm guessing you need the applications UID instead of the path. If anyone has had luch with this or knows how to get the Application UID for various applications let me know. I tried:

<div id="L02" width="132" height="46" onclick="launchApp('/Windows/clock.exe')">

but no success.

Anyone figured this out???

I've read somewhere that Samsung finally made its Widget development API avaible, but unfortunately it doesn't support triggering the device's apps either. :D

It's really a pitty...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.