[TASKER][TUT] - Tasker tutorial ,to make your life easy - Android Apps and Games

This thread will make your life easier using tasker and that i promise.
This is not for beginners
If u are new at tasker look this articles
PART 1
http://www.pocketables.com/2012/08/beginners-guide-to-tasker-part-1-tasker-basics.html
PART 2
http://www.pocketables.com/2012/08/beginners-guide-to-tasker-part-2-variables.html
PART 3
http://www.pocketables.com/2012/09/beginners-guide-to-tasker-part-3-scenes.html
I assume you know basics of tasker and u already have downloaded it
Let's get started i will give written instructions and i think its enough to understand and for more convience i will also add a video demo .
Whenever i will do some thing new and different i will update the first page with written instructions and video demo
1: RANDOM WALLPAPERS (change random wallpapers at some specific time from the specified folder)
First create a folder name it background or mywallpaper or anything
Now first resize all your favorite wallpapers and reaname them in numeric order eg:1,2,3,4
Now move them in the folder background
Create a variable name it %RANDOM
SET value to 1
Now create new task name it wallpaper or something
Click + button ,select variable ,select randomize,in name field press the yellow tag button it will show you user defined variable
Choose %RANDOM from it
Set 1 as min and set "N" as max
(N is maximum number of your wallpapers in the folder mine is 47)
Save task
Click + again
Add task
Display/set wallpaper
Click on scan button (search icon next to the yellow tag button)
And navigate to the folder background and select any photo
Now in the text field you will see the path to the wallpaper now delete the file name and write %RANDOM dont delete extention(.jpg) now it should look like
" background/%RANDOM.jpg "
Save it
Add one more task
Click + button
Task/wait
Now choose the interval time (time distance between a wallpaper change)
Save it
Add one more task
Click + buton
Task/goto
Choose action number in type and choose 1
Save
Now you can use this task with any profile
I choosed time profile (10 to 6)
So now what exacly will happen is
When time is 10 profile will be active
It will choose a random wallpaper from the folder specified
Set as wallpaper
Now it will wait for 5 minutes
And then again go to task 1
And it will close the task at 6 pm
Enjoy
https://www.youtube.com/watch?v=U65cPCaSVt8&feature=youtube_gdata_player
2:TURN LED FLASH ON (turn your led flash on without any application ,simply by long press search button )
I dont think these needs instructions video demo is enough
https://www.youtube.com/watch?v=5Ibkc5RucPw&feature=youtube_gdata_player
3:GALAXY S3 STYLE CALL GESTURE ( u just recieved an sms and u want to call the sender ? No need to press call button just bring the phone near your ears and it wil call the sender )
ADD TASK
input/button
choose menu button
ADD TASK
input/dpad
choose up
ADD TASK
input/dpad
choose press
now create a profile
name it anything
event/sensor/gesture
in title name it anything
now press and hold vol up button and release when it vibrates and says recording
now bring the phone to your ear and again press and hold vol up botton and release when vibrates
add context in your profile
app/messaging
this is nescesorry coz when u are not in messaging it will create problems
now whenever you receive an sms read it and then bring the phone near your ear with the same gesture which you recorded and tasker will call the sender
https://www.youtube.com/watch?v=1uTVKYvfxBE&feature=youtube_gdata_player
4OPUP MEDIA BUTTONS WHEN HEADSETS PLUGGED ( no need to go to app drawer and launch music app or video player )
Create 3 simple tasks
1 launch music app
2 launch video app
Also set icons to your task
You can choose from tasker inbuilt icons ,application icon,gallery icon or u can download iconsets from playstore.
3 popup task buttons
In text field write whatever you want ,this will be the title of your popup notification ,eg "enter your choice"
In task 1 choose music task
In task 2 choose video task
You can set timeout to your choice i recomend 10 seconds
Now save it
Go to profiles and add profile
Stat/hardware/headset pluggeg
Now what will happen
Whenever u plug the headset there will be a popup notification and it will allow u to choose whether you want to listen music or watch video
Optional
You can make the popup more beautyful
Go to scenes and choose your colours ,effects and many more
U can also add fm app in the task button ( i dont listen fm thats why i did not added it)
Have fun
https://www.youtube.com/watch?v=hEmjpMX8AbM&feature=youtube_gdata_player
Many more to come stay stuned
And plz to encourage me hit the thx button
I will add credits if i copy some other developers profiles and tasks
Till now everything is original
If u want to share your tasks,profiles,plz share here
And also let me know if u want me to create a task according your need.
Just tell me "hey arjun i want this to happen in my phone when i am doing this or when this happens
God bless and all the best
***************************
Hit thx button if i helped you
***************************
ALSO HAVE A LOOK
****************************
how to make android apps
http://forum.xda-developers.com/showthread.php?t=2179738
how to remove google account without formatting
http://forum.xda-developers.com/showthread.php?t=2134320
post your apps made by tasker app factory
http://forum.xda-developers.com/showthread.php?t=2185701
floating video for any phone
http://forum.xda-developers.com/showthread.php?t=2138737
smart stay for any phone with front camera
http://forum.xda-developers.com/showthread.php?t=2138740
my tasker profiles
http://forum.xda-developers.com/showthread.php?t=2066461

rjunraj said:
This thread will make your life easier using tasker and that i promise.
I assume you know basics of tasker and u already have downloaded it
Let's get started
1: RANDOM WALLPAPERS
https://www.youtube.com/watch?v=U65cPCaSVt8&feature=youtube_gdata_player
2:TURN LED FLASH ON
https://www.youtube.com/watch?v=5Ibkc5RucPw&feature=youtube_gdata_player
3:CALL AFTER READING SMS
https://www.youtube.com/watch?v=1uTVKYvfxBE&feature=youtube_gdata_player
4OPUP MEDIA BUTTONS WHEN HEADSETS PLUGGED
https://www.youtube.com/watch?v=hEmjpMX8AbM&feature=youtube_gdata_player
Many more to come stay stuned
And hit the thx button if u like
Sent from my Spice Mi-355 using xda app-developers app
Click to expand...
Click to collapse
did you made this app if yes then congo if no then also great job :good::good:

Nice tutorial.
Will use the popup media buttons later.

how to do an android video demo with voice
Thanks for your time in doing this. It is helpful.
I like your idea to make videos. I think the target audience is people new to tasker, so they can see how the program is built in the Tasker interface.
I would like to point out that it is difficult to figure out what is being done in Tasker when there is no narration voice (which submenu did you select to get to that action.. etc).
I have just done a tutorial myself with voice, uploading it to youtube now.. will post when it’s there.
Here’s how I made video with narration.
I followed the plan identified here to use Droid VNC server on Android phone, and RealVNC on pc:
http://www.youtube.com/watch?v=LRN9Tits44w
Note that DroidVNC server is free on Android Market.
Note that RealVNC can be downloaded for free from download.com (cnet)... which means they have screened it to a certian extent. Just make sure when you install it, you read the screens carefully to avoid the extra junk they try to add.
During installation, RealVNC asked permission to bypass firewall, I did NOT check that block (not needed).
After installation, RealVNC asked me to register, that is not needed (except perhaps to create encrypted communication).
I simply ran the program vnc viewer and copied the IP address from DroidVNC in there, then the Android screen is showing on my PC. Also I can type input on my pc and do some Android gestures with my mouse.
The last program I used was SMRecorder (also available as free download from download.com, remember to read installation carefully again to avoid agreeing to extra junk-ware) to record my PC screen as well as my narration.
All programs come from Android Market or Download.com... a small measure of comfort against malware.
---------- Post added at 05:40 PM ---------- Previous post was at 05:07 PM ----------
Here is my video:
http://www.youtube.com/watch?v=il5EAKkMgGI&feature=youtu.be
Code:
Description of My Video:
Example of building a profile in Tasker (narrated)
This profile turns data off if screen turns off and remains off for predetermined time.
After 4:30, the remainder of the video is a rambling look at how this can be integrated with other Tasker profiles, and use of widgets in dock of Holo Launcher

