This commit is contained in:
Snek 2017-03-11 12:50:08 +03:00
commit 837bd4e66a
24 changed files with 26 additions and 7 deletions

View File

@ -6,8 +6,13 @@ Hit me up on the Steins;Gate Discord.
To start speech recognition simply touch her once. If you long-click her, she will go on a loop and say random sentences in random intervals. Long-Click again to stop.
<a href="https://github.com/Yink/Amadeus/blob/master/Screenshots/Callscreeen.png?raw=true">Screenshot 1</a>
<a href="https://github.com/Yink/Amadeus/blob/master/Screenshots/Kurisuscreen.png?raw=true">Screenshot 2</a>
#Screenshots
<ul>
<li><a href="https://github.com/Yink/Amadeus/blob/master/Screenshots/Callscreen.png?raw=true">Launch View</a></li>
<li><a href="https://github.com/Yink/Amadeus/blob/master/Screenshots/Kurisuscreen.png?raw=true">Main View</a></li>
<li><a href="https://github.com/Yink/Amadeus/blob/master/Screenshots/Settingscreen.png?raw=true">Preference Menu</a></li>
<li><a href="https://github.com/Yink/Amadeus/blob/master/Screenshots/Subscreen.png?raw=true">Main View with English subtitles</a></li>
</ul>
#Recognized commands
Keep in mind that the voice recognition is Japanese in order to register the Japanese names. Thus you may have to alter your pronouncation a bit.
@ -20,6 +25,7 @@ Keep in mind that the voice recognition is Japanese in order to register the Jap
<li>Time machine, SERN, Time travel</li>
<li>Memory, Amadeus, Science</li>
<li>Nice body, Hot, Sexy, Boobies</li>
<li>Robitics;Notes, antimatter</li>
</ul>
#Credits

Binary file not shown.

Before

Width:  |  Height:  |  Size: 627 KiB

BIN
Screenshots/Callscreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 KiB

BIN
Screenshots/Subscreen.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

View File

@ -50,8 +50,8 @@ public class MainActivity extends AppCompatActivity {
SharedPreferences sharedPreferences;
String lang, recogLang;
MediaPlayer m;
private SpeechRecognizer sr;
String[] contextLang;
private SpeechRecognizer sr;
@Override
protected void onCreate(Bundle savedInstanceState) {
@ -148,6 +148,10 @@ public class MainActivity extends AppCompatActivity {
@Override
protected void onPause() {
isLoop = false;
if (animation != null && animation.isRunning())
animation.stop();
kurisu.setImageResource(R.drawable.kurisu2a);
animation = null;
super.onPause();
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 501 KiB

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 527 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 628 KiB

View File

@ -20,8 +20,8 @@
android:id="@+id/imageView_kurisu"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:src="@drawable/kurisu9a"
android:scaleType="centerCrop" />
android:scaleType="centerCrop"
android:src="@drawable/kurisu9a" />
<ImageView
android:id="@+id/imageView_logo_small"
@ -44,7 +44,16 @@
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@drawable/subtitle_frame" />
android:scaleType="centerCrop"
android:src="@drawable/subtitle_frame_big" />
<!--<ImageView
android:id="@+id/imageView_subtitles"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
android:src="@drawable/subtitle_frame" />-->
<TextView
android:id="@+id/textView_subtitles"

View File

@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files