yashsingh1/xdaforums huggingface dataset:
[JAMin, XDA Neo, S200 General] der1:
Hi again :)

I didn't find any soundcode, but the following:

<Item class="registry_tracker" ontap="ToggleWiFi" >
<image src="wlan-%d.png" left="15" top="6" />
<registry key_value="HKLM\System\State\Hardware\Wifi" />
</Item>

This is the code i used for my Wifi-Toggler, too. But i added onhold="MenuWifi" to show up the context menu of BS:

<Item class="registry_tracker" ontap="ToggleWiFi" onhold="MenuWifi" >
<image src="wlan-%d.png" left="15" top="6" />
<registry key_value="HKLM\System\State\Hardware\Wifi" />
</Item>

But as i said, the reg-key can have several values. For example, if i reset the phone, the value is "1". After switching on WLAN, it is "27", sometimes "25". Switching off WLAN afterwards sets the value to "7". I just switched it on again and the value was "11".

To make this work properly, you will have to make PNGs for "wlan-0", "wlan-1" ... to "wlan-8", which all show, that WLAN is off. Or find a better reg key.

Kind regards

¹
[JAMin, XDA Neo, S200 General] ikarus:
just a hint..

you could use the mask-attribute.

background: the second bit of the registry-value is 1 if wlan is on

solution: use <registry key_value="..." mask="0x00000002" ...

masked registry-values are 0 if wlan is off and 2 if wlan is on...

hope it helps ;)
[JAMin, XDA Neo, S200 General] der1:
I already guessed so, but didn't get how to fetch that value

If you say so, it should work ;) I'm gonna test it right away. Still i have no idea how masking works. Do you know a manual for that or can you please give me a hint where to search for one?

Thanks a lot and kind regards

¹
[JAMin, XDA Neo, S200 General] ikarus:
to fetch that values, you should work like scientists.. observe the values and recognize patterns hehe

i'm always looking for making the manual better, so feedback on manual is important.

btw. in your case you can use mask="0x2" as well..

A mask is and-applied to the dword, e.g. dword & mask = result for evaluation

