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

Search This thread

Flow-Chi

Member
Apr 29, 2013
37
67
Salzburg, AT
schro.fi
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.

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

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

Connectivity:
- GPS
- Mobile Data
- WiFi
- Bluetooth

Display:
- 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.

TRIGGERS
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: https://bitbucket.org/fschrofner/swip/issues

Also feel free to send us pull requests, we'd love to get other developers involved.
Check out the source: https://bitbucket.org/fschrofner/swip/

Changelog

If you'd like to help us out, you could participate in the translations here: https://crowdin.net/project/swip

If you like the project, show some <3 and rate it
Direct Downloads
Google Play
 

Attachments

  • Screenshot_2014-01-14-22-15-02.png
    Screenshot_2014-01-14-22-15-02.png
    103.2 KB · Views: 6,320
  • Screenshot_2014-01-20-22-21-48.png
    Screenshot_2014-01-20-22-21-48.png
    83.3 KB · Views: 5,625
  • Screenshot_2014-02-03-15-27-43.png
    Screenshot_2014-02-03-15-27-43.png
    134.3 KB · Views: 5,774
  • Screenshot_2014-01-20-22-23-38.png
    Screenshot_2014-01-20-22-23-38.png
    146.2 KB · Views: 5,184
  • Screenshot_2014-01-14-22-15-55.png
    Screenshot_2014-01-14-22-15-55.png
    156.5 KB · Views: 4,937
  • Screenshot_2014-02-03-15-04-30.png
    Screenshot_2014-02-03-15-04-30.png
    105.7 KB · Views: 4,748
  • Screenshot_2014-02-03-21-01-38.png
    Screenshot_2014-02-03-21-01-38.png
    66.5 KB · Views: 4,464
  • Screenshot_2014-02-03-21-01-58.png
    Screenshot_2014-02-03-21-01-58.png
    109 KB · Views: 4,262
  • SwiP_v0.2.2.apk
    985.8 KB · Views: 509
  • SwiP_v0.2.3.apk
    1 MB · Views: 98
  • SwiP_v0.2.4.apk
    1 MB · Views: 111
  • SwiP_v0.2.5.apk
    1.1 MB · Views: 93
  • SwiP_v0.2.6.apk
    1.1 MB · Views: 357
  • SwiP_v0.2.7.apk
    1.2 MB · Views: 1,197
Last edited:
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!
 
  • Like
Reactions: pelago

Flow-Chi

Member
Apr 29, 2013
37
67
Salzburg, AT
schro.fi
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! :)
 
Last edited:
  • Like
Reactions: duttyend

Aerkhanite

Member
Jan 25, 2014
30
8
Since you've open-sourced the app, why don't you upload it to f-droid.org?

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.
 
  • Like
Reactions: pelago

AllSeeyinEye

Senior Member
Dec 16, 2011
1,388
646
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)
 
  • Like
Reactions: pelago

ermacwins

Senior Member
Aug 25, 2009
5,911
1,025
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
 

prysme

Member
Sep 19, 2008
25
0
Hello,

I'm glad to see an open-source application to do some automation. I'm also especially happy to see that this application is not requiring any google dependancies vs Tasker/LLama.

It has succesfully been installed on an AOSP without any Gapps.

It would be great if you application was submitted on FDroid and would gain visibility toward open source user.

Thank you for your work.

Prysme.
 

gusano38

Member
Nov 21, 2013
40
42
Grenoble
So Nice!

Thanks for this app... it is indeed very useful.

Just one thing, could it be possible to have the screen lock set to none instead of it set to slide?
 

ctbear

Senior Member
Oct 15, 2009
1,287
325
Seattle
Thanks for the app, will try it for a few days replacing Trigger.
One thing I noticed while playing with it for a few minutes: I added a trigger and set a marker in the location option, but the preference summary still says "ignored" under location. The app seems to be working fine based on that location though.
Also I think it would be nice if we can have a negation trigger, like "when not at this location".
Thanks!
 

HippoMan

