All Questions
153 questions
0
votes
1
answer
49
views
Sharing WebView object between Activity and WindowManager in foreground
I am trying to show webview in foreground with floating view, i am taking webview from companion object of activity, and i added this to the floating view by removing webview' parent, and it worked ...
0
votes
1
answer
251
views
How to make a webview launch another app in android app
I am trying to mirror a website in an android app which I already got a way around it, but am having issues with sharing information inside the app to social media, like when it is clicked in the app ...
0
votes
1
answer
74
views
Webview activity calls onDestroy() when loses focus
I've a simple activity with a webview:
public class AGenericWebView extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(...
0
votes
2
answers
730
views
How to open different url in single web view android studio
How do I open different different URL stores in different different buttons. I'm just creating a separate activity that contains web view .
For example, one button contains links of Google. Another is ...
0
votes
2
answers
1k
views
How to show progress bar until a webview open in android
As soon as the Activity started from intent, need to display a ProgressBar. Once WebView is displayed, then ProgressBar need to be hidden.But not able to show ProgressBar in screen. Below is my xml,
&...
0
votes
1
answer
666
views
On pressed back in android Webview how to go back to previous task instead of closing app?
I have an webview app having a MainActivity which is load the website and another one is Bookmark Activity/List. There is a button in the MainActivity to open the bookmark list.
After opening ...
2
votes
0
answers
286
views
Android Sleeping Main Activity with a Webview using websockets
I have an Android application that is basically a wrapper for a webview. The Android app is used to lock the screen on and pin the application, that all works fine.
The webpage that the webview loads ...
1
vote
1
answer
225
views
Load WebView in background
I have 2 activities in my app:
1-Home page
2-WebView
The activity 2 (WebView) is really slow to load (about 10secs).
Can I load the activity 2 in background? So when I start activity 2 I have the ...
0
votes
1
answer
102
views
How to make facebook comment activity for multiple URLs in webview?
Im trying to build Webview app where user can post comment on webpages using facebook comment activity. If URL keeps changing in webview how to get URL to FbCommentActivity.java. Please note that ...
1
vote
1
answer
394
views
Keep alive Activity with WebView
I use Activity with WebView for payment integration in my application. Payment process uses 3-D Secure (3DS) with a confirmation via SMS. User need to close my application (WebView activity in ...
0
votes
1
answer
435
views
Android custom browser open twice activity everytime
I tried to create this small custom browser, but I have a small problem, when I click on a link, it opens it quietly, but first I open a blank page, as if it were a new instance of the activity. In ...
-4
votes
1
answer
1k
views
Button click to web-view in desired activity
I'm in progress on developing an android application and I'm looking for how to implement the following cases.
How to open a web view in second activity by clicking a button in the
main activity?
And,...
4
votes
1
answer
1k
views
Switching Between Activities Without Closing Them
So basically I'm stuck.... I want to switch between activities without closing the activities... For instance, "Activity 1" has the webpage Google and "Activity 2" has Facebook... How can I switch ...
0
votes
2
answers
193
views
How I can have an activity running in the background?
I'm working in a project in which we need to load an Activity with a WebView, we need to load some HTML with Angular but we need to have this activity in the background until this activity/webview ...
0
votes
1
answer
53
views
Position of progressbar
I have successfully build a tabbed activity app with four tabs all working as expected. Each of tab load a web page. My problem is that I don't where to place the progressbar code for each tab some ...