Enable / Disable WLAN programatically - Touch HD Themes and Apps

Hi Guys,
I just want to enable the WLAN adapter from my app. Our solution that worked on our old FJS Pocket Loox doens´t work on the htc touch hd. So far I couldn´t find a working solution, maybe anyone of you has an idea or a working solution for my problem.
Greetings,
BenPa

BenPa85 said:
Hi Guys,
I just want to enable the WLAN adapter from my app. Our solution that worked on our old FJS Pocket Loox doens´t work on the htc touch hd. So far I couldn´t find a working solution, maybe anyone of you has an idea or a working solution for my problem.
Greetings,
BenPa
Click to expand...
Click to collapse
I am intersted in something like this also

There is a small program which toggles wifi on and off. Maybe this could be called from your app.
http://forum.xda-developers.com/showpost.php?p=2307705&postcount=30

BenPa85 said:
I just want to enable the WLAN adapter from my app. Our solution that worked on our old FJS Pocket Loox doens´t work on the htc touch hd. So far I couldn´t find a working solution, maybe anyone of you has an idea or a working solution for my problem.
Click to expand...
Click to collapse
I've had somewhere some code that worked on FSC T830, but I think it should be fairly universal. I'll see if I can find it.

Files attached, if I didn't mess up attaching zip archive. Sources are from a certain project where I didn't need to control wifi, but you should be able to understand everything.

Related

How to Programm the GPS?

