Activate bluetooth from vb.net application - Windows Mobile Development and Hacking General

hi, I have made a small application to retreive nmea information from my bluetooth GPS on my HTC Tytn phone ( wm6 )
I developped it using microsoft visual studio 2008 pro avec wm6 pro sdk.
I would like to include a button to activate/desactivate the bluetooth from my application, any idear how I could do that plz ?

You'll find native functions and description in the SDK-Help.
Anyway, bluetooth is not simple to handle.
I'd recommend to use a freeware called 32feet to use bluetooth functions in .NET.
I's a library which does the wrapping of native DLL-functions to .NET.
You can find it on codeplex.com.
But keep in mind that it is not guaranteed to work properly, because there are 3-4 different bluetooth stacks on the market and the library does not work with all of them.

Hi,
if I good remeber someone on XDA have made some library to enable/disable BT/Wifi/Phone, and it was make in C# or VB... and there was near 1 or 2 month ago.
I don't know how to find his post but the good users could help you...
Sorry for this little help Hope you'll find !

I've been messing around with the 32Feet libraries (6.1 Touch Cruise with MS stack) and found them to be very useful and reliable so far. But the may be overkill for simply turning Bluetooth on and off. VJVolubilis (http://www.vijay555.com/?Releases:VJVolubilis) may give you what you want but it looks to be only compatible with the MS stack too.

SoftCoder
donzeze said:
hi, I have made a small application to retreive nmea information from my bluetooth GPS on my HTC Tytn phone ( wm6 )
I developped it using microsoft visual studio 2008 pro avec wm6 pro sdk.
I would like to include a button to activate/desactivate the bluetooth from my application, any idear how I could do that plz ?
Click to expand...
Click to collapse
Would like to help, but I like to work on your code. So if you can post it then I will see if I could put these buttons on

Related

BT hacking software

Is there any BT software that can atach a device using bluetooth ? without
any confirmation on the target device ?
I heared that there is a software for that ,
I've been searching for this a while ago when I still had my simbian phone.
These are out of my bookmarks:
http://www.dailywireless.com/modules.php?name=News&file=article&sid=116
http://www.netstumbler.org/archive/index.php/t-9701
http://www.thebunker.net/release-bluestumbler.htm
http://www.fropper.com/forum/message-list.php?topic_id=203&board_id=7
http://www.saftware.de/bluetooth/btxml.c
http://www.nobbi.com/monitor/index_en.htm
hope that's of intrest for you
Greets Alex
Thank you alexball ,
Did you find anything for symbian OS that works ?
Not really. i found a Program at Emule that is calles Bluetooth Master or BT-MASTER but it didn't work. They said in some other forums that it was fake.
I also read that it was much easyer to do this bluetooth hacking with linux since this os does not limit the bluetooth stack so much.
I really would be intrested in more info on that and on programs that run under Windows mobile.
unfortunatelly I do not have time to search for houres at the moment.
greets
alex

Bluetooth programming [SOLVED]

Does anybody know what the easiest way is to be able to program the bluetooth stack? I can't get Java to work (IBM's J9 JVM + aveLink Bluetooth SDK) and the .NET compact framework doesn't appear to support BT (wtf?).
I could use MS Embedded C++, but I'd rather do it in .NET or Java.
If there is a way to map a comport to a BT SPP connection, I'd be helped. But that doesn't work with the default stack.
Arjan
Re: Bluetooth programming
loermansa said:
Does anybody know what the easiest way is to be able to program the bluetooth stack? I can't get Java to work (IBM's J9 JVM + aveLink Bluetooth SDK) and the .NET compact framework doesn't appear to support BT (wtf?).
I could use MS Embedded C++, but I'd rather do it in .NET or Java.
If there is a way to map a comport to a BT SPP connection, I'd be helped. But that doesn't work with the default stack.
Arjan
Click to expand...
Click to collapse
Try http://opennetcf.org/CategoryView.aspx?category=Home, I think they have bluetooth support ;-)
Ikkuh
Or: http://www.opennetcf.org/PermaLink.aspx?guid=3f99525a-d45f-4db1-bd24-2d88fe343d3f
Veel plezier ;-)
Ikkuh
Have a look here. Haven't worked with it but this could be what you are searching for.
Edit: Uups, too late - sorry!
Dandie said:
Have a look here. Haven't worked with it but this could be what you are searching for.
Edit: Uups, too late - sorry!
Click to expand...
Click to collapse
Better two links than none at all I think ;-) ...
Ikkuh
This is exactly what I was looking for.
Thank's a lot, I'll keep my progress on BT programming in this thread, perhaps other people can use the information.
Arjan
try microosft
http://msdn.microsoft.com/embedded/usewinemb/ce/sharedsrccode/west/default.aspx
I've got a sample application running. It displays RAW NMEA data and parses longitude, latitude, fix, speed and bearing.
Thanks for the suggestions,
Arjan
edit: typo

