PDA

View Full Version : Release rk-Location Switch (1.0.3) [Updated 15 April 2008]


tytnguy
7th September 2007, 12:36 PM
Here is a 'Phone location based application trigger’. Launches other applications, command lines and MortScripts and anything based on time frame and location you setup. Works on Windows Mobile Professional 5/6 (PDA with Phone) only.

Some of the possible uses have been added at second post below.

This is more advanced version of my application rk-Sleep (http://forum.xda-developers.com/showthread.php?p=1428076#post1428076), where you could just perform one action at one location.

rk-LocSwitch can have any numbers of locations and any numbers of actions. But please do understand that this is not a 'readymade profile application' but by configuring it properly you could make it a profile application and much more. Ultimately you can automatically customize your phone based on where you are and the time span you setup.

Also support fixed actions, actions at pre-defined time, not based on the location (This is helpfull to set up backlight (http://forum.xda-developers.com/showpost.php?p=1510083&postcount=7)'Bright' during day hrs and 'dim' during eventing/nights)(This feature is freeware and does not expire) :)

Now the important thing, this is not a freeware, it is 3.99 USD for XDA-Developers.com members. The trial version runs for 15 days so that you can test it and see if it satisfies you.




Update 1.0.6

Support for undefined/unknown location actions added.
Application now by default starts in minimized mode(not the sys tray mode)
Update 1.0.5

Error while 'Testing' the actions is rectified.
Update 1.0.4

Option to Show/Hide the Tray icon added
Debug support added.
Cosmetic changes done.
Update 1.0.3

Support for hide/show 'Un-Defined' location icon.
Bug fixes



Update 1.0.2

Support command line tags, eg Application could automatically send information such as LocationName, LAC, CellID by using the command line tags <LocationName>, <LAC>, <CellID. By this you could even send sms based on your location Entry/Exit along with location info.
Application can update registry with the current Location name, LAC and CellID.(HKCU\Software\rk-LocSwitch). Now your custom application can access the location information!
New menu added to copy TowerIds from one location to other.
New menu added to copy actions from one location to other.
New menu to force saving of the configuration data.
Bug fixes
Setup:

Install the application.
Run the application rk-LocSwitch from programs for the first time from the programs menu, after which the application starts automatically after soft resets.
A new task bar icon will appear in the task tray, click it to launch the application(application runs hidden, this is the only way you can access the UI to set it up)
First tab in the application is ‘General’, the information mostly read-only; you can specify the polling time (in minutes) and enable/disable the application.
‘Locations’: lot of information here. First you create a new location from the top part of the screen.

Location name is just a name such as ‘My Home’, ‘Office’ etc
Choose a icon ‘which would be displayed on the top notification bar’(you can have custom icons, just add the icons to the ‘\Icons’ folder under \Programs\rk-LocSwitch)
Check the box ‘Notify’(when ever you are at known location, a icon would show up on the title bar)
Specify the time frame such as 08:00 to 18:00(day schedule) or 22:00 to 06:00(for night schedule)
Specify if the location is of 'Undifined Type', If undefined then time frame settings are ignored and LocationIds are removed automatically.
Click OK to save this location

Add the current tower id displayed to the list, you could have multiple towers (if the location has interference from multiple towers or if you have say multiple ‘Places’ put under same location. Such as you want to configure the location ‘Office’ at two different physical locations but you want to have similar actions to perform.)
Now go to the ‘Actions’ button
You have ‘Entry’ and ‘Exit’ actions. You can add multiple actions for each action type. You can even order then ‘up’ or ‘down’. Use the ‘Action’ menu for additional commands such as ‘test the action’.
Next tab is 'Fixed Actions' here you could setup actions independent of 'Location' meaning these actions takes place irrespective of 'Locations' Useful for setting the backlight (http://forum.xda-developers.com/showpost.php?p=1510083&postcount=7) of the device.
Next tab is log where each attempt based on the polling time is logged. You can change the log action to log all, location change (Actions) only or none. Once you understand the concept put it to ‘None’(but if you think that something is not working then switch the log to all and investigate)
Last tab about: which is basically the registration module and the version info
Important notes:

Notes: if you want to configure home day and home night, you must have two locations setup such as ‘Home Day’ and ‘Home Sleep’ have the time frames carefully set e.g. 08:00 to 22:00(Home Day) and or 22:00 to 06:00(for night schedule). Do not overlap the time frames!
Keep the polling time as large as possible, unless you need real time response.(although I found keeping the polling to minimum (=2 minutes) did not make any noticeable difference to battery usage!. But test it out.
Do not forget to configure the ‘Entry’ and ‘Exit’ actions properly. Enter and exit actions generally should be cancelling each other (i.e. if you switch on flight mode on entry, make sure you have flight mode off on exit)
System is real time( ± Polling Time) , so if you are at home with flight mode activated and if you leave the home at mid night phone would switch back on.
If you really want to exit the program, use the right menu ‘Options’ and choose ‘Save & Exit’
When you start the application(not while activating the rk-LocSwitch) make sure the phone is not in flight mode
More importantly this is a ‘Switcher’ so I do not supply any command line applications to do your custom tasks; they are available in this site and over the internet. You are welcome to link in this thread so that it can be easily accessed by other users. But if some customization what you want is not available then you can make a request, and I will do my best to find one or built it myself.
Check in this thread for more pluggins
Note: This application requires Compact Framework 2.0
You need compact framework 2.0 installed inorder to run this application. The compact framework is already part of WM6, so if your device is WM6 skip this step. But most of the WM5 devices do not have this update. So you must download here (http://www.microsoft.com/downloads/details.aspx?familyid=0c1b0a88-59e2-4eba-a70e-4cd851c5fcc4&displaylang=en) and run the installation on your desktop (then active sync to update your device). Only after completing this step install the application.

Thank you all for the support.

Purchase (https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=karkera%2esoftware%40gmail%2ecom&item_name=rk%2dLocation%20Switch&buyer_credit_promo_code=&buyer_credit_product_category=&buyer_credit_shipping_method=&buyer_credit_user_address_change=&amount=3%2e99&no_shipping=1&cn=Please%20enter%20your%20Product%20Code&tax=0&currency_code=USD&lc=CA&bn=PP%2dDonationsBF&charset=UTF%2d8)

Download from here (http://ibyte.web.officelive.com/WindowsMobile.aspx)

tytnguy
7th September 2007, 12:38 PM
Possible uses


Switch off Phone or Sound while at home during sleeping hours.
Keep backlight at low setting while inside house or office. Increase the backlight while outside house or office.
Make a alarm function say if you are at office play at mp3 at 5:00 PM
Wake you up at particular destination specifically travelling in bus or train where you travel regularly.
Load your favorite theme/wall paper as specific locations.
Send SMS on entry or exit of a location.
Will be updated…..

If you have some more ideas I am glad to update this list.

tytnguy
7th September 2007, 01:02 PM
Here is the command line flight mode on/off utility. (http://forum.xda-developers.com/showthread.php?t=336992)

Command lines to switch on and off

\Program Files\rk-FltMode\rk-FltMode.exe on
\Program Files\rk-FltMode\rk-FltMode.exe off
\Program Files\rk-FltMode\rk-FltMode.exe toggle

tytnguy
7th September 2007, 06:37 PM
If you are using rk-OSR to check mail (http://forum.xda-developers.com/showthread.php?t=316696)you could enable and disable based on your location using the following command line
"\Program Files\rk-OSR\rk-OSR.exe" Enable --> Enables the rk-OSR
"\Program Files\rk-OSR\rk-OSR.exe" Disable --> Disables the rk-OSR

tytnguy
8th September 2007, 03:19 PM
rk-TSR a Theme Switcher (http://forum.xda-developers.com/showthread.php?t=321446), You can load a pre-set theme/wallpaper based on your location!

\program files\rk-TSR\rk-TSR.exe enable
\program files\rk-TSR\rk-TSR.exe disable
\program files\rk-TSR\rk-TSR.exe “\storage card\rkAzulBlue.tsk”
(For command line the theme must be listed in rk-TSR)

tytnguy
10th September 2007, 07:21 PM
I am planning to add following new features in the near future.

Add fixed actions at specified time irrespective of the location: This might help to set back light ‘bright’ during day and low during night.
Allow actions during the device status change such as wifi connected/disconnected, active sync done, soft reset etcIf you have any specific request please go ahead let me know.

tytnguy
14th September 2007, 09:53 AM
Here is the command line backlight switcher


\Program Files\rk-bk-Light\rk-bk-Light.exe 2
\Program Files\rk-bk-Light\rk-bk-Light.exe 10


Do not know if it works on all devices. But works on hermes

Note: This application requires Compact Framework 2.0
You need compact framework 2.0 installed inorder to run this application. The compact framework is already part of WM6, so if your device is WM6 skip this step. But most of the WM5 devices do not have this update. So you must download here (http://www.microsoft.com/downloads/details.aspx?familyid=0c1b0a88-59e2-4eba-a70e-4cd851c5fcc4&displaylang=en) and run the installation on your desktop (then active sync to update your device). Only after completing this step install the application.

Download from here (http://ibyte.web.officelive.com/WindowsMobile.aspx)

tytnguy
14th September 2007, 10:02 AM
Fixes and enhancements

Added support for fixed actions
You can add any number of fixed schedules and add any number of actions on each such schedule(e.g. to set the backlight low during night and bright at day)
These fixed schedules not specific to the locations and will occur at the time specified.
Does work even if the application expired!(it is a freeware, only location service would not work)
Better file browser added, now you do not have to key in the command line.
Bug with the system not clearing some of the old notifications fixed.
Battery use better that before (almost makes no difference on the battery use!)
If you are upgrading from the old version please uninstall the old version and delete any existing notification manually (delete any notification with name ‘rk-LocSwitch’). Then install the new version.
Also added new component rk-BackLight to support setting backlight (http://forum.xda-developers.com/showpost.php?p=1510083&postcount=7)on command line.

tytnguy
20th September 2007, 12:27 PM
To convert all day Calendar events to time spanned events automatically so that you don’t get reminders at midnight!

Use this utility if you are entering many appointments during day as 'Full Day Events' and difficult to manage it. Otherwise you can just run this utility once manually.

Read more about it here (http://forum.xda-developers.com/showthread.php?t=330850)

\Program Files\rk-Calendar-Update.exe “08:00” “22:00”
Updates all your 'full day events' to fixed time event with specified time span.

tytnguy
3rd October 2007, 08:04 AM
Hmm, No one has any comments? :eek:

colonel00
4th October 2007, 01:11 AM
I really like the idea. Unfortunately, this does not work on CDMA.

PAPPL
4th October 2007, 01:20 AM
Hmm, No one has any comments? :eek:

Wasn't there a topic about this app with many comments like adding vibration on/off? I'll try this app with hermes.

EDIT: Oh this is a new app (update of rk-sleep)

mushipkw
4th October 2007, 07:26 AM
Guys, can this software send an sms to a predefined no. whenever the Tower ID changes.

tytnguy
4th October 2007, 09:32 AM
Guys, can this software send an sms to a predefined no. whenever the Tower ID changes.
It can not send sms as it is now, if you find exe, or mortscript which could send an sms then you could use this program.
This program is like a trigger which calls other executables based on location, so as long as you can point to right executable then you are good.
But let me know if you are not able to find a executable to send sms, I might be able to build one for you.

gnu0815
4th October 2007, 09:37 AM
Hi TyTnGuy,

is it possible to get the geographic Coordinatas wich assigend to the Tower ID somewhere in the www?

tytnguy
4th October 2007, 01:21 PM
Hi TyTnGuy,

is it possible to get the geographic Coordinatas wich assigend to the Tower ID somewhere in the www?
I am not aware of any source with the Geographic Coordinates, But with that info lot of new ideas though! :p

gogol
4th October 2007, 01:57 PM
tytnguy :)

What kind of battery indicator app do you use?

Is it a standalone battery indicator? or part of other app?

Really nice.

mushipkw
4th October 2007, 02:55 PM
Im looking from a very long time for an app. which can send an sms to a predefined no. But I couldn't find any such. I would be grateful if you can develop such app.
Thanx.

mccune
4th October 2007, 10:21 PM
Looks realy good. Will test this on the HTC Trinity.

Keep up the good work! :)

tytnguy
5th October 2007, 07:51 AM
Im looking from a very long time for an app. which can send an sms to a predefined no. But I couldn't find any such. I would be grateful if you can develop such app.
Thanx.
I am working on your request, should be there in a day or two. :)

larsuck
5th October 2007, 09:21 AM
Im looking from a very long time for an app. which can send an sms to a predefined no. But I couldn't find any such. I would be grateful if you can develop such app.
Thanx.

Try ViJay555's phone tools.
http://www.vijay555.com/?Releases:VJPhoneTools

mushipkw
5th October 2007, 10:36 AM
Try ViJay555's phone tools.
http://www.vijay555.com/?Releases:VJPhoneTools

I have already checked out this but it doesnt fulfill my requirements.

mushipkw
5th October 2007, 10:41 AM
Thanx for developing this app.

I have some features that would make this app. great.

Suggestions:
1. Stealth mode like mobile justice or eye on theft.
2. Send info of Location Id or Broadcast messages which will make it easier to trace the cell.
3. Exceptions of Tower IDs. when not to send sms.
4. Sms sending period, like after how much time should an sms be sent.

tytnguy
5th October 2007, 11:08 AM
Thanx for developing this app.

I have some features that would make this app. great.

Suggestions:
1. Stealth mode like mobile justice or eye on theft.
2. Send info of Location Id or Broadcast messages which will make it easier to trace the cell.
3. Exceptions of Tower IDs. when not to send sms.
4. Sms sending period, like after how much time should an sms be sent.

mushipkw,
Thanks for suggestions.
The main idea behind this application is to have scheduler functionality, where 'things happen based on the location you enter and exit'. I really did not want to bind any other features built in to app as most of the actions could be done with already existing exe's and mortScripts etc.

In your original request, you wanted to have an ability to send SMS based on the entry or exit to a defined location. So basically what I understand is you need the ability to send a SMS with some details such as location Id or Location Name you defined. Please re-confirm it. I need to add this ability from rk-LocSwitch app to generate this SMS text and send SMS using ViJay555's phone tools.

tytnguy
5th October 2007, 02:22 PM
I have already checked out this but it doesnt fulfill my requirements.

Now you can send the SMS based on you location entry and exit and also you can setup (fixed) schedule to send the SMS at specific time. Assuming that you have configured many known locations and if you setup fixed schedules to send SMS at specific time the application would send the SMS indicating current phone location!

You need to use the ViJay555's phone tools\VJSMSSender

Note: the command line for the sms sender should have the text <LocationName>. This text would be replaced by the current location name and generated text would be sent as SMS body (check the screenshot)

Please use setup cab from the first post

:)

tytnguy
5th October 2007, 07:40 PM
tytnguy :)

What kind of battery indicator app do you use?

Is it a standalone battery indicator? or part of other app?

Really nice.

I think its from the following thread

http://forum.xda-developers.com/showthread.php?t=322463

:)

mistrix
14th October 2007, 09:19 PM
Although my WM6 phone (Universal, Laurentius V5) is connected to my service provider, the app persistantly comes back like "Could not retrieve tower info", hence is of no use.

Any advice?

christopher L
14th October 2007, 11:17 PM
I use flight mode a lot and would like to assign a button to it so, I like the Idea of your flight mode program but, in use it isn't user friendly. If it was a flight mode toggle it would be great.

tytnguy
15th October 2007, 12:19 PM
I use flight mode a lot and would like to assign a button to it so, I like the Idea of your flight mode program but, in use it isn't user friendly. If it was a flight mode toggle it would be great.
Hi christopher
Ok just changed to rk-FlgihtMode to support the toggle. Created a new thread here...
http://forum.xda-developers.com/showthread.php?t=336992

:)

mistrix
15th October 2007, 10:40 PM
Although my WM6 phone (Universal, Laurentius V5) is connected to my service provider, the app persistantly comes back like "Could not retrieve tower info", hence is of no use.

Any advice?

Not any hint?

I'm on 3G in Germany...

tytnguy
16th October 2007, 06:24 AM
Not any hint?

I'm on 3G in Germany...
Probably its not on GSM?
Not sure, Could you go on GSM network and see if it gets the tower(for the test)

Thanks :)

50watt
16th October 2007, 11:30 AM
I get no Tower ID on HTC Universal (WM6) too.
No matter if I'm on GSM or G3

Best regards
50watt

tytnguy
16th October 2007, 01:10 PM
I get no Tower ID on HTC Universal (WM6) too.
No matter if I'm on GSM or G3

Best regards
50watt
Sorry, Looks like HTC Universal does not understand my calls to tower.
Unless someone reports otherwise:confused:
I will keep you posted if I come across a fix.

mistrix
16th October 2007, 01:45 PM
Probably its not on GSM?
Not sure, Could you go on GSM network and see if it gets the tower(for the test)

Thanks :)

No luck here, neither on GSM nor G3.
Ain't both basically GSM, tower based...?

Are you looking to find that tower Id in the registry (like HKLM\Comm\Cellular\CellTSP\.., stays blank all the time on the Uni) or would be the mechanism to identify the specific tower?

tytnguy
16th October 2007, 07:09 PM
Are you looking to find that tower Id in the registry (like HKLM\Comm\Cellular\CellTSP\.., stays blank all the time on the Uni) or would be the mechanism to identify the specific tower?
No the tower info is not available in the registry. I am using the Radio Interface Layer or RIL to get the tower info. Since I can not debug it I am not sure where to start :confused:
I will see if I can build a dummy app to run it on your pda to see if i can debug something.
Do you think any of the default security features in wm6 preventing the application to get the tower info? Have you disabled the security warnings etc?

mistrix
16th October 2007, 11:06 PM
I'm on Laurentius V5 rom right now. All Security should be disabled, at least nothing is buggin' me ...

JimsEvilTwin
24th October 2007, 11:04 PM
Update version 1.0.1 Very Stable and with enhancements.

A new task bar icon will appear in the task tray, click it to launch the application(application runs hidden, this is the only way you can access the UI to set it up)


I prefer not to use the system tray and have it disabled. Does this app have any other way to start the UI, such as the Start/Programs or Settings menu?

transdamm
29th October 2007, 10:48 AM
this program froze my mogul.. anyway to fix?

ritterkeks
9th November 2007, 05:10 PM
hm seems that you didnt get very much adverdence. sad, i think.
because for me this is a revolutioneray application!
at least i dont know any other that could do that (however, i dont really know that much applications ;) )

although it would make my life much more easier (vibration@school, flight mode@night, low backlight in the morning...), it costs money, and while this is very cheap, i wont buy it, sorry.

vlad69uk
13th December 2007, 12:48 PM
Can i use this app to change the gsm band based on the cell tower i'm connected to?

When i am at home i get very poor 3g signal, just enough for the phone to change bands up to 3g, but not enough to make or receive calls.

Cheers
Paul

ericblong
13th January 2008, 10:24 AM
great app ... and will be registering ;)

but would also like to start a browser session with some arguments ... and to do this, i would need the cell tower information so that tower info is broken down into the LAC and Cell ID info, so i was thinking, in addition to the <LocationName> macro, can you also create the following:

<LAC> which will be replaced with the LAC info
<CellID> which will be replaced with CellID info
<TowerID> which will be replaced with LAC(dot)CellID

once this is available, folks can launch a http session to either:

1. update the tower info to look up geographical details for their towers on private/public cell database
2. launch google maps to locate nearby services (actually for UK folks, you can probably so this already if name your locations as postcodes) - dont know how to launch googlemaps app with added parameters, but im sure it's not that difficult ;)

thanks, eric

tytnguy
13th January 2008, 05:42 PM
great app ... and will be registering ;)

but would also like to start a browser session with some arguments ... and to do this, i would need the cell tower information so that tower info is broken down into the LAC and Cell ID info, so i was thinking, in addition to the <LocationName> macro, can you also create the following:

<LAC> which will be replaced with the LAC info
<CellID> which will be replaced with CellID info
<TowerID> which will be replaced with LAC(dot)CellID

once this is available, folks can launch a http session to either:

1. update the tower info to look up geographical details for their towers on private/public cell database
2. launch google maps to locate nearby services (actually for UK folks, you can probably so this already if name your locations as postcodes) - dont know how to launch googlemaps app with added parameters, but im sure it's not that difficult ;)

Thanks, eric
Thanks Eric for the reply and purchase:).
Yes I will fulfill your request soon. Bit tied up with my work now. But wont be too long
Thank you.

bnjlosh
14th January 2008, 07:22 PM
hi...just found and downloaded your app...it works fine on the TYTN II...so thanks...just a couple of questions though...does it put the tower id's in the registry? if not where does it place them? also, can I excercise a profile switch off a tower id change?

thanks again..

brad

marttin
9th February 2008, 05:16 PM
Hi Tytnguy,

Hope you are well! :)

