Hi,

I have a C# Mobile IIS hosted site, which uses X-PATH tags (div, td, etc) 
from an Original Browser Website (Sharepoint website), to fill the 
contents(Text, Images, Links, etc) of the pages for Mobile App (Android, 
iPhone, Blackberry).
The App is LIVE and same Mobile site works for all the platforms (Android, 
iOS, Blackberry).

Now the Original Browser Website has used Responsive Design to cater 
different resolutions. They have used Media Query, and many more Responsive 
design approaches.
In my C# Mobile site, I have changed the X-Path's accordingly to fill the 
contents of the App.

All other content is working fine, *BUT in Android, the images from the 
Website fetched from x-path are not seen. Same Mobile site is working for 
iOS and in iPhone and those images are seen fine.*

While debugging my Android app, the image url's which I am getting are 
good, and while putting the url in Android device browser, the images is 
seen perfectly fine.
EG:
*https://promo.lifeworks.com/_layouts/15/hps/fbalogin.aspx?ReturnUrl=%2fportal%2fHPSLogos%2fLifeWorks.gif%3fnetlogin%3dNbX57hNRUi9K9IIC%252bIgW8w%253d%253d
 
<https://promo.lifeworks.com/_layouts/15/hps/fbalogin.aspx?ReturnUrl=%2fportal%2fHPSLogos%2fLifeWorks.gif%3fnetlogin%3dNbX57hNRUi9K9IIC%252bIgW8w%253d%253d>*

*But on Android devices, inside the App, these kind of images are not seen.*

The C# code is like:

HtmlNode image1 = 
doc.DocumentNode.SelectSingleNode(APP.ConfigMgr.HomePage.LifeWorksLogoXPath);
                if (image1 != null)
                {
                    Uri uri = 
HttpManager.GetRemoteURI(image1.Attributes["src"].Value);
                    LoginManager loginMan = new LoginManager();
                    string *returnUri *= 
loginMan.GenerateSSOLink(SessionManager.UserID, SessionManager.Password, 
uri.ToString());
                    homeModel.RemoteImageOneUri = 
HttpManager.GetRemoteURI(returnUri);
                }
*//returnUri = the image URL(as the link above)*

Please let me know what can be done for images to be seen on Android App as 
well?


Thanks,
Gopish


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to