electricpete1 said:
Thanks for your time in doing this. It is helpful.
I like your idea to make videos. I think the target audience is people new to tasker, so they can see how the program is built in the Tasker interface.
I would like to point out that it is difficult to figure out what is being done in Tasker when there is no narration voice (which submenu did you select to get to that action.. etc).
I have just done a tutorial myself with voice, uploading it to youtube now.. will post when it’s there.
Here’s how I made video with narration.
I followed the plan identified here to use Droid VNC server on Android phone, and RealVNC on pc:
http://www.youtube.com/watch?v=LRN9Tits44w
Note that DroidVNC server is free on Android Market.
Note that RealVNC can be downloaded for free from download.com (cnet)... which means they have screened it to a certian extent. Just make sure when you install it, you read the screens carefully to avoid the extra junk they try to add.
During installation, RealVNC asked permission to bypass firewall, I did NOT check that block (not needed).
After installation, RealVNC asked me to register, that is not needed (except perhaps to create encrypted communication).
I simply ran the program vnc viewer and copied the IP address from DroidVNC in there, then the Android screen is showing on my PC. Also I can type input on my pc and do some Android gestures with my mouse.
The last program I used was SMRecorder (also available as free download from download.com, remember to read installation carefully again to avoid agreeing to extra junk-ware) to record my PC screen as well as my narration.
All programs come from Android Market or Download.com... a small measure of comfort against malware.
---------- Post added at 05:40 PM ---------- Previous post was at 05:07 PM ----------
Here is my video:
http://www.youtube.com/watch?v=il5EAKkMgGI&feature=youtu.be
Code:
Description of My Video:
Example of building a profile in Tasker (narrated)
This profile turns data off if screen turns off and remains off for predetermined time.
After 4:30, the remainder of the video is a rambling look at how this can be integrated with other Tasker profiles, and use of widgets in dock of Holo Launcher
Click to expand...
Click to collapse
I could have added voice instructions ,but i dont have pc and i did not create this video for beginners and my computer is dead .
The app which i used did not allow me to record audio .any other way to create video with voice in phone only.i have many many profiles to share which are really realy helpful.
Eg: wake me up when train is going to reach my station so i can sleep in train daily.
Automatic call the contact from whatsapp with just bringing the phone near my ear
Inform my gf automatically when i am reached home
Turn brightness full and turn off data while watching videos and playing games
And many mNy more its countless
Sent from my Spice Mi-355 using Xparent ICS Blue Tapatalk 2

So I've watched a few videos and read some of this thread and played around with tasker and I have a beginners understanding of it. I can make basic tasks and such. One question I do have is the following:
I have a profile set named "Home". It's set based on LOCATION which is 50m radius of my house. I have a few tasks set to happen when I'm "Home" or rather within that 50m radius. Now what I want is a "Not Home" profile. I want a set of tasks to perform when not in that 50m radius. For example, when I'm not in that 50m radius I want the task I made to restore my Security PIN to be restored(I have it cleared when I'm home via Secure Settings plugin). How can this be done?
Thanks

Jonnyredcorn said:
So I've watched a few videos and read some of this thread and played around with tasker and I have a beginners understanding of it. I can make basic tasks and such. One question I do have is the following:
I have a profile set named "Home". It's set based on LOCATION which is 50m radius of my house. I have a few tasks set to happen when I'm "Home" or rather within that 50m radius. Now what I want is a "Not Home" profile. I want a set of tasks to perform when not in that 50m radius. For example, when I'm not in that 50m radius I want the task I made to restore my Security PIN to be restored(I have it cleared when I'm home via Secure Settings plugin). How can this be done?
Thanks
Click to expand...
Click to collapse
First off to save battery you'd do better to use "cell near" first since it uses least battery...then wifi near etc....gps is most battery intensive.....the next part is you have a home and a notathome task......the profile home calls task home and for it's EXIT TASK calls notathome......you don't HAVE to have an exit task as by default tasker will return the phone to the state it was in prior to when the profile was activated.....so by default if bluetooth was already on it will be left on....by making my own exit task I ensure that when I leave the house bluetooth is always turned off for example (home cordless phones link to cell).
The pin lock case is a VERY special case..you need to have both a Pinlock On and a Pinlock OFF PROFILE to avoid situations like someone finding your phone out somewhere and being able to bring it close to your house to disable the pinlock or the phone being turned off at home and taken out into public and then turned back on (pinlock would remain off if you didn't have 2 profiles)...also by default use the "require pinlock to be entered once" option. You should google on "pinlock tasker secure settings" as the profiles are available for download.

Jonnyredcorn said:
So I've watched a few videos and read some of this thread and played around with tasker and I have a beginners understanding of it. I can make basic tasks and such. One question I do have is the following:
I have a profile set named "Home". It's set based on LOCATION which is 50m radius of my house. I have a few tasks set to happen when I'm "Home" or rather within that 50m radius. Now what I want is a "Not Home" profile. I want a set of tasks to perform when not in that 50m radius. For example, when I'm not in that 50m radius I want the task I made to restore my Security PIN to be restored(I have it cleared when I'm home via Secure Settings plugin). How can this be done?
Thanks
Click to expand...
Click to collapse
Hi Jonnyredcorn
I recently figured out exactly what you're asking for. You can create this profile quite easily and it is damn useful. Pretty much you need to open Profile tab create new, then choose state, choose tasker option and there should be a tab saying "Profile active". click that and using the magnifying glass icon select your HOME profile, then below that tick invert. once you've done that go back and add the tasks you want your phone to do when you're not home. Hopefully that helps.

hey ho..
i just installed a galaxy tab in my car for Spotify and Navigation use.
I use tasker to automatically connect to my car bluetooth if the car starts.
I now try to turn on the Screen when i push "Next" on my Bluetooth remote .
Spotify changes the track but the screen remains dark.
I tried tasker actions with screen on and popup texts and so on, but nothing helped.
It seems that the Tasker "Grab Button" events wont work with Spotify (in the foreground).
Any help here?

Related

program to complete multiple apps/actions?

does anyone know of a program to perform multiple actions or launch multiple apps?
i want something which would allow me to create a exe file (which i can put in start menu or assign to a button) which will complete several actions after being selected.
such as: wifi on, launch ie or bluetooth on, launch wmp or close all, power off... etc,
you get the idea i hope
mortscript
Midget_1990 said:
mortscript
Click to expand...
Click to collapse
i should have expected that but thanks
however, i was hoping for something with a ui, and without a 60 page manual which looks to complicated for me on the first contents page
i guess i'll have to start reading the accumulation thread and manual a lot
Hi and thanks guys,
I finally started using mortscript, it's actually very simple to use (at least for what i want) it just looks very difficult to use when you read the site and the manual. Though it did take me all of today to work out why i could not get vjvolubilis to work (i missed a "," out ) and a while to create .mscr instead of .txt.
But it's a shame it only supports system, and not ring volume changing.
I love this site - every time i think my ppc is as good as i can get it, something else pops up to make it better

Tweakster - MortScript