Check wikipedia for the bitwise and-operation.
[JAMin, XDA Neo, S200 General] bluemetalaxe:
A lot of help here, thanks. as you may think, i`m better in graphics than xml.

okay_

1. wlan works as i wrote it, i first checked the registry values, an it works for me with wlan--1, wlan-5 and wlan-15. bluetooth works with -0, -1 and --1.

2. i forgot: i deleted the soundcode

3. i dont need onhold because i have another page/tab on Ultimatelaunch with settings

4. I

found

a small program that is called muteonoff.exe, here is the link: http://xdaforums.com/showpost.php?p=2107609&postcount=3 ; so it should work the way you told me, but i have no registrykey and dont know how the program works.

@Vukile:"You got weather and photo contacts on those tabs at the bottom?Is the background dependant on the Today theme. If so, you may be on your way to creating the perfect theme,sir."

I had a photodialer (see older picture), but at the moment i use just pocketcm. And i do have weather an many more tabs (second picture).

The only Problem is, that i dont have my new BS taskbar on the other tabs/sides of the UL-Cube, its not possible at the moment. Therefore i made on the upper right corner a link to the BS-Taskmanager, thats all i need.

Background can be changed by windows or .tsk. or s2v :)

EDIT: in my zip file you can find vjtoogle to hide the taskbar/softkeys of windows mobile.
[JAMin, XDA Neo, S200 General] der1:
Thanks ikarus, now i see a bit brighter ;)

It works and i uploaded a new version of my theme. Btw.: Did you have a look at it (post 342)? And, if yes, what do you think of it? If i may kindly ask *blush*

Kind regards

¹
[JAMin, XDA Neo, S200 General] bluemetalaxe:
okay, i got it, see picture (Thank you der1 !):

This one toggles you sound and shows the correct image, also if you dont use my "muteonoff.exe" and just use the soundcontrol-button of your phone:

- you need just two picures: Sound-0.png (off) and sound--1.png (on) :D

<Item class="registry_tracker" ontap="StartApp" path="\Programme\SmartUtilities_FilesOnly\muteonoff.exe" >

<image src="Sound-%d.png" left="-28" height="50" />

<registry key_value="HKCU\ControlPanel\Volume\Volume" />

</Item>
[JAMin, XDA Neo, S200 General] der1:
Thank you bluemetalaxe,

especially for giving the reg key of the Volume. I watched which values this key has when changing the volume. They are the following:

Hex = 00000000, Decimal = 0 (Muted)

Hex = 33333333, Decimal = 858993456

Hex = 66666666, Decimal = 1717986918

Hex = 99999999, Decimal = 2576980377

Hex = CCCCCCC, Decimal = 3435973836

Hex = FFFFFFFF, decimal = 4294967295 (Loudest)

Although it is not necesserary for building up a sound level meter, i wonder if there is a possibility to mask a certain byte or Hex-digit.

Kind regards

¹
[JAMin, XDA Neo, S200 General] ikarus:
i'll have a look at this theme tomorrow :)

You could apply a mask="0xF" (which is the same as 0x0000000F)

The results are 0, 3, 6, 9, C, F (0, 3, 6, 9, 12, 16), which are better to use for images..

btw. you can use <image src="name-%x" ... as well to have hexdigits in the filename..
[JAMin, XDA Neo, S200 General] bluemetalaxe:
i reworked my graphics for a more "professional look" an that is how it looks now: But at this moment it does not work with am/pm. And thanks for all your help and ideas :)
[JAMin, XDA Neo, S200 General] ikarus:
This is a call for suggestions!

What's the prefered way or design of options to integrate custom today-plugins into BatteryStatus?

I mean: how do you want to configure these settings?

Best would be one or two tabs and as compact as possible with good overview.

Some sketches would be great :)

I have made some concepts and designs, but maybe users can make better suggestions. This helps me to implement the most useable interface.
[JAMin, XDA Neo, S200 General] Vukile:
Never mind the AM/PM,Im happy with a 24 hr clock.Can you merge the bottom tabs under one plugin/theme please?:)
[JAMin, XDA Neo, S200 General] badutahboy:
Quick question... I'm using the small theme from this post but I have a couple questions/issues:

1. It's hard to launch tasks from the shortcut. It seems as though the field is set to a very narrow stripe right under the # of active tasks. How would I go about widening the field so that I can click anywhere on the button to launch tasks.

2. Is it possible to set up an easy method to make the voicemail icon dial VM? I don't know/use mortscript, so I was hoping for something simple, like whatever shortcut the stock voicemail plugin uses. Any help?

3. I'm only using the battery gauge, clock, and notifications rows.. Would it be advantageous to remove the other stuff, or should I just hide it?

4. How do I change clock from 24 hour time back to 12 hour? I don't need AM/PM, just a 12 hour clock.

Prscott, thanks for this theme.. It's PERFECT for my needs. I use ultimatelauncher on the bottom half of my screen, and this takes care of the basics while UL handles the dirty work.

Thanks in advance for any help.
[JAMin, XDA Neo, S200 General] eumel79:
Am besten wäre wenn man eine Liste der TodayPlugins in den Settings vorfinden würde, um sie aktivieren. Irgendwie mit Identifier um sie dann per xml aufrufen zu können.

In xml sollte man dann Höhe etc. festlegen können. (Als Item wäre es wohl am besten zu gestalten, als Row würde da wieder einige Möglichkeiten nehmen)

Welche Optionen stehen denn zur Auswahl, um mal eine Skizze anzufertigen, sprich was muss denn alles mit rein?

Ich persönlich würde, dann nur UltimateLaunch integrieren und zur weiteren Konfiguration nutzen.

The best would be if a list of Today plug in the settings would find to activate them. Somehow with identifiers to them via xml call them.

In xml should then determine the amount etc..

Personally, I would only Ultimatelaunch integrate and further configuration.
[JAMin, XDA Neo, S200 General] prscott1:
Hi, I've actually abandoned both of these themes and bought ultimate launch myself. I have my BS home as a today plugin on one tab - moved all my apps to two other tabs in UL and created a dial tab - with icons. I'm constantly changing/improving it! LOL

I use vjdialer.exe setup in ultimate launch now with the parameter set to the phone number you want to dial - also can create an ico file from a photo of the person you call so their pic shows up. But for my vmail, I use mortscript so that I can have my PIN entered by the script for a more hands-free experience.

You should probably remove the items you don't use from your theme.xml. It will make it more lightweight when it gets cached. I use mortscript for so many different things - it is incorporated into my theme and my ultimate launch. It also is a very lightweight application that uses minimal resource. I highly recommend it.

I'll be glad to share my many scripts with you if you decide to take the mortscript plunge. There is a thread here - you can search on mortscript - where there are many nice scripts too. Click on the mortscript link in my signature and you can download the latest version - I recommend the beta version - it is more efficient.

You might try to add an "ontap" option directly to the tasks icon to give you more tap space to launch the tasks. Since moving to UL, I now use an upward gesture to open tasks on my agenda tab (TodayAgenda) - very cool indeed.

HTH.
[JAMin, XDA Neo, S200 General] prscott1:
UltimateLaunch + BatteryStatus + Mortscript

I took the UltimateLaunch plunge and LOVE IT. It is the only plugin activated on my today screen now. I have my BatteryStatus page as my "home" tab - throw in Mortscript for handling my scheduling and such and voila - a wonderful lightweight app! I'll include screenshots. My home page (screenshot below with clock) features five rows. Row 0 (name and date) and Row 1 (notifications/alerts) are static. Row 2 - clock row has three views - one clock, one headline news, one ebay watch. Row 3 - weather row shows 2 city views. Row 4 - vitals row has two views which includes all the important gauges as well as bt toggle, sound toggle, brightness toggle and wireless toggle included.

As always, I'm behind in setting up my dial page - I have a few setup - I use UL to launch vjdialer.exe and in the parameter field for each number added, I enter the phone number 7131112233 then attach an ico file of who/what I am calling. It works great (thanks vijay).

I also have a lightweight google search today plugin on my dial page (i moved it here because it cluttered my home page) = (I combined two tabs using UL).

If anyone is interested, I'll upload my ultimatelaunch.ini and my BS xml / files.
[JAMin, XDA Neo, S200 General] badutahboy:
Thanks for the help/info...

I'm still seriously lost though, lol.. this programming stuff goes right over my head...

Here are some more specific questions for you...

Regarding tasks:

The coding for tasks already has an ontap programmed into it. In fact, the only difference in coding between tasks and the other items in the line is this:

<Item class="registry_tracker" absolute="1" ontap="StartApp" path="\Windows\Tasks.exe">

<Item class="registry_tracker" ontap="StartApp" path="\Storage Card\Program Files\Mortscript\vmail.lnk">

If I remove the absolute="1" will that solve my problem, or is that required for proper spacing/margin?

As for the dialer, any chance I could get you to post a sample code to replace the VM mortscript code? I installed vjdialer, but again, simple programming goes over my head.. lol
[JAMin, XDA Neo, S200 General] badutahboy:
Ok, so after a little tinkering.. I made "some" progress... but not really, lol

I figured out how to set up VJdialer, but when I click the icon on my today screen, I get an error "The file VJdialer.exe xxxxxxxxxx (my number) cannot be opened. Either it is not signed or one of it's components cannot be found"... What did I screw up? Here's how my code looks for it:

<Item class="registry_tracker" ontap="StartApp" path="\Program Files\vijay555\vmail.lnk">

Next, with tasks, I deleted absolute=1 and sure enough, the tasks button started working right, but it shifted everything about 1/8" to the left, so my calendar notification is most of the way off the screen. Any advice on a more foolproof solution?

One more new issue/question... How would i go about disabling the 2nd screen for the clock (the screen that shows seconds) and instead, set it up so that clicking the clock will launch the clock and alarms settings?

Sorry to be such a PITA on something you scrapped months ago, but I really like it, and unfortunately for me, this isn't my specialty at all.

Thanks a ton for any help you can give.
[JAMin, XDA Neo, S200 General] jarrad7885:
Does It Work On A

Just Wondering If It Will Work On A T-mo Wing, I Have Installed Bs, But I Want To Overclock To 247 From 201, Wondering About Stability On The T-mo Wing, Haven't Seen Any Posts Where Anyone Else Has The Phone. I Know It Has The Omap Processor So It Should Work. Also Concerned About Over Heating. Can Someone With Knowledge About This Phone Or Processor Let Me Know How Much I Can Overclock. Ty
[JAMin, XDA Neo, S200 General] Hellsblade:
1.04_0264 looses icons

Hi, just to let you know that installing 1.04_0264 seems to loose icons for row3 on BSClockTheme_by_Nostramo.CAB.

rgds,

Hellsblade
[JAMin, XDA Neo, S200 General] ikarus:
thanks for reporting! fixed in new build :)

build 0265 - 23/12/2007

:

- fixed: bug in registry-tracker

okay. i will check it. i guess it can be done by ontap and a parameter for the view.

i can remember a post in the wing-thread..

i will have a look later..
[JAMin, XDA Neo, S200 General] ikarus:
Hello Specktäter,

first of all, thanks for reporting!

there are some things to consider. You're using top="-25" and it's important to understand how it works. Each image and label has a surrounding rectangle-box with a position (x,y) and a width/height. The height is usually the height of the view by default.

Look at the following sketch and see the difference between aligning text by moving upwards instead of using valign (vertical align):

As you may see. Using top="-25" moves the complete box to the position.

What's better is to use valign="top" which aligns the text to top.

You can use top/middle/bottom as know from xhtml.

The reason for problem is the z-order of items. Look at the following sketch:

You can see, that the first two items (red marked) overlapp the task-item (green mark), which leads to execute the ontap-action of the first two item.

Actually this exposes an issue of z-ordering. I will look for an easy to use solution as soon as i have some more time, but i'm very busy the next weeks :(

You can use a workaround for the time being as sketched in the following:

1. Align the label of first two items to bottom, that is valign="bottom"

2. move the label-box of first two items more upwards, so that the bottom ends where it should end.

3. align the label of task-item to top, that is valign="top"

4. move the label-box of task-item downwards

--> this way no overlapping occours and the decision-matrix can make a right decision.

By default this place is for hiding/showing the next row.

You can specify a class="space" Item there with an appropriate width, which toggles the view by default.

oh and i can see that you're using a qvga-image for the tasklist-arrow. Grab the new vga-image for that from one of the newer builds. It's then double the size which looks better hehe

Does it help?

btw. i will add a new page to the manual with do's and dont's. Do you mind using your supplied screenshot there? It's to explain customization for a better understanding.

To me the concept is perfect as is, but it has turned out that understanding isn't that easy without examples..
[JAMin, XDA Neo, S200 General] mr_deimos:
Updated my theme to use the new registry tracker feature - different for different function outputs.

Currently SMS/MMS/E-mail/Missed calls icons are partially transparent if their count is zero, and change to solid white if there's more than zero. Additionally, SMS icon has two nonzero states - a different icon for one new SMS, and a different one for more than one.

Enjoy and feel free to modify the theme ;)
[JAMin, XDA Neo, S200 General] Specktäter:
No Problem :)

Yes! Thats it! Thank You very much!

You resolved one problem (I´ve amended my skin now) but because of that I have more Questions... sorry ^^

Thank you for explaining how BS works :)

I didnt know that the label-Boxes have that Format.

Can I change the format of them? I wandt make them smaller... and the label-box "7 aktive Aufgaben" (Tasks) is to big too. Its really now so as You show it on your last picture. But under the 92% of the Battery I wandt change the view too. When I tap down of the 92% it opens the tasks.exe - also under the text of the tasks (7 aktive Aufgaben) :(

When I change the width-size nothing changes... what does it change?

I will try the space-class later. Because I dont know how to...

Before my last upgrade the Tasklist-arrow was big too, but I like it when it is as little as it is now :)

I dont know really what this means (sorry... no good english) google doesnt help, but if it means that you wandt to show my pictures at your homepage it is okay... so you can do this :-)

I hope You can help me again. Thank you.
[JAMin, XDA Neo, S200 General] utak3r:
OK, I refreshed my miniBS Theme to nowadays capabilities:

​

You english people can change a weekday font for this one used for a time and a date... I cannot do this, it doesn't have polish diacritics.

This font (GoodTimes) is installing for itself.
[JAMin, XDA Neo, S200 General] Herunim:
Hello ikarus,

- I have not found in the manual the item classes concerning the data connexion. Could you please list them.

- How do you format the text for calltimes_out_month ? I'd like something like "00:10" instead of "M: 00:10:20".

- It would be nice to have 2 icons for PhoneMissedCalls, InboxSms and InboxMail as it is done with battery_ac_icons. I know it can be done with RegistryTracker but it would be more straight forward to define 2 icons in those classes: 1 for 0 and 1 for > 0.

- Is someone interested by the below skins ? With or without the lines ?

Kind regards,

Herunim
[JAMin, XDA Neo, S200 General] mr_deimos:
That's what the new feature of registryTracker is for - you can use filename0.ext for 0 new items, and filename-1.ext for all other cases - !=0 items.

Here's how it looks like in my theme:

<Item class="registry_tracker" ontap="PhoneMissedCalls" >
<image src="missed%d.png" left="-10" top="3" vga="0" />
<label text="%d" left="0" width="18" align="left">
<registry key_value="HKCU\System\State\Phone\Missed Call Count" />
</label>
</Item>
<Item class="registry_tracker" ontap="InboxSms" >
<image src="sms%d.png" left ="0" top="3" vga="0" />
<label text="%d " left="0" width="18" align="left">
<registry key_value="HKCU\System\State\Messages\sms\Unread\Count" />
</label>
</Item>

And i have following files in my theme dir:

missed0.png	//if no missed calls present

missed-1.png	//if missed calls present

sms0.png	//no new SMS

sms1.png	//1 new SMS

sms-1.png	//more than 1 new SMS

It works like a charm, and is essentially works the same way you want it, you just need to create '0' and '-1' files, not '0' and '1' as you said. But at the same time, this way is much more powerful, since you can have as many different icons as you want, and you can use it for things other than SMS and missed calls.
[JAMin, XDA Neo, S200 General] ikarus:
I'll think about a solution for label-box, but hasn't had enough time yet.

The width-attribute changes the width of label or image. The right-most item gets adapted to cover the screen-width. If you don't want this, then specify adaptwidth="0" to the view.

space is considered a placeholder to use for showing an image or having a class with nothing but a certain width or similar things..

what a wonderful back hehe

oh true hehe, have forgotten it.

It's in the schema http://www.chi-tai.info/BatteryStatus but i guess, there aren't a lot who can natively read schemas hehe

I will update soon, but you can search in the schema for data_*

e.g. data_summed_up and so on...

There is no way yet...

hm.. you could use notification broker to track the registry-values of batterystatus and format it yourself, then save as string into the registry and use the registry-tracker to show them hehe..

i guess this isn't very comfortable..

I will think about an easier solution.

PhoneMissedCalls, InboxSms and InboxMail are action-types and not classes. There is a big difference between a class and an actiontype..

the two images-solution for classes is a special case and i don't want to add more special cases, but keep generic ways like with registry-tracker, which is more powerful as mr_demios demonstrated.

of course, this is the place to upload themes ;)

Maybe some word about the mask for registry-tracker. There are some values in the registry which are masked. Unfortunatelly i could not find an offical documentation in msdn for that values, but you can find them in the public available wm5-sdk-file SDK\PocketPC\Include\Armv4i\snapi.h

There is a little info here at msdn.

e.g. for bluetooth:

HKLM\System\State\Hardware\Bluetooth

// BluetoothStatePowerOn

#define SN_BLUETOOTHSTATEPOWERON_BITMASK 1

// BluetoothStateA2DPConnected

#define SN_BLUETOOTHSTATEA2DPCONNECTED_BITMASK 4

// BluetoothStateHandsFreeAudio

#define SN_BLUETOOTHSTATEHANDSFREEAUDIO_BITMASK 0x20

which means specify a mask="1" results in a power-state of bluetooth for the registry-tracker.

Specify mask="4" results in an indicator for A2DP connected or not.

Specify mask="0x20" results in an indicator for handsfree audio is on or not..

It provides enough to create a today-plugin for handling bluetooth with the bt-actionstypes..

the same for Wifi and a lot of other stats in the registry..

one more example is the phone:

HKLM\System\State\Phone\Status

// PhoneRoaming

#define SN_PHONEROAMING_BITMASK 0x200

// PhoneMissedCall

#define SN_PHONEMISSEDCALL_BITMASK 0x800

// PhoneGprsCoverage

#define SN_PHONEGPRSCOVERAGE_BITMASK 0x100000

and so on..
[JAMin, XDA Neo, S200 General] utak3r:
OK, here's my new theme.

It has three rows, it depends on you, which ones you will have on... first one is a must-have, second one is a clock with a date, and the third one is a launcher.

utsk - utak3r's BS Swiss Knife.cab (79.5 kB)​
[JAMin, XDA Neo, S200 General] mr_deimos:
Edited my theme once again

I've found another use for registry tracker class - it can be used to show current backlight level, and activate backlight settings applet on click. Since i wasn't using the temperature meter, i replaced it with backlight button in the theme. see attached image for different brightness icons preview.

Here's how i did it:

<Item class="registry_tracker" ontap="CtlPnl" index="6" >
<image src="backlight%d.png" left="17" top="1" />
<label text="%d" left="10" width="18" align="left">
<registry key_value="HKCU\ControlPanel\BackLight\Brightness" />
</label>
</Item>

Since it seems that the label has to be present and has to include the read number (%d) for image changing to work, i added the "left="10" to it to move it off the screen.

I also modified task switcher and BS context menu icons to custom ones.
[JAMin, XDA Neo, S200 General] utak3r:
I'm thinking of writing a whole series of tiny programs, working as togglers for various functions... so they could be assigned to icons :)

Some time ago I've wrote such an utility for toggling ClearType: http://xdaforums.com/showthread.php?t=343692

So... what functions are to be first? Maybe brightness up/down, volume up/down, BT on/off... what else?
[JAMin, XDA Neo, S200 General] utak3r:
@mr_deimos... heh, I haven't seen it before, you're from Poland ;) witam :D
[JAMin, XDA Neo, S200 General] mr_deimos:
[Polish] Cześć! :) [/Polish]

I think that BT on/off won't be very useful, since it's already available in tray launcher (same goes for wlan and gsm module), but i think that volume and brightness control buttons would be cool to have. When you're around brightness control - how about adding a third mode beside up/down - cycle brightness? Would go nice along with registry tracker with a separate icon for each setting :)
[JAMin, XDA Neo, S200 General] utak3r:
You're right...

You mean - when reaching a max value, then the next run would set it to a minimum?