PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-25-2008, 04:50 PM
CopyCounsler's Avatar
PPCGeeks Regular
Offline
Pocket PC: ppc6800 - bye bye ppc6700
Carrier: spcs
 
Join Date: Dec 2007
Posts: 90
Reputation: 10
CopyCounsler is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Question enable bluetooth programmatically

looked and looked, didn't see anything about this:

how do I enable bluetooth either with
1. registry
2. command
3. commmgr switch
4. something programmatic

Thanks!

Copy
Reply With Quote
  #2 (permalink)  
Old 04-25-2008, 08:34 PM
weedahoe's Avatar
VIP Member
Offline
Pocket PC: XV6800
Carrier: VZW
Location: GA
 
Join Date: Jun 2007
Posts: 3,250
Reputation: 1593
weedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to weedahoe Send a message via MSN to weedahoe Send a message via Yahoo to weedahoe
Re: enable bluetooth programmatically

How about just going to your Wireless Manager and turning BT on. If you dont wanna go through the menus to get to it then the easiet way is to press and hold the IE button and it will take you there directly.

Although I am sure this didnt answer your question because you likely have some unique issue, it would help if you told us exactly what it is you are trying to do and what exactly you want to do.
__________________
Loving my rooted Droid X
Reply With Quote
  #3 (permalink)  
Old 04-25-2008, 08:58 PM
Unknown Zone's Avatar
VIP Member
Offline
Pocket PC: EPIC
Carrier: Sprint
Location: South Texas
 
Join Date: Jan 2007
Posts: 1,328
Reputation: 2147
Unknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: enable bluetooth programmatically

And if you want to get even easier then this might do the job

http://forum.xda-developers.com/show...hlight=effcomm

This will put a Bluethooth/Wifi/Phone "One Touch" ON/OFF access on the today screen with min today screen usage.
__________________
6700(2nd Backup)-------Kirvin C&S 3.5 WM5 "Still Kicking"
TouchPro(1st Backup)---Mighty 4.16 / TouchPro2--Big MaxSense 6/9
If you been helped by forum members remember:
Don't just say "Thanks"....give
Reply With Quote
This post has been thanked 1 times.
  #4 (permalink)  
Old 04-25-2008, 10:37 PM
weedahoe's Avatar
VIP Member
Offline
Pocket PC: XV6800
Carrier: VZW
Location: GA
 
Join Date: Jun 2007
Posts: 3,250
Reputation: 1593
weedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to weedahoe Send a message via MSN to weedahoe Send a message via Yahoo to weedahoe
Re: enable bluetooth programmatically

UZ, I see we are both using Kirvin C&S 3.5 and I know I do, but dont you have direct access to the wireless manager on your today screen by default?
Reply With Quote
  #5 (permalink)  
Old 04-25-2008, 11:04 PM
Unknown Zone's Avatar
VIP Member
Offline
Pocket PC: EPIC
Carrier: Sprint
Location: South Texas
 
Join Date: Jan 2007
Posts: 1,328
Reputation: 2147
Unknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIPUnknown Zone is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: enable bluetooth programmatically

Weed, if I am thinking on what you are talking about yep...but you need to tap the direct access on the today to access wireless manager then turn on BT or Wifi..etc., with the plugin..I just tap what I want on/off right off the today..lol....believe me Kirvin C&S is what I am happy with...I have tried 6/6.1 but there is just something about the C&S that I keep staying with...if you know what I mean..lol..and I think you do.
Reply With Quote
  #6 (permalink)  
Old 05-01-2008, 11:44 AM
CopyCounsler's Avatar
PPCGeeks Regular
Offline
Pocket PC: ppc6800 - bye bye ppc6700
Carrier: spcs
Threadstarter
 
Join Date: Dec 2007
Posts: 90
Reputation: 10
CopyCounsler is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: enable bluetooth programmatically

what I'm trying to do is this:

create a loader program to activate the bluetooth and load any given program.

once the program quits, deactivate the bluetooth.

I can run commands, scripts, reg edits, you name it through code. Just gotta find someone who knows how to do this trick so I can code it.

Copy
Reply With Quote
  #7 (permalink)  
Old 05-01-2008, 12:40 PM
CopyCounsler's Avatar
PPCGeeks Regular
Offline
Pocket PC: ppc6800 - bye bye ppc6700
Carrier: spcs
Threadstarter
 
Join Date: Dec 2007
Posts: 90
Reputation: 10
CopyCounsler is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Smile Got It

Ok.. I found it.

Here's the reward for everyone:

------] Program

BT-Toggle.exe

requirements: .NET compact blah blah you know the drill

------] Usage

BT-Toggle run without arguments toggles bluetooth radio on/off

BT-Toggle run WITH arguments will run a desired app and do:
1. turn on bluetooth
2. run app
3. wait for app to end
4. restore previous bluetooth radio status (if it was off, return off, if on, return on)

------] example

use resco or similar to create shortcuts with arguments

"\BT-Toggle.exe" \Windows\camera.exe

as the shortcut will turn on bluetooth, load the camera, and once camera is closed, restore bluetooth state to previous condition.

--------

tested on 6700 wm6.1

Copy

edit: added ability to add arguments to the program to run
Attached Files
File Type: zip BT-Toggle.zip (4.6 KB, 22 views) Click for barcode!

Last edited by CopyCounsler; 05-01-2008 at 01:23 PM.
Reply With Quote
  #8 (permalink)  
Old 05-01-2008, 01:26 PM
CopyCounsler's Avatar
PPCGeeks Regular
Offline
Pocket PC: ppc6800 - bye bye ppc6700
Carrier: spcs
Threadstarter
 
Join Date: Dec 2007
Posts: 90
Reputation: 10
CopyCounsler is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: enable bluetooth programmatically

I wrote this program for iGuidance so it turns on bluetooth and back off afterwards automatically.

attached is the link I created for use with this program for anyone interested.

Copy
Attached Files
File Type: zip link.zip (201 Bytes, 16 views) Click for barcode!
Reply With Quote
  #9 (permalink)  
Old 05-01-2008, 01:47 PM
weedahoe's Avatar
VIP Member
Offline
Pocket PC: XV6800
Carrier: VZW
Location: GA
 
Join Date: Jun 2007
Posts: 3,250
Reputation: 1593
weedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on repweedahoe is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to weedahoe Send a message via MSN to weedahoe Send a message via Yahoo to weedahoe
Re: enable bluetooth programmatically

nice work, I dunno what I will use it for but it is nice work.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:02 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com