Access website without browser [closed] - java

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.

Related

Trying to redirect incoming call to custom made UI in android [closed]

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 2 years ago.
Improve this question
I'm trying to redirect incoming calls on a custom made UI instead of default Android screen.
I have tried doing it using many ways like using CallScreeningService or InCallService but still not able to figure out the solution.
Can anyone provide a small sample working solution?
User arekolek provided an answer to my question with his own source sample at the end.
I verified it working back when he posted it, and should still work on current Android versions. Hope that helps, I would suggest providing feedback to there if it does.

Data from a website [closed]

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!

How to make "push notification" like facebook into my jsp web application? [closed]

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
I've a web application. Now i just planned to put notification system(just like Facebook). Can you please suggest me about this you know well fetching an answer after refreshing makes so buggy.
I googled but found that oracle provide vertex.io something like. But i don't understand How it can be linked by the notifications?
I would say something with javascript and servlets, have some javascript send a get request to retrieve a news feed or something, check if it has anything new, and if it does, update the client's page
Make a new thread, and make a while loop that checks for incoming messages from the server. Then when one is recieved, access a method in the gui to post that notification up.

Possible to log data from a game chat? [closed]

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
I looked about but were unable to find if anything of such exist.
Is it possible to construct a java program, which can read sudden strings from a chat inside a game?
It would be used to log sudden data to a mysql to comparison.
If any knows something of this sort, any direction is high appreciated.
You can't do that directly. You would need to have access to the game's methods in order to know when a new chat entry appears, and how to get its content.
Appart from that, as Kenyanke explains, some games might save a chatlog on your computer, yet it won't help you anyway, since you have no idea of when these logs get saved, or if they do get saved for that matter.

Please suggest approach for Java-based web app [closed]

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
I'm a Java developer that hasn't coded in about 5 years and wants to polish up my skills. I am going to create a small app that uses an OAuth 2.0 authentication flow and then makes a few REST calls and displays the results. I've got my credentials setup with the OAuth provider.
I used Eclipse back in the day, is that still a solid IDE for this type of project? If I want to share the app with others to show my work, where could I host the code?
Thanks for these and any other pointers.
first off - yes, Eclipse if still a good choice.
if you can, make you app a web-application, and then you can host it in PaaS such as Google AppEngine. then the app itself will be always accessible from any machine that is connected to the web. this way, you will be able to show it to anyone you want.
if you only want to show the code, then GitHub or Google Code are a good choices.
HTH

Categories