Wanted: Program to launch other programs when connected to net. - Windows Mobile Development and Hacking General

Just wondering if anybody knows of any programs that would launch other programs when a wifi/usb connection is made?
I would like to turn off activesync (it randomly turns on) and have it come on when I connect to usb/wifi. Also turn on other programs that need to update and connect when I am connected. Calendars/tasks/IM/etc
Or maybe there is already something available and I just need to set it up. Any help would be appreciated.

the MortScript can help you.
Besides this, you need a soft to run the Script when you connect to net.
I'm sure there are some such softs.
For example, we Chinese have a callerLoc can do anything with Script when you are dialing, or you have connected or disconnected to net, or some other SystemEvent
In my memory, SK has a soft(SKSche??) to do scheduler Task. And MemMaid can alse help you.
Sorry for my poor English.

yes skschema will do this, from sktools. It looks complicated on first load, but have a play and it becomes very simple and useful.

sweet! thanks. I will look into those. Thanks!

Related

EDIT Help please... Bluetooth half-gone

Here goes.
I bought a Magician a few months back. Hated the lack of space but liked the Bluetooth functionality. I could connect wirelessly around the house no problem. Sending/receiving files to/from anyone with a Bluetooth device.
Decided to proceed with BigStorage ROM Flash. Flash succesful. Enjoyed adequate space. Hated Bluetooth. I tried to get some help in this forum but the help extended wasn't exactly too successful. I was missing the [`Bluetooth] option in ActiveSync [a registry key I believe], and I couldn't send/receive files. I decided to give up on it until I had enough time to retrieve the registry key by reflashing with shipped ROM and flashing back to BigStorage.
I found the time to do it last week. Flashed and reflashed several times [every single attempt was successful], checking and rechecking for the Bluetooth registry keys. Yet I couldn't find them.
My Magician can still detect Bluetooth devices so I'm sure the hardware isn't busted. But I can't even transfer files using Bluetooth. Tried installing that Bluetooth Stack from http://forum.xda-developers.com/viewtopic.php?t=33532. Added some new features, but functionality is as stated in this paragraph.
Help? ::crycry:: hahahaha
I am now totally clueless as to how to go about this predicament..
EDIT
I've recently did the BigStorage ROM on my Magician. And everything was just peachy. Up until I tried to sync my Magician to the PC via Bluetooth.
Before I did the ROM patch, I was able to sync my unit through Bluetooth after some few hours of tweaking my system. But after I did the patch, I tried to sync it again through Bluetooth. My PC was waiting for the Magician but the unit kept disconnecting itself.
I ran Activesync on the Magician, went to its settings, and the Bluetooth option was gone. Only `USB was left along with some numbers (baud rates?), when previously it had `Bluetooth as well.
I'm sure Bluetooth works (as I've installed the CAB associated with it from the ExtRom) on the unit since it can make a device pairing and ask for a passkey and all that, but syncing through Bluetooth doesn't work anymore.
Could anyone shed some light on this for me?
Click to expand...
Click to collapse
try pairing your device to the pc! make sure that ur pc is not listed on the magician paired devices, activate the pairing from the magician through bluetooth under settings system tab through "Bluetooth ActiveSync Setup" and go from there.
let me know how you go!
errr.. ok i tried what you suggested. and i'm starting to wonder..
now my device can't see and can't be seen. i can't make a pair anymore even from the pc. my unit says 'no new devices found' yet my pc is discoverable.
broken bluetooth radio maybe (but it was working before the patch...)? or could it be a cab file i missed?
Hi i'm only new myself but you could try a soft reset then retry pairing your device, or a hard reset and see if the bluetooth works then? or maybe even try the cab file on
http://forum.xda-developers.com/viewtopic.php?t=33532
I have found that worst case senario a hard reset and look for the right bluetooth cab to install from the ext rom.
run a search on this site for ext rom and look for the post with details about each of the seperate files and what they do!
*Edit* i did a quick search and i wasnt able to find anything in the ext rom that applies to bluetooth setup or settings! so i guess a hard reset maybe the best way to find out whether is software or hardware?!!
Maybe one of the more experienced guys on this site might be able to help you further.
Hope this helps a little
thanks for your time boh113. i can still sync through the USB port so i guess bluetooth will have to wait. i just use it for wireless internet around the house when i'm not at the pc anyway.
i might try the hard reset when i have more time to tinker with the magician. but in any case, i'd like to thank you for trying to help
just an update in case somebody can help
i managed to pair my device with the pc already. but i still can't connect via bluetooth in the magician's async.
ok i found something in my registry pertaining to my problem. although i'm not sure how to fix it.
in the magician's async, under tools -> options -> PC -> options, there's a drop-down list for PC synchronization options:
`115200 Default
`19200 Default
`38400 Default
`57600 Default
`USB
there was a `Bluetooth option included at the end of the list before i did the bigstorage ROM.
going back to the registry, i found the keys to this list (although i'm not entirely sure if these are correct, but these are the only ones on my list)
HKEY_CURRENT_USER\Comm\RasBook\`115200 Default
HKEY_CURRENT_USER\Comm\RasBook\`19200 Default
HKEY_CURRENT_USER\Comm\RasBook\`38400 Default
HKEY_CURRENT_USER\Comm\RasBook\`57600 Default
HKEY_CURRENT_USER\Comm\RasBook\`USB
and to what i can see, HKEY_CURRENT_USER\Comm\RasBook\`Bluetooth doesn't exist. there are a whole lot of hex values under these keys and i'm not sure what they are for.
although if somebody could post/upload the `Bluetooth key from their device, i'd be grateful.
i'm aware that the hex values are also based upon hardware but i'm willing to try it out.
Ok i can find what your talking about but i dont have the ability to copy and paste the registry entry anywhere?!
if you can tell me how to get hold of this for you i'd be happy to help anyway i can!
most registry editors have the capability for exporting specific keys up to whole trees. perhaps if you have resco explorer and the registry add-on. or some other software similar to it. tap-hold and export?
thanks
I have resco explorer and the registry add-on but i cant find anyway to export the registry file?!
There's an option for import but thats it, also there's an option to copy but all it allows you to do is copy and past within the registry itself!
unfortunately i dont have the technical experience to do much ore tha n this, a quick guide as to which program to use and how to do it and i would be more than happy to help!
oh ok. open up resco explorer or the registry add-on. then navigate your way to this folder:
HKEY_CURRENT_USER\Comm\RasBook
there should be a \`Bluetooth\ folder within \RasBook\ what you do is tap-and-hold on that (`Bluetooth) folder until you see the drop down text list. "Export..." should be one of the options then you can specify where to put it. by default resco places it in the main memory
will wait thanks boh113
No worries found it and exported for your satisfaction!
Had to zip it ;D
hope this can help you further!
Goodluck
Much appreciated!!
Will try it out in a bit. I'll post my results after
Thanks boh113!
well, i got back the `Bluetooth option in async. but still doesn't want to connect to the pc. the hex values probably don't match the hardware in my unit. oh well. i'll test it out a couple more hours. and if i still don't get it to work, a hard reset might be my only solution. or re-flash with my original rom and start all over again. hahahaha
thanks for your help and time boh113. forgive me for having taken too much of it
No worries, sorry i couldnt have been of more help!
Good luck with it all!
*bump*

How to automatically run an application when connected to PC?

Hi there,
Could anyone please help me with this?
I want to run an application automatically when my WM5 device get connected with PC via ActiveSync. I've noticed some of softwares had this kind of feature, but I've no idea how to implement myself.
I've tried google and MSDN, still got nothing useful... ( stupid search engin user I am -_-# )
Many thanks.
Look at the CeSetUserNotificationEx function and the trigger event types
Thanks for your reply, saman-cz.
I'll have a try.

Any way to auto-connect to GPRS?

Being an avid AIM user, I was curious as to whether or not there is a way for the phone to automatically connect to GPRS. I'm pretty sure there's no setting, however are there any programs out that will let me connect? I use Opera Mini as my web browser, so it becomes a chore having to load my Java application, then boot up Opera Mini, especially when all I really want to do is chat.
Any help guys?
maybe this will
http://www.gb-soft.cz/XDAII/product_gprs_tweak_en.htm
thanks for the link theres got to be a regedit that will allow us to do this so when ever the phone softresets and starts gprs will kick in on reboot?
i believe that program got an option to strt gprs when gsm radio starts
and i asume that the program alter some registrys which ones i'm not sure though
Rudegar
thanks mate, il have a play with the app when i get a chance and see if i can find out what reg keys are changed.
ok found a fix for this-
with the below reg hack - as soon as yiour device is soft reset and switched on GPRS will kick in automatically
HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\"connection name"\AlwaysOn = 1
and if you change that back to 0 it will go back to default.
peace out.

Turning on phone at set time?

Hi. I frequently turn off my phone using the Comm Manager while leaving the PDA on during the evening. In the morning, I frequently forget to turn the phone back on and I was wondering if there was a program that can turn on (and perhaps turn off) the phone using the Comm Manager at a set time. Thanks.
Phone: 8125 on WM5 with original ROM
I'm looking for something like SleepWell.
http://www.connectivetools.com/sleepwell.html
The problem is that this program works only for smartphones. I tried it on my 8125 and it doesn't work. Moreover, the program deposited 300Kb of data which I can't seem to get rid of even after uninstalling it. But I'm still looking for such a program. Thanks.
Try Mortscript (Freeware). you can write a simple script that will set a notification event (or whatever it's called). I use it to run weather watcher automatically every morning. there are several forum strings, here and on others that have examples of different scripts that you can modify for your own needs. just do a google search for Mortscript, and Mortscript examples. It also has documentation included. Learning to use Mortscript will give you more control over your device than you ever though was possible.
I didn't think of MortScript, but even if I had, I don't have the technical know how to create do what I wish with a nice GUI.

programs randomly close

Hi! I have HTC Hermes and when im trying to multitask, my programs close in background, for instance, im listening to S2P and i minimize it then open resco file explorer or htc album or some other application, the S2P closes... or i have Slick (IM client) turned on, and i minimize it, then i surf the web in netfront or opera and the slick closes... this doesnt hapen every time, its just random, but it happens almost always Is there any way to fix this? or some setting that would help me somehow? I tried like 3 different roms but the problem stays, im using "MRH 9.0.1 Valerian" ROM right now. Can this be caused by SPB mobile shell because i installed it every time... If someone knows something that could help please respond thank you very much in advance.
Not sure if this helps but check the registry. I think there's a setting there that automatically gets the task manager to close programs to free up memory. If you cant find the key just install schaps advanced config-->go to HTC task manager-->Make sure auto kill is set to disabled. I find the second option easier.
autokill
I did not find that option in the advanced settings, but i managed to find a registry key "EnableAutokill" with value "1" in registry editor and i changed it to "0". hope this works. i will test it for a while and then i will share the results with you. Thank you very much for this tip
Edit: It works perfectly!!! Thanky very very very much! I wish you merry Xmas and happy new year!
well.. i had the HTC task manager installed and disabled the auto kill.
now the program doesnt kill themselves anymore.
but when it ran down till around 7mb, the programs are all closed except opera which im running on.
i couldnt find the registry key "enableautokill"..

Categories

Resources