Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,702 Members 54,295 Now Online
XDA Developers Android and Mobile Development Forum

[APP][4.0+] SwiP - Switch profiles intelligently 0.2.6 [Beta]

Tip us?
(Last edited by Flow-Chi; 11th March 2014 at 05:48 PM.) Reason: update 0.2.6
Member - OP
Thanks Meter 60
Posts: 33
Join Date: Apr 2013
Location: Salzburg, AT
Default [APP][4.0+] SwiP - Switch profiles intelligently 0.2.6 [Beta]

Hello there guys!

After some hard work we've finally reached a state where we'd really appreciate some reviews, publicity and feedback for our project.
Most of all some feedback would be nice as we don't actually have a wide range of devices to test on.

Basically what we wanted to do is to implement an open source alternative to Llama, Trigger and all the other profile/automation apps.
Of course we aren't nearly as advanced as they are at the moment.. but let's see where we are going to get with the help of you guys.

Here's the full description of what's possible right now:
SwiP - Switch profiles intelligently

SwiP is an intelligent profile app for Android.
It's meant to be an open source alternative to well-known apps like LLama and Trigger (though in a much smaller scale at the moment), which still offers some unique features.

SwiP allows you to create, manage and apply profiles which can contain the following settings:

- Ringer Mode
- Ringtone- & Notification Volume
- Media Volume
- Alarm Volume

- Mobile Data
- WiFi
- Bluetooth

- Automatic Brightness
- Brightness
- Display Time Out

There are also some features which are unfortunately only available for rooted phones like NFC, Airplane Mode and Lockscreen.

Furthermore the app offers trigger-management. A trigger basically defines a rule for the automatic application of selected profiles.
The user is able to create said triggers and to use them for his daily workflow.

A trigger can contain the following rules:
- Location (Geofence)
- Time (Exact time or time range)
- Battery State
- Battery Level (Exact level or level range)
- Headphone State

These rules can be freely combined (e.g. at a certain location AND a certain time).
So if you've got an Android 4.X device and want to give it a try, please go ahead!

There are already some known issues we are working on, like:
- GPS only working on AOSP roms or when installed as system app (still searching for a way to find out which rom is running)
- Lockscreen only working on some devices, on other devices it simply accepts every PIN/Pattern (here some feedback would be really nice!)
- Priority not implemented the best way possible.. just didn't find the time yet to implement a drag&drop list
- User interface is not as intuitive as we'd liked it to be. There will be a tutorial some time..

If you find any bugs, please don't hesitate to report them here:

Also feel free to send us pull requests, we'd love to get other developers involved.
Check out the source:


If you'd like to help us out, you could participate in the translations here:

If you like the project, show some <3 and rate it
Direct Downloads
Google Play
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-01-14-22-15-02.png
Views:	4329
Size:	103.2 KB
ID:	2560838   Click image for larger version

Name:	Screenshot_2014-01-20-22-21-48.png
Views:	3632
Size:	83.3 KB
ID:	2560839   Click image for larger version

Name:	Screenshot_2014-02-03-15-27-43.png
Views:	3785
Size:	134.3 KB
ID:	2560840   Click image for larger version

Name:	Screenshot_2014-01-20-22-23-38.png
Views:	3323
Size:	146.2 KB
ID:	2560841   Click image for larger version

Name:	Screenshot_2014-01-14-22-15-55.png
Views:	3126
Size:	156.5 KB
ID:	2560842  

Click image for larger version

Name:	Screenshot_2014-02-03-15-04-30.png
Views:	3027
Size:	105.7 KB
ID:	2560843   Click image for larger version

Name:	Screenshot_2014-02-03-21-01-38.png
Views:	2836
Size:	66.5 KB
ID:	2560844   Click image for larger version

Name:	Screenshot_2014-02-03-21-01-58.png
Views:	2699
Size:	109.0 KB
ID:	2560845  
Attached Files
File Type: apk SwiP_v0.2.2.apk - [Click for QR Code] (985.8 KB, 320 views)
File Type: apk SwiP_v0.2.3.apk - [Click for QR Code] (1.01 MB, 12 views)
File Type: apk SwiP_v0.2.4.apk - [Click for QR Code] (1.04 MB, 35 views)
File Type: apk SwiP_v0.2.5.apk - [Click for QR Code] (1.12 MB, 12 views)
File Type: apk SwiP_v0.2.6.apk - [Click for QR Code] (1.12 MB, 259 views)
The Following 52 Users Say Thank You to Flow-Chi For This Useful Post: [ Click to Expand ]
Thanks Meter 11
Posts: 94
Join Date: Jul 2013
great work dude
Senior Member
Thanks Meter 26
Posts: 139
Join Date: May 2011
Location: Melbourne, AUS
This looks great, really looking forward to seeing where you can take this! Been wanting to see some decent competition for llama (despite how much I love it).

