yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] cwilso03:
Re: Stopping/killing a process when connection is lost

I wrote the following Mortscript to accomplish what you're describing. The downside is it has to run all the time, but I don't notice the overhead on my HTC Fuze.

Basically, when the BT stereo is active, this script checks once per second for disconnect, then kills the Mortplayer process. If BT stereo is *not* active, it only checks once every 30 seconds. Of course, those timeouts can be set at the beginning of the script...

stereo_active = FALSE
#player_window = "Audio Manager"
player_window = "MortPlayer"
sleep_active = 1000
sleep_dormant = 30000

while (1)
bt_state = RegRead("HKLM", "System\State\Hardware\", "Bluetooth")

# bt_state & 0x04 == true means wireless stereo is active...
if (bt_state AND 4)
stereo_active = TRUE
endif

if (stereo_active && NOT(bt_state AND 4))
# Stereo was active, but has been disconnected. So kill the audio player...
stereo_active = FALSE
# kill audio player...
Close(player_window)
endif

# Sleep 1 sec if stereo is active, 30 secs. otherwise...
if (stereo_active)
sleep(sleep_active)
else
sleep(sleep_dormant)
endif
endwhile

To use the above, put it in a mortscript file (e.g., "stop_stereo.mscr") and shortcut to your \Windows\StartUp directory so it runs at bootup. (Of course, you must have Mortscript installed too...)

-Chris
[Windows Mobile Apps and Games] VentoZ:
Whoa! Nice! I'll try it. Thank you.

Btw, nice WM skin you have there. :-)
[Windows Mobile Apps and Games] RonnyGydar:
cwilso03, just tested it now, and it worked like a charm! Now Mortplayer not only starts all by itself and plays music when I turn on the headset, it also stops by itself when I turn of the headset.

Thanks! :)
[Windows Mobile Apps and Games] cwilso03:
Glad to hear it works for you!

Best,

Chris
[Windows Mobile Apps and Games] robbin7:
I've got a problem :(

Nobody has got the problem ?

It's frustrating go-out and go-in A2DP manually during the driving - Pls help !
[Windows Mobile Apps and Games] s81:
Hi there,

Can you add an autoclose aplication when headset is disconected?? It would be perfection come true!
[Windows Mobile Apps and Games] ekache:
I'll try this on my atom exec...

