2 Questions: Bluetooth connectivity & Cursor? - Windows Mobile Software Development

Question 1: I don't know what all would be involved with this, but I was thinking about trying to write a small app that would create another form of input for the PPC that would basically setup a connection to a computer (laptop) via Bluetooth and then let you type on the computer for the PPC input. So my question is first, is this possible and second what all would be required?
Question 2: Somewhat in parallel with the first question. Would there be a way to create a cursor type thingie that was only visible/active when a program or input type was running/selected?
I am open to any thoughts, suggestions, code, and or criticisms. The thought behind this app is that although it isn't that often, but I occasionally have to put in a decent amount of text into some programs, so if I could type on my laptop (no need for PPC keyboard thing), then that would save some time. Reasoning behind the Bluetooth is that I am going to get the XDA II and my laptop has BT.
Thanks, and really like the site...

suggsjc,
from the makers of tDclock and tDlaunch
goto to
http://www.excite.co.jp/world/url/?...ptools/&wb_lp=JAEN&wb_dis=2&wb_co=excitejapan
its a program called rCE ver 0.0.6 their description (the're chinese)
"The screen of WindowsCE connected by ActiveSync is displayed on Windows, and it can be made to carry out remote operation of the WindowsCE. A keyboard and mouse operation are possible."
download here http://www.nakka.com/soft/ptools/download/tdlaunch006_ppc2002.zip
source here
http://www.nakka.com/soft/ptools/src/tdlaunch006src.zip
have fun!

Pocket pc remote control does what you want I think or Pocket controller.

Related

WM6 and Linux - Bluetooth issue

I am trying to get my laptop running linux to use my hermes as a modem over bluetooth. So far I am not succeeding, I have paired the phone and the laptop, but no services show up to share. I have sent files over bluetooth to the laptop and that is just fine.
Has anyone else done this? I really don't want to change my laptop back to windows just so I can surf the net using my phone.
Thanks
What distribution of linux and what window manager do you use?
And does the file transfer work both ways? (to the phone and from it).
I might help you a little
Using Ubuntu - Edgy Eft and Gnome.
I don't have a way for files to be sent from the latop, I am using the blue tooth file sharing program - which seems to be one way only.
I did this a long time ago, so I might have forgot something, but let's give it a try.
First check if you have a rfcomm device in /dev/, there should be something like rfcomm0.
And this is there if you have edited and paired your phone correctly!
(you should add your device to /etc/bluetooth/rfcomm.conf)
Try Gnome-PPP, it's a very good program for dialup rutines ^^
Code:
sudo apt-get install gnome-ppp
The gnome-ppp should be run in root mode because rfcomm device has no privileges, or then you could just chmod it.
But anyways, I've made a script for myself to turn on BT and start gnome-ppp, to run it with root privileges with the following command
Code:
gksudo -u root gnome-ppp
after that you see a window with username password etc.
press setup and put in the following config..
Setup
Now we need a init string! I have no idea what is your provider and what init string is needed for it.
In the Setup window press Init Strings...
And in the first place you set the string.
With Saunalahti as a provider I have a init string of:
AT+CGDCONT=1,"IP","internet.saunalahti"
notice that internet.saunalahti is the APN name for my providers internet gprs connections! So replace this with yours, or then contact your provider and ask for that info
Now back to the first window.
My ISP doesn't require any username but you can't connect without them so put in whatever you like for example
username: none and password: none
or
if you need username and password for your providers GPRS, then add them here
For the phonenumber set the number: *99#
Nothing else, that should be it then if I got it all and remember correct
Then just connect (notice that on TyTN there isn't any "connecting to GPRS" popups when you use a PPP from linux).
in WM6, the phone internet sharing no longer behaves like a modem. not sure how to get it working with Linux
joej said:
in WM6, the phone internet sharing no longer behaves like a modem. not sure how to get it working with Linux
Click to expand...
Click to collapse
what do you mean, the "Wireless Modem" program that you can find in the Programs folder?
I never used that, there's no need of it.
In fact, don't use it, propably wont work with it.
StewartG said:
I am trying to get my laptop running linux to use my hermes as a modem over bluetooth. So far I am not succeeding, I have paired the phone and the laptop, but no services show up to share. I have sent files over bluetooth to the laptop and that is just fine.
Has anyone else done this? I really don't want to change my laptop back to windows just so I can surf the net using my phone.
Click to expand...
Click to collapse
I've been successfully using my Wizard and Hermes as BT modems for GPRS/EDGE/UMTS connections, but only with WM5 (check out my tutorial here: http://klamstwo.org/evad/archives/20 ). After upgrading Hermes to WM6 I am no longer able to create rfcomm device, and I don't know why.
However, it is still possible to use GPRS/UMTS connection under Linux! I've managed to get it working through Bluetooth PAN profile. I'm planning to write some kind of tutorial on my blog pretty soon, but in meanwhile have a look here: http://bluez.sourceforge.net/contrib/HOWTO-PAN - this HOWTO describes quite comprehensively BT PAN usage under Linux.
Basically, you need to set up Internet Sharing via BT on your Hermes, and then connect from your Linux using pand daemon. Check out HOWTO, give it a try, if nothings comes up - feel free to ask here. Good luck.
Btw, my distro is FC6.
gvoima said:
what do you mean, the "Wireless Modem" program that you can find in the Programs folder?
I never used that, there's no need of it.
In fact, don't use it, propably wont work with it.
Click to expand...
Click to collapse
In WM5 it didn't work even with Windows (or I didn't know how to set it up properly). WM6 brings completely new Internet Sharing application which is accessible from Linux without big problems via Bluetooth PAN profile - check out my post above.
I'm planning to try connecting to internet through Hermes/WM6 via USB cable. I guess it's just a matter of installing some usb-driver. It's worth to try, as UMTS/HSDPA connection together with BT drains battery really (I mean REALLY) fast, and also - USB cable offers higher speeds than BT...
Nice to know, i'm using WM5 atm, waiting the official WM6 release from sweden (I live in finland and tried to contact finnish HTC regarding that matter), then I might look into it more.
eva_d said:
I've been successfully using my Wizard and Hermes as BT modems for GPRS/EDGE/UMTS connections, but only with WM5 (check out my tutorial here: http://klamstwo.org/evad/archives/20 ). After upgrading Hermes to WM6 I am no longer able to create rfcomm device, and I don't know why.
However, it is still possible to use GPRS/UMTS connection under Linux! I've managed to get it working through Bluetooth PAN profile. I'm planning to write some kind of tutorial on my blog pretty soon, but in meanwhile have a look here: http://bluez.sourceforge.net/contrib/HOWTO-PAN - this HOWTO describes quite comprehensively BT PAN usage under Linux.
Basically, you need to set up Internet Sharing via BT on your Hermes, and then connect from your Linux using pand daemon. Check out HOWTO, give it a try, if nothings comes up - feel free to ask here. Good luck.
Btw, my distro is FC6.
Click to expand...
Click to collapse
I see your point now, I upgraded to a new ROM and AKU, now the wireless modem is gone and I cannot connect to a rfcomm device anymore. But there is the Internet Sharing application, I'm going to try your tutorial in a moment
What about USB modem?
eva_d said:
[...]I'm planning to try connecting to internet through Hermes/WM6 via USB cable. I guess it's just a matter of installing some usb-driver. It's worth to try, as UMTS/HSDPA connection together with BT drains battery really (I mean REALLY) fast, and also - USB cable offers higher speeds than BT...
Click to expand...
Click to collapse
Hi all,
It's my first post on this forum. But I'm looking forward to finding a way to use my HTC Wizard has a USB modem...
I've seen on another forum that configuring this device as an USB modem can be quite easy done on Windows. So it would be nice to have this working for Linux
joej said:
in WM6, the phone internet sharing no longer behaves like a modem. not sure how to get it working with Linux
Click to expand...
Click to collapse
You can get it working as modem the same way you could do it in WM5 - using the "internet sharing " application.
The problem described here is that when you do
$ sdptool browse <bluetooth_mac_address>
you see no services.
I have the same problem with ubuntu.
When I browse the services of another phone - a nokia for example - I see all of them .
However I had this problem with ubuntu even before upgrading to WM6.
So it seems the problem is in the bluez version delivered with ubuntu.
What I am going to try the next few days is to uninstall the ubuntu release of bluez and build the source code and install.
I had an issue with synce also with ubuntu - not working. So I downloaded synce 's sources and everything works now.
deyanmf said:
You can get it working as modem the same way you could do it in WM5 - using the "internet sharing " application.
The problem described here is that when you do
$ sdptool browse <bluetooth_mac_address>
you see no services.
I have the same problem with ubuntu.
When I browse the services of another phone - a nokia for example - I see all of them .
However I had this problem with ubuntu even before upgrading to WM6.
So it seems the problem is in the bluez version delivered with ubuntu.
What I am going to try the next few days is to uninstall the ubuntu release of bluez and build the source code and install.
I had an issue with synce also with ubuntu - not working. So I downloaded synce 's sources and everything works now.
Click to expand...
Click to collapse
This is mainly because the connection method has changed in WM6.
In WM5 it was done via DUN (Dialup Networking Profile). WM6 Internet Connection Sharing does not utilise or advertise this profile when in place, but sets up a PUNU (Personal Area Network) profile, basically turning the Hermes into a router with dhcp services.
I followed the referenced howto and was able to get my laptop running FC6 connected to the Hermes and auto-assigning an IP address. Unfortunately, though, the connection was not stable and disconnects not long after it was established.
I'll have another read at the howto as I've noticed persistent connection flags that should force reconnection, however if I'm connected to the Company VPN, then I suspect that will continually drop also.
Can anyone post any success stories and configuration/command output that they used to create a stable connection?
Ta
Darren
numanoids said:
Can anyone post any success stories and configuration/command output that they used to create a stable connection?
Click to expand...
Click to collapse
Check out my solution: http://klamstwo.org/evad/archives/40
It actually works stable, however I have never used single connection for more than like 30-60 minutes, yet - I guess.
Btw, works also with Fedora 7.

Network Share

Is there a way with an HTC Dash / Excalibur running WM6 Standard to access network resources on a LAN through the WIFI? I've tried looking for an option in Total Commander, and I installed the Resco Explorer 2007 trial. It seems that Resco's PocketPC version supports mapping drives, but not for the WM6 Standard. I've seen screenshots of what is available in Resco Explorer. That option is omitted for the WM6 Standard version.
I've tried ORB and Soonr. Those seem to be the only methods, but I was hoping for a more native method.
Any suggestions or advice?
Thank you,
Tim
Mapping to Home Network Share
Is this not possible on an HTC S620/S621 ? I would like to be able to map to my network shares. I could then even use Hamachi VPN to connect even if I'm away from home.
But first things first. There seems to be no way to map a drive letter, or even connect via a UNC statement of \\abc\123 ... etc.
So far the only methods I've seen are soonr and orb. I suppose it's a work around, but I was hoping for a more windows native method.
From my research, it seems that those running touch screen / windows mobile professional can do this. If they add Resco Explorer 2007 it has that option. I installed the Windows Smartphone Standard trial version, and the option doesn't exist.
Nor does it exist with Total Commander.
Thank you,
- Tim
Not possible with WM6 Standard Devices?
Haven't received an answer. I've been googling for a response, but everything I've read seem to indicate that the network mapping thing is a real crippling part of these phones.
I've noticed that this seems to be a major difference between WM6 devices with touch screens, therefore running WM6 professional versus the WM6 Standard Devices.
Touchscreen WM6 Devices can map drives, use remote connectivity software, and even have more advance function in pocket office.
Non-touchscreen WM6 devices can't perform drive mappings, or use remote connectivity software like RDP or VNC.
I'd like to be able to map a drive to my network, and transfer files that way, rather than through activesync. I can't understand how I can obtain an IP using my HTC Dash's WIFI over my wireless router, but yet, not connect in any manner to the network that I have shared drives on.
If someone knows of a way, then please let me know.
Thank you,
Tim
no one has ever mapped a drive w/ the excalibur??
i have tried for months...it seems as if the phone is the big proble. it doesnt support netbios from what i have seen. on my network i can ping it by netbios name and everything from the pc end of things..but from the phone i cant see the computer by anything but ip which is fine. but i cannot acces a share or network drive via \\ip.address. no idea how you would create a share on the phone either
gixxum said:
i have tried for months...it seems as if the phone is the big proble. it doesnt support netbios from what i have seen. on my network i can ping it by netbios name and everything from the pc end of things..but from the phone i cant see the computer by anything but ip which is fine. but i cannot acces a share or network drive via \\ip.address. no idea how you would create a share on the phone either
Click to expand...
Click to collapse
Maybe Microsoft's Live Mesh technology will help this. Apparently there will be a client for mobiles and could give you a way to access your files on the go. (I know this doesn't quite answer your question, but maybe helps solve the problem)
See http://channel9.msdn.com/Showpost.aspx?postid=399577 for some details
How to map a network Drive with Built in WM software.
Hey guys. I have to say the solution is so simple it is Genious.
Simply open up internet explorer on your device and type in \\SHARENAME\
IE will translate this into file://\\sharename\ and if it is password protected it will ask you for the user name and password. You will then be sent to Windows File Explorer, and Viola you are surfing your network resources. You can even save them as a favorite for later use.
I hope this helps.
That doesn't seem to do anything?? Did you get this to work in IE for wm6.1?

