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, 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 '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 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 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
Download from here
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.
Flight Mode On/Off utility
Here is the command line flight mode on/off utility.
Command lines to switch on and off
Code:
\Program Files\rk-FltMode\rk-FltMode.exe on
\Program Files\rk-FltMode\rk-FltMode.exe off
\Program Files\rk-FltMode\rk-FltMode.exe toggle
If you are using rk-OSR to check mail you could enable and disable based on your location using the following command line
Code:
"\Program Files\rk-OSR\rk-OSR.exe" Enable --> Enables the rk-OSR
"\Program Files\rk-OSR\rk-OSR.exe" Disable --> Disables the rk-OSR
rk-TSR Support
rk-TSR a Theme Switcher, You can load a pre-set theme/wallpaper based on your location!
Code:
\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)
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 etc
If you have any specific request please go ahead let me know.
rk-bk-Light a backlight command line switcher
Here is the command line backlight switcher
Code:
[/FONT]
[FONT=Verdana]\Program Files\rk-bk-Light\rk-bk-Light.exe 2[/FONT]
[FONT=Verdana]\Program Files\rk-bk-Light\rk-bk-Light.exe 10[/FONT]
[FONT=Verdana]
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 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
rk-LocSwitch Update 1.0.1
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 on command line.
rk-Calendar-Update: Convert all day Calendar events to time spanned events
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
Code:
\Program Files\rk-Calendar-Update.exe “08:00” “22:00”
Updates all your 'full day events' to fixed time event with specified time span.
Hmm, No one has any comments?
I really like the idea. Unfortunately, this does not work on CDMA.
tytnguy said:
Hmm, No one has any comments?
Click to expand...
Click to collapse
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)
Guys, can this software send an sms to a predefined no. whenever the Tower ID changes.
mushipkw said:
Guys, can this software send an sms to a predefined no. whenever the Tower ID changes.
Click to expand...
Click to collapse
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.
Hi TyTnGuy,
is it possible to get the geographic Coordinatas wich assigend to the Tower ID somewhere in the www?
gnu0815 said:
Hi TyTnGuy,
is it possible to get the geographic Coordinatas wich assigend to the Tower ID somewhere in the www?
Click to expand...
Click to collapse
I am not aware of any source with the Geographic Coordinates, But with that info lot of new ideas though!
tytnguy
What kind of battery indicator app do you use?
Is it a standalone battery indicator? or part of other app?
Really nice.
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.
Looks realy good. Will test this on the HTC Trinity.
Keep up the good work!
mushipkw said:
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.
Click to expand...
Click to collapse
I am working on your request, should be there in a day or two.
I was wondering how to quit a program without using an app like taskiller. basically i'm using the Browser and pressed home screen to leave, but i want to quit the browser so it stops running...
Press the "Back" button. That is when you're inside an app and want to close it.
The behaviour of the "home" and "back" keys vary from application to application. Some quits, but the majority keeps running in the background. Some applications have an "exit" option from their menu, but that's just a few and most notably applications which normally are expected to do things in the background like maintaining connectivity to IM servers, checking for new mail etc. This is one of several inconsistencies which hopefully gets sorted in future android releases, accompanied by consistent recommendations in the dev-kit documentation.
From the Hero home screen, do this
Menu - settings - applications - manage applications - browser - force stop
Or you could stop treating your phone like a desktop computer and accept the fact that a) you can't run different apps in windows side-by-side and b) there is no point in closing windows. Android does the memory management for you.
Volker1 said:
Or you could stop treating your phone like a desktop computer and accept the fact that a) you can't run different apps in windows side-by-side and b) there is no point in closing windows. Android does the memory management for you.
Click to expand...
Click to collapse
I agree that android does the memory management very neatly, that's only when you are running very low on it... and what about the fact that the backgroung apps are draining the battery?? I think one really needs to get rid of unnecessary apps to improve battery life.
LooieENG said:
From the Hero home screen, do this
Menu - settings - applications - manage applications - browser - force stop
Click to expand...
Click to collapse
Hmm, yeah that's one way but it takes for ever!!
salmanbodla said:
I agree that android does the memory management very neatly, that's only when you are running very low on it... and what about the fact that the backgroung apps are draining the battery?? I think one really needs to get rid of unnecessary apps to improve battery life.
Click to expand...
Click to collapse
Background apps are SLEEPING, ie they ONLY take up memory, they hardly use any CPU time at all
Background apps can sleep and can also continue to work.
Just let the handset work its own management. Never had an issue with memory or slow downs but just leaving well alone.
If you want the browser to stop loading before you move to another app or go Home, just hit the stop loading icon in the address bar.
would it be at all possible to make apps stay open on their own screens.. so maybe when i see the screen previews it would allow me to switch screens and apps... similar to webos?.. hmmm...
No, that's no possible because of the way Android handles switching applications. When you switch an application, it is paused and its state saved. This is done so if the system needs to free up memory, it can kill the process, and when you select the application again, it will resume from the saved state.
If I understand you correctly you are asking for something like workspaces or virtual desktops, which does not translate well into the mobile sphere. However, you can approximate what you want by using the "Recent Apps" functionality by long-pressing the home button to switch applications. But neither should be necessary, because a properly written application is supposed to note its state and resume where you left off when you select it again. If that is not happening, it is probably due to something in the way the application was coded.
Perhaps reading the documentation on Acitivitiesand Tasks will help you understand what is happening you run an application, and why sometimes the Back button does things you don't expect it to.
I recently figured out that by lowering the process priority of Opera from 251 to 252 the application runs much more smoothly on my device. Currently I must go through SKtools to manually lower the process priority, is there any way I can have this done automatically?
Ideally I'd like an application launcher that would allow the user to create a shortcut that would start an application with lowered priority.
Does anyone know of an application like this?
http://forum.xda-developers.com/showthread.php?t=1420373
Couple simple questions:
1. Create shortcut/toggle to enable/disable Dont keep Activitiy from dev options
Or for that matter, create any shortcut to anything in dev options...
This is would be very helpful as im using a combo "dont keep activities and Limit background process: no background processes" as sort of game booster (and i have read about Dont keep activities being bad because how android handles memory but i cant unsee diffrence it makes when running something heavy liker max detail Titan Quest)
I guess terminal command or name of activity would be enough ?
Samsung S8 no root on Android 8.0 but this doesn't matter if this will not possible i will get it done asap root and at least up to 8.1...
2. Flashlight launch from hardware button press or anywhere else then Quick Settings which is very unpractical
I suspect it might be impossible on oreo but root should not...
Thank you for any insights