Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I would like to know how can I automatically pull html from web site and put it into eclipse or visual studio. I would like my program to pull it from internet on every five minutes or so. Also can my program autoclick on some buttons or refresh the page?
It looks like you need http://www.seleniumhq.org/ - it can download source of the page and you can programmatically click on links and perform other interactions with the page
Also you can download web pages with Apache HTTP Client library - http://hc.apache.org/httpcomponents-client-ga/index.html
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
Basically what I want is. There is a button on a website that leads to a link, the link that the button leads to changes frequently, how do I get the latest link from that button that is on a website, from Android Studio. Also, I don't own that website
You can use Jsoup, it runs on Java 7 and up, Kotlin and Android.
follow instruction in this parse html, it show how to fetch a page from a URL; extract links, images, and other pointers; and examine their URLs and text.
You will be able to get the link each time he changed by getting to parent div of this block of html code and search the href link for example...
Good luck.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I'm on my java web page and when I download a file and refresh the page said file is downloaded back to me
When you refresh your page, you send the same request again. It is not an issue but a feature.
Sometimes, web browsers don't update address bar with downloaded resource uri, but store and continue to use it.
If you store ID of downloaded resource in user session, you can allow only one download, but in this case, it is necessary to ensure if resource has been downloaded with success in first time.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I'm trying to get this web page and extract the list of android apps in the background:
https://play.google.com/store/account?purchaseFilter=apps
The page requires a log-in in order to view it, so how do I do it? I can't find any tutorials on the web about this.
You need to connect to the play store via its API, then connect the account of which you want to extract the apps. See examples in the Google Play Developer API.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Applications like H2 DB run cmd prompt and then open a webpage on 8082 port number.
Can anyone please help me?
H2 DB is running an embedded web server so that you you can manage it.
If your application needs to serve web pages then you cab use jetty which you can embed right in your code: http://www.eclipse.org/jetty/
You can open a url or a local file in a browser using the answers here:
Getting java gui to open a webpage in web browser
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
If I have a Java web project on github, is it possible to create a github page from the source files? Something like this (How is posible add several javascript libraries to main html?).
You can't run your Java application on GitHub. For this purpose you need an application server, for example Tomcat, Glassfish, or Wildfly. Github gives you the opportunity to show only HTML pages with JavaScript.