PortSIP WM6 Auto Connect and Disconnect Patches - Mogul, XV6800 ROM Development

APPS ARE A FEW POSTS DOWN CREATED BY RYANMOGUL
I ALSO LINKED ADDINTIMER TRIAL WHICH SCHEDULES RUNTIME OF APPS
certainly there are the registry hacks to disconnect the internet
but i'm looking for a method to turn it on
i've seen the registry hack to make the internet on permanently
this isn't what i'm after
i'll tell you why i want it
voip phone...specifically PortSIP
it doesn't connect to the internet on its own
and i dont like opening the browser everytime i want to use PortSIP
thanks for any tips at all about firing up the internet easily
i'll continue to search but figured i would make this post after my first couple hours of unfruitful digging.

bump...
still searching
bounty?

eigerzoom said:
bump...
still searching
bounty?
Click to expand...
Click to collapse
I got you covered, i will write you a mortscript that doesnt eat battery or nothing. I can either make it to assign a button, connect internet when pressed, disconnect when pressed. Or I can make it automatically connect when you open a certain program or game or w/e. Let me know what you want and the name of the exe you are trying to use.
Edit: Let me know the name of the exe ex: GoogleMaps.exe and also the location of the exe, not the shortcut. ex: mydevice/program files/googlemaps, mydevice/windows, storage card/program files. Etc.. Otherwise I will just make you a Connect/Disconnect mortscript to assign to a button or click to run.

nice ryan
um is there anyway just to have an .exe or something i can link to in program files to run the connection...
shutting off the connection would also be a major plus...but i wont hold it against you
if i have to settle for one prog access here is the lineup
portsip is located at: /Program Files/PortSIP/PortSIP_WM6.exe
thanks for your dedication
i will donate for this
this is the last step to achieving scheduled running of portsip to enable free incoming calls using google voice/gizmo5 during day minutes
i may have to use a different voip app in the future so if at all possible to just be a unique mortscript.exe that would be ideal...
and probably more usefull for others and whatever they might need done
(free incoming calls = paid unlimited data)

You must not know what mortscript does. I can make it any way you want. It requires skill and know how so you can only make one script per program. Thats because you have to create a shortcut to the Mortscript file and make sure the icon looks like your program (if you want it done professionally). I use shortcut manager and edit parameters.
To make it automatically connect doesnt cost the battery or any memory resources. It doesnt use any "while" commands that run at all times. Now this other way uses more battery but I can also make it so that when you launch the program it will automatically connect to the internet and the script will continue to run in the backround until you actually close the program. At that point it would disconnect from the internet and stop running the script.
Or I can make it just a shortcut in your start menu folder somewhere and you can click on it, or assign to a button.
Now if you dont care what the shortcut looks like and you just want the liberty of being able to use it for other programs thats very easy. Just open my mortscript file with notepad, or wordpad (on PC) and edit the run command matching where your exe is. then simply copy and paste it on to your ppc wherever you want in the start menu.
Just really let me know what you want, and I will get to work on it now.

if you can do anything about making sure the data connection stays active that would be nice
i'm not actually sure at this point of it times out or not
some apps close the connection when exited...
registry edit would be nice...again not 100% sure if its a concern or not...

just saw your last reply
to save complication
i will opt to just have portsip connect when started and close connection when exited

eigerzoom said:
if you can do anything about making sure the data connection stays active that would be nice
i'm not actually sure at this point of it times out or not
some apps close the connection when exited...
registry edit would be nice...again not 100% sure if its a concern or not...
Click to expand...
Click to collapse
you said you already found out how to make the data connection always on?
I never asked if it times out, but it probably goes stale "times out" eventually. Plus setting your phone like that EATS mad battery.
Yes some apps do close the data connection, thats all commands in the programs .dll's. No registry edits for it, registry is not the magic answer to every workaround on PPC's. Thats why they have the program Mortscript, and its Mortscipters "me"