Has anyone looked at TWEAKSTER for TREO. Seems quite nice but as I dont know anything about a TREO, maybe someone can port it to Der Kaiser?
http://discussion.treocentral.com/showthread.php?t=139811
"MortScript: Tweakster, BETA available
I know NOTHING about MortScript (have just started reading) so I hope that some of the The Mort Kings are here in Der Kaiser World and will give it a shot..
I cannot get the plugins to work, but main script seems fine..
"The Mort Virgin" =
--------------------------------------------------------------------------------
Cool new app available for you Treo power-users!!
Tweakster has three major functions:
1) Scheduling : create profiles & schedule events (33 plugins included)
2) Tweaks : applying tweaks (97 tweaks included)
3) Probes : retrieve system info (44 probes included)
Here are some examples of what you can do...
- Set up profiles for your favorite settings
- Change ringtones at 9:00 Mon-Fri to one set of ringtones, and
evenings and weekends to a different set of ringtones
- Soft Reset at 3:00 AM every day
- Turn Bluetooth & Wifi on at 8:00 AM, Mon - Fri
- Clear you IE cache every night at 2:00 AM
- Turn Brightness up, but keyboard lights off at 7:00 AM
- Check an eBay auction every 15 minutes, display current bid on Today Screen
- Set a storage alert when your builtin flash storage drops below 1MB
- Leave yourself a Voice reminder for lunch at 11:45
- NEW: Use your Treo as a SpyCam, schedule a video recording in "stealth" mode"
That DOES sound pretty cool. I would imagine one of the skilled artisans here in the Kaiser world could take that and make it work.
Screenshot's?
The link is broken in the first post. You copied and pasted the abbreviated hyperlink
It would help your cause if you gave the working link
For those that are interested, here is ALOT more detail on Tweakster.
1.0 PLUGIN DETAILS
The plugins included are fairly simple in nature and intended to showcase what you
"can" do with Tweakster. Some of them are very useful, others are sorta lame, all of
them could be improved upon. By all means, I hope others will either improve upon this
or add to this collection to make it more useful.
Audio Play - Plays an audio file, currently scans the "\Windows" directory looking for
sound files. This can be changed by modifying AudioPlay.input.
Backup Folder - Will periodically zip up a folder and save the zip file in the specified
target directory. Currently these are specified via BackupFolder.ini
under [settings]. You can also configure how many backups to keep in the
target directory, in order to limit the number of backups, at which point
it will remove the oldest backup as it creates a new one. Note this is
not intended as a full-backup solution, please use one of the fine products
available for that. This is intended for periodic backup of notes, saved
text messages, etc.
Auto Dialer - Will call a number at the specified time. It cannot do much else because
I can't control sound while the call is connected, so it's only useful
as a wakeup call. Although one clever user added that this could be for
for voting on Americal Idol. Please use responsibly This requires
VJDialer from VJPhoneTools.
Battery Alert - Will alert you if battery drops below a certain percentage. Allows you to
set a higher threshold than the default of 10%, if you want to know sooner
rather than later.
Bluetooth Off - Does what it says, requires VJVolubilis.
Bluetooth On - Does what it says, requires VJVolubilis.
Brightness - Allows you to alter the brightness level. Note, even though the control
panel lets you set the brightness level to 0, this plugin will NOT allow
that setting because once it exits the control panel you would have no way
of figuring out how to put it back!!
Cleanup - Allows you to selectively clear the IECache, \Temp directory, or
\My Documents\temp directories.
Clear Call History - Does what it says, wipes out your call history.
Clock Radio - Sorty cheesy plugin, but cool at the same time. If you don't like the
techy alarms and prefer something more traditional, this may be for you.
It allows you to select a radio station (I preloaded a few, which you can
change by modifying ClockRadio.ini), and it wakes you up at the specified
time displaying a full-screen analog clock. The clock has an "exit" button,
and if you tap on the clockface, it will snooze for 10 minutes. This requires
an internet connection to work, so don't even bother if you don't have a
reliable connection.
Ebay Auction - Specify an ebay listing number, and it will display the current bid and
time remaining at the chosen interval in a message box.
Flash - Will flash the keyboard lights multiple times to get your attention. May be
useful if you want a visual alert, rather than an audible alert.
Keylight Off - Does what it says.
Keylight On - Does what it says.
Launcher - Launches an application or file is there is an associated handler with that
file type. You can type in file path and the arguments at the time of
configuration, or if configure Launcher.ini, it will take the file and
arguments from there. Note, there is a bug in MortScript that if you
bring up the "Alt" keys to select a "\", once you quit that it will send
a return key to Mortscript and you will never be able to type in the path!
Use the on-screen keyboard instead.
Memory Alert - Allows you to set a free memory threshold and once free memory dips below
that, it will bring up an alert notifying you. Note, this is not a real-time
memory monitor, it only checks when the plugin is scheduled. i.e.) every
15 minutes or whatever interval you choose.
Message Box - Type in some text, and a message box with that text will show up as a reminder
at the specified time.
NoDoze - Will keep the phone awake at the specified time, for the specified amount of
time, battery be damned. Use sparingly.
Note Reminder - Will bring up notepad and let you type in a note, or if you prefer you can
scribble your note, and it will bring it up at the scheduled time.
PhoneRadio Off- Does what it says, requires VJVolubilis.
PhoneRadio On - Does what it says, requires VJVolubilis.
Ringer Volume - Does what it says, speaker volume is set independently.
Ring Tones - Allows you to set the "known caller" ringtone, and the "unknown caller"
ringtones at the specified time. It will check the following directories:
\Windows, \Windows\Rings, and \My Documents\Rings. It has a limit of 96
files and it can be slow to bring up the selection dialog depending on how
many files there are, please be patient.
Soft Reset - Schedule a reboot at the specified time. There is a "cancel" message, that
will allow you up to 60 seconds to cancel before it reboots.
Speaker Volume- Does what it says, ringer volume is set independently.
Note, there is no "Call Volume" plugin yet.
Spy Cam - Schedule a video recording. You specify the number of minutes to record
and you Treo will automatically create a video recording. If you specify
"stealth" mode, the Treo screen will remain blank and appear to be off
when the recording takes place. If you have LEDup installed (another 3rd
party app), it will give you the option of blinking the green LED while
it is recording. Please make sure you have specified the "Storage Card"
as your save location in the camera app, otherwise you will run out of
storage very quickly. You will also need to disable Keyguard for this
plugin. And finally, another caveat is that there is no recorded audio
while in stealth mode, this is a bug that will hopefully be fixed soon.
As with the Autodialer plugin, please use responsibly
Stock Quote - Allows you to specify a space-separated list of stock symbols and will bring
up a message box with stock quotes at the scheduled interval. Currently
these must be specified at the time you configure the plugin, not from the
.ini file.
Storage Alert - Allows you to set a free storage threshold and once free storage dips below
that, it will bring up an alert notifying you. Note, this is not a real-time
storage monitor, it only checks when the plugin is scheduled. i.e.) every
15 minutes or whatever interval you choose. You can set thresholds for
builtin flash or a storage card.
Today Line - Display a short message on the Today screen by hijacking the Operator/Carrier
Name. You can choose from the following:
News Headline
Stock Quote
Weather Forecast
Battery Status
Storage Status
Memory Status
eBay Auction
Note, because of the limited amount of space, the amount of information that
can be displayed is minimal. Once again, this is not real-time, it is updated
as often at the plugin is scheduled. There is a lot of room for improvement
here, such as cycling through the various options.
Vibrate - Does what it says, nothing else.
Voice Reminder- Starts up notepad in recording mode and will let you record a voice note.
It will play the message at the specified time.
Wifi Off - Does what it says, requires VJVolubilis.
Wifi On - Does what it says, requires VJVolubilis.
Hi Martindhk and others,
Tweakster works fine on the Kaiser, just tested many of the tweaks.
Personally I don't like the Mortscript interface, but the tweaks and features of Tweakster might make it better than for instance KaiserTweak or Schaps AdvancedConfig, which both contain similar, other or the same tweaks as Tweakster...I guess someone is going to have to work through all applications and make one
Regards,
Nika.
I agree on your point. Have tried some of the plugins and they seem to work. Could be cool with a nice interface towards the plugin part and the possibility to address them to buttons instead of a schedule
maybe you could post how to actually use the application? thanks
From the "readme"
INSTALLING TWEAKSTER:
Unfortunately, there is no CAB installer yet, you will have to manually
install Tweakster. The following steps should get you up and running:
1) Install MortScript 4.0
http://www.sto-helit.de/index.php?module=download&action=view&entry=65
Note, please make sure you install 4.0 and not 4.01 since there are still
compatibility issues in 4.01 that Mort is working on.
2) Install Tweakster
- Unzip the Tweakster_v1.0_BETArXX.zip file on your PC. Copy the entire
"Tweakster" folder to your Treo under "\Program Files".
(Note: It can be installed anywhere if you prefer elsewhere, but please
install it on built-in flash memory rather than the storage card to
minimize any issues.)
- If you want Tweakster to show up under "Programs" from the Start Menu,
you will need to create a shortcut to "\Program Files\Tweakster\Tweakster.mscr"
and place the shortcut under "\Windows\Start Menu\Programs"
3) Install VJ utilities.
These utilities allow you to set bluetooth, wifi and phone state,
as well as use the Autodialer plugin. They aren't strictly required but
are recommended, especially if you intend on using Tweakster profiles.
VJVolubilis: http://www.vijay555.com/?Releases:VJVolubilis
VJPhoneTools: http://www.vijay555.com/?Releases:VJPhoneTools
For now, they must be installed in the default location.
Both MortScript and the VJ utilities are lightweight, stable and very well
tested. These applications are donation-ware, but if you feel these apps are
useful, you can visit the author's site and make a contribution.
4) To start up Tweakster, select "\Program Files\Tweakster\Tweakster.mscr" with
the file browser of your choice, or if you made a shortcut in the Programs
Folder, select the shortcut you place there..
PLUGINS:
For more information on the scheduling plugins and what they do, please see
"PLUGIN DETAILS" in the Details.txt attachment. If you want to know how to create
your own plugins, you can take a look at the example plugin scripts in the Templates
folder of Tweakster.
TWEAKS:
In general, you should use precautions when applying tweaks. This goes for
ANY tweaking program, you should make sure you have a full backup of your Treo
and have a backup of your registry before you start trying out tweaks. Some of
the tweaks require a soft-reset, so if the tweak is not immediately effective,
you may need to reboot. If you are not completely sure what the tweak does,
please do some research on the internet. Most of these tweaks are widely known
and you can find information on them at the following locations:
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Performance
http://www.pocketpctweaks.com/
http://www.spbsoftwarehouse.com/products/tipsandtricks/tweaks.html?en
http://discussion.treocentral.com/showthread.php?t=103438
Has anyone looked into the reason why PLUGINS are not working??
Martinhdk said:
From the "readme"
INSTALLING TWEAKSTER:
Unfortunately, there is no CAB installer yet, you will have to manually
install Tweakster. The following steps should get you up and running:
1) Install MortScript 4.0
http://www.sto-helit.de/index.php?module=download&action=view&entry=65
Note, please make sure you install 4.0 and not 4.01 since there are still
compatibility issues in 4.01 that Mort is working on.
2) Install Tweakster
- Unzip the Tweakster_v1.0_BETArXX.zip file on your PC. Copy the entire
"Tweakster" folder to your Treo under "\Program Files".
(Note: It can be installed anywhere if you prefer elsewhere, but please
install it on built-in flash memory rather than the storage card to
minimize any issues.)
- If you want Tweakster to show up under "Programs" from the Start Menu,
you will need to create a shortcut to "\Program Files\Tweakster\Tweakster.mscr"
and place the shortcut under "\Windows\Start Menu\Programs"
3) Install VJ utilities.
These utilities allow you to set bluetooth, wifi and phone state,
as well as use the Autodialer plugin. They aren't strictly required but
are recommended, especially if you intend on using Tweakster profiles.
VJVolubilis: http://www.vijay555.com/?Releases:VJVolubilis
VJPhoneTools: http://www.vijay555.com/?Releases:VJPhoneTools
For now, they must be installed in the default location.
Both MortScript and the VJ utilities are lightweight, stable and very well
tested. These applications are donation-ware, but if you feel these apps are
useful, you can visit the author's site and make a contribution.
4) To start up Tweakster, select "\Program Files\Tweakster\Tweakster.mscr" with
the file browser of your choice, or if you made a shortcut in the Programs
Folder, select the shortcut you place there..
PLUGINS:
For more information on the scheduling plugins and what they do, please see
"PLUGIN DETAILS" in the Details.txt attachment. If you want to know how to create
your own plugins, you can take a look at the example plugin scripts in the Templates
folder of Tweakster.
TWEAKS:
In general, you should use precautions when applying tweaks. This goes for
ANY tweaking program, you should make sure you have a full backup of your Treo
and have a backup of your registry before you start trying out tweaks. Some of
the tweaks require a soft-reset, so if the tweak is not immediately effective,
you may need to reboot. If you are not completely sure what the tweak does,
please do some research on the internet. Most of these tweaks are widely known
and you can find information on them at the following locations:
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Performance
http://www.pocketpctweaks.com/
http://www.spbsoftwarehouse.com/products/tipsandtricks/tweaks.html?en
http://discussion.treocentral.com/showthread.php?t=103438
Click to expand...
Click to collapse
thanks much. checking it out now.
Martinhdk said:
From the "readme"
INSTALLING TWEAKSTER:
Unfortunately, there is no CAB installer yet, you will have to manually
install Tweakster. The following steps should get you up and running:
1) Install MortScript 4.0
http://www.sto-helit.de/index.php?module=download&action=view&entry=65
Note, please make sure you install 4.0 and not 4.01 since there are still
compatibility issues in 4.01 that Mort is working on.
2) Install Tweakster
- Unzip the Tweakster_v1.0_BETArXX.zip file on your PC. Copy the entire
"Tweakster" folder to your Treo under "\Program Files".
(Note: It can be installed anywhere if you prefer elsewhere, but please
install it on built-in flash memory rather than the storage card to
minimize any issues.)
- If you want Tweakster to show up under "Programs" from the Start Menu,
you will need to create a shortcut to "\Program Files\Tweakster\Tweakster.mscr"
and place the shortcut under "\Windows\Start Menu\Programs"
3) Install VJ utilities.
These utilities allow you to set bluetooth, wifi and phone state,
as well as use the Autodialer plugin. They aren't strictly required but
are recommended, especially if you intend on using Tweakster profiles.
VJVolubilis: http://www.vijay555.com/?Releases:VJVolubilis
VJPhoneTools: http://www.vijay555.com/?Releases:VJPhoneTools
For now, they must be installed in the default location.
Both MortScript and the VJ utilities are lightweight, stable and very well
tested. These applications are donation-ware, but if you feel these apps are
useful, you can visit the author's site and make a contribution.
4) To start up Tweakster, select "\Program Files\Tweakster\Tweakster.mscr" with
the file browser of your choice, or if you made a shortcut in the Programs
Folder, select the shortcut you place there..
PLUGINS:
For more information on the scheduling plugins and what they do, please see
"PLUGIN DETAILS" in the Details.txt attachment. If you want to know how to create
your own plugins, you can take a look at the example plugin scripts in the Templates
folder of Tweakster.
TWEAKS:
In general, you should use precautions when applying tweaks. This goes for
ANY tweaking program, you should make sure you have a full backup of your Treo
and have a backup of your registry before you start trying out tweaks. Some of
the tweaks require a soft-reset, so if the tweak is not immediately effective,
you may need to reboot. If you are not completely sure what the tweak does,
please do some research on the internet. Most of these tweaks are widely known
and you can find information on them at the following locations:
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Performance
http://www.pocketpctweaks.com/
http://www.spbsoftwarehouse.com/products/tipsandtricks/tweaks.html?en
http://discussion.treocentral.com/showthread.php?t=103438
Click to expand...
Click to collapse
also, i dont see a "readme" file or details.txt file in the attachment or post.
SRY - was not part of first post..
Here it is..
The thing is that I cannot get the plugins to work. Tried to SPYCAM - ooohhh - but nope, it needs to be tweaked to fit our device, I guess...
Hi. I was able to get the plugins to work to a certain extent. However I have into two problems in using this script and wonder if anyone might be able to directed me to the solution.
1) When I run a profile of my settings, the program tells me - Error: Script file not found: ". (Quotation mark is the script file not found) It proceeds to run the script I selected from Vjay555 folder anyway after I acknowledge the error message. I tried to look for an extra quotation mark in the Tweakster script (I don't think it is the plugin script that is causing the problem), but I can't make heads or tails of it.
2) When I run the -radioon script, it will turn on my phone radio, but it will not connect to my wireless provider. I'm not sure what that would be the case. If I use the Comm Manager or if I use Battery Status taskbar to turn off the phone and turn it back on again, I will get the phone to connect to my wireless provider.
Can someone help me figure out how to work out these problems? Thanks.
UPDATE: I tried the scripts that were in the plug in folder and found that the scripts were causing the first error reading. The more troubling finding was that VJVolubilis may not work for my phone (8125) as described on
http://forum.xda-developers.com/showthread.php?t=255911&highlight=VJVolubilis.
What a bummer. Any suggestions on a fix? Thanks.
Hi C
Did you find any solutions?
Martinhdk said:
Hi C
Did you find any solutions?
Click to expand...
Click to collapse
No solutions, but I have a hint to one of the problems. I installed PPC Profiles Pro from Modaco.com and PocketZenPhone and got the same problem with the lack of network connection when the phone radio is toggled back on. This may suggest that the problem is with the Wizard or with WM5. I don't know how to solve that problem.
Curious D said:
No solutions, but I have a hint to one of the problems. I installed PPC Profiles Pro from Modaco.com and PocketZenPhone and got the same problem with the lack of network connection when the phone radio is toggled back on. This may suggest that the problem is with the Wizard or with WM5. I don't know how to solve that problem.
Click to expand...
Click to collapse
Did you get any succes with the other plugins??
Haven't wanted to pay for one if one was available for free. If I can get help in fixing the radio toggle problem, then I'll be happy with PPC Profiles Pro. I'm tempted to try Phone Alarm or PocketZenPhone 6.0 (the version I tried was version 4.5.1), but I had read some bad stuff that happened to other users phones with this program (while others liked it).
help me
any way to reset all my tweaks?
PocketZenPhone 6.02 works on my 8125. I don't know what is different between the two versions that allows it to work. If I can't get an answer within the next few weeks, I'll probably purchase the program.
fily1983 said:
any way to reset all my tweaks?
Click to expand...
Click to collapse
Which tweaks are you looking to reset?

