yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] nir36:
Widget AIP (Auto Install Package) Manual

The following zip contains 4 flash files and 1 XML file which are the example of how to make an installation package for FEWidgets.

The code in the XML was written by nicolas in the Widget Creation document.

all you have to do is download the example, replace the files in the zip with your files and change the zip file's name to have an installation package.

changes required are as follows:

1. change zip name to whatever you want..

2. switch both NAMEico files with your files while NAME is the widget's name

3. switch both NAME files with your files while NAME is the widget's name

4. edit the xml file and change the values inside according to what is written in the right fields.

5. copy the zip file to /program files/FEWidgets/install and in the config app choose to install new widgets.

PLEASE! if you post a reply with a widget and want to add more widgets DO edit your post and add them there. this way we can keep 1 post per user with all his widgets and keep this thread as clean and organized as possible for nicolas to read.
[Windows Mobile Development and Hacking General] nir36:
here are the first 3:

Unread SMS Count and Missed Calls Count with 2 icons and a Clean Date Widget.

-Clicking the icon in the SMS widget will load poutlook messaing

-Clicking the icon in the Missed Calls widget will load iContact in Missed calls

-The date widget is nicolas' date widget changed to be white with no background

Preview

These are AIP

Updated [28/11/08]

- cleaned garbage from widgets

- changed SMS and MC to sleeker looks and embedded numbers

enjoy.
[Windows Mobile Development and Hacking General] nicodega:
Updated first post with all 3 widgets =D (when you have some time could you place a screenshot on the post with the three widgets? I believe I've seen one already :))

Thanks! (I've also added a link to the AIP template you made :))
[Windows Mobile Development and Hacking General] nir36:
hehe. i must also mention that the basis of the action script for all widgets was made by nicolas... i only edited and added things... and will change more.

I have to go to sleep.. long day tomorrow, but i'll post screen shots tomorrow.

goodnight :)
[Windows Mobile Development and Hacking General] pcforce:
Widgets

Here is my post for widgets.

1)

Battery Meter ver1.4

AIP package; its a 5 stage animated meter; screenshots: onsidebar.jpg onscreen.jpg

2)

LGMenu widget ver1.0

AIP package; ported version of LG Today Plugin and LGMenu for FEWidgets, fits best on 240x screen with no bottom bar and Opera browser installed; screenshots: LGM_sidebar.jpg LGM_onscreen.jpg

3)

Tiny Browser ver1.0

AIP package; this widget is based on Touchwiz's browser shortcut gadget however this one is configurable - you can actually make it run just any .exe from \Windows\ directory; you can change launched application/browser at FEWidgets\custom\Tiny Browser\config.xml; by default its set to launch Opera; screenshots: Tiny_Browser_onscreen.jpg

All packages install sources aswell (custom\).
[Windows Mobile Development and Hacking General] nicodega:
Updated first post, thanks :)
[Windows Mobile Development and Hacking General] nir36:
btw, there should probably be an option to uninstall a widget
[Windows Mobile Development and Hacking General] nicodega:
There is an option... on the configuration section when you select a custom widget the uninstall option on the menu should be enabled.

There is also an installer section for uninstall special commands I think (dont remember right now).

