Skip to content

Commit 45079fc

Browse files
author
David Gräff
committed
Add scene icon asset, scene icons, redesign add-scene
* Add segmentedRadioGroup widget * Abandon CreateSceneOutletsAdapter, Use OutletsBaseAdapter and OutletsCreateSceneAdapter instead. * Add OutletsSceneEditFragment -> Use two of them for the new add-scene activity
1 parent bd65192 commit 45079fc

File tree

110 files changed

+1357
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+1357
-440
lines changed

README.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ For bugs and feature requests please use [Github Issues](https://github.com/davi
99
## Features
1010
* Devices are detected automatically on the network.
1111
* Username/password and individual ports can be configured for every device.
12-
* Create a homescreen widget for a particular outlet with life visualisation of the current state.
12+
* Create a homescreen widget for a particular outlet and always see the current state of that outlet.
1313
* Use your own icons for on/off/unreachable widget states.
14-
* Dark and light app theme.
1514
* Overview of all outlets for all configured devices. Reorder and hide outlets.
16-
* Tablets supported.
17-
* Create switch-groups (scenes) to switch multiple outlets at once.
18-
* Use Shortcuts for toggling, switching on/off individual outlets.
15+
* Create switch-groups (scenes) to switch multiple outlets at once. Use own icons for scenes.
16+
* Create homescreen shortcuts for scenes.
17+
* Dark and light app theme.
18+
* Tablet layout included to use your screen real estate efficiently.
19+
* Outlets and IO ports of Anel devices are supported.
20+
* Supports plugins to use functionality of other (related) apps.
1921

2022
<table><tr valign="top"><td>
2123
<img width="200px" src="doc/devices.png" />
@@ -29,13 +31,19 @@ Default send port 1077 / receive port 1075 (can be configured). Please be aware
2931
that you cannot use port numbers < 1024 because of android restrictions!
3032

3133
### Support for automation apps like Tasker/Llama
32-
Most of the automation apps support creating shortcuts for invoking other applications.
33-
You may create shortcuts for single outlets to toggle the state or switch it on/off.
34-
This way you can for instance switch on lights if your mobile gets in range of your wifi network.
34+
Most of the automation apps support shortcuts of other applications.
35+
Because a shortcut of this app refers to a scene, you may easily switch multiple
36+
outlets as an action within the automation app.
37+
38+
Cool examples:
39+
* This way you can for instance switch on lights if your mobile gets in range of your wifi network.
40+
* You may turn on your amplifier or radio and some lights in the morning.
3541

3642
### Building
37-
To compile, you need the [Android SDK](http://developer.android.com/sdk) and [Android Studio](http://developer.android.com/sdk/installing/studio.html). This project is not for
38-
the eclipse based SDK!
43+
To compile, you need the [Android SDK](http://developer.android.com/sdk)
44+
and [Android Studio](http://developer.android.com/sdk/installing/studio.html).
45+
This project is not for the (old) eclipse based SDK! It depends on the
46+
support libraries (v13) and need at least android 4.0 (sdk version 14, released 19. Oct 2011).
3947

4048
### Authors
4149
* david.graeff(at)web_de

app/app.iml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
</content>
7171
<orderEntry type="jdk" jdkName="Android API 19 Platform" jdkType="Android SDK" />
7272
<orderEntry type="sourceFolder" forTests="false" />
73+
<orderEntry type="library" exported="" name="support-v13-19.0.1" level="project" />
7374
<orderEntry type="library" exported="" name="support-v4-19.0.1" level="project" />
7475
<orderEntry type="library" exported="" name="acra-4.5.0" level="project" />
7576
</component>

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ android {
1919
}
2020

2121
dependencies {
22-
compile 'com.android.support:support-v4:19.0.+'
2322
compile 'ch.acra:acra:4.5.0@jar'
23+
compile 'com.android.support:support-v13:+'
2424
}

app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,11 @@
7676
android:label="@string/app_name_shortcut"
7777
android:description="@string/app_name_shortcut_desc"
7878
android:theme="@style/Theme.StartTheme"
79-
android:configChanges="orientation|screenSize|keyboardHidden|layoutDirection">
79+
android:configChanges="orientation|screenSize|keyboardHidden|layoutDirection"
80+
android:uiOptions="splitActionBarWhenNarrow">
81+
<meta-data
82+
android:name="android.support.UI_OPTIONS"
83+
android:value="splitActionBarWhenNarrow" />
8084
<intent-filter>
8185
<action android:name="android.intent.action.CREATE_SHORTCUT" />
8286
<category android:name="android.intent.category.DEFAULT" />
11.7 KB
Loading
10.4 KB
Loading
Loading
11.2 KB
Loading
11.5 KB
Loading
Loading

0 commit comments

Comments
 (0)