yea i just meant in general...not app related...
i'm not sure if the internet connection will time out at all
i'm assuming that would be in the registry
timeline wise:
portsip opens & connects 7am ::: 12noon internet disconnects from timeout
(not looking for scheduling...i'm using a program called addintimer to start/stop portsip)

Now the information you are giving is getting confusing.. You said that PortSIP doesnt automatically connect to the internet and now you are saying you use Addintimer to automatically open and run it.. You are leaving out details, like how you set up your addintimer to run it, did you have to point to a shortcut for PortSIP? Did you have to point to the EXE, I need to know these things or else you are not going to get what you want out of the deal. So you are saying addintimer opens PortSIP at 7am and connects to the internet like normal right? You just want it so during other times if you open PortSIP that it will automatically connect to the internet right? Am I on the right page now let me know. I will get started.

ok...thanks
addintimer starts or kills the process
using addintimer you assign a start or kill on a schedule to the .exe directly
hope that helps
if its easier just to create a program shortcut which enables the internet by all means
then i can just link addintimer directly to your mortscript 1 minute before portsip...etc
i think this method would be more universal for others to make use of it as well
sorry to leave the decision in you hands...
i know its easier to work with specific direction...lol
and thanks again for your attending to my needs

eigerzoom said:
ok...thanks
addintimer starts or kills the process
using addintimer you assign a start or kill on a schedule to the .exe directly
hope that helps
if its easier just to create a program shortcut which enables the internet by all means
then i can just link addintimer directly to your mortscript 1 minute before portsip...etc
i think this method would be more universal for others to make use of it as well
sorry to leave the decision in you hands...
i know its easier to work with specific direction...lol
and thanks again for your attending to my needs
Click to expand...
Click to collapse
So what do you do right now? Just leave your data connection running before you goto sleep? Because you still arent answering if the program addintimer launches the internet also.

ok
well if you want to just post up the .exe that initiates the internet then i can just link it into addintimer
i dont know what starts the internet...hence my issue here...
right now i manually connect to the internet before using portsip by opening a browser and leaving it open
day minutes are 7am to 7pm...and so i see an extended battery purchase in my future
but my phone is plugged in most of the time anyways...so this isn't a huge deal for me

Ok gotcha, mortscript file is not an exe. Its a .mscr or .mortscript extenstion.
and the files use the app Mortscript.exe to run the commands.
I am making a cab which will install mortscript, and the Data Toggle shortcut in Start menu.

i have mort installed...however it might help others to include it
its not that i dont understand what mortscript does...
its more not knowing what initiates the data session
thanks again
well i just found this registry entry which may help with the potential stale connection issue
HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}
dword: StaleCellularConnectionFixEnable
maybe setting it to 1 will insure she stays on once i get this all working
currently set to zero

PortSIP WM6 Auto Connect Only and Auto Connect and Disconnect PATCHES​
These patches are only for PortSIP WM6 version. The patches do not install PortSIP, but they overwrite the shortcut to it in programs. So if you uninstall this you lose your PortSIP shortcut which can easily be re-created through your phones file explorer.
These Patches will work perfectly with how you have your PortSIP set up and any programs you may use to launch apps at certain times or automatically "addintimer".
The Auto Connect and Disconnect "ACD" Patch will install Mortscript files to a new folder in your Start Bar/Programs called Scripts. There will be ConnectData and DisconnectData those are obvious what they do, and there will be Startscript and Endscript. That way you can set your addintimer to Startscript, then PortSIP, and then Endscript. This will save your battery life! Say you start PortSIP the while command is running, when you exit PortSIP the while command and mortscript stop. So in between uses it does not waste battery life. Thats why I have the shortcut to PortSIP set to re-launch the while command and the PortSIP.exe. Now another thing say for example when you reset the phone the While commanding mortscript in startup folder is running until you start up PortSIP and exit it. You can use the Endscript when you first boot if you are not planning on using PortSIP to save battery life.
You can just click to run each of these mortscripts. If you arent going to use PortSIP run the Endscript so it turns it off. The PortSIP will automatically start the script when launched from Start Bar/Programs folder. I hope this explains how to use the Patches I spent hours trying to figure out the best way to accomplish your tasks.
These Patches will install Mortscript.exe and its registry entries, it will also install 6 mortscripts. 4 are explained above 1 is linked to the PortSIP shortcut and 1 is in your startup folder and that automatically connects and disconnects PortSIP when opening, and closing the program. Its the main script that runs automatically at startup and that Start and End will work with to enable or save battery without having to soft reset).
But for installing the Patches you have to soft reset afterwards to activate the Startup file PortSIPacd.mscr that the CAB installs in your start up folder.
The Auto Connect Only "AC" patch automatically starts the data connection when running PortSIP without using while commands (will only work using PortSIP shorcut in programs). Downside to that is it will not end the data connection. That can easily be ended by pressing and holding the End Call key for a couple seconds. The Patch also installs Mortscript and Connect and Disconnect shortcuts to scripts folder for you to use.
***This paragraph is for people not using PortSIP that still want to use the Data shortcuts! Here is a Data Toggle Shortcuts CAB to install. It will install Mortscript and create a scripts folder with Connect Data and Disconnect Data shortcuts.***
Each patch should be uninstalled before applying the other patch..

here's a copy of addintimer trial if anyone is interested
lets you schedule just about any kind of event on your phone
app/shortcut start & kil...alarms and more i haven't looked into...lol...

