Jump to content


e200 bluetooth homescreen plugin

- - - - -

  • Please log in to reply
3 replies to this topic

#1
bretto

bretto

    Addict

  • Members
  • PipPipPipPipPip
  • 546 posts
  • Location:Australia
  • Interests:Just about everything except Rap music and Carnies....<br /><br />....small hands, smell like cabbage....
  • Devices:o2 xphone / imate 2
Hi All

Thought someone might find this little homescreen plugin useful.

I just knocked it up to make life easier in the car.

Its a simple plugin to add to your homescreen that toggles the bluetooth on/discoverable and off.

To use it add it as below to your desired homescreen .xml file.
Then when using the homescreen select the plugin and use the action key.

If the bluetooth is off and the action key is pressed you will be asked if you want to make bluetooth discoverable. yes will make discoverable and no will make it on and not discoverable.

If the bluetooth is on or discoverable and the action key is pressed you will simply be asked if you want to turn it off. Yes will turn it off and no will leave it.

At any point the plugin will display the current status of the bluetooth device.

There is an included sample homescreen too. Pretty ugly though at best.

// <!-- USAGE -->
// <!-- SPBT plugin! -->
// <!-- all background and format attributes are supported. -->
// <!-- clsid="{40DF3431-0266-11cf-BAA6-00AA003E0EED}" -->
// <!-- height="20" (specifies the height of SPBTPlug) -->
// <!-- selectable="Yes" or "No" (specifies if SPBTPlug is selectable) -->
// <!-- (inserts the bluetooth status in the text node) -->
//

eg

    name="SPBTPlug"
height="20"
selectable="Yes"
>
bgcolor="COLOR_HOMEHIGHLIGHT"
bgimage="<\imagename>.bmp"
halign="center" valign = "center"
l-border-width="2" t-border-width="1" r-border-width="1" b-border-width="1"
l-border-color="#FFFFFF" t-border-color="#000000" r-border-color="#00ff00" b-border-color="#FF00FF"
/>
bgtext="#00FF00"
padding-left="10" padding-right="10" padding-top="5" padding-bottom="5"
font-face="Arial" font-size="10" font-style="italics" font-weight="400"
x="120" y="5" w="22" h="22"
halign="left" valign="center"
/>
bgcolor="#0000FF"
bgtext="#00FF00"
padding-left="10" padding-right="10" padding-top="5" padding-bottom="5"
font-face="Arial" font-size="10" font-style="italics" font-weight="400"
x="30" y="5" w="22" h="22"
halign="center" valign="center"
/>
Bluetooth


/////////////////////
//And here are the files.

Attached File  SPBTPlug_setup.exe   51K   453 downloads
Attached File  SPBTPlug.ARM.CAB   11.74K   673 downloads

Edited by bretto, 20 April 2005 - 01:28 PM.

Cheers

Bretto

--------------------------------------------
"Lifes a garden...DIG it!"
--------------------------------------------
o2 xphone (e200) wm2003
Imate 2 (HTC Himalaya) wm2003se
O2 xda2 (HTC Himalaya) wm2005
O2 xda2 Mini (Magician) "Say hello to my little friend.."

#2
wxdcs

wxdcs

    Newbie

  • Members
  • Pip
  • 32 posts
nice job! try it, thx!


#3
extravagant

extravagant

    Addict

  • Banned
  • PipPipPipPipPip
  • 506 posts
  • Location:Panama
  • Devices:SMT 5600, HP iPAQ 4150

wxdcs, on Apr 25 2005, 02:57, said:

nice job! try it, thx!

<{POST_SNAPBACK}>


can someone take a screen shot or two.. thx!


#4
bretto

bretto

    Addict

  • Members
  • PipPipPipPipPip
  • 546 posts
  • Location:Australia
  • Interests:Just about everything except Rap music and Carnies....<br /><br />....small hands, smell like cabbage....
  • Devices:o2 xphone / imate 2

extravagant, on May 1 2005, 19:34, said:

can someone take a screen shot or two.. thx!

<{POST_SNAPBACK}>


There is not much to put on a screenshot.

As the main post points out its a homescreen plugin that you can include in your own homescreen.

If you set it up like this Bluetooth

the homescreen will then look something like this.

Bluetooth On
or
Bluetooth Off
or
Bluetooth Discoverable

Cheers

Bretto

--------------------------------------------
"Lifes a garden...DIG it!"
--------------------------------------------
o2 xphone (e200) wm2003
Imate 2 (HTC Himalaya) wm2003se
O2 xda2 (HTC Himalaya) wm2005
O2 xda2 Mini (Magician) "Say hello to my little friend.."




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users