Have played with rk-Location Switch for couple of days, and found the application very interesting and practical. I will be grateful if possible enlighting me on following:

1. After making some changes, including Locations and/or Fixed Actions, and then softreset the device all the changes are lost. But, if first exit rk-Switch and then softreset the changes are saved. Any way to save the changes as they are made - no need to exit first?

2. Is there a way to copy Tower IDs from Location1 to Location2?
- The reason for the question is simple - for example, at my home my phone switches between 5-6 Tower IDs (on 2 LACs). If I define a location Home - Day (8-20h) and get all IDs present at the place (need to walk arround and press all the time refresh button :)), and later start defining location Home - Evening (20-23h), or anything else, I need to repeat the walking exercise again and again. Having the option copy-paste locations/IDs, I guess, will be bit more convenient.

3. Leaving Home location (with nice Home icon), appears the icon for Undefined. But in case softreset the device (or exit and start again rk-Switch) in place which is undefined, the undefined icon do not appears. Any way to "force" rk-switch to show Undefined icon in undefined place after softreset/application restart?


I was also thinking that more flexiblity using the functionality of rk-switch, could be having the option to define location and time based actions not only on 24h basis, but also on day of the week. Another thought is the option to have enter/exit actions for Undefined location.

Hope you have a nice weekend

Thanks