You should restart the application when the widget is uninstalled.
[Windows Mobile Development and Hacking General] pcforce:
It seems like we wont be able to use just one post to put all widgets/screenshots - its just limited to 8 files :(

BTW new widget posted (Tiny Browser)
[Windows Mobile Development and Hacking General] pcforce:
I'm having problems with widgets which call dynamically other swf files. It works just fine on pc, icon shows on sidebar and widget can be dropped on screen but it just dont appear, like its nothing there and FEWidget dont freeze or crash. Here is sample code:

_root._quality = "high";

_level0.FEWidgetsAPI.SetClickAndDrag(_root._name, _root.drag, Empty, true, false);
_root.loadMovie("w1.swf");

stop();

and there are just two layers where second one ("Drag") containing movieclip with alpha=0
[Windows Mobile Development and Hacking General] nicodega:
When you have this kind of problems I suggest you look at the FLA files on the sources. You have to use the full application path and appenf file:// at the start:

_level0.FEWidgetsAPI.SetClickAndDrag(_root._name, _root.drag, null, true, false);

_root.loadMovie("file://" + _level0.BasePath + "[B]swf_folder[/B]\w1.swf");

stop();

Where swf_folder is a folder below the app folder. You can check pb.FLA fpr a working example.

You should also not set quality on your widgets as it affects the whole movie.
[Windows Mobile Development and Hacking General] nir36:
nicolas, besides the problem with the inability to disable the Application Shortcut and Weather widgets there is also a problem with uninstalling installed widgets.

when i try to uninstall it tells me that it's "Unable to uninstall Widget"... or something of that sort.
[Windows Mobile Development and Hacking General] pcforce:
Thanks, "file:" thing work but i can't make it dragable. Tried several ways but nothing changed. Looks like i'm doing something wrong. Here is code i end up with (there is only one layer called "main" and nothing on it):

_root.createEmptyMovieClip("content",0);
_level0.FEWidgetsAPI.SetClickAndDrag(_root._name, _root.content, Empty, true, false);
_root.content.loadMovie("file:\\Program Files\\FEWidgets\\widgets\\w1.swf");

stop();

w1.swf is still an external animated movie with its own actionscript
[Windows Mobile Development and Hacking General] nir36:
I need help.. this is driving me nuts.

When i embed the numerals for the Missed Calls/SMS Count widgets it makes them disappear. only when i use device fonts it works.

i have no idea why...

it looks REALLY bad when it uses device fonts instead of embedded ones.
[Windows Mobile Development and Hacking General] nicodega:
As dragging involves assigning events you might want to create another MovieClip and use it as a hitzone. Try using null instead of Empty too.

Try increasing the size of the text area.. perhaps that's what is bothering you. (it happened to me once :))

I'll check the uninstall procedure on a future... oh an btw b5 had some bugs, I recommend a fall back to b4.
[Windows Mobile Development and Hacking General] pcforce:
Managed to get drag working but whatever i do all my layers always remain bellow spawned w1.swf. The only reason it drag is because the movie spawns only particially on layers surface (despite that whole movie is visible).

Drag didnt work with MovieClip and SetClickAndDrag function. I went for following code that i found on your manual:

on(press)
{
_level0.WBeginDrag(_root._name, this);
}

on(release, releaseOutside)
{
_level0.WEndDrag(_root._name, this);
}

Its better now but still need to be found a way to get a layer over the movie and to center this movie

EDIT: movieclip is now centered, now only hitzone button/layer need to be brought at the top
[Windows Mobile Development and Hacking General] nir36:
lol, i made it 6 times the size it was and it still doesn't work.

it just won't show the number.

I embedded chars on other widgets and this is the only one it doesn't work on.

edit: WORKS! the god damn widget was set for flash player 10 instead of 7 for some reason. those are the exact problems which make your want to kill yourself.

cheers

btw nicolas, i updated all 3 widgets, please update the first post.

another question: as you can see on my screenshot there is some kind of nettish background to the widgets. is there a way in which i can delete that?
[Windows Mobile Development and Hacking General] nicodega:
Updated first post.

I really like your version of my widgets :).. the screenshot is awesome =D
[Windows Mobile Development and Hacking General] nir36:
Thanks man.. it's all your work.. i just edited it a bit. I think this is the nicest screen i ever yet to have.

I'd appreciate a comment on the background question in the previous post tho :)

i'll release my version of your Apps/Tasks widgets.. graphically edited in a few days.
[Windows Mobile Development and Hacking General] nicodega:
By nettish background you mean "like a net"? did you set alpha to 0 on the background or deleted the background of the widgets?

Looks as if there is something with really low alpha..

Perhaps it's because on the flash compact edition the Hitzones with alpha 0 are drawn that way... but they are used for click and sweep detection.. you can't remove them.. you could change them though as they are a common movieclip with 0 alpha :)
[Windows Mobile Development and Hacking General] nir36:
but they do not appear anywhere... how do i reach them?
[Windows Mobile Development and Hacking General] nicodega:
I dont have the sources with me but they should be on a layer named Hitzone or something.

If not, you can select all and unselect those you can see :) (be sure you set all layers to visible and not locked)
[Windows Mobile Development and Hacking General] pcforce:
Small Calculator (Touchwiz)

Small Calculator ver1.0