[TUT] Tasker – Create an Auto-killing Task Manager with Widget!

Not using Tasker? Shame on you… Download your free trial here
The debate about whether or not to use an automatic task killer in Android is for another thread. The general consensus seems to be ‘don’t’, but regardless, we all have them in case of troublesome processes (even if you can long-press the back button) and therefore I’ve produced this tutorial to show you how to use Tasker to create one that you can configure how you wish, should you wish!
If nothing else, there’s a few good Tasker tips in here, that I’m sure will come in handy for your other profiles.
Let’s get on with it!
Preparation
For best practice, testing and understanding, you’ll need:
1) A Terminal Emulator
2) A Task Killer (!)
3) The Locale Execute Plug-in for Tasker (make sure this is installed prior to importing the profile)
4) A speech engine – Pico TTS for example.
The Short Winded Tutorial
It kills sh*t loads of processes.
Proceed to the download!
The Long Winded Tutorial
Import the profile and ‘un-tick’ it to make sure it is not active until you have edited it to suit your needs.
The trigger for this profile is time based and set up as standard to run every 30 minutes between the times you are likely to be using your phone. Be sure that the activation time does not match that of your AutoSync Profile that you may/should/could be using from here, or otherwise how often your standard email and widgets sync with their individual settings – you don’t want those processes being killed mid-sync.
In this profile, Tasker will use Linux commands via the Locale Execute Plug-in to kill processes you have specified. Let’s get familiar with them.
Open up the Terminal Emulator and type:
Code:
su
then:
Code:
ps
The current running processes will be listed. You’ll note that all applications you would want to kill are assigned a process ID (PID) and an application number app_** (listed under 'User'). The application process (process name) is listed at the end, such as com.android.google.browser.
A process can be killed using its corresponding PID. Try it with an application you see in the list (NOT A SYSTEM PROCESS!):
Code:
pkill 3456
Unfortunately, the PID changes and therefore is not a constant we can use to terminate applications. We therefore have to focus on the process name – bbc.iplayer.android for example.
Try killing an application by name (open it first, list the processes again to make sure it’s there and then see if it has gone afterwards by listing processes again):
Code:
pkill com.google.android.youtube
Sometimes a process is persistent and needs further encouragement (execution) to die:
Code:
pkill -9 com.facebook.katana
Sometimes a process refuses to die – this can be because there are other processes associated with it that are not killed by the above.
Code:
Killall -9 com.levelup.beautifulwidgets
That’s the process killing commands lesson complete and only leaves us with one small issue = What if you are using the process at the time? Obviously we don’t want the browser killed if you are in the middle of surfing, so we have to use a variable to make certain of this. The chosen built in variable is %LAPP, which is the last foreground application used. By making sure this isn’t killed, it’ll stop your current program being terminated in the middle of a message to someone! Therefore, each separate action to kill a process has an IF statement included to prevent the termination if that application is currently being used.
There are plenty of examples in the profile for you to use, but of course you’ll want to add your own entries in the KillProcesses task by:
+
Plugin
Execute
Edit
And then type (or even better paste):
@! pkill -9 and then the process name* (@! Stops the commands appearing on the screen)
Press the back button to save
Click IF
%LAPP
Click ‘~’ select ‘doesn’t match’
Enter the application name**.
Done
* The process name can be found and noted in the Terminal Emulator. Alternatively, often the process names are listed in the Task Manager you are already using.
** In the profile, there is a speech task, popup notification and a STOP task, these are there to discover the correct application name. Open the application you want to add to the list, long hold the home button and select Tasker and then press ‘test’. Tasker will say the name of the application and show how it is spelt on the screen. If the speech says ‘Launcher’, you may need to navigate back to Tasker (after opening the desired app) via the notification bar.
Copying all of the process names and completing the IF statements can be a little tedious, but when it’s done, it’s done… Test each new action to ensure the application is actually killed – just drag it above the STOP action. The Super User application may request permission first time (for each application command). Go to your current Task Manager, refresh it and check the application was terminated! If it wasn’t, try the ‘killall -9’ command detailed above. I have to use this for Beautiful Widgets and Titanium Backup as they are stubborn (and return again soon).
When you've completed your list, delete the pop-up, speech and stop actions and you're good to go.
Finally, it couldn’t be easier to create a widget for the home-screen to activate KillProcesses whenever you like. Hold down somewhere on the home-screen, select widgets. Select Tasker. Select Task. Select KillProcesses. Select your icon and hit ‘make widget’! Done!
There you have it! Your very own self created task murderer at the touch of a button!
Enjoy!
Shortfalls
You are unable to kill a troublesome process if it’s not in your task list!
Future Inclusions?
When setting this up, I had Locale write the process list to a text file. In theory it is possible to get Tasker to read this file, dissect it and therefore discover by the constant app_** which tasks are running and place the process name in a variable which then could be exported to Locale to kill (I think). This is waaay too much effort, but have a go if you want!
In addition, Tasker could compare the before and after (kill) process list and work out approximately how many applications it killed, displaying the number in a popup notification. Again, effort – go for your life!
At present a notification is displayed showing the last time it murdered something.
Please let me know if you have any sensible requests and your feedback is always welcome!
Installation Instructions
In menu options/profile data 'Import One Profile':
Task_Manager
The thanks meter lets me know I'm appreciated!
Feedback?!
There have been a few downloads of this now... but no comments!
Do I assume that it works absolutely fine? No errors or anything? If so, I'll stick it on the Tasker Wiki for educational purposes.
Wow! But how about use Locale AutoKill Plug-in ? It works for me with 2.2 Froyo. So much easier )
memberfive said:
Wow! But how about use Locale AutoKill Plug-in ? It works for me with 2.2 Froyo. So much easier )
Click to expand...
Click to collapse
For education purposes
Sent from my HTC Desire using XDA Premium App
brandall said:
For education purposes
Click to expand...
Click to collapse
Well. In this case, suggest another simple solution, without the use of additional fee applications.
1) Connect your phone via USB.
2) Do adb shell and then ps to remember the last lines.
3) On your phone start the unnecessary application, again execute ps
and see the process name (like android.process.media) after the last lines.
4) Add it to the killing list (say kill_list.txt): echo android.process.media>>/sdcard/kill_list.txt.
5) Repeat for all the unnecessary applications.
6) In the Locale Execute Plug-in is only one line: @! /system/xbin/cat /sdcard/kill_list.txt | /system/xbin/xargs -n1 /system/xbin/killall
memberfive said:
Well. In this case, suggest another simple solution, without the use of additional fee applications.
1) Connect your phone via USB.
2) Do adb shell and then ps to remember the last lines.
3) On your phone start the unnecessary application, again execute ps
and see the process name (like android.process.media) after the last lines.
4) Add it to the killing list (say kill_list.txt): echo android.process.media>>/sdcard/kill_list.txt.
5) Repeat for all the unnecessary applications.
6) In the Locale Execute Plug-in is only one line: @! /system/xbin/cat /sdcard/kill_list.txt | /system/xbin/xargs -n1 /system/xbin/killall
Click to expand...
Click to collapse
Do you mean 'fee' applications? It only uses locale which is free??
I originally messed with the idea of using a list like this, but the problem is, you can't pass the %LAPP variable in this way. I had Tasker/locale writing the original .txt file from ps output and getting Tasker to try and 'read line/find' the associated %LAPP process in order to exclude it from the list prior to the xargs command being executed... but it became more complicated than just listing IF actions individually as I was going to have to list them anyway!
Hope that made sense? If you can think of a betterway to exclude the foreground process and then use a single command in this way, please do let me know!
Sent from my HTC Desire using XDA Premium App
brandall said:
Do you mean 'fee' applications? It only uses locale which is free??
I originally messed with the idea of using a list like this, but the problem is, you can't pass the %LAPP variable in this way. I had Tasker/locale writing the original .txt file from ps output and getting Tasker to try and 'read line/find' the associated %LAPP process in order to exclude it from the list prior to the xargs command being executed... but it became more complicated than just listing IF actions individually as I was going to have to list them anyway!
Hope that made sense? If you can think of a betterway to exclude the foreground process and then use a single command in this way, please do let me know!
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
I mean, this solution is just for the Tasker with free Locale Execute Plug-in !
I think that any attempt to pass variables in Tasker and process them would increase the CPU load and reduce performance. It seems to me that there is no difference as to kill the process. And everything works (killed) fine with a single command.
memberfive said:
I mean, this solution is just for the Tasker with free Locale Execute Plug-in !
Click to expand...
Click to collapse
Thought so!
I think that any attempt to pass variables in Tasker and process them would increase the CPU load and reduce performance.
Click to expand...
Click to collapse
Agreed - It was becoming more complicated than an actual Task Killer!
It seems to me that there is no difference as to kill the process. And everything works (killed) fine with a single command.
Click to expand...
Click to collapse
Only problem is with it killing the current application you are using....... Need a solution to prevent that....
Ok, been browsing the web and found these nice profiles, which can trigger an app (Fast Reboot - which acts like a virtual reboot, closing all apps). What do you think about it Brandall? Could it be tweaked even more to get a nice profile using this app? Thanks.
Published by James.
Display- Battery Saver
The initial idea came from some members on the LG2X MoDaCo Forum. The problem at the time was various applications were misbehaving and not stopping when the phone should have been going into its sleep mode. One member suggested using Fast Reboot to ‘reset’ the phone into a state where it can enter sleep mode.
The context:
Event: Display Off
The task:
Wait [ Seconds:11 ]
Stop If [ %SCREEN ~ ON ]
Load App [ App:Fast Reboot Data: Exclude From Recent Apps:On]
The wait is to allow my phone to lock (10 seconds after screen off) then if the phone has been used again the second part should cancel the task #this has limited success if you know a better way to about a task please get in touch!#. Fast reboot unlike many task managers closes and restarts your tasks so your alarms and other app keep working.
Further Improvements
I have added two more complimentary profiles to control when the above profile can run.
Profile: Display- Phone Idle
Event: Phone Idle
Task: Profile Status [ Nameisplay- Battery Saver Set:On]
and
Profile: Display- Phone Offhook
Event: Phone Offhook
Task: Profile Status [ Nameisplay- Battery Saver Set:Off]
These stop the Display- Battery Saver profile from running when the phone is in use. Again, they may not been the most effective solution but they work.
Click to expand...
Click to collapse
mi3x said:
Ok, been browsing the web and found these nice profiles, which can trigger an app (Fast Reboot - which acts like a virtual reboot, closing all apps). What do you think about it Brandall? Could it be tweaked even more to get a nice profile using this app? Thanks.
Published by James.
Click to expand...
Click to collapse
I'd say this is a little excessive... Using a hot/fast reboot as it is known is not addressing the actually issue of misbehaving applications...
For Tasker users, this can be done using Deep Sleep Detective - for other users, this can be done with Better Battery Stats.
Hot/Fast reboot resets the system without rebooting the kernel and is only really necessary when system changes such as remapping hardware keys need to be applied without the need for a full and time-consuming reboot...
Best to track down a problem and resolve it rather and kill everything which this solution does... If a rouge application or process starts at screen-off, then this will happen eventually/immediately after a reboot, so again, a little drastic for short term 'relief'.
The hot reboot is used in my Tasker media mapping profiles though!
I want to kill the backup service that saves data from apps in the cloud and start the service later (when charging) again.
I think it is android alarms: act=android.app.backup.intent.RUN isn't it?
How can I do that?
Thanks in advance!
MaluNoPeleke said:
I want to kill the backup service that saves data from apps in the cloud and start the service later (when charging) again.
I think it is android alarms: act=android.app.backup.intent.RUN isn't it?
How can I do that?
Thanks in advance!
Click to expand...
Click to collapse
This is entirely possible in theory, however killing the service once does not guarantee that it will not start again and again when it feels like it... There is no monitor within Tasker to alert you when it starts...
If there was....
Sent from my Sensation using xda premium
So could you help me with that for the backup service? Or enable/disable toggle?
Thanks.
brandall, I need some help here, please help me out.
I want the following thing:
Everytime I turn internet (easy) some apps services would be launched, like viber/whatsapp/facebook/gmail runing in background as they already do, and when I turn off the internet, I want to kill those process and services...
how can I do that?
pkill -9 and kill-9 arent killing com.whatsapp for example.
MaluNoPeleke said:
So could you help me with that for the backup service? Or enable/disable toggle?
Thanks.
Click to expand...
Click to collapse
Sorry, I didn't see your reply. It's not possible unless the process is obvious when you type 'ps' in the terminal - you can try manually killing it then and see if it comes back. Let me know if you find it and I'll talk you through how to kick off the intent with Tasker.
Sent from my HTC Sensation XE with Beats Audio using xda premium
brunoshady said:
brandall, I need some help here, please help me out.
I want the following thing:
Everytime I turn internet (easy) some apps services would be launched, like viber/whatsapp/facebook/gmail runing in background as they already do, and when I turn off the internet, I want to kill those process and services...
how can I do that?
pkill -9 and kill-9 arent killing com.whatsapp for example.
Click to expand...
Click to collapse
Hi, don't forget that Android is supposed to handle these processes so they don't use any cpu and remain dormant, however, I understand that sometimes it just feels better if they are not there... (although others would tell you that killing apps may make your device under-perform!)
Anyway, killall -9 com.whatsapp will kill the process, but testing it on my device, it restarted almost instantly.
I have the application system tuner pro by 3c an amazing app and under the apps tab there is a 'startup' option for applications which I assumed referred to at boot - I just unticked whatsapp in there, killed the process and then it didn't restart... Maybe a coincidence, but worth a try...
I've no idea what different events in Android cause these apps to decide to come to life...
Hope that helped!?
Sent from my HTC Sensation XE with Beats Audio using xda premium
brandall said:
Hi, don't forget that Android is supposed to handle these processes so they don't use any cpu and remain dormant, however, I understand that sometimes it just feels better if they are not there... (although others would tell you that killing apps may make your device under-perform!)
Anyway, killall -9 com.whatsapp will kill the process, but testing it on my device, it restarted almost instantly.
I have the application system tuner pro by 3c an amazing app and under the apps tab there is a 'startup' option for applications which I assumed referred to at boot - I just unticked whatsapp in there, killed the process and then it didn't restart... Maybe a coincidence, but worth a try...
I've no idea what different events in Android cause these apps to decide to come to life...
Hope that helped!?
Sent from my HTC Sensation XE with Beats Audio using xda premium
Click to expand...
Click to collapse
they may not use cpu but for sure they use battery =/
brunoshady said:
they may not use cpu but for sure they use battery =/
Click to expand...
Click to collapse
It's not my understanding, but I have been wrong before
Did what I suggested stop it restarting??
kill service
I would like to kill a service using this method
I can find the service I want in android service list, it's called "RTService"
How can I find the text to put before "pkill" ?
In terminal emulator and "ps", I didn't find anything related to this and of course "pkill RTService" does nothing ^^
Thanks!

