From a82611dde422e34be9d279466ec65b6d6ac220a2 Mon Sep 17 00:00:00 2001 From: sairajzero Date: Thu, 16 Feb 2023 01:24:36 +0530 Subject: [PATCH] Adding comments --- .../java/com/ranchimall/androidhttparch/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/ranchimall/androidhttparch/MainActivity.java b/app/src/main/java/com/ranchimall/androidhttparch/MainActivity.java index 9171b02..c48ea82 100644 --- a/app/src/main/java/com/ranchimall/androidhttparch/MainActivity.java +++ b/app/src/main/java/com/ranchimall/androidhttparch/MainActivity.java @@ -13,8 +13,8 @@ import java.io.IOException; public class MainActivity extends AppCompatActivity { private ServerHttp server; private CustomTabsIntent customTabsIntent; - private static final int PORT = 7654; //PORT for the local http server - private static final String localUrl = "http://localhost:"+PORT+"/home.html"; + private static final int PORT = 7654; //PORT for the local http server (**Change it so that it wont conflict with other apps**) + private static final String localUrl = "http://localhost:"+PORT+"/home.html"; //Note: if your project has index.html or any other homepage path, edit home.html to respective path/filename private static final String externalUrl = "https://www.ranchimall.net/"; private static final String TAG = "Application";