Bluetooth programming [SOLVED] - JAM, MDA Compact, S100 General

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

Related

Mid 2.0 Jsr-82

Hi guys,
I want to run an app in my O2 Atom (WM5), my question is: are there any way (JMV/EMV/Midlet) to run it who support MID 2.0 and JSR-82 (API Bluethooth)?
Thanks a lot...
you should look at j2me from ibm
ronsmitsnl said:
you should look at j2me from ibm
Click to expand...
Click to collapse
J9 don't support JSR-82.
Anyone has use Aventana?
Seems just ONE implementation of bluetooth in java for windows mobile... $25,00 pice of **** euros
Snaydher said:
J9 don't support JSR-82.
Anyone has use Aventana?
Seems just ONE implementation of bluetooth in java for windows mobile... $25,00 pice of **** euros
Click to expand...
Click to collapse
Some googling brought me to this page: javabluetooth.com and this one: javabluetooth.org. the second one contains source code and jars for a jsr-82 implementation, but no obex.
J9 and jsr 082
Did anyone get BT running with J9 on a PDA or do we start using C#!!

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?

How i can connect and deconnect from internet?

Hello everybody!
I'm a new vb.net mobile developer and one problem was stopped me: in my application, i need to use some webservices for getting remote information but i'm not able to connect to internet automatically....can everyone help me?
I'm using visual studio 2005 and vb!
Well I don't know about VB (I understand it is problematic to access system functions with that language) but if you could use native APIs than you would just need to use the Connection Manager functions.
Look here.
fabrysious said:
Hello everybody!
I'm a new vb.net mobile developer and one problem was stopped me: in my application, i need to use some webservices for getting remote information but i'm not able to connect to internet automatically....can everyone help me?
I'm using visual studio 2005 and vb!
Click to expand...
Click to collapse
Well for one thing, you need to have a data plan from your carrier before you can access the internet.
What is the device?
even with the horrible syntax
vb .net should be able to do the same things
as c# so i believe
it can be don by including the right .net libs
or in worst case use unmanaged dll's
Thanks to all...i'm reading posted link about APIs!
I will know you the result!!!

Activate bluetooth from vb.net application

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

Categories

Resources