Senior Member
May 5, 2009
1,899
724
Hippoland
You're trying to say you're a native speaker. Don't translate everything literally. Mother tongue (moedertaal) is definitely not what you meant ;)
"Mother tongue" is a valid English expression. In English, saying that a language is a person's "mother tongue" is a perfectly correct way to express that the person is a native speaker of that language.
.​
 
Last edited:
  • Like
Reactions: redoregon

Top Liked Posts

  • There are no posts matching your filters.
  • 56
    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.

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

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

    Connectivity:
    - GPS
    - Mobile Data
    - WiFi
    - Bluetooth

    Display:
    - 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.

    TRIGGERS
    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: https://bitbucket.org/fschrofner/swip/issues

    Also feel free to send us pull requests, we'd love to get other developers involved.
    Check out the source: https://bitbucket.org/fschrofner/swip/

    Changelog

    If you'd like to help us out, you could participate in the translations here: https://crowdin.net/project/swip

    If you like the project, show some <3 and rate it
    Direct Downloads
    Google Play
    2
    Sometimes I cannot set some values - ex for battery: if I want to open the dialogue for the checkboxes, it only flashes and the window do not open.

    Feature request: Dark UI, please add a black / dark theme ;)

    Updated German translation to be more consequent in the wording.

    I've never heard of the bug with the checkboxes, it's rather hard to fix for us as we can't really reproduce it..
    The screenshot isn't really a bug, it's just the way my colleague decided to implement the profile selection, he stated that it's pretty common on the web and I just let him do his thing :p

    Dark UI sounds really cool, we'll put it on our to-do list

    Thanks for the German translations, a lot of them were horrible that's even sadder if you take into consideration that it is my native language :silly:

    We've released a new update today fixing issues with the systemapp function and containing new translations (Chinese and Russian).
    It also includes User_99's improvements for the German translation.

    Cheers! :cowboy:
    2
    I am no UX designer, but something like a checkbox at the top of the trigger setup would be enough for me. I'm sure others have better designs.

    I'm sure we can come up with something that satisfies most users.
    The checkbox certainly is a possibility, but we don't want the geofence selection to become overloaded (another user already stated that an address-bar would be nice and we agree on that).
    So we'll see where this option will be hidden :D

    FWIW, Tasker does this, so it's possible. I use it to toggle screen rotation, display timeout, and others. A profile can handle multiple apps.

    Or am I way off base in the way I'm interpreting what you said?

    No you got it right.. didn't know that was possible!
    It certainly would be an interesting feature, but it's not on our to-do list at the moment.

    Actually there's a group of volunteer translators here on xda (i'm one of them:D),

    Check out this thread, set up your project on Crowdin or Getlocalization then we can help you out:victory:

    http://forum.xda-developers.com/showthread.php?t=2069390

    Wow! That's awesome! :)
    I'm going to set up a crowdin project in the next few days and post a link to it in the thread (and also here).

    BTW: Is it normal for the google play developer console to mess with my feelings? :confused:
    Yesterday the download count seen in the application overview was pretty amazing,
    but today it's back to what it was a few days ago..
    If I decide to check the advanced statistics it's still the higher count :silly:
    1
    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!
    1
    Triggers bugs

    Hi there. Thanks for good app. But i have some issues. First day of using app was good. But now i have problem with location trigger for profile Home (priority 90).
    This trigger no have time starts-ends and day of week. Only location trigger whith 150 m radius. I works good when i go from office to home. In this case it change in correct way when i am close to my home. But in the morning, when i drive car to office it not swich off when i am far from home. It changes only when i arrive to office (profile Work with location, time and day trigger). To explaine much easier here is my profiles:
    1) Home. Trigger only with location condition (150m). Priority 90
    2) Default. Trigger without any condition. Priority 80.
    3) Work. Trigger with day of week, start-end time and location (150m) contitions. Priority 90.

    Work change to Default only on time ends condition. When i walk for lunch (about 1 km) it not changes to default. :(
    Default change to Home when i arrive to home. :good:
    Home not change to default when i go to work (phone use gps at this moment with navigation app). :(

    Maybe i understand incorrect this triggers? But i think it should change automaticaly when i am out of this 150 m radius. I change profile to Default manually, but in few seconds it back to Home automaticaly, even if i am 3-5 km from home :crying: