Saturday 9 June 2012

Tasker-Automate your Android

My previous post was about automating pc. In this article I will tell you how you can automate your android phone using tasker.


Tasker is an application for Android which performs Tasks (sets of Actions) based on Contexts (application, time, date, location, event, gesture) in user-defined Profiles, or in clickable or timer home screen widgets.

This simple concept profoundly extends your control of your Android device and it's capabilities, without the need for 'root' or a special home screen.

Here are only some of the things you could do with Tasker, it's real power is the flexibility to combine contexts and tasks however you wish.
  • passcode-lock sensitive applications (e.g. for child safety)
  • change phone settings by
    • application: long screen timeout in a book reader
    • time: screen brightness lower in the evening
    • location: ringer volume high at the office, turn off  keyguard at home
  • wake up with a random song from your music collection
  • Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
  • launch a music application when your music SD card is inserted, otherwise a file browser
  • start the day with a particular application showing
  • change all your home icons and wallpaper every day, or in particular locations
  • turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
  • create a Home widget to
    • toggle bluetooth/wifi on/off
    • launch wireless settings dialog
    • show a menu of tasks to choose
    • send an emergency SMS with your GPS location
  • remap camera etc buttons to other applications, or show a menu of applications and/or actions
  • decrypt/encrypt and/or zip/unzip application data on the fly when an application is launched/exits
  • pause music playback while in a particular application, restart on exit
  • change the Home icon for any application
  • take a time-lapse photo series (possibly 'secretly')
  • make a regular backup of a file on the SD card
  • track your phone location via SMS in case of theft
  • extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
  • record call times and destinations to the SD card
  • show a popup when an SMS arrives from a particular phone number
  • setup a birthday SMS to be sent months before it happens so you don't forget
  • record battery levels over time to a file on SD card
  • make automatic recordings of what you say during phone calls to SD card
  • during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
  • setup a vacation SMS message, with different messages for different callers
  • launch a music application when headphones are connected
Download from play

Is your phone rooted? then get it for free

Download tasker from Megashare or Rapidshare. Follow the instructions.

You need a root explorer, phone needs to be rooted!

1. Install Tasker 1.2.1u1, make sure you run Tasker at least once. (Creates the shared_prefs folder)
2. Extract the downloaded license verification files (2 xml files)
3. Go to /data/data/net.dinglisch.android.tasker/shared_prefs and write down the "owner" of the files in this directory. It should be something like "app_xx" where xx is a number. You will need this in the next steps.
4. Copy the downloaded xml files to /data/data/net.dinglisch.android.tasker/shared_prefs
5. Change the owner and group of the two files to what you wrote down in step 3.
6. Change the permissions of both files to "rw-rw----" (both reading and writing for both user and group set, nothing else)
7. Start Tasker. Now you should get a valid license and a "0" in the field below.

If you have Tasker 1.2u* installed and working on your phone, you can do this another way:
The package name for tasker changed from net.dinglisch.android.taskerm to net.dinglisch.android.tasker . (without "m")
At least this is the case for me and obviously the reason that Lucky Patcher does not work anymore for the new Tasker version.
Or the version with the extra "m" is the version available through the Market - maybe someone knows this for sure?

A. You can give Lucky Patcher a try, maybe it works for you and you're done. Please tell me if it works for you...
B. You can copy the folder "shared_prefs" in /data/data/net.dinglisch.android.taskerm to /data/data/net.dinglisch.android.tasker.
NOTE: You still need to check the owner of the files in /data/data/net.dinglisch.android.tasker and change the owner and permissions of the copied files! Otherwise tasker won't be able to access those files! See steps 3. , 5. and 6. above. Don't forget to change the owner and permissions of the "shared_prefs" folder itself! The folder needs different permissions: rwxrwx--x (Read, Write, Access/Execute for owner+group, read for everyone).



No comments:

Post a Comment