Multitasking / Keeping Apps in foreground state

If i understand Android correctly, it sends applications into a "background" mode when switching tasks? I would like to prevent that. There are some apps (like games or browser) that need quit a bit of time restoring the last state so this would be usefull for some tasks.
Is this possible ?
TyrionWarMage said:
If i understand Android correctly, it sends applications into a "background" mode when switching tasks? I would like to prevent that. There are some apps (like games or browser) that need quit a bit of time restoring the last state so this would be usefull for some tasks.
Is this possible ?
Click to expand...
Click to collapse
Well, switching to background mode just marks the application as not displaying anything. The way memory management on Android works, if foreground apps (i.e. apps that are actively displaying on the screen) need memory and there's none available, then background apps will be put into a stored state that frees up memory for the foreground apps. Coming back from that stored state is probably what you're noticing. Android also tries to keep a certain amount of unused memory around and will put background apps into stored state to achieve that. We do have pretty limited memory available on this device so some level of pausing is always going to happen. See also: http://andrs.w3pla.net/autokiller/details
You may be able to reduce how many background tasks are put into storage by tweaking the minfree parameters (using e.g. Autokiller Memory Optimizer from the market) to tell Android to aim for a smaller pool of free space.
Mioze7Ae said:
Well, switching to background mode just marks the application as not displaying anything. The way memory management on Android works, if foreground apps (i.e. apps that are actively displaying on the screen) need memory and there's none available, then background apps will be put into a stored state that frees up memory for the foreground apps. Coming back from that stored state is probably what you're noticing. Android also tries to keep a certain amount of unused memory around and will put background apps into stored state to achieve that. We do have pretty limited memory available on this device so some level of pausing is always going to happen. See also: http://andrs.w3pla.net/autokiller/details
You may be able to reduce how many background tasks are put into storage by tweaking the minfree parameters (using e.g. Autokiller Memory Optimizer from the market) to tell Android to aim for a smaller pool of free space.
Click to expand...
Click to collapse
Thanks, i'm will give it a try. Is it also possible to max out swap before sending apps to background? I think restoring the ram-state from sd would still be faster for several apps.
Edit: reading your post again, i'm not talking about a tasking switch delay, but apps that completly reload themselves when switching tasks (DolphinMini page load,DungeonHunter as examples). Just to prevent any confusion...
TyrionWarMage said:
Thanks, i'm will give it a try. Is it also possible to max out swap before sending apps to background? I think restoring the ram-state from sd would still be faster for several apps.
Edit: reading your post again, i'm not talking about a tasking switch delay, but apps that completly reload themselves when switching tasks (DolphinMini page load,DungeonHunter as examples). Just to prevent any confusion...
Click to expand...
Click to collapse
Oh... Sorry I misunderstood. I don't know anything relevant to that case.
I've spent a few hours trying to find how to make certain Droid apps maintain their foreground state when put in the background with no luck. Perhaps it just can't be done.
I'm thinking of the Cydia iPhone app called Backgrounder which lets you choose which apps maintain foreground state when put into the background.
This is necessary, for example, with a note application where you are switching between taking notes and looking up info. Every time you switch back to the note app, you need to go back into your note, put it in edit mode and navigate to the section of the note you were editing. If it were acting like a foreground app in the background, when switching back to it it would already have your note open and be in edit mode with the cursor where you left off.
K9 mail has a similar problem where if you have an email open, switch to another application, when you go back to K9 it takes you to your inbox again where you have to navigate to the email you had open before switching.
Is there a tool similar to Backgrounder for Android?
Thanks.
nheacock said:
I've spent a few hours trying to find how to make certain Droid apps maintain their foreground state when put in the background with no luck. Perhaps it just can't be done.
I'm thinking of the Cydia iPhone app called Backgrounder which lets you choose which apps maintain foreground state when put into the background.
This is necessary, for example, with a note application where you are switching between taking notes and looking up info. Every time you switch back to the note app, you need to go back into your note, put it in edit mode and navigate to the section of the note you were editing. If it were acting like a foreground app in the background, when switching back to it it would already have your note open and be in edit mode with the cursor where you left off.
K9 mail has a similar problem where if you have an email open, switch to another application, when you go back to K9 it takes you to your inbox again where you have to navigate to the email you had open before switching.
Is there a tool similar to Backgrounder for Android?
Thanks.
Click to expand...
Click to collapse
Looking for such tool too. Making app to stick with its foreground state even though it is actually in the background. (Make it appear in notification?)
ZDBox is a useful tool... you can download from market its free and the app has the abbility to:
★ Traffic counter: Monthly/daily mobile data usage overview, shows remaining data traffic, detailed data usage information for each app.
★ Do not disturb: Just set days and the time when you need your privacy and you won’t be disturbed by your phone. Set phone to silent, vibration or airplane mode.
★ App lock: Protect apps with a password or pattern, for exmaple your contacts, Facebook, Twitter, Whatsapp,Gmail and so on
★ Task killer: Kill all apps at once, define protected apps which won’t be killed, set auto kill when screen gets locked, mark single or multiple apps to kill
★ history eraser:clean your(Browser history,market search history,Google Map search history,Gmail search history,Clipboard)
★ Notification bar: One tap on the bar shows remaining battery time, running apps, how much data traffic is left and if app lock is active or not. A tap on these informations starts ZDbox.
★ Uninstaller: Shows used/available internal and SD card memory. Apps can be easily uninstalled. Single or multiple (batch) uninstall possible.
★ App to SD: Move apps to your SD card. Single or multiple (batch) move possible. Only for Android 2.2 and 2.3.
★Cache Cleaner:With Cache Cleaner you can clean your cache of phone.protect your secret without a trace.
I hope you can use for keep your running applications with that app...
sorry for my english...
davidequiz said:
★ Task killer: Kill all apps at once, define protected apps which won’t be killed, set auto kill when screen gets locked, mark single or multiple apps to kill
Click to expand...
Click to collapse
This will not help since the task killer which kills the background apps in inside the android system not an external one.
We must find a way to control the internal one then...
nheacock said:
I've spent a few hours trying to find how to make certain Droid apps maintain their foreground state when put in the background with no luck. Perhaps it just can't be done.
I'm thinking of the Cydia iPhone app called Backgrounder which lets you choose which apps maintain foreground state when put into the background.
This is necessary, for example, with a note application where you are switching between taking notes and looking up info. Every time you switch back to the note app, you need to go back into your note, put it in edit mode and navigate to the section of the note you were editing. If it were acting like a foreground app in the background, when switching back to it it would already have your note open and be in edit mode with the cursor where you left off.
K9 mail has a similar problem where if you have an email open, switch to another application, when you go back to K9 it takes you to your inbox again where you have to navigate to the email you had open before switching.
Is there a tool similar to Backgrounder for Android?
Thanks.
Click to expand...
Click to collapse
Guys, I'm so much looking for a solution of this same thing. The closest I came to is Ram manager. Has a xda threat and can be found in the play store. But it also can't manage to lock an app and prevent its killing (although it helps a lot). I need my navigation always running and it is silently killed or stopped while I'm looking at my mail or have a phone call. This is ridiculous. Have you found a solution. Some way to protect an app from killing and lock it in the foreground. I mean how are they able to do it for the apps which are in the system tray!? Like antivirus apps and tons of other. I can't believe xda experts don't know how...
I would think that Antivirus apps run a service.
In Mioze's CM6 there are build prop edits that might work, but I never tried them.
Code:
# apps to be kept in memory (specified by process name)
# use with caution, RAM is limited!
sys.keep_app_1=
sys.keep_app_2=
I am not an expert and can't tell the difference between service and an app running. What you're saying makes sense, but I need clear instructions somewhere to make an app protected from killing. Thanks for helping.
Sent from my HTC One X using xda premium
Wrong forms this milestone xt720.
Sent from my SGH-T759 using xda premium
I pretty much fixed android multitasking - even on ense 4.0 and 4.1
http://forum.xda-developers.com/showthread.php?t=1900626
Testers welcome.
And for locking an app in a foreground state, my SuperCharger can do that via BulletProof Apps menu.
zeppelinrox said:
I pretty much fixed android multitasking - even on ense 4.0 and 4.1
http://forum.xda-developers.com/showthread.php?t=1900626
wI
Testers welcome.
And for locking an app in a foreground state, my SuperCharger can do that via BulletProof Apps menu.
Click to expand...
Click to collapse
I tested that and almost became an expert. I'm not so sure if it is completely solved, although I have to admit that you have done a great and recognized job.
Just tell me can the script for bulletproof apps work alone, without the supercharger script. Many ROMs have their own memory settings and one is afraid to cover them with supercharger script settings.
But if bulletproof script can run and do the job on itsown then the problem is really fixed.
Yeah its separate.
Alot of devs say dont supercharge because they dont want to be showed up and scare their users lol
But hundreds of roms come supercharged anyway.
zeppelinrox said:
Yeah its separate.
Alot of devs say dont supercharge because they dont want to be showed up and scare their users lol
But hundreds of roms come supercharged anyway.
Click to expand...
Click to collapse
Thanks for answering!
So I'm going to try running only the bulletproof script without the supercharger script and set an app to be UNbillable.
Should I set it to run on startup!? I'm using custom ROM. The last revolution HD.
The init.d script would run automatically.
So you dont need to configure anything.
Whatever app is in the hitlist will get bulletptoofed soon after running the app.
zeppelinrox said:
The init.d script would run automatically.
So you dont need to configure anything.
Whatever app is in the hitlist will get bulletptoofed soon after running the app.
Click to expand...
Click to collapse
I am trying to get this configured. But I only want to run the bulletproof script, not the 99SuperCharger script. I just want to keep my rom's memory settings, cause I am OK with them.
But both of the scripts (99SuperCharger and bulletproof) are going to reside in the init.d folder of my custom rom. So they will both be started, aren't they?
How can I make only bulletproof script run at boot. Should I just delete 99SuperCharger from init.d?