eigerzoom said:
here's a copy of addintimer trial if anyone is interested
lets you schedule just about any kind of event on your phone
app/shortcut start & kil...alarms and more i haven't looked into...lol...
Click to expand...
Click to collapse
Good share, and also Thanks for the donation eigerzoom!

BUMP !!!
for official thread name change and general awesomeness...

Related

(UPDATED 18-09-2010) Auto Lock (CSDEVCTRL)

Hi all,
as am now moving to a more open platform (android), i would like to return the favor of learning through this forum, how to program on win mobile by posting the code of this utility.
Its given as is, no warranties, no tricks, do not expect a well written code etc.
Based on C++, no .Net.
Hope will provide to someone, knowledge and info on this subject.
Have fun with it.
Chris
This is the link
http://rapidshare.com/files/419726318/csdevctrl.zip.html
--- Old introduction ---
Hi all,
this is mainly an auto locking program which utilizes the Windows Locking for partial locking (phone related keys are active)
or complete locking (no keys are active).
It can be considered as an add-on to other programs which provide the User Interface, an 'In Call Locker'
with some goodies as mentioned later on which may or not depend on whether the device is locked (with any program that uses
the Windows locking).
The locking can be activated at the following events:
1. After a specified period of idle time (no screen tapping or touching the keyboard).
2. After the device has waken up.
3. During a call ("In-Call Locking" Partial or Full).
Also for any of the first 2 events (idle or wake up) the program can run a specified executable/registered file together with any command line arguments that might be required.
Finally, some 'goodies':
(Stand-alone means it does not require any other option or the device to be locked)
A.(Stand-alone) it can provide some customization on the carrier name so that:
- It can fit on the screen (for example not to overwrite the Battery icon in SPB Shell).
B. (Stand-alone) Turn on Bluetooth if a call is being dialed or received. Then switch it off after
the call has ended and the headset is not connected.
Usefull if you have a bluetooth handsfree kit in your car and you do not want to keep on turning on/off
the bluetooth.
C. (Stand-alone) Flash the Backlight and or Vibrate while ringing.
At last, you can 'see' if your phone is ringing.
D. Reset the Exchange Server Policy.
Stops the frustrating setting of the password being required after connecting to the exchange server.
F. Turn off the display or/and the device itself.
It can be used as a power saver while playing music etc.
G. Set your favorite SIP (which is being reset back to the default with every soft reset).
H. HotKeys (NEW)
You can assign as sequence of keys to perform an action.
(see http://forum.xda-developers.com/showpost.php?p=3666785&postcount=702)
The parameters that are driving the behaviour of this utility are located at:
http://forum.xda-developers.com/showpost.php?p=2424492&postcount=148
The parameters can also be updated using the setup program provided (csdevctrlsetup.exe).
A flow diagram of the parameters that relate to locking, is provided in the zip file for better understanding of their use.
The debugscr.exe program has been added to help identifying the keystroke codes and coordinates. Before this program is executed
the csdevctrl must be stopped as mentioned further down.
To install it:
- Use the cab file provided.
Simply run it and it will create:
- under the 'Program Files' a directory with name CSDevCtrl'
This directory will contain:
csdevctrl.exe is the main program
csdevctrlsetup.exe is the setup program
debugscr.exe is a utility to find the coordinates and keystrokes (optional).
- Shortcuts under the 'Programs'.
- They can be installed either in the internal memory or on a storage card.
To run it:
> Run the Setup program to set the parameters and the Start Up option.
> Run the program (csdevctrl) and it will spawn at the background as another process.
The device will vibrate once to show that the program has started.
To stop it:
> Running the program second time will cause the program to exit (It will show a confirmation window which will close in 3 seconds unless you close it sooner).
To uninstall it:
> Close the process as usual (run it again or kill the process).
> Remove it from the installed programs.
> Also delete the registry key HKEY_LOCAL_MACHINE\Software\CSDevCtrl
As a note, do not rename the csdevctrl.exe as the uninstall depends on this name.
It has been compiled only for WM6.
For more information see the next link:
http://forum.xda-developers.com/showpost.php?p=2391054&postcount=142
If you wish to buy me a beer or a pitta of souvlaki for my effort, feel free to click on the link below:
https://www.paypal.com/cgi-bin/webs...ode=EUR&lc=CY&bn=PP-DonationsBF&charset=UTF-8
Cheers
Chris
Log:
29/11 - v.6.5 - Added power off after disconnect, support for 6.5 win (beta)
17/09 - v.6.18 - General Policy handling, Dump variables for debugging purposes
04/08 - v.6.16 - Added option for startup delay, Keep the backlight on while on call, lock when dimmed.
27/06 - v.6.15 - Added option to lock only if specific programs are running
20/06 - v.6.14.1 - Fixes.
no bad, i like how it uses the built in windows lock.
Thanks,
it works well with my favourite program (Spb shell) which is the reason of me developing this.
this works great on the smartphone but there is a visible window which can be closed too easily with task managers and can't be navigated away from.
any poss you could hide it rather than minimise it?
looeee
i have updated the program to be windowless as you mentioned (attachment replaced)
Hope it works for you.
Cheers
Chris
chrisstavrou said:
i have updated the program to be windowless as you mentioned (attachment replaced)
Hope it works for you.
Cheers
Chris
Click to expand...
Click to collapse
First of all, thanks for sharing!! This is a very nice app.
I've tested the 2 versions (window and windowless), and I have a suggestion if I may.
I like the idea of the program being windowless, since it becomes more appealing to the eye (I mean, it's great we don't have to see the small window minimize everytime we wake the device), but now, to be able to close the app, we must use a task manager to kill the process(e.g. sometimes we may want to test some other locking software and we need to disable it temporarily). So my suggestion would be that when we run the program once it starts, the next time we run it, it stops. Would that be possible? I think it would make your app perfect!!
Remember, it's only a suggestion.
Thanks in advance.
Its good to know that it may be of use by someone
I have updated it as you mentioned, it will exit if you run it the second time (attachment replaced).
chrisstavrou said:
Its good to know that it may be of use by someone
I have updated it as you mentioned, it will exit if you run it the second time (attachment replaced).
Click to expand...
Click to collapse
Now it's just great!!
Thank you very much for this.
What's the purpose of this app, from the description above it looks as though it does what the original lock already does, so I ask again; what's the purpose of this app?
NiteStalker said:
What's the purpose of this app, from the description above it looks as though it does what the original lock already does, so I ask again; what's the purpose of this app?
Click to expand...
Click to collapse
Automatic lock!!
Once your device light gets dimmed, or on device wake up, without having to press the lock button.
Is that clear enough for you?
Just set the time for 0 minutes, and it's locked on wake-up.
Guess the dim part is good, thanks for clearing that up. I guess my brain wasn't working, I couldn't figure out what deemed was.
now i love the app for what it does... my only suggestions or worries are... after setting that up, i no longer am able to input a password when the lock is activated... and when the program is activated, it wakes the device up from the dimmed, light, thus defeating the purposes of the backlight going off... and also draining the battery a little more... is there ayway that the program can run without waking the device?
MrGalione973 said:
and when the program is activated, it wakes the device up from the dimmed, light, thus defeating the purposes of the backlight going off...
Click to expand...
Click to collapse
I have had this happen to me sometimes as well, already in my short testing time span: when pressing the power button (once) the backlight switches off and back on!
I am also experiencing that it sometimes just does not seem to lock: when pressing the power button twice (with pause) my device only sometimes locks.
And in case you are open to another suggestion: perhaps you can minimize all windows when locking, so the lock ends up on the today screen; or make it an option somehow (command line parameter?)
Thanks for the advices i will be checking them out and come back to you
mousio said:
And in case you are open to another suggestion: perhaps you can minimize all windows when locking, so the lock ends up on the today screen; or make it an option somehow (command line parameter?)
Click to expand...
Click to collapse
Another vote for that!
TBH the only reason I still use S2U is because I can see my missed calls, appointments etc. It's a great app, don't get me wrong, just not something I need.
Your locker would be perfect for me with an option to go back to Today on locking.
Or, perhaps you could implement a simple count of missed calls, SMS, MMS, emails and appointments directly on the lock screen? Just don't let it grow too much!
works beautifully for me with the spb mobile shell 'now' screen showing me the info, thankyou very much!
Why don't you add an option of command line parameter specifying a program/link to be launched before locking? That way it would be very flexible (there are plenty of small programs around doing loads of stuff - like minimizing everything or sending a text or calling your mama - possibilities are endless)
Program has changed as per your advices:
- Leaves the device in idle state for better power management
- Run an application while trying to lock by reading a file.
I have updated the first entry of the thread with some more info and the file.
Any comments are welcome.
Enjoy
I love it. It's simple and effective. Just the way I like things. I'll keep testing it for a while and report back.
I've got another idea actually.TODAY option works really well, the only 'problem' (its not a problem,just room for improvement ) that you need to reopen all the windows you had opened before.
How about an option TODAY&BACK when the minimised windows would be reopened when unlocked? In other words-minimised when locked, back to what it had been before locking when unlocked? It would make it perfect (until next idea strikes)
Anyone tested it on WM5?

[APP] LightJacker, the ultimate backlight fix & more

LightJacker 1.0.3
Universal backlight fix / TomTom backlight fix
for WM5 & Up​
Hi guys! I just installed TomTom on my S740 and found it still has that annoying bug where the backlight keeps going off, so I decided I would write my own app to fix this problem.
It features completely transparent operation with backlight resuming normal function when the target app is not focused (i.e. when one minimizes TomTom), universal-ness so it can be applied to any app, lightweightness, and doesn't touch the system in any way.
In future, I may also expand it to support configurable key-to-key and key-to-mouse translation, to make some PocketPC-only apps usable also on the Smartphone.
For the interested, see all the details at the program's webpage.
And let me know what you think about it.
Thank you!
Thanks! I think it is a great idea!
I have been looking around for such app to keep the backlight always on when necessary - e.g. reading e-books, watching video and etc.
My feedback is it may be a little troublesome to do the link to each application you want to apply?
Is it possible to make it a background app, whereby when turned on it keep the backlight on always, but when turned off it revert back to the default setting in Power management.
Thanks.
zhuozhi211 said:
Thanks! I think it is a great idea!
I have been looking around for such app to keep the backlight always on when necessary - e.g. reading e-books, watching video and etc.
My feedback is it may be a little troublesome to do the link to each application you want to apply?
Is it possible to make it a background app, whereby when turned on it keep the backlight on always, but when turned off it revert back to the default setting in Power management.
Thanks.
Click to expand...
Click to collapse
I've put on my web page an easier semi-automatic procedure for creating the link, you just have to enter the path to the executable and the name for your shortcut, and download the ready-made .lnk file (be warned that it doesn't work with firefox, though, but it does with IE and Opera.)
I don't think it's so difficult and time-consuming now
There already are apps or mortscritps that do what you want, I.e. changing the systemwide setting, but it is exactly what I don't want to do: impose additional hassle on the user having to start/stop an app, and mess with registry and systemwide settings... I wanted LightJacker to be as invisible to the use as it could.
Hi there thenext1, I tried your app and the set up was fine and it works great, so thanks very much for that. I like the way it picks up the icon from the original app, this got me thinking that you could make an adaption of your app that just injected a new icon into a shortcut for any app and that is all it would do, just to change the icon for any app and nothing else, if you see what I mean, sorry to be a little off topic but just a thought. I have some apps that have horrible Icons I would like a simple way of adding my own Icon into a shortcut. "IconJacker"
uniqueboy said:
Hi there thenext1, I tried your app and the set up was fine and it works great, so thanks very much for that. I like the way it picks up the icon from the original app, this got me thinking that you could make an adaption of your app that just injected a new icon into a shortcut for any app and that is all it would do, just to change the icon for any app and nothing else, if you see what I mean, sorry to be a little off topic but just a thought. I have some apps that have horrible Icons I would like a simple way of adding my own Icon into a shortcut. "IconJacker"
Click to expand...
Click to collapse
That function is outside LightJacker's scope, anyway, you can try editing the .lnk file and changing the last path after the "?" mark to reflect a path to an .ico file on your phone, and editing the last number to be zero or remove it with the comma altogether.
I don't know if it will work.
Perfect idea! Sounds like a super program!! I have been looking for a feature like this!
A question: can it monitor several programs also? (e.g. Tomtom and igo and acrobat reader)? Seems like the shortcut generator can only support one program...
parkhaus said:
Perfect idea! Sounds like a super program!! I have been looking for a feature like this!
A question: can it monitor several programs also? (e.g. Tomtom and igo and acrobat reader)? Seems like the shortcut generator can only support one program...
Click to expand...
Click to collapse
Just create a shortcut for each of your program.... be warned though, I didn't test multiple programs at once. It might not work.
Has anyone gotten this to work with an HTC Touch Pro? I've tried installing this - and after I create the shortcut, and click the master app I'm trying to keep lighted - I get the following error message:
"The file 'ljack' cannot be opened. Either it is not signed with a trusted certificate or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file."
When I click on the ljack.exe file on it's own - I get the following message:
"LightJacker error 2"
I'd read that another program that requires a purchase, "smartlight" was incompatible with our phones, so I'm wondering if it's something unique to the Touch Pro.
P0ll0L0c0 said:
Has anyone gotten this to work with an HTC Touch Pro? I've tried installing this - and after I create the shortcut, and click the master app I'm trying to keep lighted - I get the following error message:
"The file 'ljack' cannot be opened. Either it is not signed with a trusted certificate or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file."
When I click on the ljack.exe file on it's own - I get the following message:
"LightJacker error 2"
I'd read that another program that requires a purchase, "smartlight" was incompatible with our phones, so I'm wondering if it's something unique to the Touch Pro.
Click to expand...
Click to collapse
Error 2 means that an incorrect command line was supplied - in your case, no cmd line at all.
The other error with the proper shortcut is a windows mobile generic error, and I don't know why it comes up, it should run fine as it does when start ljack.exe on its own....
Maybe your phone isn't fully app-unlocked?
A super idea for a program! however, a GUI would be nice....
command-line options are not very handy. And I think that is where the Error 2 comes from. I also had trouble using your .lnk maker.
Hmmm, your site seems to be down.
Any chance you could upload the cab here on xda?
Yes, I confirm...
I tried several times.... The website is dead since this morning. So, no chance to download this promissing application until now.
For a very similar app go here:
http://oldsap.blogspot.com/2009/02/dontsleep.html
there is a version which prevents the PPC from entering standby, and one that does it only while wifi is on. Also a great app!
arturobandini said:
Yes, I confirm...
I tried several times.... The website is dead since this morning. So, no chance to download this promissing application until now.
Click to expand...
Click to collapse
You are right! Will investigate the problem.
@parkhaus: what'd be the GUI for?
I would love to have a program that keeps the backlight on when certain programs are running (Adobe reader, Tomtom, ebook reader, etc).
A menu for defining those programs would be great! making shortcuts for each program is a bit too complicated for most users.
A solution in MortScript you can find here
Note: knowledge of german language is required
parkhaus said:
I would love to have a program that keeps the backlight on when certain programs are running (Adobe reader, Tomtom, ebook reader, etc).
A menu for defining those programs would be great! making shortcuts for each program is a bit too complicated for most users.
Click to expand...
Click to collapse
An utility in .NET CF can be easily made, but I absolutely don't have any spare time to do it.
Or you can use the method provided by the above users, although it's the old method of changing values in the registry.
Thankyou very much, I needed an app like this for Memory-Map OS5 (App for Off-road satnav in the UK).
I don't suppose you use winmo 6.5 do you? I have another problem with that app in 6.5 where it has icons along the bottom like 6.5 does - however, as 6.5 changes the width of the icons at the bottom, I cannot see all the icons when in the app. If there is any chance you could also code something to alter the size of the bottom buttons whilst in a certain app, that would be even better!
There is a free trial @ http://www.memory-map.co.uk/ should you care to try and code this in.
OK, I used and tested this with TomTom and Memory-Map, and all seems good.
A couple of things, however.
As the size of the app is so small, why go around duplicating it?
Personally, I found that putting LightJacker in \Program Files\LightJack and then doing my app shortcuts like this:
107#"\Program Files\LightJack\ljack.exe" \Program Files\Navigator\TomTom Navigator.exe?TomTom Navigator.exe,101
Meant that I could:
a) Only keep one copy of lightjacker for multiple apps. If there is an update, you only need replace the exe and dll once.
b) Use the shortcuts anywhere. I have one shortcut in the start menu, and one in the app folder. That way, if you have to pick an app via a folder list that starts in the root, you do not have to navigate through the windows folder to get to the start folder, which takes ages
Working on Rhodium (ATT Tilt2 - WM 6.5)
This works on my Tilt2, but with the following tweaks.
The author's site recommends this format for the .lnk file, but this didn't work for me. It produced and Error 4:
123#"\Storage Card\Program Files\GoogleMaps\ljack.exe" GoogleMaps.exe?\Storage Card\Program Files\GoogleMaps\GoogleMaps.exe,101
But using the format in the previous post, it works - the backlight stays on while this program is the front program, and the backlight dims properly when the program goes into the background or is shut down:
123#"\Storage Card\Program Files\GoogleMaps\ljack.exe" \Storage Card\Program Files\GoogleMaps\GoogleMaps.exe?GoogleMaps.exe,101
The only thing not working is the icon. Following the advice on the author's site, I used Resource Hacker to find the Resource ID for the icon, which appears to be 800. But changing that in the link file stilll results in the link showing a generic icon.
Any suggestions on how to get the proper icon to show in the Start Menu for Google Maps?