Hello,
does anybody know how to programm the GPS Modul?
I tried to change GGA to 1.
Can somebody help me?
Have a look here ...
www.franson.com They sell a module which you can easily program to with visual basic. They demo programs work without a modification. With Visual Studio you can start programming in a hour or so, after having had a look at the samples.
I think meer wants to adjust the SIRF-III-Chipset, which is used in the Orbit.
Most tools "Sirfdemo" etc. wont work on the Orbit. :-(
I'm searching for a tool which can toggle SN (Static Navigation) off on this device.
Hi,
I tried almost everything to program the internal GPS receiver of my P3300, but did not succeed :-(
First, I tried to get direct access to the hardware GPS port (COM 3), but failed to open this by any way. Eventually, I even sent my device into the Boot-Loader mode, redirected the GPS receiver to the USB port by using the GPSRouting command and connected via USB the SirfDemo 3.81 program. Results were very strange:
Using GPSRouting without a parameter gave me binary output data which SirfDemo was not able to handle.
Starting the the receiver at 57600 baud (by using the command "GPSRouting 57600" gave me NMEA output, which SirfDemo was partly able to handle. Some messages appeared correctly in the debug window, but most output of the GPS receiver resulted in SirfDemo in error messages. Really stranges!
I DID NOT FIND ANY WAY TO SWITCH TO SIRF MODE, which is necessary to program the internal sirfIII chipset.
I finally gave up and hope that one day HTC will surprise us with a nice tool to enable/disable Static Navigation and SBAS mode.
GeenZ
Have you tried using COM4 which is where the actual GPS receiver can be found? - Mike
mikealder said:
Have you tried using COM4 which is where the actual GPS receiver can be found? - Mike
Click to expand...
Click to collapse
Of course, trying to use COM4 was my first attempt.
However, COM4 is the output port of the MS GPS Intermediate Driver (GID). This is a software com port, which seems to be not the best implementation of a virtual comport splitter. There are a couple of programs out there, which have serious problems with the GID port, but do work with other (better) virtual comport splitter such as GPSGate.
Anyway, trying to program the internal GPS via the GID port did not work at all. That's why I was next trying to get direct access to the hardware GPS port (COM3), which did not work either, before I bravely sent my device into boot loader mode (unfortunately with also no success)...
Any other hints or suggestion are still highly appreciated.
GeenZ
Can i disable Static Navigation on XDA Orbit?
Any news about this?
do we have to give up any hope !? :'(
Please read my thread
Explains it, i could post some code to get you up and running, but what language are u working?
Slovek said:
but what language are u working?
Click to expand...
Click to collapse
thanks but just trying right now to understand how to get rid of this infamous GPSID !
Anyone knows how to turn off static navigation now? A programmer gave me a tool which perhaps can turn off static navigation on the p3300. But I'm afraid of testing it.
Minipli said:
Anyone knows how to turn off static navigation now? A programmer gave me a tool which perhaps can turn off static navigation on the p3300. But I'm afraid of testing it.
Click to expand...
Click to collapse
are you talking about spGPSView ?!
The name of the tool is SirfTech. What about spGPSview? Can you disable SN with it?
Minipli said:
Can you disable SN with it?
Click to expand...
Click to collapse
Yes, Moreover, this prog. seems to be more "accessible" than SirfTech !
Are you serious? You can really disable static navigation on htc p3300 (artemis) with spGPSview? I often read that it wouldn't be possible....
Minipli said:
Are you serious? You can really disable static navigation on htc p3300 (artemis) with spGPSview? I often read that it wouldn't be possible....
Click to expand...
Click to collapse
the question should be : is it effective or not ? but it can be changed !
What port do you set?
Ward said:
What port do you set?
Click to expand...
Click to collapse
com4 but the gpsid implementation of Orange is different from the HTC one as they are selling the M650 with their own navigation soft...
I have an XDA Orbit, so...
I've had no luck connecting to the GPS hardware with or without the MS Software splitter. Although other applications such as Beeline and iGo work fine.
spGPSview doesn't work with htc p3300/ xda orbit ....

Direct Access to the internal GPS ??

Hello there,
Did anybody find out how to access the internal GPS of the HTC P3300 without using the GPSID (GPS Intermediate Driver)?
Although the internal GPS works fine for me with many programs (TomTom, Pathaway, Fugawi, VisualGPSce, etc.) I did not find a way to program the internal GPS using any of the common GPS tools (such as SirfTech, Aplsirf, CeMonitor, GPSTweak, etc.). In particular I'm very interested in enabling/disabling the SN and the SBAS Mode.
I'm guessing that programming the internal GPS via the GPSID is not possible (or not supported) while it might be possible by accessing the hardware GPS directly. However, I don't know how to do so...
During my investigations I found out the following details:
Based on the MS GPSID Reference the HTC P3300 must have a plug'n'play based internal GPS receiver, as there's no valid registry key found in the corresponding HKLM/System/CurrentControlSet/GPS Intermediate Drivers section.
Looking into the HKLM/Drivers/Active section for a suitable pnp GPS driver I only found COM3 (SerialGPS.dll) which for me seems to be the corresponding hardware driver for the internal GPS. However, accessing COM3 always fails for me with any program.
Does anybody know how to get COM3 (SerialGPS) to work?
Or does anybody know how the GPSID talks to the internal GPS and why I can't do it directly (or how I can do it directly too)?
Any help and discussion is higly appreciated.
Thanks, GeenZ.
Have you tired to delete the gps driver in registry, and after a softreset tried to access direct on com 3 ?
pklein90 said:
Have you tired to delete the gps driver in registry, and after a softreset tried to access direct on com 3 ?
Click to expand...
Click to collapse
I already have tried disabling the GPSID. This can be done either by the GPS control panel or directly in the registry by setting the key HLKM/System/CurrentControlSet/GPS Intermediate Driver/IsEnabled to "0".
The effect was that the virtual GPS COM port from the GPSID (COM4) was no longer available, but COM 3 still did not work.
Does deleting and softreseting make a difference to disabling?
How could I "completey delete" the GPSID in the registry?
Thanks, GeenZ
I'm interested in this too since I've found reading from COM4 using CF 2 is really buggy and hangs the device. I wanted to see if talking directly to the GPS instead of the intermediate driver would speed things up a bit.
Hi,
As I reported in this Thread I did not find any solution to get direct access to the GPS port.
GeenZ
indiekiduk said:
talking directly to the GPS instead of the intermediate driver would speed things up a bit.
Click to expand...
Click to collapse
it would also probably solve the problem of M650 users stucked with a different firmware version of this internal GPS which doesn't work under wm6
If you would take a look at my following thread
it explains the problem.
Alot of people think they cant connect to the GPS device, but actually it is connection but just nog receiving data the right way.
Slovek said:
If you would take a look at my following thread
it explains the problem.
Alot of people think they cant connect to the GPS device, but actually it is connection but just nog receiving data the right way.
Click to expand...
Click to collapse
Thanks Slovek
Should we Thank HTC for this great feature ?!
Already had contact with them, initially they put this up as a 'feature' but about a month ago i received a short list of questions regarding the GPS module. so i hope their going to change this.
Hope so
at least for the "perennity" of this device !

Asus-P525 and Pioneer

Hi all,
I've got a Pioneer P70BT headunit in my car, and it has support for bluetooth to use it as a handsfree, however I cannot connect my Asus-P525 to it, as it doesnt detect it as a phone, so doesnt come up when trying to pair it.
Asus has Widcomm bluetooth stack, so I don't know how to tweak the registry and to change the device class from PDA to phone or smartphone.
Has anyone managed it? or have any advice?
Cheers
try to upgrade with the newest ROM, v3.43WWE... maybe it will solve your problem
But how could it help me? Does anyone know how to change bluetooth device class with Broadcomm bl.stack?
You got PM, please check it.
Hy there,
I have got almost the same Problem as A13xiva.
the difference is just, that I am using a P535(and a P75bt headunit) and it isn´t able to connect automatically.
Connecting to the Headunit is just possible,when I search for it with my P535, but the Pioneer isn´t able to find my P535(bluetooth is visible).
Is there anybody who has an Idea how to solve my problems?
Another bluetoothstack oder some reg-hacks?
best regards
Tobi
y17dt said:
Hy there,
I have got almost the same Problem as A13xiva.
the difference is just, that I am using a P535(and a P75bt headunit) and it isn´t able to connect automatically.
Connecting to the Headunit is just possible,when I search for it with my P535, but the Pioneer isn´t able to find my P535(bluetooth is visible).
Is there anybody who has an Idea how to solve my problems?
Another bluetoothstack oder some reg-hacks?
best regards
Tobi
Click to expand...
Click to collapse
Hello, you got PM
Hi there,
many thanks to User22 for his PM, but it doesn´t really help me.
I found out, that there is a problem with the cod(class of device), so that my P75bt isn´t able to find my P535. Is there any possibility to change ist in my registry.
I saw a reg Hack for the MS-Bluetoothstack here, but does it work on my Widcomm? I have found the MS-regkey on my device as well, but didn´t find anything in the Widcomm registry entries.
Does anybody know a solution?
Hi, i sent you some more hints.
Hope it helps.

Htc Gps Tool

Hello all.
I have found in xda forum, a little application from HTC. It appears to be non a commercial program but a development one.
It about GPS, HTC GPS TOOL. I have installed it sucesfully in my ARTEMIS, although I do not know exactly how to configure it. The question is if someone has already tried it and if it is possible to configure it for static use. As you all know Artemis GPS is ok for driving purpose, but it has not enough sensibility for walking use. Can somebody help me?
http://rapidshare.com/files/223556733/HTC+GPS+TOOL

ToggleBT not working on TP2

I've installed Action Screen Program thati i've installed with no problem on my diamond. Now on my tp2 this program seems not working, i've an error message (error number 1359) and bluetooth won't start.
Anyone has this problem???
nobody use this program?
Don't know if it helps but I had the exact same problem when I installed tomtom7. I had to do a hard reset to solve the problem. Must be a conflict issue with some programs
I have the same problem with PhoneWeaver and Mobile Shell 3.0
SBSH Software support are looking into the issue I can only think that the Bluetooth switching on the TP2 conflicts with third party software. If I get a resolution I will let you know.
Had a similar problem. Apparently the TP2 uses the Broadcom / widcomm bluetooth stack, not the standard microsoft one. This causes the ToggleBT not to work.
Changed the registry key (for the action screen) to point to BTManager instead. Under :
HKLM\Software\HTC\Biotouch\ActionScreen\App_8
Change Key "Path = \Windows\BTManager.exe"
Which will pop up the Bluetooth manager from the settings menu.
Pandemonium said:
I've installed Action Screen Program thati i've installed with no problem on my diamond. Now on my tp2 this program seems not working, i've an error message (error number 1359) and bluetooth won't start.
Anyone has this problem???
Click to expand...
Click to collapse
dahoarty said:
I have the same problem with PhoneWeaver and Mobile Shell 3.0
SBSH Software support are looking into the issue I can only think that the Bluetooth switching on the TP2 conflicts with third party software. If I get a resolution I will let you know.
Click to expand...
Click to collapse
Hi,
Same thing here (unable to start bluetooth stack) after installing Mobile Shell 3.1
Did you hear anything from SBSH ?
thx and greetings,
Wout
Hi
Tomorry will be released a bandswitch's version that manages correctly BT on new HTC devices with widcomm stack....
Dani
danielherrero said:
Hi
Tomorry will be released a bandswitch's version that manages correctly BT on new HTC devices with widcomm stack....
Dani
Click to expand...
Click to collapse
Where can I find it ?
[EDIT]
old version (2.6) doesn't work on my TP2 ... :-(
[/EDIT]
Solution here;
http://forum.xda-developers.com/showthread.php?t=544952 .

Categories

Resources