SwiftNews (News) is an amazing example of how a JSON API can be covered up in UI and made look good. Built off of NewsAPI an amazing and free API to get the news from many sources, this app has features unlike any other! You can refresh the feed (auto updates every 15 minutes!) andchange the source.
Never leave home without your newspaper again! Instead of getting your news by going to the source’s website and waiting for the load you can immediately get it over WiFi or Mobile Data. SwiftNews is also responsive and looks good on almost all devices. Although only on Android iOS is coming soon along with more features! Also get immediate update notifications through the app itself!
Please donate to help the productivity and ad-free-ness of this app. We feel ads will mess up the UI so they are not in the app
You can download this amazing News app here (if you want the AIA to see how this was made News.aia (102.1 KB))
Can you please explain how you created such a look with JSON API because even I am working on a project which gets response in JSON format but I am not able to figure out how I can display the response in such a manner.
Thank you,
It is actually fairly simple You need a WebView component and then parse the JSON data and style it using CSS & HTML then join the data with data:text/html, and then set the URL to that joined data. Hope that made since
Note: There are other ways to do this like having preset labels but this is the easiest…
If you did not know HTML & CSS are programming languages for making and designing web pages. HTML basically makes the page and CSS styles it to make it look good. You can find HTML & CSS tutorials all over the place https://w3schools.com is a good place to start. If you want interactive video tutorials on HTML & CSS you should check out khanacademy tutorials. Hope that helps you
Oh, I just remembered. Make sure you have ‘apps from unknown sources enabled’. To enable this go to Settings->Security and then check ‘allow unknown sources’ (or something like that)
I think No, The API’s are created to share the data from one source to other ,if the API provider does not want to share his information then he will not create an API at all.Moreover , I request you to have a look at google news stand app , it does not provide news on its own but rather , It just displays the RSS feeds of various news blogs and sites.
I know that Google News does not actually make news articles. But there is not currently a way (that I know of currently) to give attribute to all of the sources that are showing. Also, what do you think “No” about? Again I don’t get the data from Google News, NewsAPI.org does so if you have a problem with their API and how they get the data you should take it up with them not me. I can not change anything about their service, only can I change what sources are available.
hey bro how can we open the link in the webviewer of the app when clicked on news image. coz when i click on the image external browser opens up. is there any way to open the link in other webviewer ?