tytnguy
10th February 2008, 02:36 PM
Thanks marttin for the reply/questions


After making some changes, including Locations and/or Fixed Actions, and then softreset the device all the changes are lost. But, if first exit rk-Switch and then softreset the changes are saved. Any way to save the changes as they are made - no need to exit first?

I know this bug it will be fixed next release


Is there a way to copy Tower IDs from Location1 to Location2?
- The reason for the question is simple - for example, at my home my phone switches between 5-6 Tower IDs (on 2 LACs). If I define a location Home - Day (8-20h) and get all IDs present at the place (need to walk arround and press all the time refresh button :)), and later start defining location Home - Evening (20-23h), or anything else, I need to repeat the walking exercise again and again. Having the option copy-paste locations/IDs, I guess, will be bit more convenient.

Nice suggestion, I will keep that as to do for next release


Leaving Home location (with nice Home icon), appears the icon for Undefined. But in case softreset the device (or exit and start again rk-Switch) in place which is undefined, the undefined icon do not appears. Any way to "force" rk-switch to show Undefined icon in undefined place after softreset/application restart?

That's a known bug, will be fixed next release


I was also thinking that more flexiblity using the functionality of rk-switch, could be having the option to define location and time based actions not only on 24h basis, but also on day of the week. Another thought is the option to have enter/exit actions for Undefined location.

Will keep in my list but will not be soon as more modification required.

Since I am totally occupied with my hectic work schedule these days, I have been very active here. But I will update the application soon.:)

tytnguy
16th February 2008, 11:28 AM
... in addition to the <LocationName> macro, can you also create the following:
<LAC> which will be replaced with the LAC info
<CellID> which will be replaced with CellID info
<TowerID> which will be replaced with LAC(dot)CellID
once this is available, folks can launch a http session to either:
1. update the tower info to look up geographical details for their towers on private/public cell database
2. launch google maps to locate nearby services (actually for UK folks, you can probably so this already if name your locations as postcodes) - dont know how to launch googlemaps app with added parameters, but im sure it's not that difficult ;)



...I will be grateful if possible enlighting me on following:
1. After making some changes, including Locations and/or Fixed Actions, and then softreset the device all the changes are lost. But, if first exit rk-Switch and then softreset the changes are saved. Any way to save the changes as they are made - no need to exit first?
2. Is there a way to copy Tower IDs from Location1 to Location2?
- The reason for the question is simple - for example, at my home my phone switches between 5-6 Tower IDs (on 2 LACs). If I define a location Home - Day (8-20h) and get all IDs present at the place (need to walk arround and press all the time refresh button :)), and later start defining location Home - Evening (20-23h), or anything else, I need to repeat the walking exercise again and again. Having the option copy-paste locations/IDs, I guess, will be bit more convenient.
3. Leaving Home location (with nice Home icon), appears the icon for Undefined. But in case softreset the device (or exit and start again rk-Switch) in place which is undefined, the undefined icon do not appears. Any way to "force" rk-switch to show Undefined icon in undefined place after softreset/application restart?



...just a couple of questions though...does it put the tower id's in the registry? if not where does it place them? also, can I excercise a profile switch off a tower id change?
brad

Hello Guys,
Here is the latest update 1.0.2

Support command line tags, eg Application could automatically send information such as LocationName, LAC, CellID by using the command line tags <LocationName>, <LAC>, <CellID. By this you could even send sms based on your location Entry/Exit along with location info.
Application can update registry with the current Location name, LAC and CellID.(HKCU\Software\rk-LocSwitch). Now your custom application can access the location information!
New menu added to copy TowerIds from one location to other.
New menu added to copy actions from one location to other.
New menu to force saving of the configuration data.
Bug fixesThank you :)

Kpyto
16th February 2008, 11:52 AM
Hi!

Can you add a today plug-in to display current LAC ID and my own text. (Like a "Home (LAC|ID)" or "Work (LAC|ID)" )

Thanks!!!

tytnguy
2nd March 2008, 04:56 PM
Hi!

Can you add a today plug-in to display current LAC ID and my own text. (Like a "Home (LAC|ID)" or "Work (LAC|ID)" )

Thanks!!!
Sorry Kpyto regarding the delayed reply.
The rk-LocSwitch is a pure dotnet application and there is no support for today pluggin on visual studio so I am not able to add that feature

do1fmd
26th March 2008, 07:31 PM
Hello.

Is there already any solution for the finding of towers-problem on WM6?

Greets, do1fmd.

grabiarz
26th March 2008, 08:10 PM
Any way for this application to change the city for weather info in HTC Home (I set custom city via HTC Home Customizer)

tytnguy
26th March 2008, 08:15 PM
Hello.

Is there already any solution for the finding of towers-problem on WM6?

Greets, do1fmd.

I know some people have reported incompatibilities. But its working on many devices. I use it on TyTn. No problems so far
:)

tytnguy
26th March 2008, 08:18 PM
Any way for this application to change the city for weather info in HTC Home (I set custom city via HTC Home Customizer)
If you know the commandline to change the city in HTC Home then its possible... But frankly I doubt it :)
But let me know if you find out something positive.

