I want to know is there any way to check updates of a website regularly?
I am a student. My exam schedules comes in university web site .I don't wanna miss that. So is there any way I can check this details automatically? I am using android and Ubuntu. Please help me. I don't think that the website have rss feed.
The website http://changemon.com/ is one of many website trackers that will send you an email when a website element is changed.
If you prefer a more diy solution, there is always use a scraping tool such as scrapy (python) http://scrapy.org/ and create your own project.
Related
So, I had this idea of creating an app for my college attendance. The thing is that the attendance is accessible as students login the online portal and then enter their credentials. Is there any way I can login to the portal, fetch content from the portal and show in my app in a beautiful way?
I tried all sorts of things I know. WebView is just idiotic for this task and nothing really works if it isn't my server. Any ideas how to do this?
Check to see if your college has any sort of open API with good documentation.
If they do, that will solve all your dramas. However, it's incredibly unlikely.
It sounds like your college uses some sort of SSO (Single Sign On) system. If you can find out which one they use, you'll be able to find documentation for it, which will likely let you develop an Android native solution to logging in. Bear in mind, the college/SSO provider will more than likely have to give you access to this.
Otherwise, you're probably stuck to a WebView for login. You could use a WebView for login, then get all the content you need and close the WebView and do the rest as native app stuff.
Even then your options are fairly limited. You'll more than likely be stuck parsing full HTML responses and getting the content you want out of them. It's a pain, but possible (see this answer for an example on parsing an HTML table).
tl;dr, I reckon you're fighting a losing battle.
Check if your college has it's open api-
If not-the only.thing you can do is parse all the html.
With the login you will have to check which system your college uses and use their api.
hi guys i am constantly updating my website and i want all the stuff i update to appear in my app. so i don't have to make a new ".apk" update every time i add new stuff to my website.
would i use some sort of site scraping method?
what i would like to do is as new stuff gets added to my website it automatically pushes it to my app in some way
could some one at least point me in the right direction as i have only just got my head round setting up my website. please be nice and if u don't think this is worded right I am sorry.
An idea is to organize all your resource data in a REST web services and both website and Android App to get data from Web Services. So the data will be kept in one place (one place to do the updates) and be viewed from different platforms in your case a Web site and an Android App. However this is a very general architectural solution.
If you add a WebView to your application and point that to your website the application would always fetch the latest version. I think this would be a quick and easy option for you. Link to documentation: http://developer.android.com/reference/android/webkit/WebView.html
This would though require an internet connection for the user every time they use the application.
Here is the guide to web view API's https://developer.android.com/guide/webapps/webview.html
Hi i new to android development i want to develop an android app for website which does not have JSON or XML API for providing data is it possible to get the data from the website as it updates to my android app please
Help even the slightest hint will be appreciated.i have Googled this but i didn't got proper answer
Yes, it is possible. You will need the following components:
The website won't notify you when something changes. Thus, you have to poll the website frequently to find out if something changed.
Since the website offers no API, you will have to download the HTML and parse it.
Using these keywords in your search, you should find lots of material on StackOverflow, e.g.
Android Polling from a Server periodically
How can I parse webpage content in Android
If you want to make an app for a website, then you will have to get that website and parse it and display the results however you want. A good example for this can be found under the Spring for Android's Github page
If the website you intend to parse is already available in the Spring social package, then the above examples will already provide you with the solution (or with something very close to it). But keep in mind that you can also do the same thing without Spring but you will have to parse the data manually.
I am going to create an app for android that is going to extract data from a website. Like the app is connected to let's say google.com and the user enters a keyword and clicks submit then the search results will be extracted and sent to the app. Any idea how I can do this? I've tried jsoup but I can't seem to connect it. I searched that there are others who are having trouble with .connect(url).get(). I also tried HttpURLConnection. What tool should I use? Thank you
I have a small wordpress website and I wanted to try to make an Android app out of it. But, I have no idea from where to begin. I found out about App Inventor which makes it real easy to create apps. But, what I still haven't figured out is how to extract data from my website and put it into the app through the App Inventor.
Thanks~
If you want the exact look of your website, you can go ahead with appsgeyser. It automatically creates your app.
You can also try parsing the HTML content of you website and get the data at runtime.
Simply use HTTP GET methods to hit your website url and then retrieve the contents and show it accordingly.