AIP - Small Calculator is complete port of Touchwiz's calculator widget to FEWidgets; tip: to drag widget around your screen, aim at the top bar which is used to show whats you're typing and your results - dragging wont work on calculator's buttons;
[Windows Mobile Development and Hacking General] nir36:
this calculator rocks! :)

it's even pretty easy to click the numbers even tho the calc is really small.

cheers :)
[Windows Mobile Development and Hacking General] nir36:
I've got a recommendation for a widget.. which i doubt i'd be able to create myself unless i get MAJOR guidance.

upload/download counter. counting upload/download speed and overall downloaded/uploaded info.

I'll create the graphics. would anyone create the code? :)
[Windows Mobile Development and Hacking General] pcforce:
I would like having such widget but i'm not sure how accurate would be. Correct me if i'm wrong but all widgets become suspended when today screen is not on focus.

@nicodega

please update links to all my widgets (and add Small Calculator to the list) cause recently i re-upload them and links are now broken ...
[Windows Mobile Development and Hacking General] nir36:
well, we can at least have a go at upload/download speeds
[Windows Mobile Development and Hacking General] nicodega:
Updated, and no widgets are not suspended (I think). I tried to do that but cant detect focus when app is being shown on the today screen and I couln'd stop the flash player completely either.

About the teansfer widget, if that's information already on the registry it's a piece of cake, if not it would require a new FsCommand on a custom provider (C#).
[Windows Mobile Development and Hacking General] nir36:
Well, there are very light apps with this feature.. so maybe we can draw the info from them.. i'll look it up.
[Windows Mobile Development and Hacking General] bensmiller:
I was wondering if it would be posiable to make a app launcher that was like the wallpaper changer I have noticed that most off the time when you do the shortcut thing for stuff it shows a pic so blow it up a bit and instead of set be like go or start also if it can display jpgs couldn't it maybe be a document preview for like microsoft word ? I think that would be nifty
[Windows Mobile Development and Hacking General] nicodega:
The first part wouldn't be too hard.. although icons would probably look bad when resized... the preview thing is probably really difficult to do.
[Windows Mobile Development and Hacking General] nir36:
If we managed to have a container for the pictures.. we would be able to put pictures of our own, captured by us, and have the names written down in a text box.. by us of course.

just like the wallpapers widget just.. having lnks to apps.
[Windows Mobile Development and Hacking General] nicodega:
I tried the widget and I couldn't get it to work (it couldn't find the swf under \custom).

I've modified the source so the app path is not hardcoded and now it works. :)

EDIT: I didn't realize I had to copy a file to /widgets..
[Windows Mobile Development and Hacking General] nir36:
actually it works fine on my device once you copy the needed file to /widgets folder..

btw nicolas, did you check the problem with the uninstallation of widgets?
[Windows Mobile Development and Hacking General] nicodega:
Oh... that's why it didn't work :o I did not copy the file hehe... the modified version would make it a full AIP widget :)

Check the app post.. new version is up.
[Windows Mobile Development and Hacking General] nir36:
Cool. thx.
[Windows Mobile Development and Hacking General] misfitwrx:
is anyone developing a stock ticker widget? that would be a really useful one
[Windows Mobile Development and Hacking General] nir36:
i agree.

maybe based on the vista widget..
[Windows Mobile Development and Hacking General] ilai:
Very nice work bro....many many thanks
[Windows Mobile Development and Hacking General] ilai:
Thank you very much
[Windows Mobile Development and Hacking General] wwsinclair:
Hi, quick question.. is there anyway to make the digital clock 12h and not military 24h? Sorry if this has been covered but can't seem to find a fix (not a 24h clock guy) :)
[Windows Mobile Development and Hacking General] derekwilkinson:
I have a lot of requests...

I've been using TouchFlo 2D for a long time, because it's very usable. But I'm a bit bored of it.

I think using widgets would be cool/fun, but I'd need some certain ones for it to be super usable.

1. A 12 hour digital clock (that doesnt take a lot of space)

2. a nice looks missed SMS widget, call widget, and email widget, all leading to their corresponding apps.

3. an easy way to get many contacts (maybe a widget that expands when clicked, giving around 6 contacts, a link to all contacts, and to close)

4. an easy way to get many apps (maybe a widget that expands when clicked, giving around 6 apps, a link to all contacts, and to close)

