Moved files to appropriate directory.
This commit is contained in:
38
.idea/workspace.xml
generated
38
.idea/workspace.xml
generated
@@ -14,11 +14,15 @@
|
|||||||
</configurations>
|
</configurations>
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="00599d5b-7eb5-44da-ad7f-98bf42384c16" name="Changes" comment="Changes">
|
<list default="true" id="00599d5b-7eb5-44da-ad7f-98bf42384c16" name="Changes" comment="Added audio recorder files and speech callbacks">
|
||||||
<change afterPath="$PROJECT_DIR$/src/app/src/main/com/fitbot/chat/ISpeechCallback.java" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/src/app/src/main/com/fitbot/chat/SpeechGenerator.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/app/src/main/com/fitbot/audio/AudioRecorder.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/app/src/main/com/fitbot/audio/AudioRecorder.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/fitbot/MainActivity.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/fitbot/TextSetter.java" beforeDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/src/main/com/fitbot/MainActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/MainActivity.java" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/src/main/com/fitbot/audio/AudioAnalyser.java" beforeDir="false" afterPath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/audio/AudioAnalyser.java" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/src/main/com/fitbot/audio/AudioRecorder.java" beforeDir="false" afterPath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/audio/AudioRecorder.java" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/src/main/com/fitbot/speech/ISpeechCallback.java" beforeDir="false" afterPath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/speech/ISpeechCallback.java" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/src/app/src/main/com/fitbot/speech/SpeechGenerator.java" beforeDir="false" afterPath="$PROJECT_DIR$/code/src/app/src/main/java/com/fitbot/speech/SpeechGenerator.java" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
@@ -28,11 +32,23 @@
|
|||||||
<component name="ClangdSettings">
|
<component name="ClangdSettings">
|
||||||
<option name="formatViaClangd" value="false" />
|
<option name="formatViaClangd" value="false" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="ExternalProjectsManager">
|
||||||
|
<system id="GRADLE">
|
||||||
|
<state>
|
||||||
|
<projects_view>
|
||||||
|
<tree_state>
|
||||||
|
<expand />
|
||||||
|
<select />
|
||||||
|
</tree_state>
|
||||||
|
</projects_view>
|
||||||
|
</state>
|
||||||
|
</system>
|
||||||
|
</component>
|
||||||
<component name="FileTemplateManagerImpl">
|
<component name="FileTemplateManagerImpl">
|
||||||
<option name="RECENT_TEMPLATES">
|
<option name="RECENT_TEMPLATES">
|
||||||
<list>
|
<list>
|
||||||
<option value="Class" />
|
|
||||||
<option value="Interface" />
|
<option value="Interface" />
|
||||||
|
<option value="Class" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
@@ -87,7 +103,14 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1713528225837</updated>
|
<updated>1713528225837</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="2" />
|
<task id="LOCAL-00002" summary="Added audio recorder files and speech callbacks">
|
||||||
|
<created>1713529491491</created>
|
||||||
|
<option name="number" value="00002" />
|
||||||
|
<option name="presentableId" value="LOCAL-00002" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1713529491491</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="3" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
@@ -107,6 +130,7 @@
|
|||||||
</component>
|
</component>
|
||||||
<component name="VcsManagerConfiguration">
|
<component name="VcsManagerConfiguration">
|
||||||
<MESSAGE value="Changes" />
|
<MESSAGE value="Changes" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="Changes" />
|
<MESSAGE value="Added audio recorder files and speech callbacks" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="Added audio recorder files and speech callbacks" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@@ -3,7 +3,7 @@ package com.fitbot.audio;
|
|||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.media.MediaRecorder;
|
import android.media.MediaRecorder;
|
||||||
|
|
||||||
public class AudioAnalyser extends Activity {
|
public class AudioAnalyser {
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,13 +0,0 @@
|
|||||||
package com.fitbot.fitbot;
|
|
||||||
|
|
||||||
import android.os.Bundle;
|
|
||||||
import androidx.appcompat.app.AppCompatActivity;
|
|
||||||
|
|
||||||
public class MainActivity extends AppCompatActivity {
|
|
||||||
@Override
|
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
|
||||||
super.onCreate(savedInstanceState);
|
|
||||||
setContentView(R.layout.testlayout); // replace with your layout file
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
@@ -1,18 +0,0 @@
|
|||||||
package com.fitbot.fitbot;
|
|
||||||
|
|
||||||
import android.app.Activity;
|
|
||||||
import android.widget.TextView;
|
|
||||||
|
|
||||||
public class TextSetter {
|
|
||||||
public static void setCustomText(Activity activity, int textViewId, String text) {
|
|
||||||
TextView textView = (TextView) activity.findViewById(textViewId);
|
|
||||||
textView.setText(text);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// usage:
|
|
||||||
// TextSetter.setCustomText(this, R.id.testText, "Bruh");
|
|
||||||
// r.id.testText is the id of the textview in the layout file
|
|
||||||
// "Bruh" is the text to be set
|
|
||||||
|
|
||||||
// make sure you have the right layout set in MainActivity.java with the setContentView method
|
|
Reference in New Issue
Block a user