grabiarz
26th March 2008, 08:37 PM
If you know the commandline to change the city in HTC Home then its possible... But frankly I doubt it :)
But let me know if you find out something positive.

Well I'm on my way to figuring it out, at the first glance HTC Home Customizer is keeping the custom weather db in \Program Files\HTC Home Customizer\FILES\wdb\Custom.xml
I crafted two xml files with proper info. Now if I could write a script that would be triggered by your app that would let me copy the files from one location and overwrite the files in HHC folders.

Does WM support .bat files;) ? Can you point me to some scripting tutorials that would work nicely with your app?

Thanks!

tytnguy
27th March 2008, 06:22 AM
Well I'm on my way to figuring it out, at the first glance HTC Home Customizer is keeping the custom weather db in \Program Files\HTC Home Customizer\FILES\wdb\Custom.xml
I crafted two xml files with proper info. Now if I could write a script that would be triggered by your app that would let me copy the files from one location and overwrite the files in HHC folders.

Does WM support .bat files;) ? Can you point me to some scripting tutorials that would work nicely with your app?

Thanks!
In my opinion the *.bat files can not be run on windows mobile environment. But you should be able to achieve the copy of files using MortScripts check that option.

But are you sure just by changing the xml file changes the location automatically?

grabiarz
27th March 2008, 07:05 AM
In my opinion the *.bat files can not be run on windows mobile environment. But you should be able to achieve the copy of files using MortScripts check that option.

But are you sure just by changing the xml file changes the location automatically?

Sure? No. But I think rewriting those xmls and then somehow reloading the today plugin is a good place to start. In the mean time I'll check out MortScript.

dwhk903
14th April 2008, 02:52 AM
Hi Bro,

Is there any method to disable the notifications while entering un-defined areas... it seems quite annoying to me :p btw its great program for me and will intend to purchase if no big issue during the 15 days trial period :D

Great Thanks TyTnGuy! :)

tytnguy
14th April 2008, 05:57 AM
Hi Bro,

Is there any method to disable the notifications while entering un-defined areas... it seems quite annoying to me :p btw its great program for me and will intend to purchase if no big issue during the 15 days trial period :D

Great Thanks TyTnGuy! :)

You are correct! Right now there is no option to disable the 'Un-Defined' location notification. But will be available for next release. :)

tytnguy
15th April 2008, 02:22 PM
Hi Bro,

Is there any method to disable the notifications while entering un-defined areas... it seems quite annoying to me :p


New version updated on the first post with the options to hide/show Undefined location.

dwhk903
15th April 2008, 04:19 PM
New version updated on the first post with the options to hide/show Undefined location.

Thanks Tytnguy!! let me try it first! :D

Fredz
15th April 2008, 06:58 PM
When rk-location found a tower Id registered, an InvalidCastException appeared.
I have installed mortscript 4.11 and used rk-location 1.0.3 on Wizard with WM6.0
Is there someone else with this problem ?

dwhk903
16th April 2008, 01:04 AM
Hi tytnguy,

what is the function for "perform registry updates"? :p

tytnguy
16th April 2008, 05:58 AM
Hi tytnguy,

what is the function for "perform registry updates"? :p

That option is intended for people who wants to use the LAC, LocatonName or CellID information in their custom applications. With that option set the rk-LocSwitch would update the registry (HKCU\Software\rk-LocSwitch) whenever the device enters defined location.
e.g. A mortscript would access this information stored in the registry and perform some custom acton.

tytnguy
16th April 2008, 06:01 AM
When rk-location found a tower Id registered, an InvalidCastException appeared.
I have installed mortscript 4.11 and used rk-location 1.0.3 on Wizard with WM6.0
Is there someone else with this problem ?

Check if you have some fancy(non standard) date format in the system. Most probably that is the reason.

Fredz
16th April 2008, 08:34 AM
Check if you have some fancy(non standard) date format in the system. Most probably that is the reason.

How can i search this information please ?

tytnguy
16th April 2008, 09:57 AM
How can i search this information please ?
I do not know where exactly to check but it's the registry entry somewhere... Sorry I do not have the right answer.

Fredz
16th April 2008, 01:18 PM
I do not know where exactly to check but it's the registry entry somewhere... Sorry I do not have the right answer.

Could you please add an option to disable the time period for a profile (code = software instructions. I explain because i'm not sure of the signification of this word in english). It will be great if the code needed to use the time period is not execute when the option is not checked.

psychedelicNerd
16th April 2008, 04:08 PM
Hi,

Questions.
A) Is there a utility or an rk switch to toggle bluetooth on or off? I would the bluetooth to turn on or off based on my location.
B) Can this work without the data-plan? I am assuming yes, but just wanted to confirm.

Thanks

tytnguy
18th April 2008, 02:35 PM
Hi,
A) Is there a utility or an rk switch to toggle bluetooth on or off? I would the bluetooth to turn on or off based on my location.

No there is no rk utility to turn on/off the bluetooth.

Hi,
B) Can this work without the data-plan? I am assuming yes, but just wanted to confirm.

Correct, You do not need data plan to use rk-LocSwitch

marttin
22nd April 2008, 05:29 AM
Hi Tytnguy :)

Is there a way to enable/disable rk-Location Switch from a command line? The "General" tab check box?

The reason is very simple. I use rk-Location Switch in a combination with PhW, MagiCal and MortScript (and some other stuff) to manage my phone based on location, time, event (meeting), etc. Whenever I am in a "meeting" event (managed by PhW), in case I change the location, rk-LS will "force" location based profile.
The idea is: enter "meeting" event (PhW) disables rk-LS; "meeting" event ends (PhW) enables rk-LS

Cheers
PS. Re my previous promise - publishing how managing device in combination with rk-LS, PhW, MagiCal, etc., still fixing some stuff. After finish will write the post :)

fuzzywuzzyg37
25th April 2008, 01:58 PM
can this app. switches sounds/vibrations ?d

tytnguy
25th April 2008, 02:11 PM
can this app. switches sounds/vibrations ?d
It can not as it is... But install the utility found here http://forum.xda-developers.com/showthread.php?t=279228 then execute command line based on your location's entry and exit! :)

tytnguy
26th April 2008, 07:55 AM
Hi Tytnguy :)

Is there a way to enable/disable rk-Location Switch from a command line? The "General" tab check box?

The reason is very simple. I use rk-Location Switch in a combination with PhW, MagiCal and MortScript (and some other stuff) to manage my phone based on location, time, event (meeting), etc. Whenever I am in a "meeting" event (managed by PhW), in case I change the location, rk-LS will "force" location based profile.
The idea is: enter "meeting" event (PhW) disables rk-LS; "meeting" event ends (PhW) enables rk-LS

Cheers
PS. Re my previous promise - publishing how managing device in combination with rk-LS, PhW, MagiCal, etc., still fixing some stuff. After finish will write the post :)

Hay marttin,
Sorry about delayed response.

Well, disabling the application based on command line might not help in your situation. As disabling the rk-LocSwich will not exit out from the current location, and also there are other issues related to disabling the application which is already running and also might not be that easy to achieve.

Just thinking... what if I add an option 'Exit Location on Busy Calendar status’? So if the phone goes to busy rk-LocSwich should exit from the current location it is currently set and on exiting from calendar busy status goes back to location again. I am not sure if that is doable, but just wanted to know if that will serve your need.

spk_xda
12th May 2008, 04:56 AM
Hi tytnguy,
This is really a great app and unique one.... I was trying to use this with V_Vibrate (http://forum.xda-developers.com/showthread.php?t=279228) and whenever I try to add an entry action, say for office, to make the phone to switch to vibrate mode (I even passed the parameter to v_vibrate app) and while testing it gives "NullReferenceException" and the application ends (removed from tray too).

What am I missing here? I am using tmobile wing - HTC P4340

tytnguy
12th May 2008, 06:13 AM
Hi tytnguy,
This is really a great app and unique one.... I was trying to use this with V_Vibrate (http://forum.xda-developers.com/showthread.php?t=279228) and whenever I try to add an entry action, say for office, to make the phone to switch to vibrate mode (I even passed the parameter to v_vibrate app) and while testing it gives "NullReferenceException" and the application ends (removed from tray too).

What am I missing here? I am using tmobile wing - HTC P4340

Try the following run command...
\Program Files\ValeraVi\V_Vibrate\V_Vibrate.exe

Arguments for Vibrate ON
-on

Arguments for Vibrate OFF
-off

Do not use any other options such as 'Wake up device' or 'Wait for Completion'
Hope that works. :)

maggoi
21st May 2008, 10:10 AM
Today I’ve reflashed my Phones rom and reinstalled rk. Now the Productcode has changed and the key doesn’t work any more. Can anybody me?

Regards Marco

_Frosty_
1st August 2008, 05:59 PM
i seem to be having a slight problem....
when this is running it stops my messaging from loading, and it don't load after a soft reset like i read somewhere it says it does, other than that, nice app...

tytnguy
1st August 2008, 06:09 PM
i seem to be having a slight problem....
when this is running it stops my messaging from loading, and it don't load after a soft reset like i read somewhere it says it does, other than that, nice app...

Could not really understand your issue....
Why wound not messaging application load, is it in the background??

After soft reset application resides as a icon in the system tray(right bottom) of your today screen, tap the icon to show the application.

Hope I answered your question.

_Frosty_
1st August 2008, 06:17 PM
Could not really understand your issue....
Why wound not messaging application load, is it in the background??

After soft reset application resides as a icon in the system tray(right bottom) of your today screen, tap the icon to show the application.

Hope I answered your question.

sorry but no, the app isn't in the tray, loads when i click on it from the start menu...

as messaging goes, if i do a soft-reset, load locswitch then try messaging it don't load...

i'm thinking a hard-reset soon, so once i've backed-up everything and made a few changes to my rom, i'll re-fresh and see how it goes then, maybe something in my os (.net 3.5 possibly)

which leads me to another question, if i buy this app, what happens after a hardset, need a new code

tytnguy
2nd August 2008, 05:36 AM
if i buy this app, what happens after a hardset, need a new code

If you buy it, just remember to set the same DeviceId(Settings\About\DeviceId) and Owner name on a new rom and use the same activation key I send after your activation.

In case of any problem send me an email from the same email account which registered the purchase.

:)