The only thing stopping me from testing this as a daily driver is the fact that it doesn't do location by cell tower. I typically keep my GPS off, and llama profiles are changed based on cell location.

Love the interface though, good luck with it!
The Following User Says Thank You to Finner42 For This Useful Post: [ Click to Expand ]
(Last edited by Flow-Chi; 7th February 2014 at 01:42 PM.)
Member - OP
Thanks Meter 60
Posts: 33
Join Date: Apr 2013
Location: Salzburg, AT
Thanks for the feedback!

At the moment we are using the Google Location API for geofencing, which should automatically use the most accurate method available (but still conserve power).
The order should be like this: GPS, WiFi, Cell (while GPS only gets activated if a more exact location is really required)
KitKat should work especially well with this method as it always uses WiFi to gain a more exact location (even when it's disabled).

Basically it should do just fine without GPS or WiFi, if the radius of the geofence is big enough (i've set it to 2000m and it seems to work).
Is that size acceptable for you? You could try to start up the application when you are at the desired location (GPS and WiFi disabled) and set the geofence to something slightly bigger than your expected location (should be marked as a blue circle on the map. it needs to be completely in your geofence!)

If some more people prefer the self-implemented cell tower method, we are surely going to look into it!

Keep the feedback coming!
Aerkhanite's Avatar
Thanks Meter 8
Posts: 30
Join Date: Jan 2014
Since you've open-sourced the app, why don't you upload it to

It's an alternative app store for FOSS apps only. I use it exclusively as an alternative to Google Play as I don't use a ROM with Gapps.
The Following User Says Thank You to Aerkhanite For This Useful Post: [ Click to Expand ]
AllSeeyinEye's Avatar
Senior Member
Thanks Meter 538
Posts: 1,226
Join Date: Dec 2011
Great work so far!

Got some suggestions:

- Use bluetooth connections as trigger
- Start apps in certain profiles (i.e. maps when connected to car bluetooth)
- Unlink call- and notification volume (I want to be able to hear calls at night (emergencies), but messages I do not need to hear)
Place your ad here?! For hire?!
The Following User Says Thank You to AllSeeyinEye For This Useful Post: [ Click to Expand ]
Thanks Meter 7
Posts: 39
Join Date: Mar 2013
Location: Komotini
NFC support! Cool! I'm going to try this now and report my findings.

Sent from my GT-I9195 using Tapatalk
S4 Mini ι9195 ..::.. Carbon ROM ..::..
User_99's Avatar
Senior Member
Thanks Meter 929
Posts: 2,240
Join Date: Jul 2009
How about other languages? Any plans for that?
Device: Sony Ericsson xPeria Arc S -- Rom: CM10Hasty@10-11-2013 -- Base: CM 10 - Linaro/O3/BIONIC Optimization - GCC 4.9 -- Radio: 77 -- Kernel:
Device: Samsung Galaxy Note GT-7000 -- Rom: Paranoid 2.56@20-12-2012 -- Base: CM 10-PA -- Radio: BOLT1 -- Kernel: Stock-PA
Device: Samsung Galaxy Note 8 GT-N5100 -- Rom: Stock 4.1.2 -- Base: Stock -- Radio: Stock -- Kernel: Stock
Omya's Avatar
Senior Member
Thanks Meter 20
Posts: 112
Join Date: Jul 2011
Location: Pune
great work
Nexus 5 - Official 4.4.4 Rooted
Mi3 - Official 4.4.2 Rooted
Motorola Defy - SlimKat

Sony Ericsson W19i
Nokia E63
Nokia N72
Motorola L7
Motorola L6
ermacwins's Avatar
Senior Member
Thanks Meter 677
Posts: 3,795
Join Date: Aug 2009

Would it be possible to do this in 4.4 roms, open google apps and it automaticcalt triggers location toggle? Only problem is dialogue box popping asking for confirmation
LG Nexus 4: AOSPAL 4.0 [BETA6] 20140222
Samsung Galaxy SII: AOSP NeatROM v2.8
LG G PAD 8.3: Paranoid Android 4.1 Beta 2
iPad 2

automation, nfc, open source, profile, trigger
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes