krishnaveni
Well-Known Member
I have following below xml feed:
Here how can i display the content and image from that feed ???
I have used below android code on my app:
[HIGH]content = (WebView) findViewById(R.id.fullcontent);
content.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
content.getSettings().setJavaScriptEnabled(true);
content.getSettings().setDomStorageEnabled(true);
content.setPadding(0, 0, 0, 0);
Intent in = getIntent();
String fullcontent = in.getStringExtra("Fullcontent");
content.loadDataWithBaseURL(null,fullcontent, "text/html", "UTF-8",null);
[/HIGH]
Now i have to run the app which means am getting the o/p like below:
img {padding:2px;} Popular Romanian
The o/p is displayed content only..its directly go to paragraph content.but i wish to display the image and content...how can i resolve these ??? please provide me solution for these ???
HTML:
<FullContent>
<style> img {padding:2px;} </style>
<p> <img alt="Akcent" pimcore_disable_thumbnail="true" pimcore_id="6110"
pimcore_type="asset" src="http://dev2.mercuryminds.com/global/feb2013/surprise-package-at-akcent-concert/18_akcent_global.jpg"
style="width: 370px; height: 500px; float: left;" /></p>
<p> Popular Romanian dance-pop act Akcent didn't pull any stops at their recent performance at a college festival in Mumbai, and had thousands of youngsters bobbing along with some of their famous dance hits like <em>Kylie</em> and <em>Love Stoned</em> during an adrenaline-filled set!</p>
<br/><br/><br/><br/><br/>www.google.com @ Google 2013
</FullContent>
Here how can i display the content and image from that feed ???
I have used below android code on my app:
[HIGH]content = (WebView) findViewById(R.id.fullcontent);
content.setScrollBarStyle(View.SCROLLBARS_INSIDE_OVERLAY);
content.getSettings().setJavaScriptEnabled(true);
content.getSettings().setDomStorageEnabled(true);
content.setPadding(0, 0, 0, 0);
Intent in = getIntent();
String fullcontent = in.getStringExtra("Fullcontent");
content.loadDataWithBaseURL(null,fullcontent, "text/html", "UTF-8",null);
[/HIGH]
Now i have to run the app which means am getting the o/p like below:
img {padding:2px;} Popular Romanian
The o/p is displayed content only..its directly go to paragraph content.but i wish to display the image and content...how can i resolve these ??? please provide me solution for these ???