-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Got the GUI working, and overwrote Log with an inner class in SAFServ…
…ice. This lets a broadcast constantly ping the GUI
- Loading branch information
1 parent
8533bec
commit c139968
Showing
9 changed files
with
152 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
CoreModule/src/main/java/com/example/sapphireassistantframework/CoreModuleInstallService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.wear.widget.BoxInsetLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
xmlns:tools="http://schemas.android.com/tools" | ||
android:id="@+id/box_insert_layout" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:background="@color/white" | ||
android:padding="@dimen/box_inset_layout_padding" | ||
tools:context=".CoreSimpleActivity" | ||
tools:deviceIds="wear"> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:orientation="vertical"> | ||
|
||
<Space | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="8" | ||
android:background="#000000" | ||
android:visibility="visible" /> | ||
|
||
<androidx.constraintlayout.widget.Barrier | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" | ||
android:foregroundTint="#000000" | ||
android:visibility="visible" | ||
app:barrierDirection="top" /> | ||
|
||
<ScrollView | ||
android:id="@+id/scrollView3" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" | ||
android:isScrollContainer="true" | ||
android:scrollbars="horizontal|vertical"> | ||
|
||
<TextView | ||
android:id="@+id/textView" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:ellipsize="end" | ||
android:hyphenationFrequency="none" | ||
android:isScrollContainer="true" | ||
android:lineSpacingExtra="4sp" | ||
android:scrollbarAlwaysDrawHorizontalTrack="true" | ||
android:scrollbars="horizontal|vertical" | ||
android:singleLine="false" | ||
android:text="Demo text \nTesting" | ||
android:textColor="@color/black" | ||
android:visibility="visible" | ||
tools:visibility="visible" /> | ||
</ScrollView> | ||
|
||
<androidx.constraintlayout.widget.Barrier | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_weight="1" | ||
android:visibility="visible" | ||
app:barrierDirection="top" /> | ||
|
||
<LinearLayout | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="0" | ||
android:orientation="horizontal"> | ||
|
||
<Space | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
|
||
<Button | ||
android:id="@+id/record" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="startCoreService" | ||
android:text="Start Assistant" /> | ||
|
||
<Space | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
|
||
<Button | ||
android:id="@+id/button3" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:onClick="reset" | ||
android:text="Stop and Reset" /> | ||
|
||
<Space | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_weight="1" /> | ||
</LinearLayout> | ||
|
||
</LinearLayout> | ||
|
||
</androidx.wear.widget.BoxInsetLayout> |
1 change: 0 additions & 1 deletion
1
TermuxModule/src/main/java/com/example/termuxmodule/TermuxModuleInstallService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
VoskSTTModule/src/main/java/com/example/vosksttmodule/VoskModuleInstallService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters