my rss reader code get blank page not getting Feed - android

Please any one can help me, this is a code get it from a website and modify it to be used in android studio system, and it's work fine but the page is white so i don't know where is the problem?!
this the link you can download it from here:
https://github.com/nerdability/AndroidRssReader

Related

React Native Can't open url: intent://photos.app.goo.gl/ in apps webview

I'm opening a url inside react-native-webview. The URL is opening fine. But the problem is if I tap on some component in webview it will return me
"intent://photos.app.goo.gl/HvTckEDkdidAhTvC6#Intent;package=com.google.android.gms;xxxxxxxxx" type url.
I want to open it in webview only. Its working fine in iOS. For android in some links its working and some links it won't. Any help much appreciated.
The issue was from Web end. The URL coming for photos is getting converted into Short-URL for google photos,But for iOS and other working links in Android it's coming in proper format like below :
https://photos.google.com/share/AXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXxxx
But for broken link for Android its coming as below :
intent://photos.app.goo.gl/HvTckEDkdidAhTvC6#Intent;pXXXXXXXXXXXXX
So the workaround for me was I've replaced Short-URL of broken links with long URL. After converting them to long URL from Web end its working fine. Hope it helps someone who faces the same issue like mine.

Extract html data after logging into website from android app

I recently started to learn to develop apps for android, but I'm stuck for quite a while on 1 problem:
I want to log from my app to a website (http://student.tu-sofia.bg/) and download some data from it, so I can use it later in my app. I have red different articles and tried different things but in the end nothing worked. The closest thing that I got as a result was receiving the source code of the login page( tried this Android: How to programatically login to website and retrieve data from it?)
Can someone tell my what I am doing wrong or give an advice how I should approach this ?

getting white page in webview after facebook login page success

I am creating an app, which will post string to the facebook wall. For this , am using a remotely placed html with javascript methods for posting to facebook. It works fine in desktop and mobile browsers.But am getting white screen in android webview.
Link for html page is this,
https://www.dropbox.com/s/2anle06yh9sdcn7/my_fb_post_log.html
and android project is placed in ,
https://www.dropbox.com/s/9an2w2bd9i6nm7f/TestShare.zip
Can anyone please help me on this ? Facebook application id is private, hope you have to create new one for testing that.
Thanks in advance,
JRH
You may need to enable cookies for webView component. Refer following link
https://stackoverflow.com/questions/17230757/

How to display a fix part of website in Android WebView

I want to display a fix part of Website in Android using webview. This is the snapshot of webpage that have Notices for the week heading.
Now I want to display only this Notices for the week part in my webview like this :
Is this possible in android weview..?? I don't want to display anything else from website, only Notices for the week part.I don't have source code for this website. Please help me, I am not getting any idea how to do this..!!!
If you have no other option, i.e. the website has no published rss feeds etc., You can use JSoup to parse the website and select any component of the website.
Jsoup is a Java Html parser which you can use to select DOM elements from a web/html page, provided it is properly formed.
Check out JSoup here.

Android RSS feeds not clickable

I am working on an Android app that displays RSS feeds from websites, so i downloaded a tutorial from this website, it has all the code snippets.
And it s working great for me..but when i change the URL of the site that I want my feeds from.. I get the new feeds but I can't click them for details unlike the feeds from the default URL in this tutorial.
Any idea how i can solve this?
Check the difference between the two xml.

Categories

Resources