:)
[Windows Mobile Development and Hacking General] nir36:
you can use the configurator app to configure the diamond clock to 12h instead of 24
[Windows Mobile Development and Hacking General] nir36:
Dude, you should check it before asking for stuff that already exist.

1. the diamond clock has an option to show 12h instead of 24h and you can shrink it as much as you like.

2. there are both SMS and missed calls widgets i've made and theyre posted in this thread in the first post.

3.there's a speeddial widget which expands.

4. you can drag shortcut widgets to the main screen.
[Windows Mobile Development and Hacking General] derekwilkinson:
I've seen/used all of those, but I would like just a normal clock, kind of like the date widget on the Omnia, but just the time.

2. I saw those, but they didn't seem to work right for me :( I don't know why, I dragged them on, dragged back, then they disappeared and never would re-install

3. Yes, but it only has 4 contacts, and you can't add more than one

4. I know, but I would want something that when you tap it, it expands, showing more apps.
[Windows Mobile Development and Hacking General] nir36:
1. I'll design a clock for you.

2. The widgets for the SMS and missed calls work fine.. for other people as well..

did you use the AIP?

3,4. you'll have to ask nicolas or pcforce to help with that...
[Windows Mobile Development and Hacking General] motisu:
Addins not working from SD card

Sorry to quote myself but:

The problem is with Pcforce's widgets. All of Nir36's are OK
[Windows Mobile Development and Hacking General] evilc:
Nice app, but how about updating the Bluetooth widget so that it shows the state of bluetooth?

Kind of like how I did in my SaFF theme - http://xdaforums.com/showpost.php?p=2920483&postcount=3
[Windows Mobile Development and Hacking General] lele.d:
Widgets with Name or OP Logo

Hi,

Is possible to have a Widgets with the name or logo Operator?

Thanks in advance.

Lele.
[Windows Mobile Development and Hacking General] nicodega:
they already show bluetooth status.. if blue its on, if it's gray it's off.

EDIT: Sorry I've just seen the other states. I'll see if it's easy to do, however I'm really busy these days.
[Windows Mobile Development and Hacking General] pcforce:
I have to warn those users that use some of my widgets - if you notice that your battery is drained fast, its possible a widget of mines to cause it. I still can't identify what exactly cause it, it could be also a widget i'm testing but its not published.

Just keep that in mind if you have problems with your battery.
[Windows Mobile Development and Hacking General] pcforce:
I'm using hardcoded paths indeed. This is mostly cause it makes it easier to test a widget on a virtual device when you have to do it very often. I know that this shouldn't be an excuse.

If there is a problem with a widget of mine there are three possible options:

1) widget have a bug that i'm not aware of

2) you haven't done all installation steps - there might be a readme file in custom\"widget's folder" explaining what have to be made

3) widget's paths are hardcoded which means they will only work if your FEWidgets installation is in Phone's memory (not SD); you can use source codes to fix that if you have Flash on your PC

I hope that helps.
[Windows Mobile Development and Hacking General] motisu:
I don't have Flash on my PC and I have no knowledge at all in flash coding. Is it too much trouble to make an alternate version that can be installed on SD? I am very tight on free space and FE and its widgets take up quite a bit.

Thanks
[Windows Mobile Development and Hacking General] pcforce:
Small Operator

Small Operator

- AIP package - this widget shows your Operator's name; its compatible with internal memory and SD installations of FEWidgets; screenshots - not available atm.

KNOWN BUG:

- when you first drag and drop the widget on your screen it will show you "No Service" and it will stay that way until you tap once on the widget (you will feel vibration feedback); you can use this method to update widget's status
[Windows Mobile Development and Hacking General] romeor2k:
hi there, i am not sure how you go about configuring the tiny browser to your chosen app, e.g. skyfire...how do you change the default app opera which it opens to something else...

thanks in advance
[Windows Mobile Development and Hacking General] pcforce:
go to the folder where you have FEWidgets installed and then go to \custom\Tiny Browser\ there is config.xml as far as i remember. You will see operaP.exe inside, you can change it to something else as long as its located in \Windows directory cause widget will look only there.
[Windows Mobile Development and Hacking General] romeor2k:
hi thanks for replying back, ok i'm in the tiny browser folder and there are three files, there is one called config which i have clicked on and thats how i find out that its set to open opera, but i dont understand where i go or click on next to change it :(
[Windows Mobile Development and Hacking General] pcforce:
You need to edit the file which means you need to change file extension from .xml to txt and you know the rest
[Windows Mobile Development and Hacking General] romeor2k:
hi thanks again for your help mate, but i am afraid to say i don't know the rest :S i most porbably need a step by step tutorial on how to go about doing this...because i'm confused...

