Related
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.
Hi guys.
I'm hoping someone can recommend an app for me for a project I'm working on basically to mount my phone in my car and have it read an nfc tag when it is in there and perform a set of specific actions only while it's in range of the tag.
So essentially the app will know when is in the car and keep maps or torque app open and adopt a certain data/power profile then revert to previous settings when it's removed from the dock.
Does anybody know of an app that can achieve this?
☆ Sent using tapatalk for Samsung Note II ☆
You should take a look at an app called tasker... it requires root tough
Sent from my GT-N7100 using xda premium
NFC task launcher will do most of this, but I don't know anything that will reset the state when removed from the tag, I think you would have to tap the tag again, or use another tag to reset the state.
You could just have a second tag for when you leave the car to put phone back to normal
Shame through!
Sent from my GT-N7100 using xda app-developers app
I use Llama, find it more user friendly than Tasker. You'll need to tap the tag twice, apparently Android's API doesn't notify apps that a tag was lost (although it does know about it, that can be seen in logcat).
I'll export my configuration if you want to use it.
Yes please Mohammad that'd be great as it looks like exactly the sort of thing I wish to achieve! Thank you
☆ Sent using tapatalk for Samsung Note II ☆
You'll need
* Car mode control or change the Llama actions enable car mode rather than running this app, the reason I used this instead of the built in function is that it auto launches the car home app, rather than just turning car mode on, and do the same for the off event (again, I used the app instead because it closes car home and returns to default launcher).
* Driving mode widget, this is optional, but it provides an intent that turns on/off driving mode, which is for spoken alerts.
* Rotation locker, locks orientation, invisible notification bar icon only visible when in car mode, so it shouldn't affect you, the service doesn't run in the background when car mode is turned off.
* Llama, obviously
You can hide all the icons for those three apps, you don't need to interact with them yourself.
http://dl.dropbox.com/u/68401892/Llama.zip
Put the Llama folder from the zip file in /sdcard, open Llama, open action menu, and import settings.
You will need to reconfigure the NFC events for your NFC tag, rather than mine (I disabled the built in Tags application using Titanium backup, either do that so "Empty tag" doesn't show up or simply format the tag in Llama).
VW Golf is a wireless AP I had in the car, you should probably remove that too unless you have a similar setup.
You will probably need to reconfigure the sounds, they're in the Llama folder, but since it uses content URIs specific to my device you might need to reselect them.
And that's it
I've setup two user accounts on my tablet, one for me and one for my daughter. The only way I've found to switch accounts is to lock the tablet. However I have it setup not to lock until it has been idle for 30 minutes. This means there seems to be no way to switch users but to leave the tablet alone for said time.
Is there no quicker way to lock the tablet or switch users (widget?)? The quick settings pull-down, menu has no such option.
Sent with Tapatalk that ignores my privacy and tracks my activity
what about power button.. does it lock it
xinfinityoO said:
what about power button.. does it lock it
Click to expand...
Click to collapse
No, I have it set to turn off the screen only (and want to keep it this way). So did Sony remove the change user quick setting?
Sent with Tapatalk that ignores my privacy and tracks my activity
This whole 30-min-timeout thing is not clever.
You should better configure it (e.g. with Tasker or Unlock with WiFi app) so that, when you're at home connected with your own WiFi, there is only the unsecure lockscreen (where you just have to swipe to unlock), but when unconnected from home WiFi, the secure lockscreen appears. In either case, you then have access to the lockscreen features like user switching.
Install the FIRMWARE ONLY THROUGH TWRP Recovery!
What is Cyanogenmod ?
Aftermarket firmware cell phones and tablets based on Android OS which is based on Android 4.4.4 from the team Cyanogen Team, is now Cyanogen Inc. Supported features not in the official firmware vendors of Android devices, including the original theme (also known as "T-Mobile Theme Engine"), a codec for the Free Lossless Audio Codec (FLAC), compressed cache (compcache), a large list of APN, OpenVPN-client, reboot menu.
What works?
-Wi-fi and Wi-fi access point
-Bluetooth
-GPS
Sensors
Network
-Send SMS (there is a choice in the settings)
-Photo camera and video recording with rear camera and front camera
-Backlight of touch
Screen
-Touch screen
-Mobile data
-ROOT
-Incoming and outgoing calls
-Record from line
-INTERNAL AND EXTERNAL SD CARD
System is patched against vulnerabilities in MMS
Bugs present in the firmware
- Not working FM radio (Cyanogenmod does not work any more with MSM7X27A)
Tips that will help you to use this firmware
1.After installing the firmware, and run the included SIM card: SIM card--->operators--->Move two switches...Network activated
2.Ringtone on SIM 2 Call settings-Settings SIM
3.How to reduce battery consumption?
Go to Settings => Privacy => Protected mode.
In the list, tap the three dots at the top right and select "System apps".
Then look for the ill-fated "Google Play Services" and click on them and hold opens a menu with restrictions.
Prohibited "Location", "Withdrawal from sleep" and "Active mode".
Looking for the ill-fated "Google Play" and press on them and hold opens a menu with restrictions.
"The conclusion of the sleep mode and Active mode.
Then be sure to restart the system!
4.How to enable transparent status bar?
You need to go to Settings ==> Performance ==> enable "High graphics" => Overloaded. To open them, tap 5 times on build number.
5.Mode MTR
6.How to enable vibration + ring?
Creates a tile sound settings the "sound" in the tiles to select all available modes and after click on a tile. (Notification bar->quick settings--->Tiles and placement--->click add ,Select tile sound ,press the back button--->sound Modes--->check boxes of all the available modes and press "OK"---> Pull the curtain down,we see the tiles sound,tap on it and once under your finger will feel the vibration you have achieved your goal (How to enable vibration + ring
7.How to set to use only 3G mode?
Open dialer, dial *#*#4636#*#*
8.Before recording a video change the quality to 480p
Screenshots in private message
****...
aw, i think nobody would pay for you..,
Don't have much money!
I will pay you if everything work without an errors!
I will pay u only if anyone of our devoloper certified this rom stable and bug free
code27011999 said:
I will pay you if everything work without an errors!
Click to expand...
Click to collapse
Just fixed the excessive battery consumption + offline charger. No error is observed
Please release it for free
I want to play pokemon go
on android 4.1.2 does not work
Dude please release it for free .I am literally begging for you .this phone needs cm 11 but I have money problem
IceNeko said:
Just fixed the excessive battery consumption + offline charger. No error is observed
Click to expand...
Click to collapse
Xda is not a place to make money, you can not sell your rom here
Thread Closed
Moderation Team
You are missing a notification LED on LG G6?
You don't use the AlwaysOnDisplay (AOD)?
You are using Tasker?
I have a solution for you.
The AOD screens goes on if you have a new message and goes off after reading that massage.
Beside the newest version of Tasker you need additional the app Tasker Settings
I have attached two files "AOD_ON.tsk.xml" and "AOD_OFF.tsk.xml"
These are the Tasker task which turns the AlwaysOnDisplay on and off.
How to import these XML as Tasker task: read this XDA thread
Now you have to add 2 new profiles in Tasker
Profile 1 - Notification
Go to the Profile tab in Tasker, and press the "Plus" (+) button
Choose: EVENT - UI - NOTIFICATION ... you can choose now an app (owner application) let's say WhatsApp (you can choose more than one app)
Related task : AOD_ON
Important : leave all the fields TITEL, TEXT, SUBTEXT etc empty.
Profile 2 - Notification removed
Go to the Profile tab in Tasker, and press the "Plus" (+) button
Choose: EVENT- UI - NOTIFICATION REMOVED ... you can choose now an app (owner application) let's say WhatsApp (you can choose more than one app)
Related task : AOD_OFF
If you don't want to be notified in the middle of the night by AOD, you may have that Profile only active during daytime. Short tap the Prolie name, long tap the profile description. A new window pops up, choose ADD. A new window pops up, choose TIME. You can now define in which period of the day the profile is active.
LG G6 settings: Notifications/ LOCK Screen / do NOT choose Hide all notifications !
It works for me on LG G6 (H870)
Have fun
EDIT: for SMS & MMS add Contacts, Phone App and (if possible) SMS App to owner application in Tasker Profile
For missed calls you need to add 'Calling Accounts' apart from Phone app.
Here are the steps how to add this: (thanks to user Vitoski, who found out)
1. Click on the 'Owner Application'
2. click 'ALL' button at the right bottom corner
3. Select 'Calling Accounts'.
4. click back twice and tick to save changes.
EDIT : If you like to have a brighter AOD , please read this useful post added by user vitoski
Many thanks for that!
Thanks a lot to users Dracushor87 and Vitoski for testing and giving hints and ideas!
Edit : new versions of AOD_ON and AOD_OFF tasks
martmarq great post - thanks a lot!
I've been using AOD with Tasker since two days now and in most cases it works fine. It kicks in when the notification shows up and turns off when I remove the notification.
However sometimes the AOD turns on itself, even if there was no notification registered in the system. These are the two situations in which I have spotted this:
# when you go to Display Settings and click on three dots next to AOD - you don't need to change anything in there, just go there and back to homescreen.
# when you connect phone to the charger. Even when you disconnect it, the AOD stays on.
# under some other circumstances which I was not able to pinpoint right now
So, have you observed the same?
vitoski said:
martmarq
# when you go to Display Settings and click on three dots next to AOD - you don't need to change anything in there, just go there and back to homescreen.
# when you connect phone to the charger. Even when you disconnect it, the AOD stays on.
# under some other circumstances which I was not able to pinpoint right now
So, have you observed the same?
Click to expand...
Click to collapse
When you connect the phone to the charger, there is a notification.... therefor AOD should go on.
You can manage that by choosing apps (owner application) in Tasker. That solved the problem for me.
That might also solve the other circumstances.
I don't have that problem with the display settings... I have just tested that.
martmarq said:
When you connect the phone to the charger, there is a notification.... therefor AOD should go on.
You can manage that by choosing apps (owner application) in Tasker. That solved the problem for me.
That might also solve the other circumstances.
I don't have that problem with the display settings... I have just tested that.
Click to expand...
Click to collapse
Have you used specific apps which notifications you monitor within the profiles or left it blank (none of the apps is selected)? This is the way I made it and I suspect it may causes all of those issues I described. Definitely will test it, but thought I'm gonna check it with you
vitoski said:
Have you used specific apps which notifications you monitor within the profiles or left it blank (none of the apps is selected)? This is the way I made it and I suspect it may causes all of those issues I described. Definitely will test it, but thought I'm gonna check it with you
Click to expand...
Click to collapse
Yes, I have activated only the needed apps like WhatsApp, Email and so on.
I have edited the first post, because for SMS you need a new profile (see above)
for me, sms notifications work without creating a separate profile. i only added the Contacts app to the list ( with Phone app )
dracushor87 said:
for me, sms notifications work without creating a separate profile. i only added the Contacts app to the list ( with Phone app )
Click to expand...
Click to collapse
mmmhhh... yes, now it works. Seems I had not added one of those two....
For me the sms app worked fine too. Will check now with limiting the number of notifications to specific apps and let you guys know if I still experience the same problems as reported above.
---------- Post added at 02:02 PM ---------- Previous post was at 01:36 PM ----------
dracushor87 said:
for me, sms notifications work without creating a separate profile. i only added the Contacts app to the list ( with Phone app )
Click to expand...
Click to collapse
Are you using any 3rd party Phone/Contacts app or sock one? For some reason it doesn't work for me with stock application.
I have selected both (Contacts and Phone) applications and it doesn't activate AOD when I have a missed call
i have stock apps. for missed calls, i did the 3rd profile with phone missed call event. last night i had a missed call , but with a whatsapp message, and i thought that the profile is good. but today i checked it, and it doesn't work without a separate profile.
dracushor87 said:
i have stock apps. for missed calls, i did the 3rd profile with phone missed call event. last night i had a missed call , but with a whatsapp message, and i thought that the profile is good. but today i checked it, and it doesn't work without a separate profile.
Click to expand...
Click to collapse
OK I found the missing part... You need to also add 'Calling Accounts' apart from Phone app.
Here are the steps how to add this:
1. Click on the 'Owner Application'
2. click 'ALL' button at the right bottom corner
3. Select 'Calling Accounts'.
4. click back twice and tick to save changes.
Now you can exit Tasker and check if AOD kicks in when you have a missed call. Would be good to hear from others if this works fine, but it works for me fine.
@martmarq can you please add it to OP once other confirm if this works for them?
dracushor87 said:
i have stock apps. for missed calls, i did the 3rd profile with phone missed call event. last night i had a missed call , but with a whatsapp message, and i thought that the profile is good. but today i checked it, and it doesn't work without a separate profile.
Click to expand...
Click to collapse
Thanks, will update the first post again
i confirm it works
vitoski said:
OK I found the missing part... You need to also add 'Calling Accounts' apart from Phone app.
Here are the steps how to add this:
1. Click on the 'Owner Application'
2. click 'ALL' button at the right bottom corner
3. Select 'Calling Accounts'.
4. click back twice and tick to save changes.
Now you can exit Tasker and check if AOD kicks in when you have a missed call. Would be good to hear from others if this works fine, but it works for me fine.
@martmarq can you please add it to OP once other confirm if this works for them?
Click to expand...
Click to collapse
Many thanks... I always thought ALL mean activate all Apps... never pressed that button before...:cyclops:
It works, I will add that.
Hello, thanks for you post.
Just a question : It's juste for AOD without cover or witch official cover it's working too ?
It's too bad the screen power off with official cover ....
Dumb question here.... Do we need root for this to work ?
shagratt said:
Dumb question here.... Do we need root for this to work ?
Click to expand...
Click to collapse
No.
matdu57 said:
Hello, thanks for you post.
Just a question : It's juste for AOD without cover or witch official cover it's working too ?
It's too bad the screen power off with official cover ....
Click to expand...
Click to collapse
I am not using any cover. I don't know what the cover does. Sorry for not being more helpful here.
Not quite working for me (US997)... I have every thing all set up, but my Tasker notification says "No profiles activated". Any ideas?
calebcbump said:
Not quite working for me (US997)... I have every thing all set up, but my Tasker notification says "No profiles activated". Any ideas?
Click to expand...
Click to collapse
A tasker profile is only activated when it is triggered.
If you produce a profile like "active between 8 o'clock and midnight" does that work for you?
martmarq said:
A tasker profile is only activated when it is triggered.
If you produce a profile like "active between 8 o'clock and midnight" does that work for you?
Click to expand...
Click to collapse
Yes, it does. The AOD_off profile works, but I can not get AOD_on to trigger with an app notification, I have verified that I have the app selected for a trigger.