Scripts for XDA_UC

I've been trying for the last couple of days to solve an issue (it's not really a problem) that has been irritating me for a while. The issue is that everytime i flash a new rom i have to spent a coupe of hours after configuring everything again. Now, I use the 6.5.x tree of NRGZ28's energy rom series, specifically the standard variant and i want to create some scripts that will automatically setup things like my exchange server, hotmail, opera user-agent string and wifi. I already have a script that is supposed to work for exchange (not tested it yet) and one for the wifi. The wifi one just doesn't work but i've just done some reading and i think i know why (More on that in a mo). So, i was wondering, has anyone tried this already? If so do you have the scripts that are needed or know where i can find them?
Now, back to the wifi script. The reason i believe it doesn't work is because it would appear that the wifi has to be on for the WLAN driver to accept the new configuration. Now when you install a new rom, as most of you will know, the wifi is turned off and those of you familiar with the energy rom series will know that xda_uc runs right after first boot allowing no time for the wifi to be enabled manually. So, i was thinking, is it possible to write some code that will enable the wifi at first boot so the configuration script will successfully modify the wifi configuration?
Thanks for your thoughts in advance guys and girls.
Have a look in the FAQ for the ROM and there is post for sample scripts. I used them last night and got hotmail and exchange working. Here's the link:
http://forum.xda-developers.com/showpost.php?p=7333558&postcount=19477
Check the FAQ - each time I re-read it I figure something else out.
lol and there was me thinking it would be a lot harder. i always skip past the faq because 9 times out of 10 they are always filled with things like "How do i flash a rom" etc but i do still have a feeling it's not going to cover all my questions, things like can i write some code to enable the wifi at first boot or some other things i haven't meantioned like can i write a script that will automatically configure omarket with my login details.
I want to go all out on this and have it set up so i have to do as little manual configuration as possible so some code samples and/or further pointer would be really handy.
Just had another look at the faq and found i already had the xml generator listed in the energy addons page. One small problem... I have no idea what the hotmail server configuration is. Any clues? if not i will google it later.
Got my hotmail script. No idea if it works, guess i'll have to test it at some point.
I'm still looking for info on how to enable the wifi at first boot. Although at this point i am open to suggestions on different methods that could be used.
I am also a little disappointed. i thought this one had more legs to it. oh well, you can't always get everything you want i guess.
Just a litlle update. I got the wifi to take the settings without turning it on. Well i say i did it when really it just seemed to work. i think it might have somethig to do with some new drivers that were cooked into the rom i use.
I dropped the hotmail script because i do actually use windows live fair often and i ended up with 2 hotmail email accounts in the email tab but with a couple of tweaks i did get my exchange settings script to work like a dream.
I'm now looking into setting the phone identity using a reg file. I gave it a go using a script i picked up but instead of doing what it was supposed to it just stopped the windows and HTC sms clients from working correctly and i can't figure out why (it caused the phone to create several undeleteable sms messages). I'll post the code at the bottom. I'm also wondering if it is possbile to have a script that will copy files (ringtones specifically) to the right location. I think XDA_UC will do this if you create the directory structure in a folder in the XDA_UC folder on the sd card (hope you followed that one). Can anyone confirm that? I also created a script to configure quickgps but that didn't seem to work, i'll post the code for that too.
I'm still wondering if it would be possible to configure the opera user agent string using some form of script or reg file and it would be really nice if i could something similar with BSB tweaks, agps, HTC location service and pretty much everything else tbh. So if anyone has any scripts, reg files or cab files they wanna share i will certainly welcome them and i'm sure that many others will too.
Anyway, to posting those reg files:
Code:
[HKEY_LOCAL_MACHINE\Ident]
"Name"="Lucifer"
"Desc"="HTC HD2"
"OrigName"="Lucifer"
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\QuickGPS]
"auto"=dword:00000001
"actSync"=dword:00000001
"ExpiredTime"=dword:00002760
"remind"=dword:00000001
Check this out for reference [XDA_UC][UC][SASHIMI][S4X] S4X_Auto & S4X_Backup [AUG.10.2010] XDA_UC Mods & Answers
id some looking up on the device name thing and found this: http://msdn.microsoft.com/en-us/library/aa924188.aspx seems my reg key was a little wrong.
I've also managed to create a cab file that will install my ringtones and then setthem with all related options as the defaults. I know it's not very impressive but it's a step in the right direction. I think i may have a look at exporting the bsb tweaks settings later and see how that goes.
Oh one question: i have been looking for an .reg to xml converter but my google results all seem a little vague and i don;t know if can trust the programs i'm finding. Has anyone got any suggestions?
M3PH said:
Oh one question: i have been looking for an .reg to xml converter but my google results all seem a little vague and i don;t know if can trust the programs i'm finding. Has anyone got any suggestions?
Click to expand...
Click to collapse
I don't think you need to convert reg to xml. Just leave the .reg files in the XDA_UC directory and it should run automatically.
darkblak said:
I don't think you need to convert reg to xml. Just leave the .reg files in the XDA_UC directory and it should run automatically.
Click to expand...
Click to collapse
No, you're right. I have no idea what i was thinking.
Another little update. I have working reg files for opera ua string and quickgps. I've decided not to bother with bsb tweaks because it's so easy to setup but being able to preconfigure windows live would be cool. Also being able to preconfigure agps would be nice