thank you so much for the great tools.
[Windows Mobile Apps and Games] hopper13:
Has anyone gotten this to work with a car bluetooth system? It would be awesome to be able to channel audio through the car stereo!
[Windows Mobile Apps and Games] chadster214:
Try AUTOA2DP. it works for me.
[Windows Mobile Apps and Games] hopper13:
If you've got it working with your automobile bluetooth system, perhaps I'm doing something wrong. I installed it in the windows directory, see the registry entry and have a little stero headphone symbol around the bluetooth icon when paired in the car. Still, nothing but telephone audio is routed through the car system. :-(
[Windows Mobile Apps and Games] supbro:
It works well in my car too. Your car system must support the A2DP profile though, it won't just work on any bluetooth car system. Sometimes they call it "stereo bluetooth" or "bluetooth audio". For instance it works in the 2007 Acura TL but not the 2006 Acura TL despite being able to make Bluetooth calls from both systems.
[Windows Mobile Apps and Games] hopper13:
Gotcha. The car is a brand new Audi Q5, but perhaps the Audi system does not support bluetooth stereo. :-(
[Windows Mobile Apps and Games] supbro:
I did a quick search and it looks like you might not be able to do A2DP in your brand new car without this $210 adaptor:

http://www.audi-collection.com/itemdy00.asp?T1=4F0051510J&SKW=AUQ5&Cat=car&SubLevel=21&lcat=

If that's true, it's ridiculous. I bought an entire replacement stereo for my car that supports A2DP for less than the price of that little adaptor. Anyway, you might want to read around some more to see if it's actually true.
[Windows Mobile Apps and Games] hopper13:
Yes, I saw the adapter and it is ridiculous! It's not clear to me if that is produced for cars without factory bluetooth, but it certainly looks as if with the adapter you can channel stereo wirelessly.

When I check the phone (HTC Touch Pro from ATT) it shows only "Set as Hands-free" as an option. "Set as Wireless Stereo" is grayed-out. :(
[Windows Mobile Apps and Games] b1iZZaRd:
I can't seem to get this to work for my Touch Pro 2 is anyone else having this issue?
[Windows Mobile Apps and Games] Ramsfan_Jim:
yes - doesn't work for me either.
[Windows Mobile Apps and Games] cwilso03:
Just got a Sprint Touch Pro2 and it doesn't work for me either. Unlike the Touch Pro/Fuze, the Touch Pro2 seems to have a Widcomm bluetooth stack rather than the MS stack, so perhaps the problem lies in the difference between the two...

-Chris
[Windows Mobile Apps and Games] nemothepemo:
Pairing my S9 BT Headphones with my Touch Pro !

For some reason I can't get my Motorola S9 phones to pair with my Touch Pro.

What's up with that ?? I went to the Motorola site where they have a "for dummies" step by step guide.

I have lots of other phones to connect my phones with, but the TP is my favorite device.

Any ideas ??

Thanks.
[Windows Mobile Apps and Games] y0himba:
It works on the HTC Imagio™ and Windows Mobile 6.5. Jabra BT8040 headset.

One question: What exactly does it do?

Edit: Not completely working. HTC has the phone set up to kill the Stereo Audio service as soon as it starts.
[Windows Mobile Apps and Games] L4OA:
GREAT!!

It works on my touch hd with wm6.5.1!!!

many thanks!!

I'm gonna use it intensively in the next days.. then a beer will come for sure ;)
[Windows Mobile Apps and Games] L4OA:
As i said.. cheerss!! :D:D

transaction Id: 22H100329B8519947

Bye
[Windows Mobile Apps and Games] GROBEK:
hello,

i'm on a french rom 6.5.2 manila v2.5

i try to pair avcrp my samsung stereo bth headset with the manila htc audio player (dont like wmp).this doesn't work.

i tried to put the audiomanager_en.exe in the autoa2dp.ini does not work.

i tried to put the htc music lnk in the autoa2dp.ini does not work.

no more idea.

please give me a solution.
[Windows Mobile Apps and Games] pppeterd:
Multiple devices

First I want to thank you, this works great. Theres one problem I'm having thats more than likely just a result of having a flaky car stereo.

With my pioneer car deck whatever this program is doing to establish A2DP is causing the deck to drop the link/headset as a result no BT connections can be made. Even if I specify headset only in the BT profile or delete the A2DP service entry from bluetooth/device/... entirely (so the deck only appears as a headset and not A2DP) I'm still having the same problem.

For the headset device I wanted to use this with it works perfectly and the A2DP always comes up no problems.

Just wonder if theres a way to exclude certain devices or have it check the device list for enabled A2DP before trying.
[Windows Mobile Apps and Games] Olioaglio:
xiaojin1985,

unfortunately your really great AutoA2DP app does not work

on a Leo (HTC HD2). Maybe coz of Widcomm BT Stack, maybe

coz of WM6.5.x, don't know. It's a real pain in the ass. Any chance

to get it fixed for those device(s)?

Olioaglio
[Windows Mobile Apps and Games] Aspvr:
AWESOME!!!!! piece of software you probably saved my life im always about to crash when trying to enable a2dp in my car now its awesome

Thanks really.

Anyone has any idea on how to auto launch samsung touch player i cant seem to find an executable just a shortcut in the windows folder and it doesnt work using that in the .ini

Thx in adv
[Windows Mobile Apps and Games] mods97:
At home but not the car

Ok this great app works as described. But only in the house. In the car only the hands free connects. I used the debug files and they work. I can toggle bluetooth between my A2DP and hands free. And I can get confirmation that they are both connected. but it would not connect A2DP automatically (only manually) when i'm in the car.

I waited a long time for an app like this believe me it was heaven sent. But i'm too close not to have it work in the car.

Any help you can give would be greatly appreciated$$
[Windows Mobile Apps and Games] casouzaj:
I suppose the stereo headsets you use at home are the last device you have paired to your WM phone, right? This is a small flaw I noticed on this great piece of software. I think if you deleted and re-paired your carkit device with your phone, it would become the last one in your phone's bluetooth devices list, for what A2DPtoggle would automatically detect it, but, then, you would transfer your current problem to your home headsets. Likewise, you would have to delete and re-pair them, to make them the last device in the list.

Hope I have made myself clear here, somehow, because English is not my natural language. :)

Cheers!

Carlos
[Windows Mobile Apps and Games] mods97:
Hey casouzaj

Thanks for getting back to me. I have tried repairing but not deleting and repairing. I'll try this tomorrow. If it works, I wouldn't be too worried about my stereo headphones at all. the car is most important.

Thanks again.

P.S. The English was Perfect
[Windows Mobile Apps and Games] screamor:
same for me =(
[Windows Mobile Apps and Games] grg_georghiou:
good work keep up
[Touch Diamond, MDA Compact IV General] timertrainer:
So I just got mine from my friend who lives in Germany, and I desperately want to change the language because I hardly understand it. I need it in English. Can someone help me find the .nbm file or some tut or something? I saw the hard spl unsigned thing and I guess I'll start off with that. Can anyone help me find a Windows 6.1 english version that has everything in it so it's like as i just bought it? Or maybe a windows 6.5? But I need it to have everything as if I just bought it, oh and I installed the one free map tomtom navigator allows me to download, so if I flash the rom, will I lose that map?
[Touch Diamond, MDA Compact IV General] Dom1n8tr1x:
You should be able to find a suitable ROM in the Diamond ROM Development Section, you will only loose your Maps if they are stored on the Main Storage.
[Touch Diamond, MDA Compact IV General] timertrainer:
Well the map files are in My Documents of the phone, so does that count as the main sotrage? Any way to back it up?
[Touch Diamond, MDA Compact IV General] timertrainer:
Oh! Will I lose +any Apps like the TomTom Navigator or the Office Tools?
[Touch Diamond, MDA Compact IV General] Dom1n8tr1x:
If you want to back up your maps, copy them to your Internal Storage. Mostly after market apps are installed on your Internal Storage so you will not loose it when you flash a new ROM, I have for example iGO8 installed on my Internal Storage and I don't have to reinstall it when I flash a new ROM. The Windows apps are part and parcel of all ROMs.
[Touch Cruise ROM Development] azpirin:
Some don't like Titanium because it have no Quick Dial.

To creat Quick Dial go to...... http://www.pdamobiz.com/forum/forum_posts.asp?TID=218477&PN=1

:D
[P3300, MDA Compact III ROM Development] AsusA5EB:
Qual é a melhor Rom em português? A que dá menos problemas, a mais fiável?

Cumprimentos,

Asus
[P3300, MDA Compact III ROM Development] tuonl:
please post in English? We can't understand Frence at all!:confused:
[P3300, MDA Compact III ROM Development] pajomoro:
this is not Frence(?) this is Portuguese (PTG)
[P3300, MDA Compact III ROM Development] cRaZyzMaN:
http://xdaforums.com/showthread.php?t=378535

for artemis, you only have this one
[P3300, MDA Compact III ROM Development] Zecanilis:
And next time, or from now, please read the forum rulles!
[P3300, MDA Compact III ROM Development] ark666:
Never heard of such a thing.

:D
[General Questions and Answers] manachinmaniac:
as it says, what is it??:confused:
[G1 Android Development] zgmf-x322a:
i found this in the Sapphire android development section.......

http://xdaforums.com/showthread.php?t=526085

im wondering if anyone want to test this rom out on their G1?......the rom is on the first page where u need to scroll down abit to get it........

screen shots from the user:

To download:

http://drop.io/htc_cime/asset/iwnn-ime-ntt-ht03a-1-1-0-11-3mb-update-zip

http://snickers.org/~jmaurice/android/20090609-google-japan-sapphire-cupcake.rar
[G1 Android Development] xadaniman:
is it a rom or just the keyboard port?
[G1 Android Development] zgmf-x322a:
according to that user, it is a dump rom

a nandroid backup was done .......

u can read the post in the first xda link and check it out......there are steps given too
[G1 Android Development] jashsu:
That thread is both about a build and a Japanese IME. Not sure which you are referring to.
[G1 General] engagedtosmile:
Trying to partition my SD Card and I can't seem to get it to work at all. Every time I try mounting it with my PC, it immediately unmounts itself when I go to format. Does the same when I try running Paragon. I try SDSPLIT and I get this

/data/sdsplit -nd -fs 500M -fu -nc

--------------------------------------

+You have chosen to perform the following actions:

.REPARTITION sdcard: 500M FAT / EXT2

!WARNING! Will DELETE data on sdcard!

.MAKE FAT32 and EXT2 filesystems

ARE YOU SURE YOU WANT TO PROCEED? y/N

--------------------------------------

+Checking validity of mkdosfs

1+0 records in

1+0 records out

--------------------------------------

+Checking validity of mke2fs

failed.

===ERROR: Cannot unmount /system/sd

I really have no idea what to do from here. Is there some way to erase all the paritions through terminal or recovery or something? Thanks for any help.
[G1 General] msimoens:
Do you have a card reader on any computer you have access to?
[G1 General] engagedtosmile:
I don't unfortunately. I followed some instructions on how to delete partitions in console but after following those my G1 is stuck on the T-Mo G1 screen and won't move past that.
[G1 General] Wii60:
Hey all,

I really don't know what to do about my cell phone situation. Up until last week, I had an unlocked iPhone. When I heard 3G was coming to my area, I gave it to my little sister for her college graduation with the intention of getting the Mytouch when it came out. When I realized it would be the end of July for the Mytouch, I decided to go and get a G1 to try out for 14 days android and see if I really liked the OS.

Here's the problem. I love this G1. It's almost perfect. I had no idea how much I missed a hardware keyboard. I'm running a custom ROM and even have some of the HTC stuff going. It's ridiculous how far ahead Android actually is of everything else, and I was on an iPhone just last week. However after all the praise I can give it I have three significant concerns. The two are the usual, battery life and lack of 3.5" headphone jack. The third problem is how close T-Mo must be revising this phone, or at least will be to releasing another android phone with a hardware keyboard. Could that happen this summer? I think the only way I'd get a phone without the keyboard is to go with the i7500 or that HTC Hero. I text a lot, so I think I want the keyboard.

So, what would you do? I don't want to wait very long because you can easily get stuck always waiting for the right thing. But I also don't want to get a phone and next week hear that a new one is coming out very soon. So what do you pros think? Am I in a wait and buy area where rumors are swirling about the next phone, or should I just keep this G1? Would you?

Thanks for hearing my ridiculously long and thought out post, and maybe I'm thinking on this too much, but I use my cell all the time, it's actually a big deal for me.
[G1 General] msimoens:
Here's what I'd do, don't get stuck with a phone you don't love for 2 years. Yeah you could always buy one outright and pay $500 to get the newest and greatest but don't settle (at least too much). Samsung and Motorola have one coming out soon with a physical keyboard. When I say soon, by end of year probably.
[G1 General] Wii60:
I guess I could hold onto this one for the rest of the week and take it back. Maybe by then I will have heard something else about a new release. That Samsung one was supposed to be "very soon" but none of the leaked roadmaps look promising.

HTC needs to revise this G1, its got so much missed potential.
[G1 General] bastage:
The G1 was the absolute 1st of not just a new generation.. But a PDA revolution.. With all its shortcomings it is still currently the BEST pda available in the US..
[G1 General] Wii60:
No argument here. Its a great device. The fact that my cellphone went off to tell me that someone replied to my thread and let me type out a reply very quickly on it speaks volumes to how it helps us organize and maintain digital lives.

Thing is, its painfully close to perfect. 3g expandable memory and an Android os integrated to google is awesome. It just falls short in style and entertainment (3.5 jack). It is the best option right now, but will it be the best option in a month or so? That's the 64,000 dollar question.
[G1 General] SolemnWishing:
The 3.5 mm headjack isn't that big of a problem... just buy an adapter. 10$ at the T-Mobile store for an OEM one with built in mic, or on eBay they are sometimes less than a dollar.
[G1 General] lbcoder:
3.5 headphone jack is ancient technology. This device supports bluetooth A2DP/AVRCP. Get with the times!
[G1 General] Wii60:
Hah. I didn't want to start a debate about 3.5 millimeter jacks. Doesn't matter what the opinions are anymore because as evidenced by the Hero, all HTC devices will have the jack in them. And its for the best I think. There are situations where you want to charge your phone and listen to music.

Its not about the jack though, its about the next qwerty android phone now, and I'm starting to think that will be a while.
[G1 General] sblmnl:
How did the OP not get that miniusb to 3.5" cable? I received one with my G1 back in November-did T-Mo stop sending these?
[G1 General] Wii60:
Got it

I have it, it's just not very practical. I had the same problem with adapters on my old blackberry pearl. Back then we had a 2.5" to 3.5" adapter. Very annoying actually and it turned me off to adapters as a whole. But even then you could hook it up to a power outlet and keep listening, and with the battery life issues on the G1, that is a very real need.

I hate to keep harping on that point, because I really love the G1 and it's not a deal breaker at all. Especially since it's clear HTC has conceded the point for their future phones. I really do like this phone and android a lot, I can't explain it other than if feels very solid, much more so than my old iPhone. I'm just looking at the outlook here and wondering if the better options are incoming.
[G1 General] crxtasi:
Plus 1 on this one. Its all about Stereo BT.

But for me the G1 is perfect as far as the learning curve for the Android OS better than the lack luster of the iphone. I say its not for us to decide because in 14 days your going to return it what phone will you get before the myTouch comes out?
[Windows Mobile Development and Hacking General] Tplane37:
Okay, need some help here. I have Spb Mobile Shell in both v2.1.4 and v3.0. I have the serial numbers for both, I like using them on my ROMS, but I flash my phone numerous times a week. I am getting tired of having to enter my Serial/Registration key every time I flash. I want to simply make an OEM for PPCKitchen (or heck, most any other kitchen's OEM would work, and I'll create the Option.xml, the DSM, and edit the RGU for what ever I need in it).

I can get the OEM together just fine, even get the files moved around during the build/flash. But what do I need to do to get the Registration/Serial Key to go in via OEM?

Am I going to have to create something with MortScript, if so, how/what?

PROVXML? RGU? What entries? A little help please..:confused:..thanks in advance.
[Windows Mobile Development and Hacking General] grinminded:
rgu

HKCR

CLSID

{B8D93F90-8931-43BB-AA6D-0F0AE84A6200}

SIPFlag2

String

"your spb mobile shell code."
[Windows Mobile Development and Hacking General] Tplane37:
I will try this one. I had a similar entry that I had pulled from my device when everything was set up, but the {####} was different. I just pulled my Reg up in CERegEditor and searched for my Registration Code.

On my previous attempts, it still asked for my Reg Code after I flashed. I repeated the steps again, and the {####} was different yet again (while the entry from up above also showed up because it was cooked in). It seems to change each time SPB gets installed. That's why I was thinking of MortScript to automatically enter the code after the device loads the first time. But I have yet to toy with MortScript. I tried looking at all the *.DAT and .EXE files with IDA Pro and Visual Studio, but can't make heads or tails of 90% of the file codes.

When searching the newly created OEM files (by literally opening them all at once in Visual Studio and searching all open tabs for "Register"), an entry came up in <spbmobileshell.rgs> pointing to:

"ForceRemove" (which I am assuming is for the Removal of the App via Remove Programs)

[HKLM\SOFTWARE\Spb Software House 2\Menu\Root\Tools\Registration]

[Image="108"] (dword)

[Index="6"] (dword)

[Text="Register"] (string)

[Type="Registration"] (string)

Any logic behind what I have located? Or am I chasing a ghost?
[Touch Pro, Fuze ROM Development] DirtAddsHP:
i just bought a fuze and i am wondering if i would benefit from a radio upgrade?
[Touch Pro, Fuze ROM Development] Emul8or:
Welcome to the Fuze family

Answers to all your questions and more...

http://http://wiki.xda-developers.com/index.php?pagename=Raphael_ExtractedRadioRoms

http://xdaforums.com/showthread.php?t=439566
[Touch Pro, Fuze ROM Development] mr.jaguar:
to answer your question, you could benefit a lot from a new radio, but then again, none of the radios could work for crap for you. I'm in simi valley and I use either 1.12.25.19 or 1.25.??.35 or whatever the new one is.. I went from 1 bar at home to 3 bars, I now get a gps lock in about 3 seconds, and my battery went from requiring a charge after 8 hours to a full 24 hours per charge.
[Touch Pro, Fuze General] HTC_FUZE:
Hi,

A few months ago, I installed WM6VOIP.CAB which downloaded here. Once installed and configured, GPS stopped working. I had to re-flash the phone and then get back GPS. Does anyone know this issue has been fixed or not?

Thanks in advance
[Touch Pro, Fuze General] TechnoHippie:
There is a cab file out there that doesn't have this problem:

InternetCalling_21109.cab

http://xdaforums.com/showthread.php?t=446652&page=105

I've tried a lot of the WMVOIP6 installs and this seems to be the only one that acutally works AND doesn't break the GPS in the process....
[Touch Pro, Fuze General] HTC_FUZE:
Do you have any idea why can it conflict with GPS? I downloaded this cab but installation is not sucessful. I guess the file RTCDLL.DLL is using by system and cannot be overwritten. How to unlock this file?
[Touch Pro, Fuze General] TechnoHippie:
I forget the resaon for the conflict.

Shoot me an email at victor dot anderson at gmail dot com and I'll email ya .cab I'm using for the install - which works fine on my HTC Fuze....
[Touch Pro, Fuze General] HTC_FUZE:
Thank you, finally, I managed to install this cab. The file "RTCDLL.DLL" existed already and that is why the installation fails. I rename this file and then install the cab successfully. Then I setup the SIP settings(I use voipRaider). VoipRaider is appearred on Today screen, and the status changed to "Selected" when I turned WiFi on. Everything looks fine but how to make a internet call? I don't see any option to select internet call from phone contact list. Do you have any idea?

GPS is still working after I installed voip.
[Touch Pro, Fuze General] TechnoHippie:
Once you're today screen is showing "selected" - then you're good to go - it uses the built-in dailer so just dial as normal either from the dialer or contact list....

Are you on ATT? One of the things that bothers me about ATT is that you can't use VoIP over 3G - but with the other carriers I think you can do this - there is a registry entry you have to change....
[Touch Pro, Fuze General] HTC_FUZE:
Yes, I am on AT&T. I did not make a call over 3G, but I can see "Selected" appears in 3G mode as well. Does this mean I can make internet call over 3G?