Hello there,
since I've been using this profile "Tasker - Total Data Connection & Sync Control V4" from here: http://forum.xda-developers.com/showthread.php?t=1031743
I wanted to have a cool minimalistic widget, which shows the complete outgoing calls, txt messages and used mobile traffic of the current month.
I didn't find any app or tasker profile who fullfilled my idea, so I decided to make my own tasker profile.
So here is a preview of my profile. A scene will show up, when my launcher is visible, otherwise the scene will disappear.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You need:
- a rooted device
- sqlite3 installed
First of all, I used the traffic-counter profile from "brandall" and modified it, to minimize battery usage (removed some triggers and other stuff that I don't need (WLAN traffic...)).
Also to get the outgoing calls and txt message, I use some sqlite commands. So if you wanna you this profile, you need a compatible sqlite3 file. I think there's a good app which can install the sqlite3 automatically:
https://play.google.com/store/apps/details?id=ptSoft.util.sqlite3forroot&hl=de
If you are on lollipop, you should use a newer version of sqlite3, not sure if it is available via the app. On my Sony Z1 compact, there was already a sqlite3 file installed on Stock ROM. Latest version of sqlite3 is available at Titanium Backup workspace:
/data/data/com.keramidas.TitaniumBackup/files/sqlite3
Click to expand...
Click to collapse
So copy this sqlite3 file to
/system/xbin
Click to expand...
Click to collapse
or
/system/bin
Click to expand...
Click to collapse
depending on your device.
After copying file, you need to reboot.
So, there isn't nothing else needed.
Just to explain the profile:
Task "CALL_CNTR" makes a sqlite3 query to get the current outgoing minutes of the month.
Task "SMS_CNTR" makes a sqlite3 query to get the current outgoing txt messages of the month.
Task "ShowDATAoverlay" will show the scene of the data widget when launcher "nova launcher" is visible.
Task "HideDATAoverlay" will hide the scene of the data widget when launcher "nova launcher" is not visible.
Note: U can alternatively use this profile for minimalistic text widget instead of the scene (overlay). The variables are:
Outgoing calls variable = %CALL_MINUTES
Outgoing txt messages variable = %SMS_CNTR
Mobile data traffic variable = %TRAFFIC_CNTR
Profile tested on KitKat 4.4.4 and Lollipop 5.02.
Screenshot of scene at launcher:
Problems?
->sqlite3 installed, but not working? -> Did you already reboot your device?
Sqlite3 installing problems please not in this thread, thanks!
BTW: You need to adjust the trigger to show / hide the scene to your default launcher app.
Also you need to adjust the scene depending on your display size.
Looks interesting, however the xml is incomplete, the last part is missing so I cannot import it in Tasker
I'll try to figure it out myself, but a new export would be helpful
(95 views and no-one responded.. ?)
Related
I would like to launch some applications via the startup menu, and some of them simply need to be running in the background to function properly.
Is there a tag on the shortcut like -minimize that will work for all applications or does the specific application need to support it?
Thank you so much
Try Quickmenu....its nice start menu/task manager it has option to exclude programs from closing when u click on X
you could create a simple mortscript that calls the today screen (maybe with a delay) and make sure the shortcut to it is the last one in startup.
Yep, you can use MortScript to do what you need. I think it's the only way because I needed to do it also. I don't use the script anymore so I deleted it, but if you search the MortScript manual for 'minimize' you should find what you need.
I think its dependant upon the app.. but i have used -s successfully before.. you may also want to try to search MSDN
Give a try to the one attached here........
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
JBabey said:
I would like to launch some applications via the startup menu, and some of them simply need to be running in the background to function properly.
Is there a tag on the shortcut like -minimize that will work for all applications or does the specific application need to support it?
Thank you so much
Click to expand...
Click to collapse
I assume you want to run an app from \Startup. Your question is a little confusing. Anyway, it will be app dependent as far as the functionality using command lines in a .lnk. I do not know of a general command that would work for this as the point of shortcuts is to open the app. If the app is not intended to run in the background on its own, it will open like normal.
What are you trying to do exaclty? Perhaps that would help answer your question a bit more.
Is there a way to force a shortcut to minimize an application when launched?
i need this too.. for UL links..
Hi,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This app will check the weather and put a corresponding weather picture as your background.
I know, it's been done before. But not on the MotoQ smarthpone. This should work on portrait phones as well as ppc.
in the ini file you will need to edit your zip code under the weather, as well as the path to the images. I tried to make the path default to under weathpaper
What to expect?
Well as I mentioned above, it's going to check the weather and select the image that matches the weather and time of day.
Then it's going to open the image and assign it to the background. Here is the stickler. It uses the picture editor to install the background.
This may not work on certain phones. If you have some other camera or situation I would be glad to help fit it to yer phone.
If anybody was interested we could change the opacity at this time as well.
The WeatherPaper script which does most of the grunt work I left mostly intact. I just set it to grab the zip code and path from the ini.
Once you run it it will check every 30 minutes unless you change it in the ini.
Landscape 320x240 backgrounds are included. I will post a link to the source when i fill it in.
It's slightly more hearty. It tries to hide when it can.
There is a delay when you run it. This is so it can be run as a startup shortcut. It's all cause of targetting the softmenu's sub menu. If there are other processes this script may not succeed.
I may add more clean-up code if there are any residuals.
Now it won't change the image if the current image is still good. Also won't bother checking if phone is locked. We could have a retry delay if locked or no internet. If you have some other lock.exe they can be added.
It can be run once or set to autorun on phone bootup.
This also includes a weathPaperStartup script. this on u can shortcut to your startup folder. The setup app will do this automatically.
Enclosed are the landscape backgrounds. I will find the portrait version. Also the original links to the artist.
This version is set up for Landscape. You can use the config tool I provided to use a different directory. Also use you can set a diffferent default image for when the weather cant be reached.
- weathPaperSet.mscr - Settings script. This will also create the startup shortcut.
- weathPaper.mscr - Run this to change the background. It will check the weather and change the background if it can connect. It will exit quietly if the internet cant be reached or the background remains unchanged.
Whats next? WeatherTones. MoonPaper at night? Links, portrait version. auto install qvga landscape or portrait?
Here is the alternate build that uses the refresh command.
It does not work for me. Maybe it works for u?
This build requires Mortscript version 4.2.
The non refresh command version can be used with 4.2 and above.
I notice the refresh is not occuring at all? That will get fixed in the next version.
I should find the portrait version and originating link and maybe link straight to there for the backgrounds.
I think i also will add the function to set the default background to the time of day when there is no internet connection. Right now it goes to a default "no internet" background that u set.
I want to implement weathTones, sounds when the weather changes. I found it has been done before but the script is very old and dusty and may require quite a bit of shoe horning to get working with the new weather url. If need be I will need to add or switch to a different weather url?
Already made the next version so default image can be weather night and day image...
Seems Facade can switch background screens correctly. WPC got that working real goodly.
UPDATE:
just dumping the newest version of the script.
This script is way down the priority list on my projects atm.
Hello,
Is there a parameter to pass ":MSCONTACTS" to go directly to an individual contact? I'm interested in adding start menu shortcuts for some of my favorite contacts. Thanks in advance...
As far as I know there's no direct way to launch a contact. However I'm currently working on a new version of Taskbar launcher which allows to launch contacts directly. I also can easily add a command line parameter so you can launch your contacts through a link....
When you use WM 6.5's "search" program, you can parse through and launch contacts individually, so I'm sure there's a way to do it. I just don't know how it does what it does....
You can connect to POutlook, parse through contacts and call the Show() function and you see the original contact dialog. At least that's how I do it in my app and let me guess: search function is doing just the same. I don't think you can do this through a simple :MSCONTACTS command line parameter....
this might help
http://forum.xda-developers.com/showpost.php?p=5492828&postcount=6
Create a direct link for a certain telephone nr/sms/mms/email/more..
In a way it's easy. Start reading a thread I created specific for it
http://forum.xda-developers.com/showthread.php?t=623195
In short, start a text editor (no unicode) like notepad and type ;
39#"\Windows\cprog.exe"-url tel:0123456789
where 0123456789 = any telephone number.
Make sure you press the ENTER key after your phone nr. and before saving the file!
Give it a name. Rename the file from YourContactName.txt to YourContactName.LNK (capitals are not nessecary, it's just for clarity).Another example;
Direct SMS (I called it SMS2.lnk);
51#"\Windows\tmail.exe" -service "SMS" -to "" -body ""
I've been amazed too...! Once. Now I have MortScripts with icons
Senax
http://www.vijay555.com/?Releases:VJPhoneTools
I wonder, if this could work with 6.5.x..
@Senax
With your approach you can directly call a hard coded number or send message, right!? With the method I'm using however you can directly open the contact page for a particular person, see the contact picture and choose whether you want to make a call, write message or email etc.
I mean this one:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
go2contact is what you want. It's a really cool, tiny, super fast cmd app.
I added a dynamic contact shortcuts page to my HS++ theme (I can manage them on-the-fly in the Today screen) by means of Mortscripts that use go2contact and ContactRetriever (this last conponent is C# which makes this process slower... but it seems like Cyclone is learning C++ so there may be a faster version ).
Getting the Most Out of the Built-In Phone Manager App
You may have noticed the Phone Manager app on your Honor 8. If you've never bothered to mess with this app, I highly recommend it. There are a lot of ways that the app can help improve the way your phone operates. Here are some of the best ways to use this app.
System Optimization
The System Optimizer will scan your phone to find apps running in your memory. You can select individual apps to be cleared making your phone faster. You can make this process faster by whitelisting the apps that you don't want to be cleared. The next time you need to clear your cache, you can simply hit "clean" and all the apps that aren't on the whitelist will be closed.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Traffic Manager
Monitor the data used by each app to see which ones are using up the most of your 4G allowance. This section will also have the option to setup a portable Wi-Fi hotspot.
Harassment Filter
Harassment Filter is a very smart way to sort out all the incoming communication that you don't want. You can add phone numbers and contacts to the sms and call blacklist. Not only that but you can add keywords to be blocked as well. Any message sent to you with one of the blacklisted words will be blocked.
Head into the settings in the top right corner to adjust your notifications for the harassment filter. Your phone can be set to notify you every time a message or call is intercepted.
Notification center
The notification center gives you complete control over what apps are allowed to push notifications and where they're allowed to appear. Go to an app and toggle status bar, banner and lock screen to determine how the notifications for that app will show up. You can also assign "priority display" where a notification can interrupt whatever you're doing at the time.
App Lock
Set four digit passwords for specific apps. I've got a lock on my photos, hangouts and snapchat.
Protected Apps
When you turn your screen off, many apps are suspended to save battery time. When this happens, data will not push to these apps so many times you wont receive notifications from them. By default, many apps are already protected so they don't get suspended when the screen is off. Go into this menu to see what apps are on the list. Add or remove apps as you see fit.
There seems to be a much deeper depth in the phone manager than what i first expected. Thank you for the write-up. +1
Thank you for this in-depth explanation, much appreciated
Is there very similar app for the non Honor devices in playstore?
I have not ever really seen this information posted many places, and certainly not here, so here are a few ways to truly dim your screen below the system limit, not just apply a filter.
Note: You must have root access, or this will not work. Also, low brightness will not be retained if you lock your screen.
Edit: I have also found that Gravitybox allows you to lower the minimum brightness, which is what I now use. You'll need Xposed if that's what you want to do.
Proof
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Option 1 - The Easiest Way
I have exported a Tasker task to a standalone apk which only toggles brightness to minimum and back again.
It will ask for root access, so if you're uncomfortable with running some unknown app with higher privileges (and so you should be!), look to the following options.
Option 2 - The Best Way
This option requires that you have Tasker installed. Other similar apps may also work, but you're on your own.
Copy the provided Task file to the "Tasker/tasks/" folder, then import it.
Tap the "Tasks" tab
Tap "Import"
Tap the Task to import
Done! You can now create a widget to this task on your home screen.
Option 3 - The Basic Way
The most basic function is as follows:
Create a new task
Add action "Set Light"
Choose "lcd-backlight" to set to "1"
Done! Run the task, and you can dim your display.
To reset, just use the slider in quick settings and it will reset, or lock and unlock your device.
You can also create a widget for this task.
Option 4 - The Hard Way
If you have USB debugging enabled, and adb working on your computer, then the following will dim your device in one go:
Code:
adb shell "su -c 'echo 1 > /sys/class/leds/lcd-backlight/brightness'"
If you have a terminal emulator installed, then just
Code:
su -c 'echo 1 > /sys/class/leds/lcd-backlight/brightness'
Hope this helps someone. It should also work on many other devices.