Windows Mobile Monitoring software

Hi I have an HTC Snap running windows 6.1 what I am looking for, is some tracking/spy type software to monitor sent and received SMS and MMS.
I have found plenty on the net, but they are all expensive "do it online" spying type services that do a lot more than i need. What I am looking for, is a program that comes as an installable CAB or similair, that i can install on the phone and it will be "hidden" on the phone itself.
Then it should store somewhere else in memory all sms and mms activity (regardless of whether user has deleted and or emptied deleted folder)
I guess what i would expect is to have an application on my PC so that i can basically connect the HTC to the computer via a USB cable and "download" the tracked data onto the pc and view it there.
I am not sure if such software exists, it may even be achievable through a 3rd party "activsync" type program but I have never seen software that will store sms and allow you to view it without restoring it back onto another phone first. (and also keep deleted information)
Can anyone point me in the right direction?
maybe someone could create a mortscript to run "pimbackup.exe" at a certain time (or when sms is sent/recieved/deleted)
also which will save the backup file into a specific folder inside windows.
(pimbackup will save all sms etc.. inbox and outbox)
it might be possable to hide the pimbackup process too, eg dont show pimbackup window and just create the backup file.
Rn
Who do you want to spy on? It's seems your goals are not really worthy any kind of support.
altae said:
Who do you want to spy on? It's seems your goals are not really worthy any kind of support.
Click to expand...
Click to collapse
probably a gf but who really cares..
what ever the reason is, i think it can be done with mortscript.
Rn
first attempt by RoryB
@ flamebo, you will need to download and install mortscript to use these scripts, but i do believe this is worthy of support because it is being supported
RoryB said:
Code:
chk=1
# This will check for tmail for about 10 seconds and then move on or exit the script
While(chk)
If(ProcExists("tmail.exe"))
chk=0
Else
chk+=1
Sleep(1000)
EndIf
If(chk > 10)
Exit
EndIf
EndWhile
# Script will still not run if tmail.exe does not exist
If(ProcExists("tmail.exe"))
Run("ppcpimbackup.exe")
WaitForActive("xxxx", 6) # replace xxxx with the actual window name for ppcpimbackup
Minimize("xxxx")
#use the next type of commands to go through the options
SendKeys("xxxx", "type text you need to enter")
Sendzzzz("xxxx") Also, replace zzzz with the command like TAB, CR, etc.
EndIf
Click to expand...
Click to collapse
Rn

