Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Add note on not using ruffy UI when using AndroidAPS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jotomo committed May 2, 2018
1 parent 968505f commit 9fbc4b1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
16 changes: 10 additions & 6 deletions app/build.gradle
Expand Up @@ -31,8 +31,8 @@ def generateVersionName = { ->
} }


android { android {
compileSdkVersion 27 compileSdkVersion 25

buildToolsVersion '26.0.2'
defaultConfig { defaultConfig {
applicationId "org.monkey.d.ruffy.ruffy" applicationId "org.monkey.d.ruffy.ruffy"
minSdkVersion 19 minSdkVersion 19
Expand All @@ -50,8 +50,12 @@ android {
} }


dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) compile fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:27.1.0' androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
implementation 'com.android.support:design:27.1.0' exclude group: 'com.android.support', module: 'support-annotations'
implementation 'org.apache.commons:commons-lang3:3.7' })
compile 'com.android.support:appcompat-v7:25.+'
compile 'com.android.support:design:25.+'
compile 'org.apache.commons:commons-lang3:3.7'
testCompile 'junit:junit:4.12'
} }
8 changes: 7 additions & 1 deletion app/src/main/res/layout/fragment_main.xml
Expand Up @@ -7,10 +7,16 @@
android:paddingBottom="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="org.monkey.d.ruffy.ruffy.SetupFragment" tools:context="org.monkey.d.ruffy.ruffy.SetupFragment"
android:orientation="vertical"> android:orientation="vertical">


<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Note that when using AndroidAPS, you can not access the Combo using ruffy. AndroidAPS will start ruffy in the background as needed and needs exclusive access. Please restart your phone before using the Combo with AndroidAPS."
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"/>

<TextView <TextView
android:id="@+id/main_log" android:id="@+id/main_log"
style="@style/Base.TextAppearance.AppCompat.Medium.Inverse" style="@style/Base.TextAppearance.AppCompat.Medium.Inverse"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -6,7 +6,7 @@ buildscript {
google() google()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.1.2' classpath 'com.android.tools.build:gradle:3.0.1'


// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
Expand Down

0 comments on commit 9fbc4b1

Please sign in to comment.