CARPC + HTC how to?

Hi @ all
I'm using a HTC TYTN II and want to connect it to my CARPC (full working normal PC) to make phonecalls read and write SMS.
There are a few progs that work with "normal" mobile phones but not with PPCs.
It should be connectable to USB, so I can charge the accu whyle driving.
I tested a remote controller to control the PPC via touching the CARPCs 7" touchscreen, this works okay. But I need a prog that will give the sound form the PPC to the CARPC and the microphone input from the CARPC to the PPC.
My fav. would be a programm that can fully control the PPCs phone functions and but not required the sms functions.
I think you know what my problem is, and sorry for my bad english I'm from germany.
Man, I just started working on the same project! Although I only want to connect the PC to my in-dash display for simpler things like Slingbox, web browsing and talkstreamlive radio.
I found this in my searching...
http://www.sparus-software.com/Device-Management/Products/EveryWAN-Remote-Support,43/index.html
Hope this helps and keep in touch as you progress and I will too!
Thanks
ITAdmin
Hey man, ive been looking for the same thing! i was using a program called err damn cant remember, but basically it just displayed my phones screen on my liliput and i could dial that way, ill see if i can find it, its been a while since i used it, syncing bt back and forth just became a hassle heh

Audio over Bluetooth question

Hi all, I can’t seem to find a straight answer on this forum about how to connect my SX66 (WM6.1) to my Windows XP PC over Bluetooth so I can listen to my mp3s or internet radio on my HIFI system that’s connected to my PC?
I am using a Bluetooth USB stick and I have them both paired using the BT software the came with Windows XP.
I had tried BlueSoleil software in the past to listen to my music but I didn’t find it practical because it keeps disconnecting and I would need to pair them again.
I am running ROM version: 6.141 WWE, RADIO version: 1.02.10 and ExtROM version: BLACK KERNEL
Thanks
first of all let's make sure i got the question right:
you want to stream audio from your sx66 to your pc, right?
well that is no problem in general, since the sx66 is known to have better BT quality than most of the other BA models (further range, higher tx rate).
since windows xp does not come with a proper usable bluetooth client (unlike vista) i woul generally recommend bluesoleil, because it can be a handy tool, once you got all the settings right. plus you don't need extra drivers, since most of the BT chip manufacturers work with bluesoleil.
then all you have to do is pair your device with your pc and once that's done, set bluesoleil to allow the device to do all further things in all areas without further confirmation.
then you need to make sure you have the a2dpfix on your sx66, which is needed for stereo bt stream.
then, when paired, start wmp and play music, and look in the mixer on your pc, if a signal comes in, and what channel and turn it up / activate it for audio input.
(let me repeat that all this is so much easier in vista, and for every step i made the other day i have to think of 5 ones which are necessary to do the same on xp)
then your stream should work as long as you don't close wmp, if you do so and then want to continue playing, you need to connect to your pc in your BA's bluetooth app again, but need no settings on the px anymore which i guess is a relief.
back to the basics: if you really want to do that, you can do it now, but still i can't think of a reason why anyone should do that, i suppose the mp3s your playing come from your pc and you could play them there anyway, your pc can probably also play internet radio.
if that is a "i turn the screen off and control the music with my mobile!" thing, i can give you another freeware, with which you can control winamp, whenever you are connected via activesync, no matter if you are doing that via cable, cradle, BT or wi-fi.
i just gotta look it up, i don't have it right now either but it is great!
e.g. i want to control my music while playing, but with full screen games and without media keys on the pc's keyboard i need an external winamp control to (plus it also provides jump to and other things media keyboards can't do).
EDIT: i could not find the program i had to control winamp from my device, but it was a bit older, even worked with wm2003se, but i did find, that people do like to control their pc players from mobiles, therefore, a thread was made, to be found here: http://forum.xda-developers.com/showthread.php?t=294524
greetings Chef_Tony
P.S. please re-post, if it worked and if that is what you actually asked.
Thanks
Thank you for the quick reply; Yes you understood correctly.
It seems that BlueSoleil is the only solution for what I want to do, so I reinstalled (version: 6.4.245.0) again with the A2DPFix.CAB and it’s working for now.
Do you know where I can find a cab file to install on my BA to enable the rest of BlueSoleil services (Bluetooth phonebook….)? BlueSoleil is asking me to install “symbian\IVT-wm(1.0.2).CAB” on my device, but it doesn’t work and the only file I can find on this forum is the “bluesoleil_r2.arm_163.zip” for magician.
actually, for other services, like dialing, phoebook, sms and stuff i would suggest pairig the device, and setting up activesync via bluetooth, your phonebook is to be found in outlook then and for writing sms and completely controlling your device i would suggest MyMobiler, which is a freeware remote program which gets the BA's screen on the pc and you can control the device via the pc's keyboard and mouse. i also use that for making screenshots of new roms and stuff, it's free and works with activesync, so cradled, BT, wi-fi doesn't matter. that of course, doesn't 100% satisfy your question, i guess. i'm in a bit of a hurry right now, but be sure to check in this thread later, because i will edit, as soon as i found something that really brings you the services.
Thanks for the info. MyMobiler works great
By the way I uninstalled the A2DPFix because the sound was choppy.
Good evening,
Well MyMobiler is not working everytime on my device and i'd appreciate to find bluesoleil CE if it allows you to send sms from PC without having to link it anytime.
Have a nice evening.

Bluetooth API?

Hey,
i want to start programming an app for my HD2 which should connect one of my bluetooth devices by starting it. I only know a bit about programming under desktop-windows. Where do I find a reference for the programmers api on WM6.5 / where can i look for the commands i need?
//Edit: The functions i found in the MSDN are for connecting - communicating - closing in this way, but i only want to connect a profile (serialport for tmc) and end.
Hope you can help. Thanks.
125
Found the 32Feet.net SDK but still i can't get the procedures i need.
Nobody with information on programming bluetooth apps?
Somebody must have down something similiar in the past or?
These?:
http://www.codeproject.com/KB/windows/BluetoothDevicesDiscovery.aspx
http://www.mobile-soft-dev.blogspot.com/2010/03/c-wrapper-for-nearby-bluetooth-devices.html
Thanks for the links. Ok that is how to enumerate the devices and i could do a connection over winsock, but still i can't find information on not really do a connection but only pair the bt device so other applications can use it afterwards. Damn
(More Information: App should be used on WIDCOMM stack to connect tmc and start navigation after that to get rid of the annoying selector window which disappears to quick)

Categories

Resources