Android studo web scraping query - java

i hope you are well.
I am tasked with creating an android studio java project that requires me to web scrape a website for a movie actors biography.
The user of such an app would be able to type in an actors name, where the search box would then use the web scrape featurr to gather the wctors bio data from a website, and then show such data to the user of the app.
Im unsure if the above makes sense, but im hoping someone may have an idea of what i need to research or what keywords i need to use to find a tutorial regarding this.
Thanks again everyone.

Related

How to automate login using Android Studio Java

About me
I am a quite a starter but I have worked with Android Studio before; creating simple data scraping apps and more. Bu I was bashed on here once for just asking for answers without trying, that is why I am giving much as effort to make clean as possible. I am not looking for just answers, I was hoping to learn something building this app. Sorry for my terrible English and also thanks in advance!
Infinite Campus
If you haven't heard of Infinite Campus, it is a grading website which students and teachers use. The website is generally great; it gives a lots of informations and it is clean. Besides the website, they also have an app. But the app is terrible. Reason is:
It is Slow: refreshing the data takes too much time.
Less information: for some reason it has less information; like GPA and more.
On Android it just looks terrible
And I decided to create my own app, and hoping to learn new things in the process.
My App
I want my personal App same as Infinite Campus App.
The app is fairly simple, it is only does two things:
Log in
Scrape Data and Display.
The site is: Here
Problem/Question
I do not know where to start.
Do you guys have any good tutorials?
What do I need to learn?
Is the site good for such a thing?
Yes, you can create an Application like that but first, you need to understand your requirements and what are the technologies you are going to use like.
1.) In your Campus App you want to enable the login functionality for that you must have some database where you can store the user information like email and password for this Firebase comes handy with Real-time Database.
2.) you want to store the student's score or test mark for this Again you need to design a database where you can store it so Real-time database from firebase again helps in easy to use integrate.
3.) Next process involves making the UI in android which can be referenced in java where you can implement your business logic.
Useful links you may want to get started
firebase login
realtime database
Using recyclerview for list type things
for displaying drawer menus

Displays Site's and Facebook's posts in my Application

I am wondering about this technique, which I can display my site's posts and Facebook wall's posts together in my application, like an application I saw that displays a site's wall posts and Facebook page posts as a Cardview.
Here is a Screenshot of the app that displays the site's posts:
Here is another screenshot of displaying their Facebook page's wall posts:
I would like to know how to do this technique.
What is the name of the function and object?
You should use facebook API. Facebook Api such as Graph.
For that
1.Sign in as a developer.facebook.com and it will provide api key which you should add in your application dependency.
The Graph API is the primary way to get data in and out of Facebook's platform. you should make use of the sdk
Make use of graph api reference in its documentation page.
For more specific as android application facebook provide graph api for android.
For the website you should create your own api. There are many ways and languages to accompolish this but i prefer rails 5 api feature to do this.
Create rails 5 as a backend
You the json data which is generated by the rails application to mobile app.
Hope this make sense!!

Read google apps related to company from google play store -Infinite scrolling

I am trying to read all the apps placed in google play store for a particular company in java.Is there any framework available in java to do that.I tried by using jSoup to crawl the web page.But that page is loading as infinite scrolling.
Please suggest me on this.Thanks in advance....

Android development pulling data from a website and formatting into an app

Hello I am new to android programming, I haven't started writing the code for my app idea yet but I am in planning and learning the Android OS. I was wondering if there is a way that I could pull data from a site such as a wiki from wikia.com and format it in an android app and how would I go about doing this?
I want to pull data such as the information under the different sections, for example take a band history such as The Beatles, I want to pull the History section, Discography, stuff like that and format it to look good in my app. Is there a way to do this? Thank you in advance.
You have a few options.
APIs
Scraping/reformatting the site
If a website has an API you can simply use that to query the website and get the data you need. If not you'll be forced to download the html and scrape out the relevant information.
Scraping is considered a legal gray and most websites don't appreciate it, especially if you plan on redistributing the content of the site.

java or php for developing database driven android app

I have an existing PHP MySQL web app that I want to make an android app for to look up account info, get status info for work orders, upload photos, etc.
I'm new to Android Dev and found a site phpforandroid.net that says I can use PHP to build android apps. 6 years ago I did a basic Java class n learned a little about Java, but not much.
I want to have a login to the app, then present a menu to drill further into heir account info.
My first choice would be PHP if the database interaction can happen, but I don't really know. Anyone else gone down the PHP db driven route, or is Java the way I should go? Any tutorials you would recommend?
What are the community thoughts? THanks.
Why don't you build a smartphone compatible website (i.e. with jQuery Mobile)? You could use your existing PHP knowledge and the app would run on any descent smartphone, not only Android.
How about a mobile version of your web app? You could make it work on other phone platforms, you'd have full control over the code, instant updates without bothering the end user.

Categories