Jump to content

e200 bluetooth homescreen plugin


Guest bretto

Recommended Posts

Guest bretto

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.

SPBTPlug_setup.exe

SPBTPlug.ARM.CAB

Edited by bretto
Link to comment
Share on other sites

Guest bretto
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

Link to comment
Share on other sites

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.