yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] arielc:
How did you get wifi to switch off when its not connected to any network, occasional i leave the house and i forget to switch wifi off. I tried location based wifi off but it wont be as fast or accurate as switching off wifi when theirs no connection after lets say 1-2 minutes. I considered getting another app to do this after i tried to get it to work with tasker, but i have enough apps running in the background.

Do any of you leave gps turned on always so that tasker works better with locations? for me with just network location it can take some time to update and to turn on a profile.
[Android Apps and Games] CodeMonkey:
That may be linked to timings of background context checks when the screen is off.

Personally I always leave GPS on, but only use Net location / Cell IDs for my Tasker location contexts.
[Android Apps and Games] dbilliter:
If anyone wants any ideas on Tasker profiles or want to know how to do something just go to my blog at http://dbilliter.blogspot.com. I update it regularly and will continue to try and improve the Profiles.
[Android Apps and Games] Techvir:
Thanks for the work...

The tasker website have some codes

http://tasker.wikidot.com/step-throughs

People please post more codes... would love to see more
[Android Apps and Games] dbilliter:
I am posting one everyday this week and I think I have a couple more. I will post even more whenever I either come up with new ideas or someone gives me a new idea.
[Android Apps and Games] Evil.Bonsai:
Ok, I have a very basic understanding of tasker. I actually was able to make my gps app turn on the gps when being executed. I only added gps off exit task after reading the wiki. However, I'm trying to find a way to do the following:

when selecting pandora icon (I say icon, as I may need a pointer to the actual app)

verify wifi connection status - if connected, then load pandora app; if not connected, kill pandora app (might be redundant but just in case)

I also need to create a general wifi connection status, such that if connection is lost, kill specific running apps (such as pandora; could add more later)

I tend to fall asleep using headphones and pandora. I'd REALLY hate to find out that my cable/wifi went down while asleep and I've just been listening to pandora using cell data for several hours.

Now, making a profile to turn on wifi is easy enough, but not sure how to do the above. I'd imagine it'd be something like:

If [pandora app] initiated

wifi_connected = 1 (or yes or whatever)

then load [pandora app]

any help would be appreciated

EDIT: Nevermind. Though knowing more about how variables are used in TASKER would be interesting (I'll play around with them some more), I found out that with wifi ON, cell data usage is cut off. I disconnected my cable connection and with wifi still on, I couldn't connect to anything. So worry was unfounded, it turns out.
[Android Apps and Games] Techvir:
thanks once again.. am testing out a few of them
[Android Apps and Games] dbilliter:
No problem. It is a hobby for me. I love doing it so I thought I would create a blog with the focus on Tasker to help people along. I know there are a number of other sites but I have been trying to make mine as basic as possible so that anyone could figure it out.
[Android Apps and Games] zerojay:
Some actual description of what the tasker profiles do would be very helpful... also less tit shots so that I don't catch crap for looking at the site from work would be nice.
[Android Apps and Games] Techvir:
I was trying to make 2 profiles

Profile 1 - I have set up a profile so that when i plug in a headphone with no mic ( and no mic in options ) , it opens the music app

Profile 2 - i have also set up another profile , when i plug in a Headset with mic ( and mic in options) , it opens the dialer.

However when i plug in the headset it opens both the Dialer and music app . Is there a way to prevent the music app from opening.
[Android Apps and Games] dbilliter:
Sorry for the delay. I don't know of a way personally. I can only work with what I got and I don't have a headset with a mic so I have no way of testing. One option you could do though is have a menu pop up and ask you which you want.
[Android Apps and Games] johan12330:
Set the "profile 1" to

"Handset plugged, mic"

Task:

Load task

"Profile status", profile 2, off

Load app dialer

Exit task :

Profile status, "profile 2", on.

Set "profile 2" to

"Handset plugged" no mic.

Task:

Profile status, "profile 1", off

Load app "music"

Exit task:

Profile status "profile 1", on

Sorry, this is really messy, but I'm using my phone right now to write this. If you don't understand, please send a pm to me.

Edit: you can download the profile here

http://db.tt/XjxDV3m

http://db.tt/2NYWJsU

Just download them to your phone and run it using tasker
[Android Apps and Games] K1ll1an:
Is there a way to write profiles on Pc and import them on tasker ?
[Android Apps and Games] Techvir:
Hi thanks for advice..

Can u please zip those files for me.

When i try to download them, it just opens on the webpage.
[Android Apps and Games] pda:
save the web page as .xml

use some initiative.
[Android Apps and Games] Techvir:
:o

did try that first , did not work... No sorted by correcting the name.
[Android Apps and Games] brantje:
Can you export the profiles:

- Auto switch off Wifi after 10 min of a lost connection

- Auto switch off Wifi 10 min after being switched on and no connection was made

- Auto switch off Bluetooth after 10 min of a lost connection

- Auto switch off Bluetooth 10 min after being switched on and no connection was made

- Auto mute between 23:00 and 06:00 except for favourite contacts

- Auto mute when in a meeting

Because i'm very new to tasker, and i don't understand it.
[Android Apps and Games] johan12330:
http://db.tt/e1qOZqH

Here you go =)