thankyou
[Windows Mobile Development and Hacking General] pcforce:
I want to show you a screenshot of Alpha version of new widget i'm working on - its particialy working and there is more work to be done. Its called Virtual Mouse and have two main parts - base module or "mother" module which pretty much do nothing but allows you to drag the widget and return it back to the side bar, and mouse pointer itself based on Vista mouse skull. Two versions are planed but that may change later. Basic which will be pre-configured to save users possible headache caused of improper values for widget settings, and Professional version with config file. Mouse is controlled only by joystick

------------------------

@romeor2k - i'll write a guide later tonight i think
[Windows Mobile Development and Hacking General] nicodega:
looks nice :)
[Windows Mobile Development and Hacking General] romeor2k:
oh thanks man, much appreciated...and the virtual mouse looks good, its a thumbs up from me :) thanks again...tc
[Windows Mobile Development and Hacking General] nir36:
oh this is so cool. can't wait :)
[Windows Mobile Development and Hacking General] pcforce:
I promised to write a small guide for Tinny Browser widget. Sorry for been late.

--------------------------

To change which application will be launched by the widget when you tap twice on it, need to be edited config.xml which is to be found in FEWidgets\custom\Tinny Browser\. To do that you gonna need total commander or another tool which shows file extensions. Then follow those steps:

1) change the name of config.xml to config.xml.txt

2) double click on config.xml.txt to open it (it is supposed to open automatically by MS Word on your phone)

3) file looks like that:

<WConfig>
<Set key="exe" value="operaL.exe" />
</WConfig>

so you need to change "operaL.exe" with another exe file from your Windows\ directory.

4) now you need to save the changes, however most likely Word won't keep the changes in this case if you just choose File->Save. You need to choose File->Save As and save it just like the program suggest - at My Documents folder.

5) now you need to go to My Documents on your phone where you just have saved the file at step 4) and rename the file from config.xml.txt to config.xml

6) now you need to move config.xml to FEWidgets\custom\Tinny Browser\

7) this is finnal step - you need to restart FEWidgets to make changes take effect.

Enjoy & Merry Xmas
[Windows Mobile Development and Hacking General] nir36:
I'm sorry pcforce.. but i must be missing something

what's the difference between the tiny browser and the regular shortcuts in FEWidgets?
[Windows Mobile Development and Hacking General] pcforce:
None, even built-in shortcuts widget is better. Point is that it has Icon and overall look of Touchwiz browser launcher widget with addition that it can be configured to do something else. So it has less functionality than built-in shortcuts widget but more functionality from same widget in Touchwiz.

This widget together with Small Calculator are based or ported from Touchwiz.
[Windows Mobile Development and Hacking General] nir36:
oh. ok then :)
[Windows Mobile Development and Hacking General] pcforce:
Some update on Virtual Mouse Basic widget.

Some changes and optimizations have been made:

- improved mouse textures

- tuned mouse pointer movement

- removed pointer restrictions - now it have no limits on and off screen

- because of the previous point had to add pointer reset function - on double tap over the main module (originally used only for dragging) will return mouse cursor to its starting position

Next:

- small resizing procedure on widget's icon

Problem:

- so far i didn't managed to get cursor click on other widgets positioned under it, i'm still working on that

Currently widget is still in Alpha state which means i only do tests on virtual device. When i get the "clicking" problem sorted i'll take it to beta state and make tests on my phone - if everything goes ok i'll upload it here.

Source files wont be released with the Basic version. That will happen with Professional version which will have option to allow configuring by the user and some extra experimental features which you might like or not.
[Windows Mobile Development and Hacking General] BenzBeatz:
Hi,

Bit confused as to how to install these.....

please explain.... where to dump these files? is it in a folder under program files or something?

Ta...
[Windows Mobile Development and Hacking General] nir36:
thanks for your work pcforce...

I'm positive i'd enjoy using it.