Jump to content

New Bluetooth Toggle Plugin for the Homescreen


Recommended Posts

Guest Bernhard Franek
Posted (edited)

Hello,

Searching this and other Smartphone related Forums I was not able to find a Bluetooth Homescreen-Plugin for MS Smartphones. Some time ago I wrote a small BT-App that toggled between the states On, Discoverable and Off.

Finally I could also set some time aside to write a Homescreen Plugin for MS Smartphones (no Widcomm BT-Stack as this uses different APIs). The Plugin enables you to change the Bluetooth State directly from the Homescreen without stepping through various property pages.

By pressing the action button the state changes in the following order: ON -> DISCOVERABLE -> OFF

Attached is a dll with a simple Sample BT-Plugin called BToggle.

To install the plugin initially, you need to copy the attached cab file to your smartphone and execute it there.

After installing, select the BToggle Homescreen under Settings>HomeScreen>Home screen layout.

After installation, the plugin can also be used within any homescreen by inserting the following code in the homescreen xml file:

<!-- Here is the BT plugin! -->

Regards,

Bernhard

post-210054-1161008646_thumb.jpg

btoggle.ARM.CAB

Edited by Bernhard Franek
Guest genaldar
Posted

Great plugin. One thing though in the application list its listed as BToggle BToggle.

Guest Bernhard Franek
Posted
Great plugin. One thing though in the application list its listed as BToggle BToggle.

Hello Genaldar,

Thank you for the information - I updated the file already.

Regards,

Bernhard

Guest paulhbartlett
Posted

Great Plugin.....I tried to put it on my home screen Kl1wdr-BlueBalls but it appears slightly off screen at the bottom. Having no xml knowledge I looked at the other bits of the homescreen in text editor and tried to move it around but it wouldn't.

Anyone know the code to tell it where to go?

Guest Bernhard Franek
Posted
Great Plugin.....I tried to put it on my home screen Kl1wdr-BlueBalls but it appears slightly off screen at the bottom. Having no xml knowledge I looked at the other bits of the homescreen in text editor and tried to move it around but it wouldn't.

Anyone know the code to tell it where to go?

Hello PaulHBartlett,

You need to adjust the height of the sysplug.dll and the absolute position of time and the carrier.

Attached is an updated kl1wdr_blueballs xml file - just copy it to your smartphone, reselect it as home-screen (or restart your phone) and the positioning should be correct.

Regards,

Bernhard

kl1wdr_BlueBalls.home.xml

Guest genaldar
Posted (edited)
Hello Genaldar,

Thank you for the information - I updated the file already.

Regards,

Bernhard

Thats fast. Guess I'll uninstall the old one and get the new one.

You know this could be read as very sarcastic, but it's not. I'm just too lazy to think of another way to put it.

Edited by genaldar
  • 4 weeks later...
Posted
Hello,

Searching this and other Smartphone related Forums I was not able to find a Bluetooth Homescreen-Plugin for MS Smartphones. Some time ago I wrote a small BT-App that toggled between the states On, Discoverable and Off.

Finally I could also set some time aside to write a Homescreen Plugin for MS Smartphones (no Widcomm BT-Stack as this uses different APIs). The Plugin enables you to change the Bluetooth State directly from the Homescreen without stepping through various property pages.

By pressing the action button the state changes in the following order: ON -> DISCOVERABLE -> OFF

Attached is a dll with a simple Sample BT-Plugin called BToggle.

To install the plugin initially, you need to copy the attached cab file to your smartphone and execute it there.

After installing, select the BToggle Homescreen under Settings>HomeScreen>Home screen layout.

After installation, the plugin can also be used within any homescreen by inserting the following code in the homescreen xml file:

<!-- Here is the BT plugin! -->

Regards,

Bernhard

Hi Bernhard,

For last two months I've been having problem with bluetooth in my SPV c550,

http://www.modaco.com/index.php?showtopic=247957

Just for the experiment I installed the BToggle application and cycled the power, and I was so happy to

see the blue LED blinking after such a long time. It started working again, but still there's an issue, if I turn off the bluetooth, it won't turn up again. I'm able to get it back by soft reset or reinstalling the apllication, but still it doesn't work as it should.

Since you've written the application, I thought you could help me out with inside stuff.

Thanks.....

Guest Bernhard Franek
Posted
Hi Bernhard,

For last two months I've been having problem with bluetooth in my SPV c550,

http://www.modaco.com/index.php?showtopic=247957

Just for the experiment I installed the BToggle application and cycled the power, and I was so happy to

see the blue LED blinking after such a long time. It started working again, but still there's an issue, if I turn off the bluetooth, it won't turn up again. I'm able to get it back by soft reset or reinstalling the apllication, but still it doesn't work as it should.

Since you've written the application, I thought you could help me out with inside stuff.

Thanks.....

Hi,

To recap your problem (I read your other posting about the Bluetooth issue with your device):

-You installed the BToggle application

-You power cycled your phone

-after it turned on again bluetooth was working again

but:

-if you cycle bluetooth states again with BToggle the phone is not able to switch from BT OFF to BT ON

is this correct?