I think its better if you try to learn how it works.

anyway, here is a WiFi script which turns off the WiFi after 1 min

http://db.tt/Roduc9C
[Android Apps and Games] Techvir:
Tried that but again when i have the headphone ( with no mic plugged in) it works fine. Only the music app loads.

However when i plug in the headset ( ie with mic ) both music and dialer opens !!!

i even added an option to kill the music application when headset ( profile 1 ) is plugged in . Does not help
[Android Apps and Games] cjoshua:
Do tasker eat battery?
[Android Apps and Games] Techvir:
MY experience is that , its very battery friendly.
[Android Apps and Games] CodeMonkey:
Depends how well you write your profiles.

I have approximately 30+ profiles and associated tasks.

Originally Tasker showed as using about 5% of my battery.

I rewrote my profiles to be more efficient and dropped that to a daily average of 2%
[Android Apps and Games] johan12330:
Okay, after some testing, I noticed that the time when the headphone with mic was halfway in, the phone detected is as a headphone without mic.

So I did a "wait" command before opening the Music app. And I highed the priority on the Mic profile, so the Headphone1 profile will kill the headphone2 profile before it launches the Music app.

New profiles: http://dl.dropbox.com/u/17608098/Headphone.rar
[Android Apps and Games] CodeMonkey:
I've been asked to share some profiles..

These are the ones that I currently use:

My profiles:

- Sleep quiet mode with whitelisted caller override (based on the Tasker wiki one)

- Work modes:

-- silent in meetings, lower volumes when not in meetings (requires work calendar on phone)

- Geolocate using Google and network location (returns Location name and UK postcode )

- Weather forecast using Google and postcode