_Frosty_
3rd August 2008, 05:48 PM
one other question,
where does it store all the settings,
location based, time based, and all the cell details, might be bit of a pain setting them once all is correct and reinstalling, is there any way to back them up?

tytnguy
4th August 2008, 06:00 AM
one other question,
where does it store all the settings,
location based, time based, and all the cell details, might be bit of a pain setting them once all is correct and reinstalling, is there any way to back them up?

On the install directory there is a file called 'rk-LocSwitch.dat', stores all the settings. Just just back them up before any rom upgrades(if you have installed on storage card then no problems as rom upgrades does not change anything in the storage card!)
:)

_Frosty_
4th August 2008, 01:11 PM
cheers for that

_Frosty_
6th August 2008, 12:50 AM
think i discovered my problems i mentioned before with location switch, when i last cooked my rom, i removed the netcf folder from oem and added .net 3.5, so i'm not sure if there was something that it depends on that in 2 but not 3.5.... or it was just the way i went about it, but happy to say works fine now, so few trips home and to work then there's a purchase..

thanks for your help in response to my questions

tytnguy
6th August 2008, 06:52 AM
think i discovered my problems i mentioned before with location switch, when i last cooked my rom, i removed the netcf folder from oem and added .net 3.5, so i'm not sure if there was something that it depends on that in 2 but not 3.5.... or it was just the way i went about it, but happy to say works fine now, so few trips home and to work then there's a purchase..

thanks for your help in response to my questions

rk-LocSwitch designed to work with CF2.0, But it will also work with just CF3.5(I have been using CF3.5) with out any problem.
But you never know sometimes some ROM related issues could be there too.

kkkelvinkk
9th September 2008, 03:54 AM
Is it possible to divert call/call forwarding based on location ?

kkkelvinkk
9th September 2008, 10:25 AM
Will rk-Location switch work for 3G network? I have tested it, but it seems doesn't work.

kkkelvinkk
9th September 2008, 10:56 AM
Will rk-Location switch work for 3G network? I have tested it, but it seems doesn't work.

Seems it is not the problem related to 3G network, I have turn my mobile to GSM mode only, but it still doesn't work.

haiopei
9th September 2008, 12:56 PM
Hi tytnguy,

i stay on test with loc-switch at this time.
So it works great at the moment for my needs.

The only thing i dont understand is the tray-icon,
why any ?
A switch to en-/disable the icon on settings-panel were great,
because i and others(?) use the complete screen to show
any plugins -like rl-today- in fullscreen-mode...

Best regards

kkkelvinkk
10th September 2008, 05:56 AM
Seems it is not the problem related to 3G network, I have turn my mobile to GSM mode only, but it still doesn't work.

I am using Toshiba G810 running Windows Mobile 6.1.

tytnguy
11th September 2008, 07:24 PM
Hi tytnguy,

i stay on test with loc-switch at this time.
So it works great at the moment for my needs.

The only thing i dont understand is the tray-icon,
why any ?
A switch to en-/disable the icon on settings-panel were great,
because i and others(?) use the complete screen to show
any plugins -like rl-today- in fullscreen-mode...

Best regards

Since it is a program which runs hidden, I wanted to make user know that its running in the background. Also I needed an interface to bring it out from hidden state so that user could manipulate the setttings etc.
If you are using full screen pluggin it should not hurt having the rk-LocSwitch icon on the hidden today screen

HTH :)

tytnguy
11th September 2008, 07:26 PM
I am using Toshiba G810 running Windows Mobile 6.1.

kkkelvinkk Sorry to hear that its not working on your device.
I know its not working of some specefic devices. I am using it on WM 6.1 with out any issues.
:)

haiopei
12th September 2008, 08:32 AM
Since it is a program which runs hidden, I wanted to make user know that its running in the background. Also I needed an interface to bring it out from hidden state so that user could manipulate the setttings etc.
If you are using full screen pluggin it should not hurt having the rk-LocSwitch icon on the hidden today screen

HTH :)

Hi tytnguy,

it will do, sorry :(
Every one can reach the settings on the top-icon too if some towers with id's are saved with one icon...

A little switch like unhide/hide from tray as user can change how he will ?

If i have forgotten : many thanks for this nice app ;)

Puckmeister
10th October 2008, 02:34 PM
hi tytnguy,
i was looking for this type of application for a long time and i am glad now that someone did it :). i just want an app that can call scripts based on location, nothing more. every other thing+ timebased changes are solved with mortscript, so locswitch fits perfect.
but i recognize that the Exit-Actions don't work as expected. For testing purposes i have just one Location called office. If i enter Office, the office-script from the actions runs. if i leave office nothing happens. does it change only when exit to another location ?

for me there are 2 possibilities i could work with:
1: the exit-actions when leaving a location to undefined can start a script (what is not so at the moment)
or 2: there has to be enter and exit-actions for un-defined locations like martin asked in this thread.


...
Another thought is the option to have enter/exit actions for Undefined location.
...

this is the only thing that keeps me away from buying it, if one of these could be implemented you have one more license to sell :D

best regards, pucki

tytnguy
10th October 2008, 04:54 PM
but i recognize that the Exit-Actions don't work as expected. For testing purposes i have just one Location called office. If i enter Office, the office-script from the actions runs. if i leave office nothing happens. does it change only when exit to another location ?


Exit actions should work as expected. Can you check testing your action for exit manually and see if it executes? Also check the log when you exit office(You have to set to log on action). Let me know the results.

Puckmeister
11th October 2008, 10:24 PM
Exit actions should work as expected. Can you check testing your action for exit manually and see if it executes? Also check the log when you exit office(You have to set to log on action). Let me know the results.

doesn't work on my device (htc touch plus/t-mobile touch dual) at the moment.
if i move to a location, it executes the action, if i leave there is nothing. i put the same action for exit and enter to test (a mortscript with a simple test message) but it just appears on entering, not exiting.

here is the log for enter location. if i exit the location, the tool recognizes it and it says [Un-Defined] in Location field in general tab but the log doesn't change..

rk-LocationSwitch Log @ 11.10.08 22:16:03

Performing entry actions for [Home]...

Running Command[\system\script\MortScript.exe "\system\script\profiler\profiler.mscr" mode="home" location_switch="yes"]...

End of log @ Samstag, 11. Oktober 2008 22:16

i changed a lot of system files and registry values for development of some own tools, if you have no idea what it can be i would do a hard-reset to check if the error occurs on a standard dual device

best regards,
puckmeister

marttin
12th October 2008, 05:49 AM
It will be good to see entry/exit actions for Undefined location - makes managing the device more convenient

As well, option to hide tray icon will be good too. I use HS++ (former batterystatus) on full screen, and every time need to hide icon manually

Thanks

tytnguy
12th October 2008, 06:28 AM
doesn't work on my device (htc touch plus/t-mobile touch dual) at the moment.
if i move to a location, it executes the action, if i leave there is nothing. i put the same action for exit and enter to test (a mortscript with a simple test message) but it just appears on entering, not exiting.

here is the log for enter location. if i exit the location, the tool recognizes it and it says [Un-Defined] in Location field in general tab but the log doesn't change..



i changed a lot of system files and registry values for development of some own tools, if you have no idea what it can be i would do a hard-reset to check if the error occurs on a standard dual device

best regards,
puckmeister

Hi puckmeister,
Understood, I will test it today and will fix the issue soon. Do not have to hard reset your device :)
Bit tied up with other stuff.. But I will post the update soon.

Kraize
12th October 2008, 07:00 AM
This looks really nice and all and sorry to burst your bubble, but Schaps has already made something like this (not released yet of course). He's including it with his TouchXperience roms.

"Touch Menu - Geo-Positining:
Use GPS or cell-based geo-positioning to determine current location and create profiles for each location"

But I'm seeing that the only differnce might be that your app allows you do launch anything. This is just for profiles.

tytnguy
12th October 2008, 07:23 AM
[quote=Kraize92;2765569]This looks really nice and all and sorry to burst your bubble, but Schaps has already made something like this (not released yet of course). He's including it with his TouchXperience roms.

"Touch Menu - Geo-Positining:
Use GPS or cell-based geo-positioning to determine current location and create profiles for each location"