[Q] Tasker with Locale execute plugin assistance, please

It seems there is a lack of support for using tasker. If I'm wrong, someone show me a nice forum or something just for tasker that I may read in. But first, I'm hoping someone with tasker knowledge will assist me with this simple request... this should be a simple thing...
My aim:
When ran, use a tasker task to execute the WiFi for Root users tether start, and if I'm lucky, stop as well in a separate task.
What I have done:
I have locale execute plugin. I start an execute task
and in configuration I typed
Code:
/data/data/com.googlecode.android.wifi.tether/bin/tether start
as this is what is displayed when enabling tethering in the WiFi tether app itself.
The problem I need help with:
Though when ran, this exe task does nothing. What am I doing wrong? Wrong code? Wrong plugin in tasker? I want to do this not just for convenience, but also to learn.
See attached for reference.
Nudge.
typhoonikan said:
It seems there is a lack of support for using tasker. If I'm wrong, someone show me a nice forum or something just for tasker that I may read in. But first, I'm hoping someone with tasker knowledge will assist me with this simple request... this should be a simple thing...
My aim:
When ran, use a tasker task to execute the WiFi for Root users tether start, and if I'm lucky, stop as well in a separate task.
What I have done:
I have locale execute plugin. I start an execute task
and in configuration I typed
Code:
/data/data/com.googlecode.android.wifi.tether/bin/tether start
as this is what is displayed when enabling tethering in the WiFi tether app itself.
The problem I need help with:
Though when ran, this exe task does nothing. What am I doing wrong? Wrong code? Wrong plugin in tasker? I want to do this not just for convenience, but also to learn.
See attached for reference.
Click to expand...
Click to collapse
You may have already figured this out, but I think you need to include and exclamation point (!) at the beginning of your execute string. That's the command I'm using, and it works for me, although it takes upward of a full minute before it actually starts the tethering. Not sure if that's due to WiFi Tether itself or if it's the execute plugin that runs so slow.
Also note, in my experience, starting the tethering this way does not affect the display of the WiFi Tether app. That is to say, the tethering could be running, but the app still has the greyed-out wifi signal and says 'Press to start tethering.' For that reason, I included a status-bar notification to my Tasker task when the tethering is active, so that I know it's running.

Categories

Resources