- Delay PIN lock (requires paid plugin, can't be used if device is associated with Exchange account due to Exchange password requirements)

- Permanent toggles in notification bar for bluetooth and wifi

- Repeating missed call notification

- Toggles for wifi and bluetooth

- Read SMS in car.

- Remote Find (returns location by SMS in response to received coded message)

- Remote Lock (activates PIN lock immediately in response to received coded message)

- Remote Alert (sounds alarm on receipt of coded message)

- Update location information hourly when not at home or work

- Update weather information every 6 hours

- Reduce media volume to 50% when headphones are plugged in

- Disable PIN lock when charging.

Is anyone interested in stepthroughs - if so, which one(s).

Whilst I'm here, a couple of tips based on things I've done to simplify my setup..

1. Minimise user variable usage and cleanup after use.

Tasker user variables persist indefinitely (including after reboot). Remember to clean up where possible. A "variable clear" action without a specific variable name will clear down all variables - I use this on a 'Shutdown' triggered task to keep things neat.

I also use 2 common variables throughout: %MODE which drives my profiles based on activities (driving, at work, etc) behaviour and %MYLOC which drives location based profiles (at home, at work, etc).

Setup a 'ShowVariables' task that runs a Variables List action - this will help test your setup / cleanup.

2. Common tasks can simplify your life.

When I rewrote my Tasker setup I found that I was repeatedly setting ringer and notification volumes. I wrote a core task 'SetVolumes' that called further tasks 'SetVolWork', 'SetVolDefault' etc based on %MODE.

This gave me an easier way to maintain volume settings in the future, and a single call to make to change volumes as required.
[Android Apps and Games] ftgg99:
Have you guys tried Toggle Settings | Profiles:

https://market.android.com/details?id=com.cooolmagic.android.togglepro

apparently an alternative...
[Android Apps and Games] Techvir:
tasker is a very different app. It has many fns but need to be configured.
[Android Apps and Games] lampz:
theres no settings

for enable or disable

background settings :|
[Android Apps and Games] autje:
If you can step me through that one, that would be great. Somehow I can't find where to set the update time.

Also: I'm using a 'mute phone' profile like many others. What I'm looking for is if Tasker can detect when a calendar entry has reached its end-time, so I can un-mute automatically. Anyone?
[Android Apps and Games] CodeMonkey:
Will post details of both tonight, as I've just got to the office.

- -

Monkey see, monkey do.
[Android Apps and Games] CodeMonkey:
Assuming your 'Mute Phone' profile operates off a calendar entry, you can simply add an exit task to change the settings.
[Android Apps and Games] autje:
First of all: respect for having figured that all out. But I think I misunderstood what your profile did, or maybe I'm still misunderstanding things. To my knowledge, the phone itself periodically checks its location. Nowhere in Settings could I find where the interval for that is set, and I thought your profile would influence that. But I'm thinking this is still going on in the background, even if you have your profile active, no? Or did you turn that off?

The mute-off works like a charm. I didn't realize the exit task would run at the end of the calendar entry. I should have known, because Calendar Entry is a State, not an Event.

Thanks!
[Android Apps and Games] CodeMonkey:
Lol I thought that was probably the case but I'd already typed it by then so what the hell..

There are settings in Tasker Preferences to control location checks (by Tasker), but as for Android itself I really don't know. If you have Latitude enabled it will poll periodically for location.

I don't attempt to switch off any (GPS) checking using Tasker, and (as you can tell) I use location within Tasker a fair bit.
[Android Apps and Games] aiverson23:
Ive set up a good amount of profiles. But I cant get something right.

I have a profile that shuts 3g off with the screen and then turns it back on when I unlock the phone. But I want to make it so that if WIFI is already on the 3G wont turn back on.

Ive tried a few if statements but no matter what the 3g data goes back on. IDK if that is using more battery since both radios are active or if 3g actually kinda goes to sleep when wifi is active. Any help with the profile or just assurance that 3g is deactivated when wifi is on by Android default would be great
[Android Apps and Games] autje:
I think this may help you, and specifically the built-in parameter %WIFI. In your task that reacts to the unlock, only turn 3g on if %WIFI has value 'off'.
[Android Apps and Games] aiverson23:
Thanx that worked. I wasn't sure if tasker used on/off values or 1/0 to represent it.
[Android Apps and Games] Techvir:
Is there a way to start an event by using the accelerometer.

For eg: shaking the phone will open an application.

There are some apps in the market that use of this like shake2call. I want something that will open a menu of apps.

Thanks.
[Android Apps and Games] remlap:
How do you get Tasker to logout Skype while on Mobile data?
[Android Apps and Games] daoth:
Use the locale plugin and a rooted phone and give command @!killall -q com.skype.raider

The skype process will restart itself, but does not login so you will be offline.
[Android Apps and Games] pastert33:
I would like to set up a profile that turns off mobile data when the screen turns off, and turn it back on when I unlock my device. However, this has got me thinking that my background data wont work with this so maybe there's a way to put an exception in there? Thanks in advance
[Android Apps and Games] JagoX:
How did you get that to work? I've tried setting that up on both my phone (Droid X running Liberty 2.0.1) & my wife's Droid Incredible (running CM7.0.3).

I had it set as:

- Display Off -> Wait 30 minutes -> Mobile Data [OFF] -> Auto Sync [OFF]

- Display On -> Mobile Data [ON] -> Auto Sync [ON]

The problem I've come across is that on occasion the profile will decide to run when the phone is being used (i.e. in the middle of a game, using FB, etc.) which shouldn't be happening.

I'm guessing I might have to add a variable check where the profile 30min. timer doesn't continue to run if the screen is turned on before 30 min. timer is hit.

Anyone have any ideas? I'm basically trying mimic the stock Motorola Battery Manager which actually does a pretty good job at putting to sleep 3G/Auto-Sync when not in use for a particular amount of time.
[Android Apps and Games] RandomPlayer:
I used this sites http://tasker.wikidot.com/sleepmode guide to do a silent mode profile with exceptions but it doesn't work. My problem is that when my phone is in silent mode and I try to call from a number which is exception my phone is still silent while it shouldn't. Any clue whats wrong? I have galaxy s2 with android 4.0.3 (not rooted, samsungs official ics rom). I have permitted device administrators privileges and accessibility from settings to tasker. I did exactly what reads in that guide.
[Android Apps and Games] rellim113:
I had the same issue. To resolve it, I set up a profile like the following:

Context: Phone ringing (exceptions to sleep mode)

Task: If %SLEEPMODE=1

Silent mode off

Ringer volume 7

Media volume 12

Music play (ringtone)

Wait 5 minutes

Silent mode on if %SLEEPMODE=1

End IF

Basically, it plays the ringtone manually instead of waiting on the phone to do it.
[Android Apps and Games] RandomPlayer:
Don't know whats wrong in my profiles. Still doesn't work with your changes.

edit. allright problem was in those contact numbers now it is fixed. But with your method ringtone doesn't end if I reject the call?
[Android Apps and Games] shadowhawk2020:
I am new to Tasker, and I am looking for an idea to a problem. (keep in mind I am a noob). I setup a task to turn on GPS when Navigation or Maps Open, and I initially setup an exit task to turn it off. But I noticed that when I don't have Navigation in the foreground GPS shuts off. My wife flips through music often while we are driving and I don't want the GPS to shut down then.

I could just have an NFC tag to shut off gps and bluetooth, but I was hoping to have a tasker solution in case I am using walking directions. Any thoughts?
[Android Apps and Games] leftAlone:
This is an indirect answer but why turn off GPS in the first place? GPS drains battery only when you're using it.
[Milestone XT720 General] wp55580691:
Froyo for xt720 has released

And the test version before is the same to the full version released today(12.22)

I remember thay Skrilax_CZ said

"On XT701 you can have unsigned kernels. I think you'll be able to port it from xt720 quite easily."

So how can I do this?

please help

Thank you in advance.
[Milestone XT720 General] Hahutzy:
Did I miss something? Froyo for XT720?

EDIT: I see...

xt720 froyo leaked

The XT701 has different processor (Omap 3430 vs Omap 3440), different camera module (5MP vs 8MP), so I'm not too sure it would work.
[Milestone XT720 General] wp55580691:
:(wait for something useful.............
[Milestone XT720 General] leo_sin:
ar....

the camera should be 8MP...but moto just locked and put it down to 5MP... cause i can use the camera360 to unlock my xt701 to have a 8MP camera(3264 X 1840 16:9, 3264 X 2448 4:3)

for the processor part...i don't know is it the same... but i hope someone can make a rom for xt701 as it is a great phone as well...
[Milestone XT720 General] mrJackiLL:
hope so) I need froyo for my xt701 too.
[Milestone XT720 General] SimonMan:
i want to have 2.2 on XT701 too :(

camera of XT701 is the same as XT720

and i know the CPU will not be a problem for OS

so, developers, please make a 2.2 ROM in XT701
[Milestone XT720 General] texascowboy:
I am really hoping to get some Froyo on other models also. My XT711 is hungry for something better!
[Milestone XT720 General] payne:
hey guys

I'm interested in having froyo for the xt701 as it's a good phone, is there somebody out there who could explain how we could port it or maybe give us some tips?

I would be really grateful if there's any help.

thanks
[Milestone XT720 General] vict1:
Anybody could tell me that how to port android 2.2 in XT701.:p
[Milestone XT720 General] andoyanna:
If someone find a way on how to make our xt701 runs on froyo please post it on this thread!

Thank you!

I hope somebody can give us a basic instruction on how to!
[Milestone XT720 General] kino1122:
i too would very much like to know the answer to this. thanks a lot! :D
[Milestone XT720 General] mrJackiLL:
Need FroYo for XT701. Have you any information?
[Milestone XT720 General] Vistaus:
You could port the Milestone 1 Froyo. Dunno exactly what's different on the XT701, but that's the only thing you can do right now.
[Milestone XT720 General] mrJackiLL:
its very difficult for me. The bad thing is that forum.xda-Developers has no theme about XT701 :(
[Milestone XT720 General] Vistaus:
'Cause the XT701 is only sold in a few countries, while the XT720 is sold all over the world.

What you at least can try is to download the Motorola App, then select your model as the Milestone 1 and let it install the upgrade (or download the SBF by hand and flash it with RSD Lite). Big chance it'll work since there is little difference between the MS 1 and the XT701 (AFAIK). If it doesn't work, report back and I'll see if I can assist you (although I have no experience with ROM cooking, but I can at least try to help you).
[Milestone XT720 General] mrJackiLL:
what is Motorola App?

And I can't flash anything without backup. I didn't see any FAQ how to create it for xt701.
[Milestone XT720 General] Vistaus:
http://modmymobile.com/forums/563-m.../531599-open-recovery-v1-46-11-21-2010-a.html

There are instructions there for the XT701. After install, you can create a Nandroid-backup. Then you can download Software Update here: http://direct.motorola.com/ENG/Soft...torola.com/download/RN_Milestone_FROYO_EN.pdf (yes, pdf url but it takes you to the download page)

Then you can use that to try and get the update. Please report back after these 2 things :)
[Milestone XT720 General] mrJackiLL:
Vistaus, I've done this:

Download & Installation (XT701):

1) Download the archive Open Recovery Version 1.46 for XT701

2) Either flash the sbf file using RSD Lite (preffered, recommended version 4.6+), or flash using the flash_image the *.img file to recovery partition.