Schaps has been producing quality products and I am a big fan of him and if he is working on something that does Cell Location based profile changing then he would definitely also allow the command line execution.

The idea behind this application was I wanted something like for my personal use and very simple to operate. And charging nominal price to the app was just to keep myself occupied in developing such utilities.

Do you have any idea when it’s going to be released?

Kraize
12th October 2008, 08:23 AM
Schaps has been producing quality products and I am a big fan of him and if he is working on something that does Cell Location based profile changing then he would definitely also allow the command line execution.

The idea behind this application was I wanted something like for my personal use and very simple to operate. And charging nominal price to the app was just to keep myself occupied in developing such utilities.

Do you have any idea when it’s going to be released?

Schaps said it should be released sometime before the end of this month. For the kaiser.

Kraize
12th October 2008, 08:25 AM
I'm testing it out and so far, it's definately worth the $3.99. If Schaps' geo-positioning feature in his OS doesn't satisfy my needs, I'll definately buy your app.

DerMeister
12th October 2008, 10:55 AM
Hi, great app, but: for lack of space on the screen I have my tray hidden - so I would definitely buy this app if you make an option to remove the tray icon and make configuration accessible via a shortcut, best regards, Christoph

Puckmeister
14th October 2008, 10:59 AM
This looks really nice and all and sorry to burst your bubble, but Schaps has already made something like this (not released yet of course). He's including it with his TouchXperience roms...

you didn't burst the bubble :rolleyes:. not everyone needs a full blown application to do just simple things. i for example need just an application that can launch a commandline on locationswitch like this one. i am a big fan of schaps applications too and i look close on the realease of touchxperience, but first of all it isn't released so nobody can use it and secondly not everyone has the hardware where julian wants to distribute to: TouchXperience will be available for HTC TyTN, TyTN II, Touch Pro, Touch Diamond, and later Touch HD.. when it is released i am definitely going to try itif it will be released as cabversion, but until now this is all what some of us need. and with your own words from the touchxperience-forum:
I for one, am totally against making it a cab file since some features will be totally useless if it's made into a cab
why talking about someone did this and that and then prevent people to get it for their devices

...


now back from offtopic:
tytnguy, were you able to test the issues with the enter & exitactions ?

best regards, puckmeister

tytnguy
14th October 2008, 11:09 AM
tytnguy, were you able to test the issues with the enter & exitactions ?

best regards, puckmeister

puckmeister,
Been able to test... But its happening randomly... I am not able to pin point the issue yet. But I am working on it will update soon.

Other note... The option to hide the task tray is complete.. Will be available in next release:)

Puckmeister
14th October 2008, 11:14 AM
sounds good :)

marttin
14th October 2008, 12:32 PM
[QUOTE=tytnguy;
Other note... The option to hide the task tray is complete.. Will be available in next release:)[/QUOTE]

Hi Tytnguy,

This is really appreciated :)

If we can see entry/exit actions for undefined, on my opinion, this will make rk-locationswitch more complete

thanks and best regards

tytnguy
14th October 2008, 02:32 PM
Hi guys,
Actally I need your help...
It's been found that the rk-LocationSwitch not actually executing the exit actions in some cases. So for what I know is if I shart the location swich from home and if I move out form home it does not do the exit actions(not just exit actions it does not know that location is changed). But then if i am out say location xxx ... and create a new location xxx for that. Now when I exit that location the exit actions are performed. Then onwards even if it come in to my home location and exit all the actions are performed..
Can any one test the above thing and let me know. For me i have to move out from home atleast 1 mile just to check... And its not possible for me to debug it properly(as i need to hookup my laptop and carry).. So any help will be appreicated.

Thanks guys

tytnguy
14th October 2008, 02:33 PM
Hi Tytnguy,

This is really appreciated :)

If we can see entry/exit actions for undefined, on my opinion, this will make rk-locationswitch more complete

thanks and best regards

That item is in my list but first I want to fix the bug, once I release that version I will work on it..Please bear with me

tytnguy
15th October 2008, 08:10 AM
Hello,
Just added a new version 1.0.4

Basically this version supports Show/Hiding the icon at the task tray.
If not showing the icon at tray then to activate the application click the rk-LocationSwitch to bring it infront. In case using the tray icon as before then you have to use the tray icon to bring it infront(as before)

Regarding the random, "Not performing the exit actions" still under pending list. The reason is I am not able to determin when it is happening. If anyone can tell me when its happening it will greatly help me to fix the issue. With the new version the exit actions were working when I tested. But any help from your side with greatly help me.

marttin
19th October 2008, 05:38 AM
Just added a new version 1.0.4
.

Hi Tytnguy,

Today I got some time to test new version. Found some things to report:

1. When an action is defined, no matter enter or exit, and try to test - with test function in the menu, the appliaion gives a message for unexpected error and quits (in some cases, if testing exit action, gives the message "NullRefferenceException"). This happens every time.
2. If the action is on enter, and after restarting rk-locswitch, the action is executed properly every time
3. Otherwise, moving from one place to another, Exit/Enter actions working properly for me for the moment

:confused:

Regards

tytnguy
19th October 2008, 05:49 AM
Hi Tytnguy,

Today I got some time to test new version. Found some things to report:

1. When an action is defined, no matter enter or exit, and try to test - with test function in the menu, the appliaion gives a message for unexpected error and quits (in some cases, if testing exit action, gives the message "NullRefferenceException"). This happens every time.
2. If the action is on enter, and after restarting rk-locswitch, the action is executed properly every time
3. Otherwise, moving from one place to another, Exit/Enter actions working properly for me for the moment

:confused:

Regards

Thanks marttin for the usefull info.

Yes the item 1. Happening to me too, will be fixed
Item 2, I could not understand if there is a problem or what, Please explain a bit
3. Yes even I am not having any issues with entry and exits now. Hope it holds that way

Thanks again for the feedback

marttin
19th October 2008, 06:24 AM
Item 2

No problem, just was explaining what is happening, assuming all information could be helpful
best

tytnguy
19th October 2008, 05:32 PM
No problem, just was explaining what is happening, assuming all information could be helpful
best

Ok got it,
Thank you very much for the feedback/debug

I have just compiled the latest version with the fix for the error you posted.

tytnguy
19th October 2008, 05:36 PM
Latest versoin 1.0.5 released.

Error while testing the actions is fixed.

Thanks

yahu
22nd October 2008, 10:53 PM
Hi,
thank you for your effort doing a program which i was seeking since i fried my HTC with WM2003b. That time i was using Cell profile switcher from http://maniac.fschreiner.de.

The biggest problem with your software is using it in the city. There are lot more radio stations (or towers) and usually more of them covering one area.
When i set up one tower to be at home, im still at home when im outside in the shop (and at home i need the phone to ring, outside to vibrate).
Cell profile switcher always showed all the towers, not only the strongest like yours, and i could make a profile which was active only when all of the towers were in range. This means it was more exactly.

Next thing is that you make no difference between weekdays and weekends.

So good luck with progress.

prabhakaranr
1st November 2008, 03:56 PM
I installed in my HTC Touch Pro and when I start the application, the first screen appears for few seconds and then the application closes itself.

Any clue?

tytnguy
1st November 2008, 04:48 PM
I installed in my HTC Touch Pro and when I start the application, the first screen appears for few seconds and then the application closes itself.

Any clue?

Application closes to the system tray(Today Screen Bottom right). Click on the icon to bring it up. There is also options to hide it at tray or just minimize.

prabhakaranr
1st November 2008, 08:44 PM
Application closes to the system tray(Today Screen Bottom right). Click on the icon to bring it up. There is also options to hide it at tray or just minimize.
Thanks for your quick reply.
I am new to HTC's Touch Flo 3D and Iam not sure where to find the tray icons. Finally I disabled HTC TF3D and HTC's Today home and found the tray icon.

Geminionline
1st November 2008, 09:48 PM
Hy tytnguy
This is the first time I write in this forum and the reason I do so is to make you a small suggestion.
I admit that I haven't used your rk-location Switch application yet, but it sure has a lot of potential! I really like the idea of being able to have my phone adapt itself to where I am but I think that this program could be even more appealing (a "reference" even) if it interacted with other applications that many of us use like S2U2, rlToday, HomeScreen PlusPlus, ThrottleLauncher, M2D customizer, IFonz, etc. The simplest way I see of doing this (to avoid program versions and interactions problems) would be to make rk-Location create a file (in the windows or another general folder that all phones will have whatever the language or version of ROM used) with a predefined code, updated accordingly to the location. If you could convince the creators of the programs I mentioned above (and others I may have forgotten) to modify their programs so that the applications would have the option to automatically change several settings accordingly to the code found in the file your program would create.

For example: in rk-location I say that
ID- cellphone towers A and B --> Office --> Code xxx1 in the file,
ID- cellphone towers C and D --> Home --> Code xxx2 in the file,
ID- cellphone towers E and F --> Generic location "X" --> Code xxx3 in the file, etc...
(of course that options to determine the codes by time instead of location and have a "location unknown" code would be fun too :) )

And, if there is an agreement between you and the other programmers, all their applications would have to do is check where the phone is in your file and act by themselves if the user so whishes it.(example: S2U2 would use different gfx folders and settings for different locations ... etc)
Is this possible?
(I am sorry if this has been suggested before or if what I’m saying is too difficult to implement)