[APP] SwitchMe Beta - multiple users WITH OWN DATA on a single device

SwitchMe - An Android first
Welcome to SwitchMe, an application for root users that allows you to log in and out of your device just as you would on a personal computer.
The technology behind SwitchMe saves all of your applications and data, protects it and stores it as a file in memory. You can then log out of
an account and log into a fresh installation of Android or another account with its own unique content.
You may create as many profiles as the memory is capable of holding. Some of these may require very little free memory because they contain
few apps, others will be larger as they contain many applications and lots of cache and data.
Why is this functionality useful?
Privacy - the most obvious benefit is that you can securely share one device among multiple users, which gives you privacy and peace of mind.
Testing - if you are a developer, you can use profiles as clean sandboxes to test your applications and their interaction with the system.
Speed - the games your kids play slow down your tablet, but with SwitchMe you can easily create profiles in without games or messengers.
Battery life - when the battery is low but there are important emails or documents to edit later, switch to a profile which only contains these essentials.
These of course are only suggestions - there are plenty of other uses for the functionality SwitchMe offers.
SwitchMe explained
In order to start using the application, you must create at least two profiles. The first you create will contain all your current data, the second will be a
fresh installation of the operating system.
Once you have created a second profile and booted into it, you will be presented with the Welcome screen, where you can add a new Google Account.
After you have set up your wireless connection and logged into the Google Account, you will find that SwitchMe comes preinstalled so that you can switch
back to the original account without needing to access the Market.
Advanced users can also clone their current profile - this can be useful if, for example, you want to see how the installation or removal of an application
affects your device.
Recommended usage
The most basic use for SwitchMe is creating multiple profiles for your family members. To do this, create separate profiles for yourself, for your significant
other and for the kids. Then log into these profiles and install the relevant software.
For your wife, for example, you can set up an email account and create bookmarks and widgets. For the kids, download and install some games.
From now on, handing your device over without worrying about them reading your emails or installing lots of junk is as simple as switching profiles.
Usage warning
Its very important to understand that incorrect use of this application can potentially harm your device. This can happen if you create and switch to
a profile that exceeds the available memory - switching into this profile will cause a boot loop as Android attempts to unsuccessfully build the Dalvik cache.
Before proceeding the use we recommend that you perform a full nandroid backup through recovery.
Looking forward
These are early days for SwitchMe, which means that a lot of additional functionality will be added to the app in the months to come. Planned features
include full profile encryption, profile storage on external memory and switching without the need to reboot your device.
We also plan to expand the information window to include data about each profile's applications, as well as the ability to reserve memory for profiles.
This Beta
The apk attached to this post will expire in 24 hours. Use that time to tell us if there are issues and to send logs (as always, with descriptions) via the
"Write to us" function.
Lots of functionality has been removed from this version, but will be added over the coming days.
Screens:
Known issues
Help doesnt work outside main screen
Persistent notification doesnt enable in new profiles
Hot switch not working on ICS (almost fixed, currently unavailable)
Encryption doesnt work (only password protection atm)
Sweet! Going to try it.
This allows me to have multiple chars on 1 device for games also? (like Emross War or the Storm8 games?)
edit: Sended my first crash log allready
Yes. I see there is an issue with the trial...
This is a brilliant idea! If you can add a feature to disable su for accounts it would be great.
For my use, I would probably have a default account that has limited access and limited apps. It should not have su or the ability to install new apps via the Market or via adb. The second account would be an admin account with everything enabled. I'm very interested in the encryption features as well. This and a password protected bootloader combined will keep my phone pretty locked down
Hi guys. Sorry I'm on a tablet ATM, so you'll have to use this filehost link for the next few hours. The apk has been updated:
http://www.datafilehost.com/download-beac0342.html
Okay this is what I've seen so far:
At first launch it asks me to create a profile, works fine.
When pressing the lock icon in the top right-hand corner it crashes.
The 3 dots open the settings page, and the notification icon works fine.
I can't seem to figure out how to create a 2nd profile?
When opening my profile I don't see any data in there, it just says "Details" in the top left-hand corner. It has the 3 dot setting icon thing, when I press settings, nothing happens. When I press the lock icon it crashes.
To view the details of my profile I have to hold-press on my profile in the main screen and then select details. Now I see some bars and I can put a password on my profile with the lock icon, settings still don't work. After you've done this, you don't have to press details anymore unless you restart the application. By pressing the activate button when I long-press on my profile it also allows me to see the details when I click on my profile.
A lot has to be done, but the concept is there, good job!!
ybinnenweg said:
Okay this is what I've seen so far:
At first launch it asks me to create a profile, works fine.
When pressing the lock icon in the top right-hand corner it crashes.
The 3 dots open the settings page, and the notification icon works fine.
I can't seem to figure out how to create a 2nd profile?
When opening my profile I don't see any data in there, it just says "Details" in the top left-hand corner. It has the 3 dot setting icon thing, when I press settings, nothing happens. When I press the lock icon it crashes.
To view the details of my profile I have to hold-press on my profile in the main screen and then select details. Now I see some bars and I can put a password on my profile with the lock icon, settings still don't work. After you've done this, you don't have to press details anymore unless you restart the application. By pressing the activate button when I long-press on my profile it also allows me to see the details when I click on my profile.
A lot has to be done, but the concept is there, good job!!
Click to expand...
Click to collapse
Thats what happens when people code at 4am from home. All shall be fixed today - they are just cosmetic issues.
THREAD CLOSED FOR NOW, A NEW ONE WILL BE OPENED LATER TODAY.

Categories

Resources