3) Unpack the "OpenRecovery" folder and "OpenRecovery.zip" to the root folder of the sdcard.

Usage (XT701):

1) Reboot into recovery (hold camera button)

2) If no error occurs, you're now in Open Recovery. If error occurs you're in Open Recovery Lite.

Lite vs. Full version (XT701 ONLY):

- The recovery image contains Lite version, with minimal options (moreless only difference from stock recovery is the GUI and applying update.zip doesn't need any signatures.)

- When booting into recovery, the Lite version is started. It will automatically switch to full version by applying the OpenRecovery.zip).

BUT Lite version of Open Recovery didn't turn into a full version((( OpenRecovery.zip didn't apply.
[Milestone XT720 General] Vistaus:
Hmm, does it give any errors? Please post them here then :)

(the erros are the only thing that would be helpful 'cause I have no XT701)
[Milestone XT720 General] mrJackiLL:
yellow letters: E: Can't open /cache/recovery/command
[Captivate General] tjsooley:
http://xdaforums.com/showthread.php?t=883568
[Captivate General] tjsooley:
here is the modem file.

I am testing the modem now with reoriented 2.2.3 bln and jpx
[Captivate General] tjsooley:
this modem will brake the gps unless you delete gps data brfore you turn it on.

results from the i9000 forum are positive for the gps
[Captivate General] mikewong27:
Does this modem work with bluetooth voice calling?
[Captivate General] tjsooley:
dont know I dont use that. But i think that voice calling is kernel related not modem
[Android Software/Hacking General [Developers Only]] abell@safenet-inc.com:
Hi all,

I have been searching for the source code for VpnServices.apk - trying

to understand just how this VPN application is implemented such that

root permissions are not required.

I think it is part of the core.jar but the only reference I can find

to it in the Android tree is core.mk

Could someone point me in the right direction and/or explain how the

app. gets at all IP packets in order to secure them using IPsec please?

I am very familiar with Linux kernel implementations (net-filter) and IPsec in

general.

Thanks in advance
[Android Software/Hacking General [Developers Only]] mikma:
I also had trouble finding the VpnServices' source code. I eventually found it in:

git://android.git.kernel.org/platform/frameworks/base.git
[Captivate General] nbs11:
Currently we have dozens of ROMs and new ones are coming every day. I believe it would be easier for a single forum for the posting of ROMs and then the android development forum for developing them. This would make it easier for find ROMs etc.

I you agree please vote.
[Captivate General] cappysw10:
not needed imho
[Captivate General] norcal einstein:
I'll second the "not needed" as well.
[Captivate General] polarbee:
The Android Development forum is not really that hard to navigate.
[Captivate General] zelendel:
This has been brought up over and over again. Trust me you would find it a whole lot harder to go to one thread to get the rom and after you find an issue with it have to go to another thread to post about said issue just to find it is already known. When you can get the rom and read up on any issues in the same thread.

I am gonna close this up now.