marttin
2nd November 2008, 02:50 AM
Application closes to the system tray(Today Screen Bottom right). Click on the icon to bring it up. There is also options to hide it at tray or just minimize.

Hi Tytnguy,

I am experiencing "similar" problem, but in my case rk-LS closes for real. Whenever my program memory reaches ~10M rk-LS is shut by the system. Any idea how to deal with this?

regards

marttin
2nd November 2008, 03:18 AM
... ...
Is this possible?


If have understood correctly, yes - this is possible even now. Simply you should use Mortscript for the purpose. You can use a script, on enter/exit a location, and change registry settings of S2U for example; or have one which reads the registries of rk-LS and doing changes.

Full integration will drive into narrowing the choice. What about if I do not want to use rk-LS but other location based software, or vice-versa?

My opinion is that rk-LS is the best location based software on the market at the moment - simple and flexible. Only two things I would like to see in the future are:
1. Option for Unknown location (i do believe this is very important)
2. Option for day of the week (good to have)

Regards

Geminionline
2nd November 2008, 01:16 PM
Thanks a lot for the quick answer martti!
I haven’t had the courage to learn how to edit xml files or use Mortscrip yet, which explains why that option did not cross my mind. But still: even if I do, are all the other users of Smartphones supposed to do the same? I mean, your idea rocks (because it allows me to have what I want now) and sure that it’s a shame to have a machine capable of doing so much and not being able to control the code behind (I really intend to learn it) but let’s be honest: of all the windows mobile owners how many have taken the time to learn Mortscript? The option of having the software do it instead will always be more convenient to the general public. And more “autodidactical” users, that know how to code, will always have more possibilities, as always!
Besides, newer software versions imply sometimes different registries and back to Mortscript I would have to go. (Ok, ok, I get it: I’m lazy! But I’m sure I’m not alone on this)
Full integration would make this program a first choice (since it would be the first in the market allowing such interaction) but who’s stopping other programs from writing the same file, using the same code?
Well, anyway, it was just a suggestion. And, whether it’s done or not I am going to learn Mortscip to make my ideas come to life myself :)
Thanks again martti and sorry for the lazy long post!

marttin
3rd November 2008, 01:11 AM
...
are all the other users of Smartphones supposed to do the same?
...
Well, anyway, it was just a suggestion.


:)

Well, I think the suggestion is valuable. BTW, there are other programs with built in functions, which do some of the things you ask for - check DHR CommMgrPro.

With rk-LS you can do many things even without Mortscript. For example, I manage device profile (backlight, ringtones, ring volumes, etc. etc.), based on combination of time/locaion/event "integrating" rk-LS with PhW. Also, managing my meetings (events), allowing or blocking calls to pass-through, again "integrating" rk-LS with MagiCall.

Using Mortscript (with rk-LS), I believe, is not for the mass user, but for those who like more "experimenting" with their devices, as well requiring some "unique" functions to be implemented. In my case, I am using Mortscript (with rk-LS) to run/kill processes based on location/time/event - e.g. weather updates, push-mail (gmail on poutlook using imap/idle), etc.

From marketing perspective you are (probably) absolutely right! I was mentioning my choice only - prefer light and flexible applications, which gives me the option to "play" with the device in a way I want :D
(You can see that I will not appreciate if rk-LS become a "heavy" piece of software :))

Cheers
PS. Sorry if offended you - I didn't mean you are lazy at all :)

tytnguy
3rd November 2008, 10:40 AM
Now you can create the undefined location and the corresponding actions.

Just create a new location and set the option to set it as 'Undefined'
When you set a location as undefined, you can not set the LocationIds and also the time frame has no affect.
You should set only one location as undefined.

The undefined location logic which existed before still same, but that will work only if you do not have any location set as undefined.

Thanks

marttin
3rd November 2008, 11:58 AM
Now you can create the undefined location and the corresponding actions.


Tytnguy,

Great news. Thank you!
:)

tytnguy
3rd November 2008, 03:50 PM
Tytnguy,

Great news. Thank you!
:)

You are most welcome friend. Basically this feature is done keeping you in mind. :)

Geminionline
3rd November 2008, 09:02 PM
I marttin

Thanks again for the answer! Yes I did try DHR CommMgrPro last week but I didn't like it because it seemed to "take-over" the phone too aggressively, changing the registry modifications I made with "NoData" to prevent my phone from connecting over 3G. Besides I didn't find the menu very user-friendly.
Oh you didn't offend me at all! I'm sorry – maybe my reaction seemed too violent! When I said that I was lazy, it was just me confessing the obvious! :p
Cheers

PS: I'm not sure, but I don't think creating a .txt file in the "Windows" folder would make rk-LS heavier.

marttin
4th November 2008, 12:20 AM
Basically this feature is done keeping you in mind. :)

I am delighted. Thanks :)

marttin
4th November 2008, 12:31 AM
...
Yes I did try DHR CommMgrPro last week but I didn't like it because it seemed to "take-over" the phone too aggressively, changing the registry modifications I made with "NoData" to prevent my phone from connecting over 3G. Besides I didn't find the menu very user-friendly.
...

PS: I'm not sure, but I don't think creating a .txt file in the "Windows" folder would make rk-LS heavier.

It will not. My impression was you are looking for something like CommMgrPro (which is very good software too). Probably I do not understand well the idea with the txt, but currently rk-LS is writing in the registry - every program, incl. Mortscript script, can look there and behave based on the information reg status.

Re your issue with NoData: In case you use CommMgrPro you do not need NoData. You can set up it in a way to disable data links on all profiles, or based on time/location/event to manage your data connection.
The same I do with rk-LS + other software managed b rk-LS

Cheers
PS. My feeling is, it will be interesting to experiment with Mortscript

Puckmeister
4th November 2008, 11:25 AM
It will not. My impression was you are looking for something like CommMgrPro (which is very good software too). Probably I do not understand well the idea with the txt, but currently rk-LS is writing in the registry - every program, incl. Mortscript script, can look there and behave based on the information reg status.

Re your issue with NoData: In case you use CommMgrPro you do not need NoData. You can set up it in a way to disable data links on all profiles, or based on time/location/event to manage your data connection.
The same I do with rk-LS + other software managed b rk-LS

Cheers
PS. My feeling is, it will be interesting to experiment with Mortscript

i wrote a profile manager with mortscript which can set your data connections, bt, a2dp, wifi, ir, sounds, lock, light, volume, rotation, start programs and other things with mortscript. you can change profiles timebased with mortscript itself and you can change your profiles locationbased with rk-locationswitch. all features are working but there is a growing todo-list (e.g. event-based from calendar and some system stuff) so i didn't post it yet. i can send you the code if you want an idea to start with :).

the one thing that is not so nice is that mortscript use standard windows for messages, so there is no nice way to show status and profiles and i integrated it into my homescreen++-theme to deal with grafix

best regards, puckmeister

marttin
4th November 2008, 12:19 PM
i wrote a profile manager with mortscript which can set your data connections, bt, a2dp, wifi, ir, sounds, lock, light, volume, rotation, start programs and other things with mortscript. you can change profiles timebased with mortscript itself and you can change your profiles locationbased with rk-locationswitch. all features are working but there is a growing todo-list (e.g. event-based from calendar and some system stuff) so i didn't post it yet. i can send you the code if you want an idea to start with :).

the one thing that is not so nice is that mortscript use standard windows for messages, so there is no nice way to show status and profiles and i integrated it into my homescreen++-theme to deal with grafix

best regards, puckmeister

I see you are doing a great job. Most of the stuff you mention I use rk-LS to manage PhW.
Event based is most interesting, I believe. With rk-LS I can manage MagiCall to trigger incomming calls/sms block (and send them back message "I am busy untill hh.mm Call you back then") if, for example, have "busy" meeting in specific location (office), etc.

My feeling is that for backlight, sounds, data links (GPRS/WIFI) you can use off the shelf software, and manage it with rk-LS. For more "unique" stuff (some system manipulation) maybe involve heavily Mortscript.

For sure using HS++ interface for messages is better than standard ugly windows.

I will not be eager to see your development in adance, but seeing it in more comlpete stage will be appreciated. My intgration, based on rk-LS, is not finished yet, but probably you got an idea what I try to do. :)

BTW, (quite off topic) what theme you use as a base for HS++. Mine is based on Lepsifoy's diamond, and ofcourse there is an info on it in which location I am :D

Cheers

tytnguy
5th November 2008, 06:26 AM
i wrote a profile manager with mortscript which can set your data connections, bt, a2dp, wifi, ir, sounds, lock, light, volume, rotation, ....
best regards, puckmeister

Hi puckmeister,
Do you have command for changing Volume? I want to control the volume levels based on location.

Thanks

Puckmeister
5th November 2008, 01:59 PM
Hi puckmeister,
Do you have command for changing Volume? I want to control the volume levels based on location.

Thanks

for setting system volume use mortscript command SetVolume. It uses values from 0-255 so you have to do math to calculate what a value of 20% is ;).

