Update contents of Android App on update of WordPress website - android

I am quite new to Android App Development. This could be a very basic question for gurus...
Here is my scenario!
I've a website developed in wordpress. Users generally post stories / articles / news on this site. I want to develop an Android app for this site. Whenever a new story is posted, I want the android app to know about it and update the contents to display the latest post. This should be done silently meaning no action shall be needed from user.
Thanks in advance
Vaibhav

I suppose the simpliest way to achieve this would be use an RSS feed and an Android application generator. The idea is that the application watches the RSS feed and shows the latest content from there. I'm not familiar with Wordpress but I'm sure it's possible to get RSS working there.
Google around for something like android app generator RSS. For example, TheAppBuilder mentions support for wordpress. Another generator is AppYet and there are many more.

Related

E commerce android app

My client has a requirement of making native android and ios app for the e-commerce store based in opencart cms.
My question is, how can I dynamically load the main screen content in the app like banners, sliders etc which are subject to change every day.
I am new in the app development. Please suggest any ready to use CMS for delivering dynamic content to the app. Otherwise, please guide me on how should I approach with building this app.
P.s. I am an experienced web developer with basic android app building knowledge.
I'm not that experienced with android but here are some wild ideas, maybe it will be useful.
You can build a REST API which would return JSON, for example:
[
{
"sliderIMG":"http://yourwebsite.com/image.png",
"sliderTITLE":"Your title!"
},
{
"bannerIMG":"http://yourwebsite.com/image.png",
"bannerTITLE":"Your title!"
}
]
And then your mobile app upon launch would connect by using some REST API Library (Volley or Retrofit) and scrape data as well as display it.
You could make a mobile version for website and just iframe it in the app by using webClient. (However if you already are capable of this, using an app to open a website kinda defeats the purpose of having mobile app in the first place)

how can i add from my webpage to my android app with out updating the apk everytime?

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

Fetch Data from website to android app

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.

Wordpress blog Android app

I was wondering if there was an open source project for a Wordpress Android app ? I don't want to administrate Wordpress via the app, just make them available for my users to browse my news via an app. I would need the code to adapt it and I don't want just a webview, although what I want is pretty simple (4 tabs, and a tab for news the rest for static pages).
I searched on the net and I couldn't find anything, looking at how many people use WP, I thought someone might have come with an app that they d be willing to share ?
There are plenty of Wordpress plugins out there that will convert your site into a native or html5 based mobile app for several different platforms. You can find a list of some of the Android ones here:
http://wordpress.org/extend/plugins/tags/android
UppSite looks like a pretty easy one to use.

Daily updates to page in phone gap android app

I am using phone gap to program an android app and I want one page on the app that is updated daily with news and information.
I have a few ideas and have tried a few solutions mainly just linking to a website where I am hosting a page that I update.
Does anyone have any better, more built-in solutions?
Have you considered an RSS feed (or several)? There are plenty of examples of basic RSS readers in Phonegap. This one, http://www.raymondcamden.com/index.cfm/2011/10/11/PhoneGap-RSS-Reader could be a good start.

Categories

Resources