Is it possible to get HTML content in Android? [closed] - android

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
Is it possible to get HTML content in Android and remove what I don't need from it?
For example I want to get the name of the top movies in IMDB(http://www.imdb.com/chart/top), now is it possible just to get the names without anything else?

First of all, check if your target site has an API. If it does, fine!
If it doesn't, you can read details from the HTML itself, it's called Web Scraping.
You can find how to do it here.
EDIT:
I see you've found an API and it working with XML. You can find how to work with XML in android here.

Related

What do I need to create an app that summarizes text from a document (include 100-150 characters)? [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 6 years ago.
Improve this question
I want to create an feature which can summarizes text from a document in Android.
I am confusion about algorithm to do it
Any support from anyone will be appreciate
It can be done. If you are writing on your own, you have to start with nltk library for java which is abbreviated as Natural language tool kit, which allows you to carry out these kind of text summarization. or you can use the following open source code to carry out , what you want.
Like, how many no. of words your summarizing content should have at final. Have a look at it.
https://github.com/mohaps/tldrzr

android webview,I access a url,but i return some css data,how to make it be a page [closed]

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 6 years ago.
Improve this question
Here is url,http://news-at.zhihu.com/api/4/news/8696950
It returns some datas like "body":"
I find a way to solve this problem.
First the url's data contains html code and css code,I should use JSON to get html code and css code , and store them.And then use loadDataWithBaseURL() method to load the page.But I am not sure for the method's params.
Actually your URL is not valid , try http://news-at.zhihu.com in webView this will work. that means your "http://news-at.zhihu.com/api/4/news/8696950" is may be in the JSON form or may be in incorrect form(not valid).
hope this will help you .
Thanks.

Scripting in unity3d [closed]

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
Hey guys I don't understand the concept of scripting in unity3d. Let's say I want to click a button and make an object move, where do I place the script in button or??? And how do I call the object to move
https://unity3d.com/learn/tutorials
These are ultra-basic quetions which suggest you haven't read the docs yet. The page linked above has video tutorials if you don't like reading.
Watch a few, download Unity, try them out, and when you have a clearer idea of what you do/don't understand, come back and ask specific questions

Get all data from facebook page to android aplication [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 am new in android programming and we have a small project at collage to do. I am looking everywhere how to get from one Facebook page the INFO data(https://www.facebook.com/vanillazmusic/info?tab=page_info) to my program, and then get that data to variables, so i can work with them. I installed and prepared Facebook sdk and everything, but now I dont have any idea how to do that. Any help or links to you-tube or something would be great.
You can only use app_data to transfer data to your tab, and it will be in the signed_request parameter. See the Facebook docs for more information:
https://developers.facebook.com/docs/appsonfacebook/pagetabs
https://developers.facebook.com/docs/reference/login/signed-request

How to use Wikipedia api 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 9 years ago.
Improve this question
I'm developing an app to get Location name then put it into a googlemap and display that location wiki page . I tied to search but There is some phonegap android app .
My question is : Is there any Wiki API for android native app to get and search information ? and how to implement it ?
I did a Google search for wiki API and it brought me here:
http://www.mediawiki.org/wiki/API:Main_page
It is not specifically for android but it should be able to work for you.
An example:
http://en.wikipedia.org/w/api.php?format=json&action=query&titles=API&prop=revisions&rvprop=content
If you can not find a usable api, you can use JSoup to parse wikipedia and return relevant information or you can build a url based on user's input and implement a webview

Categories

Resources