for setting the ringtone volume just set this dword value with mortscript:
HKCU\ControlPanel\SoundCategories\Ring\InitVol
You can only use values from 0-5 so you can choose between the following loudness settings 0%, 20%, 40%, 60%, 80% and 100%
i don't know why there is no reg key for system volume but the SetVolume-version works.

sadly i didn't find any setting for changing speaker volume while on phone, but thats ok for me ;)

best regards, puckmeister

vadim_bogaiskov
22nd December 2008, 04:17 PM
Hi, tytnguy!

The app has problems with Location name and Pathname (!!!) in cyrillic. See attachment pics. Can you fix this bug, pls?

tytnguy
25th December 2008, 05:22 AM
Hi, tytnguy!

The app has problems with Location name and Pathname (!!!) in cyrillic. See attachment pics. Can you fix this bug, pls?

Sorry to respond late, was not in the town...
I do not know what causes that... But try uninstalling the application... Also delete the \Program Files\rk-LocSwitch directory....
Now reinstall the app and see if that fixes the issue..

vadim_bogaiskov
25th December 2008, 09:04 AM
Sorry to respond late, was not in the town...
I do not know what causes that... But try uninstalling the application... Also delete the \Program Files\rk-LocSwitch directory....
Now reinstall the app and see if that fixes the issue..
I have made all as you have told...
But the problem remained:(
If I create a new name (path) I see Cyrillics symbols correctly. It occurs only after I have saved data, and then have opened the program again.

In archive you can find rk-LocSwitch.dat

birdheh
25th December 2008, 06:30 PM
Looks nice, but I am trying to turn start a program at a location and close it upon exit. the start appears to be easy, can this close a program upon exiting the location? if so, how.

thanks

Buzz_Litebeer
25th December 2008, 06:47 PM
I think this is incredibly cool. But I am trying to think of a way that makes it easier to integrate with other applications.

Lets say that I want to have my phone do an alarm if I am still at the house at 7:15 am instead of being on my way to work.

I would have to figure out what the specific command line is to make the alarm sound right?

Could a script interface be made using some scripting language?

All i know is that it seems to get the most functionality from the application that there needs to be some way to trigger multiple steps, or set up steps via a script.

From what I am reading if you wanted functionality such as "If I am at home, and the day is not saturday or sunday, and it is 7:15, then play an MP3"

The other feature I could see this being used for is to actually be able to call say a web service or some other advanced funtionality that let you integrate it into... say a web app you make that people have to sign up for ;-) And it could help keep track of where they are for friends using google maps.

That kind of thing.

Anyway, very interesting application!

maggoi
8th January 2009, 09:46 PM
Hi,

If I try to execute this Mortscript in fixed locations, only the first command will be executed (Run Telefon) after that the complete phone ist hanging and I have to softreset (that script is working without rk-ls without any issue. It will switch from Auto to GSM band).

Script:

Run( "\Windows\StartMenü\Telefon.lnk" )
Sleep 1000
SendRightSoft ("Telefon")
SendUp ("Telefon")
SendCR ("Telefon")
Sleep 1000
SendUp ("Einstellungen")
SendRight ("Einstellungen")
SendRight ("Einstellungen")
SendRight ("Einstellungen")
SendRight ("Einstellungen")
SendDown ("Einstellungen")
SendCR ("Einstellungen")
SendDown ("Einstellungen")
Run( "\Windows\StartMenü\Programme\Vijay555\VJOkButt\VJO kButt.lnk")
Sleep 11000
Run( "\Windows\StartMenü\Programme\Vijay555\VJOkButt\VJO kButt.lnk"

any suggestions?

Thanks in advance

Marco

tytnguy
9th January 2009, 06:22 AM
Hi,

If I try to execute this Mortscript in fixed locations, only the first command will be executed (Run Telefon) after that the complete phone ist hanging and I have to softreset (that script is working without rk-ls without any issue. It will switch from Auto to GSM band).

Script:

Run( "\Windows\StartMenü\Telefon.lnk" )
Sleep 1000
SendRightSoft ("Telefon")
SendUp ("Telefon")
SendCR ("Telefon")
Sleep 1000
SendUp ("Einstellungen")
SendRight ("Einstellungen")
SendRight ("Einstellungen")
SendRight ("Einstellungen")
SendRight ("Einstellungen")
SendDown ("Einstellungen")
SendCR ("Einstellungen")
SendDown ("Einstellungen")
Run( "\Windows\StartMenü\Programme\Vijay555\VJOkButt\VJO kButt.lnk")
Sleep 11000
Run( "\Windows\StartMenü\Programme\Vijay555\VJOkButt\VJO kButt.lnk"

any suggestions?

Thanks in advance

Marco

Marco, I do not know what's wrong with your script(I do not use mortscrips) but make sure the 'Wait for completion' check box is NOT checked, as you are calling the mortscrips.

dez93_2000
8th July 2009, 02:04 AM
Firstly, this sounds awesome, tytnguy respect for putting the work in and getting it bugfixed.

i wrote a profile manager with mortscript which can set your data connections, bt, a2dp, wifi, ir, sounds, lock, light, volume, rotation, start programs and other things with mortscript. you can change profiles timebased with mortscript itself and you can change your profiles locationbased with rk-locationswitch. all features are working but there is a growing todo-list (e.g. event-based from calendar and some system stuff) so i didn't post it yet. i can send you the code if you want an idea to start with

I've not used Mortscripts before, so will be wading into them shortly I guess! Puckmeister, how hard was it to put your list together, how far have you got, and please please can I copy your homework? :D

Cheers

Dez

szisz
17th July 2009, 02:37 PM
Well Dude, many thanks for this program, this is simple awesome. I still need to collect & calibrate all of the towers near to my locations, but it helps me a lot to make life easier (auto settings of bluetooth, volume, brightness....).

Will be on the purchase list! :D

SZiSZ

Seraph321
12th August 2009, 02:54 AM
I've been looking for an app that would do location reminders based on outlook tasks. I want to enable the following use case:

1.I remember to do something at home while at work.
2.I create a task in outlook and categorize as "@Home"
3.Phone syncs task via normal exchange activesync.
4.When I go home, the application monitoring my location sees that I'm there and scans my tasks for any active tasks with the @Home category.
5.My phone reminds me of the task.

It seems like I could build an app that does the task scanning and reminder and just use rk-location to run it whenever I'm at specific locations. Is that right?

tytnguy
12th August 2009, 06:15 AM
I've been looking for an app that would do location reminders based on outlook tasks. I want to enable the following use case:

1.I remember to do something at home while at work.
2.I create a task in outlook and categorize as "@Home"
3.Phone syncs task via normal exchange activesync.
4.When I go home, the application monitoring my location sees that I'm there and scans my tasks for any active tasks with the @Home category.
5.My phone reminds me of the task.

It seems like I could build an app that does the task scanning and reminder and just use rk-location to run it whenever I'm at specific locations. Is that right?

If you can build a 'worker' application which would do all the 5 points you mentioned above, then rk-LocSwitch would execute this 'worker' applicaton based on the location. But you need to also have the logic to remove these 'outlook tasks' once prompted to you, otherwise each time you are at home these reminders would pop up.

Good luck,
:)

robmuc
9th December 2011, 02:40 PM
Dear xda developers,

karkera software may not be recommended any longer:

I tried to use rk-location switch with my outdated htc touchpro in Germany.
I downloaded software and tried it, but software was not able to work due to missing cellID. I assumed to solve the problem by buying corresponding software key by paypal.
Karkera neither delivered such a key nor was able and willing to support me with this software.
Official paypal repayment does not work because any software is not covered by paypal assurance.
Email communication with Karkera ended with Karkeras comment that they do not want to repay due to "dirty low price" of key even if never submitted.
Very poor communication stopped with that - any trial to get money back failed up to now.

Therefore my warning: RK location switch software will not work without cellIDs AND Karkera will never give any money back even if justified.

Regards
robmuc

tytnguy
9th December 2011, 03:23 PM
Dear xda developers,

karkera software may not be recommended any longer:

I tried to use rk-location switch with my outdated htc touchpro in Germany.
I downloaded software and tried it, but software was not able to work due to missing cellID. I assumed to solve the problem by buying corresponding software key by paypal.
Karkera neither delivered such a key nor was able and willing to support me with this software.
Official paypal repayment does not work because any software is not covered by paypal assurance.
Email communication with Karkera ended with Karkeras comment that they do not want to repay due to "dirty low price" of key even if never submitted.
Very poor communication stopped with that - any trial to get money back failed up to now.

Therefore my warning: RK location switch software will not work without cellIDs AND Karkera will never give any money back even if justified.

Regards
robmuc

Dear robmuc,
It is not the issue of repayment, the software is available for you to try out for 15 days time, during this time you should have known that its not compatible with your device. But you ignored it. Second point is at the time of payment you were prompted for system generated ID which you did not furnish, this is the reason why you did not get the 'Activation Key'. Now i have responded to your query asking for the Product ID from where i will be able to send you the Activation Key, you did not respond. Tell me which software company provides money back of software purchases?
Go thru all the pages of all my applications such as rk-OSR, rk-Sleep, rk-SMS(all free) and this particular thread find out if any one has reported anything negative. Then ask question to yourself why you had a bad experience...Sorry.

Refunds only by curtsey not by demand.