If this is the case I assume that the device/program is not able to reccognize that BT is turned OFF (registry setting or whatever).

If this is the case I could try to write just a small app to just turn on Bluetooth (although this could take some time as I am in the process of reinstalling my Developer PC).

Regards,

Bernhard

Posted
Hi,

To recap your problem (I read your other posting about the Bluetooth issue with your device):

-You installed the BToggle application

-You power cycled your phone

-after it turned on again bluetooth was working again

but:

-if you cycle bluetooth states again with BToggle the phone is not able to switch from BT OFF to BT ON

is this correct?

If this is the case I assume that the device/program is not able to reccognize that BT is turned OFF (registry setting or whatever).

If this is the case I could try to write just a small app to just turn on Bluetooth (although this could take some time as I am in the process of reinstalling my Developer PC).

Regards,

Bernhard

Hi ,

I think you understood my phone problem. I'm able to cycle the bluetooth for couple of times, after that the setting will be lost, ending up with an error message "No Bluetooth hardware is installed on this device". I made a backup of entire registry settings when bluetooth was running, thought it would help when bluetooth goes out. Even restoring the registy setting doesn't bring it back.

After so many experiments, I've figured out that something gets corrupted in the software and I'm not able to fix it by hard reset or restoring the registry. Only installing the BTtoggle works, but it doesn't retains the setting after couple of bluetooth cycles.

Thanks...........

  • 1 month later...
Guest bambulko
Posted
<!-- Here is the BT plugin! -->

I can't change label and font size for this plugin :)

bambulko

  • 3 months later...
Guest evan386
Posted
I can't change label and font size for this plugin :rolleyes:

bambulko

I don't think that it's possible to change the size or the label of the plugin just by

editing the XML.

  • 2 weeks later...
Guest Bernhard Franek
Posted
I don't think that it's possible to change the size or the label of the plugin just by

editing the XML.

That's correct. Theoretically it is possible to change the size if that feature were built in, but I haven't done that so far.

  • 3 weeks later...
Guest xiejun3970
Posted

thank you very much!,i have usually found it .now i am successful,

  • 2 weeks later...
Posted
Hello,

Searching this and other Smartphone related Forums I was not able to find a Bluetooth Homescreen-Plugin for MS Smartphones. Some time ago I wrote a small BT-App that toggled between the states On, Discoverable and Off.

Finally I could also set some time aside to write a Homescreen Plugin for MS Smartphones (no Widcomm BT-Stack as this uses different APIs). The Plugin enables you to change the Bluetooth State directly from the Homescreen without stepping through various property pages.

By pressing the action button the state changes in the following order: ON -> DISCOVERABLE -> OFF

Attached is a dll with a simple Sample BT-Plugin called BToggle.

To install the plugin initially, you need to copy the attached cab file to your smartphone and execute it there.

After installing, select the BToggle Homescreen under Settings>HomeScreen>Home screen layout.

After installation, the plugin can also be used within any homescreen by inserting the following code in the homescreen xml file:

Regards,

Bernhard

I was able to download the cab app and execute it fine on my Blackbird. I also have the BToggle option in my HomeScreen options. But what i can't do, is add the above plugin to my homescreen option of choice. In fact, any editing at all I do to any of the xml home screens do not transfer to my phone. If I search in the File Explorer, the new xml home screens are listed as being on the phone, but they do not show up as an option to choose in the Display/Home Screen.

Really a newbie. Any help is appreciated.

LMo

Guest mew485
Posted

I can't get the BTOGGLE to work. I installed and try to run, but nothing turns on or off. No Change. Please help, Bernhard.

Guest Bernhard Franek
Posted
I can't get the BTOGGLE to work. I installed and try to run, but nothing turns on or off. No Change. Please help, Bernhard.

Hi,

What device are you using? Is the device utilizing the MS Bluetooth stack or Widcom?

Regards,

Bernhard

Guest Bernhard Franek
Posted
I was able to download the cab app and execute it fine on my Blackbird. I also have the BToggle option in my HomeScreen options. But what i can't do, is add the above plugin to my homescreen option of choice. In fact, any editing at all I do to any of the xml home screens do not transfer to my phone. If I search in the File Explorer, the new xml home screens are listed as being on the phone, but they do not show up as an option to choose in the Display/Home Screen.

Really a newbie. Any help is appreciated.

LMo

Hello LMo,

Where did you put the updated xml files - are they in the \Application Data\Home folder?

Regards,

Bernhard

  • 2 weeks later...
Guest faroiloance
Posted
QUOTE(mew485 @ Jun 13 2007, 00:02) *

I can't get the BTOGGLE to work. I installed and try to run, but nothing turns on or off. No Change. Please help, Bernhard.

Hi,

What device are you using? Is the device utilizing the MS Bluetooth stack or Widcom?

Regards,

Bernhard

I'm using Moto Q and it doesn't work either.

Guest Bernhard Franek
Posted
I'm using Moto Q and it doesn't work either.

Hello faroiloance,

As posted, the program works with the MS Bluetooth stack only. The Moto Q is using Broadcom's Bluetooth stack (http://msmobiles.com/news.php/5323.html).

Regards,

Bernhard

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.