Skip to content

Commit

Permalink
finished recording tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadkarbalaee committed Jun 2, 2022
1 parent 8c43113 commit 079fbdf
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import androidx.appcompat.app.AppCompatActivity;

import android.annotation.SuppressLint;
import android.content.ContentValues;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public SendServerTask(ArrayList<String> messages) {
@Override
protected Void doInBackground(Void... voids) {
try {
Socket socket = new Socket("172.20.172.215", 5000);
Socket socket = new Socket("172.20.97.180", 5000);
DataOutputStream dataOutputStream = new DataOutputStream(socket.getOutputStream());
dataOutputStream.writeUTF(messages.size() + "");
for (String message : messages) {
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:background="#E4FFE4"
android:background="#FFFFFF"
android:layout_height="match_parent"
tools:context=".MainActivity">

Expand Down

0 comments on commit 079fbdf

Please sign in to comment.