bluetooth remote control

hi! before my tytn i had nokia smartphone and i had program for bluetooth remote control. (control freak) now i have tytn, but i can't find good program. i need program, that controls winamp quickly and smooth. there are many winamp plugins, but they are very, very buggy and connects 1 per million. my old control freak connects for 2 seconds, the connection in strong and it had desktop control (the desktop screen appeared on my nokia)
so please i need such a program for partys and for comfort.
10x, very much!
I'm looking for something similar...
(on my Nokia, I was using Puppetmaster; but while there are .jar and ppc clients, I can't get them to work)
Jörg
I'll publish a BIG roundup on all these questions very soon (as did I with "full" remote control solutions - see http://forum.xda-developers.com/showthread.php?p=1092389 ) - stay tuned
Oh my, i loved control freak. It's an excellent prog with sexy GUIs. right now i'm using RemoteAmp for my PPC, not bad but it runs over wifi. Or you could run it over EDGE/GPRS/3G. Overall it's great, it GUI isn't that sexy, but it's workable.
Puppetmaster allowed one to control different programs (WinAmp, Zoom Player, Media Player, Powerpoint, Acrobat, ...) and allowed one to add scripts to get support for other non-natively supported softwares.
I'm currently actually still using my old Nokia as a remote (I kept it as a backup device)...
Jörg
PuppetMaster is great ("fantastic" is the word ), but I wish the developer would continue the development...
Perhaps this is an option:
http://jaylee.org/RemoteControl/
Anybody found a good application that works well as a bluetooth remote control for Windows Media Player or winamp or divx?
I use Salling Clicker, it does pretty much all you ask but unfortunately it's not free.
hawsktf said:
Anybody found a good application that works well as a bluetooth remote control for Windows Media Player or winamp or divx?
Click to expand...
Click to collapse
1. welcome to XDA-Dev
2. my new multimedia remote control article will be published REALLY soon
Bluetooth Remote Control 0.6.0
Hi everyone,
As you're on the subject, I've just release version 0.6.0 of Bluetooth Remote Control for Windows Mobile, which now supports Windows Vista and Windows Media Center.
Get it here : http://www.jaylee.org/remotecontrol
Have fun !
--
Jerome Laban
http://www.jaylee.org
Jaylee1024,
Up till now, I haven't been able to test your software, as I'm using a Widcomm stack on my PC's...
I'm about to reinstall my system, and before installing Widcomm, I'll give your software a test (given the bluetooth features I use, the MS stack may suffice for me).
But I have found a software (Altiris SVS) that might be used to allow switching between both bluetooth stacks, so I'll also see if/how that goes...
Jörg
I use PPC tablet. It is not that good looking but easy to use. You have different profiles for different programms and you can make your own profile realy easy.
see:http://www.aacompserv.com/AACompWeb/Modules/PPCTablet/WhatIsIt.aspx?sys_NavBarSelectedNodeID=002.001
V J said:
Jaylee1024,
Up till now, I haven't been able to test your software, as I'm using a Widcomm stack on my PC's...
I'm about to reinstall my system, and before installing Widcomm, I'll give your software a test (given the bluetooth features I use, the MS stack may suffice for me).
But I have found a software (Altiris SVS) that might be used to allow switching between both bluetooth stacks, so I'll also see if/how that goes...
Jörg
Click to expand...
Click to collapse
Thanks VJ, I've had reports that some latest version of the Widcomm stack might do the trick, but if you could keep me posted on your tests, I'd be interested too
Thanks !
Oliy said:
I use Salling Clicker, it does pretty much all you ask but unfortunately it's not free.
Click to expand...
Click to collapse
I second this. I've used it on my 7610, 6682 and now my 8525. It's fantastic. Plus you can control with either bluetooth or wifi
jaylee1024 said:
Thanks VJ, I've had reports that some latest version of the Widcomm stack might do the trick, but if you could keep me posted on your tests, I'd be interested too
Click to expand...
Click to collapse
Apparently, that utility can't really be used to swap bluetooth stacks. But I now have the weird situation where both WidComm and MS Bluetooth stack are active at the same time . I'm not sure what this is doing to the stability of my system though , or if both effectively work, so I'll need to test some things first.
Jörg
Hi again,
I have in stalled the latest Salling CLicker 3.0.1.347, but when prompted to setup my device i am unsure which to choose. The choices are:- http://www.salling.com/Clicker/windows/devices.php
I have tried WM5/Smartphone and a few Dopod ones (I have a Dopod 838Pro) and when I open Salling Clicker on the phone i get "Fatal Error Service Unavailable most likely cause is incompatible device or faulty installation".
Has anybody successfully set it up?
Cheers, hawsktf
Handset requires rebooting after installing Salling Clicker... It's all good
Also, don't forget to check out http://forum.xda-developers.com/showthread.php?t=294524 - it's the long-promised roundup.
Does anybody out there have, or know where to find some Salling Clicker scripts for Hermes?

JSR-82 (java-bluetooth) Possible for hermes?

Hi all,
I have done some searching from the forums about java using bluetooth and did not find anything. This is my first post here so blame it on my noobiness if I just missed it.
So.. what I understand (and that is not much in win based mobile devices at this point) the JSR-82 is a some kind of a "framework" which enables java to use bluetooth in applications. I have been trying to use some java applications meant to be used with bluetooth, only to find out that it is not supported with hermes (HTC Tytn with win mobile 5.0 to be more accurate.)
Now I am asking you is there any way around this and is it possible to get this JSR-82 whatever working with my tytn. It would be nice since it would enable the use of java based chat applications and such, which are using bluetooth. Java for that reason that then I could run the same applications as my friends for example with sony ericson.
Sorry for my bad language and bare in mind that this is my first post. thanks for all the answers and have a nicest day!
Sincerely yours,
Henry
No one else wants to use bluetooth functions thru java? or am I missing something critical here?

Free IR Universal Remote For WM6

Hi Everyone
i have tryed my best searching on xda fourm's but no luck
ive tryed a few remote software like:
RemoteControl II 2.12
Which rocks but I dont really have a spare $30
are there any free IR Universal Remote Software that anyone knows of?
Cheerz
Westie277
RemoteControl not working on my TITAN
try noviiremote... i read somewhere that the company that made it shutdown and now you can find the software many places along with the required stuff to register it. in my opinion its still the best out there.
Novii
Novii Remote still excists and is coming up with a newer version. I just was a few days ago on there site and took about 600 code bases (free) from their site to program on my PPC. The software is not free but look around and you will find. It is also one of the best remote controllers. By the Way the new version that will come soon is Novii Remote Lite. But i will post de link also.
Good luck
http://www.novii.tv
TheCrow2k3
ok... i agree noviiremote is very nice but im after a free one
can some email me a link?
[email protected]
cheers
Hi - I am looking for a free one as well.
Were you able to get one for your Q already?
Remote Media Controllers for Windows Mobile - the Definitive Roundup
Free Novi Remote
I received this with purchase on a handheld pda long ago as extra software free on a supporting CD.
Give this a try
Nandaly said:
I received this with purchase on a handheld pda long ago as extra software free on a supporting CD.
Give this a try
Click to expand...
Click to collapse
Didn't work on my HTC 6800 - something bout, "cannot use infared port on your device" ten refered me to tha web site.. keep me posted on freeware
tha wife now uses my 6800 (Untill we finally upgrade our phones) but would still be cool to try a working app to show off & ish lol
criminalogic said:
Didn't work on my HTC 6800 - something bout, "cannot use infared port on your device" ten refered me to tha web site.. keep me posted on freeware
tha wife now uses my 6800 (Untill we finally upgrade our phones) but would still be cool to try a working app to show off & ish lol
Click to expand...
Click to collapse
On a lot of WM devices, you have to uncheck the "Receive all incoming beams" on the Settings/Beam screen? Try that? On some others the IrDA port is shared with another function and you may have to disable that function temporarily e.g. WiFi.
Also if this "free" software is a version of NoviiRemote, then there is a setting on the program for choosing the infrared port. I have found that using the AutoDetect did not work on some of my devices. Manually try each of the port settings. If this version is special to the device for which it was free, then there may be no setting function provided i.e. it is set to the port for that specific device and it is different port number to your HTC 6800.
Nevo Remote
Search for 304015 on this forum, u'll get what u need.
I am a new user so cant post a link here
A small up
Hi everyone,
I was wondering if anyone had found a soft working on WM devices (I don't know if mine has an IR, it's an HTC Touch Pro 2), and free of charge, of course
And, as the initial author says, I'm in the same case as him, I haven't really $30 to spend...
From what ive gathered/read these are just about useless as you have to be like no more than a foot or two away from the tv for them to work. the infared port is not near as strong as a regular tv remote
ooxteme said:
From what ive gathered/read these are just about useless as you have to be like no more than a foot or two away from the tv for them to work. the infared port is not near as strong as a regular tv remote
Click to expand...
Click to collapse
This is not a universal truth. The power of the IR transmitter built into the device is the deciding factor. I had kept two HP Jornada's going since they had a very powerful signal and could successfully work all devices, even by bouncing off walls of the room. This was somewhat special.
I currently have two FS Loox N560s (WM6.1 but no longer made) which also work well, but the beam is not as powerful or focused as the Jornada. But both FS and HP devices can operate all my equipment (using either NoviiRemote or PDAWin, I believe that both still available but paid for!) at 10-15 feet.
The biggest problem is that the new generation of WM devices just don't have IR ports any more. This seems to be because the demand has not been great from consumers, but also the devices are packed to roof with GPS, phone functionality, cameras etc. So something has had to be left out! Shame. I am stuck with old technology partly because it provides universal remote control capability!
Ah those new technologies...
OK, thanks.
Actually, that's what I expected... When you think all the things our new mobiles can do, you think they can do everything (I still expect the new feature that will feed me and be able to bring me some fresh beer when I need it !), thanks ooxteme.
That's a shame but, as you said, fingerstoo, when you put more and more things ON them, you can think they get rid of some of them.
But it's not really that important isn't it ?
Thanks anyway to both of you for these answers.
In my HP ipaq 6815 works fine, thanx
Thanks!!!!
Nandaly said:
I received this with purchase on a handheld pda long ago as extra software free on a supporting CD.
Give this a try
Click to expand...
Click to collapse
Thanks Nandaly
workin smooth on my P525
there is also a "learning mode" in which u hold the remote control of ur AC/TV in front of the IR on ur device and press the button..and the soft learns it immd.
kewl !!!
fingerstoo said:
On a lot of WM devices, you have to uncheck the "Receive all incoming beams" on the Settings/Beam screen? Try that? On some others the IrDA port is shared with another function and you may have to disable that function temporarily e.g. WiFi.
Also if this "free" software is a version of NoviiRemote, then there is a setting on the program for choosing the infrared port. I have found that using the AutoDetect did not work on some of my devices. Manually try each of the port settings. If this version is special to the device for which it was free, then there may be no setting function provided i.e. it is set to the port for that specific device and it is different port number to your HTC 6800.
Click to expand...
Click to collapse
I had one BenQ P50 WM2003 PPC which had a universal remote control application factory installed and had a very powerful irda port by which i could control devices even from the reflection of wall/celieng etc. I had copied the entire folder from the Cdrive where a file
nameled recon.exe along with some associated files were there I shall try to upload the entire folder in rar format. once I get it! It should be safe somewhere inside a hard disc but I'm unable to recall where did i store it as I've suffered from a severe BP Stroke on july 16th last year! I am still searching for it in all my harddiscs. it is worth mentioning that, Novii remote also worked fine with my BenQP50 despite the factory installed software being there and. after copying the entire folder to a HTC PPC running in WM5 with IRDA port worked fine though I do not remember the model number.
fingerstoo said:
On a lot of WM devices, you have to uncheck the "Receive all incoming beams" on the Settings/Beam screen? Try that? On some others the IrDA port is shared with another function and you may have to disable that function temporarily e.g. WiFi.
Also if this "free" software is a version of NoviiRemote, then there is a setting on the program for choosing the infrared port. I have found that using the AutoDetect did not work on some of my devices. Manually try each of the port settings. If this version is special to the device for which it was free, then there may be no setting function provided i.e. it is set to the port for that specific device and it is different port number to your HTC 6800.
Click to expand...
Click to collapse
Though my BenQ P50 WM2003 had Agilent software's preinstalled 'Universal remote control' which had a powerful IR on top front side and I could operate my any devices like TV/cd/dvd/LDplayer/AC/light/fan/curtains etc with that preinstalled 'universal remocon' software from Agilent software Pte Ltd. version 1.31 from a distance of 10-15feet distance and interestingly this NRDelux from this forum also worked beautifully despite of being "Universal Recon" pre-installed. but same NDRDelux is not working on my i-mate Ultimate 8150 whice is having the IR Port on the same position as the BenQ P50 while pressing anysoft-button 'the infrared port is used by an another application' error displays
---------- Post added at 06:15 PM ---------- Previous post was at 06:02 PM ----------
samkong said:
Though my BenQ P50 WM2003 had Agilent software's preinstalled 'Universal remote control' which had a powerful IR on top front side and I could operate my any devices like TV/cd/dvd/LDplayer/AC/light/fan/curtains etc with that preinstalled 'universal remocon' software from Agilent software Pte Ltd. version 1.31 from a distance of 10-15feet distance and interestingly this NRDelux from this forum also worked beautifully despite of being "Universal Recon" pre-installed. but same NDRDelux is not working on my i-mate Ultimate 8150 whice is having the IR Port on the same position as the BenQ P50 while pressing anysoft-button 'the infrared port is used by an another application' error displays
Click to expand...
Click to collapse
I even tried by copying the whole folder of 'Remocon' with Dll files from benQ P50 and pasting on my i-mate Ultimate8105 but no luck may be due to OS as BenQ P50 runs on WM2003 and the i-mate Ultimate runs on WM6.1 hope some one can help me to run a Universal IR foftware on my i-mate Ultimate 8105

Categories

Resources