Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Closed 9 years ago.
Improve this question
I wanted to know how to pull the menus dynamically from this website without having to hardcode the links to each month's menu every time the month changes. I'm trying to implement this on an android application, so code in Java would be very helpful
This is the website where I want to pull the menus from (Link)
Can someone provide me with an example of how one would do this?
In this url:
http://www.schoolnutritionandfitness.com/index.php?page=menus&sm=6&sy=2013&sid=0608121745464795
sm param seems to be month
sy obiouslly year
Use jsoup to get the data you want from the dates you need making up url.
Answering your comment: refer to http://jsoup.org/ then you can make more specific questions further!!
Related
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 7 years ago.
Improve this question
I was just sitting and thinking what I should do in programming.
And I thought of a csgo item value calculator.
Then I thought how would I get the prices of the items.
So my question is how do I get information from ex. //
http://steamcommunity.com/market/listings/730/Chroma%202%20Case And retrieve the price of the item, which is in this: market_commodity_orders_header_promote
What I would recommend is getting some kind of API tool such as PostMan or Fiddler and use them to sniff the website. See if its calling any kind of API, and if it is, see if you can take advantage of that API to do what you need to do.
Website Scraping is also a valid option. Either way you should have a look and see which method would work best for you given your problem and experience level.
The most important part is research research research. Google everything before you ask. We all wish you the best of luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I do program to parse html pages and store images. But I ran into a problem. This page is dynamically generated by JavaScript, it means when I download the source code of the page and there are links to pictures. Can you please advise how to bypass it? Alternatively, some příkalad to be in Java. thank you
Downloading page:
http://www.lide.cz/detail/j0YbgS6Xp7AoMAOP
That is not as easy as it seems to be at first glance. You need a headless browser engine like PhantomJS or the like that runs the Javascript and returns you the generated HTML.
See this answer to get more information on that topic.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I have got a project to create an automated test tool for 3rd party (Source code isn't available) android games.So my question is to what extend can we run an automated test for a game. Is it possible to create such a tool ? If yes please let me how we can do it.
Robotium seems matching your requirements well. It allows to tap here and there on a running application without having source code access, also search for a text that must appear in response to these taps.
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 4 years ago.
Improve this question
I am just learning java. I just want to make a simple application to access a web-site.
there is a website onto which i want to log-in through java:
and then interact with it through my interface, basically after log in, i would be writing in some text boxes and sending it.
I tried many places to do it, studied HTTP protocol but still cant make it.
can someone help me out?
Accessing a web site, logging in and interacting with forms on it is somewhat complex work, so it might not be the best choice for a first java project.
But if you want to do it, you should probably use Apache HttpComponents/HttpClient.
There are useful examples at the above link as well, which may help you get started.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
Is Google Chart API free to use? If so, where can I find its documentation?
Yes, it is free. It is written in the official page:
Completely free for all uses:
commercial, governmental, personal or
educational.
For documentation follow this link.
Edit:
You don't really download it. You include the following in your code:
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
Then you start using it as shown here.
If you really want to see how it looks like inside, you can paste this to your browser address bar: http://www.google.com/jsapi
its completely free. You can check the different chart from below link
http://code.google.com/apis/ajax/playground/?type=visualization