From 745c8fff7a0e7894a3f62d59bcc9fe586fa76a69 Mon Sep 17 00:00:00 2001 From: Page Asgardius Date: Tue, 6 Sep 2022 03:58:42 -0700 Subject: [PATCH] web browser implemented --- .idea/misc.xml | 1 + app/src/main/AndroidManifest.xml | 3 ++ .../page/s3manager/ObjectSelect.java | 18 ++++++++++- .../asgardius/page/s3manager/WebBrowser.java | 30 ++++++++++++++++++ app/src/main/res/drawable/webpage.png | Bin 0 -> 18474 bytes .../main/res/layout/activity_web_browser.xml | 14 ++++++++ app/src/main/res/values/strings.xml | 2 +- 7 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 app/src/main/java/asgardius/page/s3manager/WebBrowser.java create mode 100644 app/src/main/res/drawable/webpage.png create mode 100644 app/src/main/res/layout/activity_web_browser.xml diff --git a/.idea/misc.xml b/.idea/misc.xml index 22346e9..8f6b629 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -9,6 +9,7 @@ + diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index aeb75d8..836c6e2 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -15,6 +15,9 @@ android:supportsRtl="true" android:theme="@style/Theme.AsgardiusS3Manager" tools:targetApi="31"> + diff --git a/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java b/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java index d643671..690ad20 100644 --- a/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java +++ b/app/src/main/java/asgardius/page/s3manager/ObjectSelect.java @@ -126,6 +126,9 @@ public class ObjectSelect extends AppCompatActivity { || Name.get(i).toString().endsWith(".webm") || Name.get(i).toString().endsWith(".m4v")) { Img.add(R.drawable.videofile); } + else if (Name.get(i).toString().endsWith(".htm") || Name.get(i).toString().endsWith(".html")) { + Img.add(R.drawable.webpage); + } else { Img.add(R.drawable.unknownfile); } @@ -181,7 +184,12 @@ public class ObjectSelect extends AppCompatActivity { if (Img.get(position).equals(R.drawable.folder)) { //go to subfolder explorer(Name.get(position).toString()); - } else if (Img.get(position).equals(R.drawable.audiofile) || Img.get(position).equals(R.drawable.videofile)) { + } else if (Img.get(position).equals(R.drawable.webpage)) { + //load media file + GeneratePresignedUrlRequest request = new GeneratePresignedUrlRequest(bucket, prefix + Name.get(position).toString()); + URL objectURL = s3client.generatePresignedUrl(request); + webbrowser(objectURL.toString()); + } else if (Img.get(position).equals(R.drawable.audiofile) || Img.get(position).equals(R.drawable.videofile)) { //load media file GeneratePresignedUrlRequest request = new GeneratePresignedUrlRequest(bucket, prefix + Name.get(position).toString()); URL objectURL = s3client.generatePresignedUrl(request); @@ -206,6 +214,14 @@ public class ObjectSelect extends AppCompatActivity { } + private void webbrowser (String url) { + + Intent intent = new Intent(this, WebBrowser.class); + intent.putExtra("web_url", url); + startActivity(intent); + + } + private void explorer(String object) { Intent intent = new Intent(this, ObjectSelect.class); diff --git a/app/src/main/java/asgardius/page/s3manager/WebBrowser.java b/app/src/main/java/asgardius/page/s3manager/WebBrowser.java new file mode 100644 index 0000000..4fe4339 --- /dev/null +++ b/app/src/main/java/asgardius/page/s3manager/WebBrowser.java @@ -0,0 +1,30 @@ +package asgardius.page.s3manager; + +import androidx.appcompat.app.AppCompatActivity; + +import android.os.Bundle; +import android.webkit.WebView; +import android.webkit.WebViewClient; + +public class WebBrowser extends AppCompatActivity { + + private WebView npw; + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_web_browser); + String webURL = getIntent().getStringExtra("web_url"); + //This initializes webview object + npw =(WebView)findViewById(R.id.webview); + npw.setWebViewClient(new MyBrowser()); + npw.loadUrl(webURL); + } + + private class MyBrowser extends WebViewClient { + @Override + public boolean shouldOverrideUrlLoading(WebView view, String url) { + view.loadUrl(url); + return true; + } + } +} \ No newline at end of file diff --git a/app/src/main/res/drawable/webpage.png b/app/src/main/res/drawable/webpage.png new file mode 100644 index 0000000000000000000000000000000000000000..d3479eff42a9d3f53d40f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AKD}LbIp08iNsQmjm|Nqaa zvu>^O^_~{9#X^S9e8*)MhJvY^fvG*+?&rz>pX~Sj`?`L8=&sZI-P614m))NKC|)I| zQEd9kFUdKYwdWf)Tq@`9@m!Uak+I_ML;nAN_lbtD-(fG*X|n5vAA`osZQH*2^8b5Y z|L5~_yYJ7}Ys7wNkN=vU_WSbN_!MAZoxWpoVv0yWm50KbFB=>}f^u$c$t=D9>ze(Z z&$C3Y@7umg%k1dhWlRo*7JZLptjlu#I@|v}xxfBhas58GmreJVe-YY$M)sf3BfWZ6 z;L=iF=k#WWW#$UPEJ|MNjUEaD9d$oX$M5=c&idV+kd$4$S5+8^D2f`egcaz=^(M@CA&gU3q)foURr zzyk-)*E};8zgzOScRKJSitNbR+Q&T+I#xGLe4phqd|2XQbo2VX%0MP zKofYJ#@^bj;^OSm?Be3w(%4uNi7iZ%Qf`}_S8bSN;0xS8GjHC$fA8L1{<|EwMsEMV zU$52YRXpmPY*pQUWyvL0JG(cv&mQ|cl(#$C|0q65gtuJc@V(hmmhKN~@@F2HFf%5j zxo^`n-+1=&FwH!leoy0%-r|ZK*%bm3vTSP-->(e>HG>Og8^8JcLcn0p z3I6{TB^Q@}*xm8yA@8vj-w$*DsgMu;!?+{2LJ+vs_u+f@dYfPA50tn%zW4AkFRtcn ztIzv#oFTw#vAM1E`V-d4HTE%XA3tonc%J{fIKz7B)gKNwYiK;}ea_!-TLZY?npz;? a(Lee5w^-vAm`5G~nd#~3=d#Wzp$PzztZ@ba literal 0 HcmV?d00001 diff --git a/app/src/main/res/layout/activity_web_browser.xml b/app/src/main/res/layout/activity_web_browser.xml new file mode 100644 index 0000000..408dd98 --- /dev/null +++ b/app/src/main/res/layout/activity_web_browser.xml @@ -0,0 +1,14 @@ + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f42b578..3a48468 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -16,7 +16,7 @@ Connections without SSL are not allowed Endpoint URL must start with https:// File Explorer Test - Unsupported media file + Unsupported file type Video Test Cannot retrieve media file Invalid media file