How to display html content with image in Adobe Flash and Flex mobile project?
Hi,
I have a html content with image in it. How to display it in Adobe Flash Builder and Flex mobile project? Which control needs to be used for this?
Hello,
The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740
Regards
Marc
Similar Messages
-
How to display rich content with URL in adobe flash builder and flex for mobile apps?
Hi,
In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content.
Clicking on the URLs automatically opens the respective webpage in Safari.
In Adobe Flash Builder, I don't see any control straight away equivalent to Apple WebView control.
How to implement the same using adobe and flex?Thanks for your reply, its nice to know its not just me.
the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
the error is always the same (snippet shown below):
Error occurred while packaging the application:
Undefined symbols for architecture armv7:
"__ZN7avmplus8Debugger9debugLineEi", referenced from:
__ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
__ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
cheers
Toby -
How to Display Html Text with Image
HI Frens,
I am getting some html text from a source, Later i want to
display that data, but it may happened that it has some images in
it. Currently I am using text area to display it.
Now My question is if there is any image will it show, as we
can see it in our mails? if Not, Which component I should use for
this?
I also want that I need to select some file from, How can i
get open dialog box here?
Thks in Advance for replies frens:
Ashish MishraHi Ashish,
If I have understood your requirement properly, u want to
display html text on a flex application.
I think there its better if you use the html component to
display the text. I have a sample code which will give you a
direction to think on.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="
http://www.adobe.com/2006/mxml"
layout="vertical"
creationComplete="initApp( )">
<mx:Script>
<![CDATA[
public function initApp( ):void
var initHtml:String = "<html><head> \
<title='Page Example'/> \
<body bgcolor='#ccddee'><h1>Page
Example</h1> \
<p>This is a complete <b>HTML</b> \
page as a
<em>string</em>.</p></html></body>";
this.html.htmlText = initHtml;
]]>
</mx:Script>
<mx:HTML id="html" width="100%" height="100%" />
</mx:Application>
Also do you want a file open dialog box?? -
How to send HTML mail with images multipart/related message
Hi,
Could any body tell me how to send HTML mail with images in "multipart/related" message,if any body can give the code ,it would be helpful.
ThanksHi,
Could any body tell me how to send HTML mail with
ith images in "multipart/related" message,if any body
can give the code ,it would be helpful.
ThanksHi!
Refer to
http://developer.java.sun.com/developer/onlineTraining/JavaMail/index.html
I've found it very helpful.
Look at the last part for a code showing how to send HTML mail!
Regards -
How to save HTML file with images present in the server to local machine
Hi all
In my application i have a option for the user to save HTML files with images present in the server. The HTML file is getting saved but the images are not being saved.
The code i am using is below :-
l
File fname = new File(filePath);
if(!fname.exists()) return;
FileInputStream istr = null;
OutputStream ostr = null;
response.setContentType("application/"+format);
response.setHeader("Content-Disposition", "attachment; filename=\"" + fname.getName() + "\";");
try {
istr = new FileInputStream(fname);
ostr = response.getOutputStream();
int curByte=-1;
while( (curByte=istr.read()) !=-1)
ostr.write(curByte);
ostr.flush();
Can anyone suggest what i need to do
regardsThe client should probably parse the html that comes down, and look for <img> links, and request those of the server as well.
-
How to display html content in flex hero..
i need to display html content using flex hero for balckberry playbook..i could not find a component for it..i have tried with spark text area by setting its html text property via MobileTextField. bt i need a webview to load html content to execute javascript and all....Is there any component for it???? Please help....
Hello,
The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740
Regards
Marc -
How to display HTML contents on IPhone App ?
Hello,
I am creating a IPhone apps which display Quiz. So Questions & Options will have images url, bold & Italic using HTML.
Now I am using UIlabel to show the plain text. Please let me know how can I display these questions with my app.
Thanks
LaxmilalUIWebView
-
HTML content with images and links blocked
Hello,
I very much need some help here because my company needs to send out newsletters to our clients in HTML format soon and so far the email with HTML content is being blocked as spam while text content works fine. Specifically, whenever I add a link or an image in HTML content, the email doesn't go through. I tried sending in multipart format but it is also not sending HTML with images and links. Here is my attempt:
props.setProperty("mail.transport.protocol", "smtp");
props.setProperty("mail.host", "mail.server.com");
props.setProperty("mail.user", "joeuser");
Session mailSession = Session.getDefaultInstance(props, null);
mailSession.setDebug(true);
Transport transport = mailSession.getTransport();
MimeMultipart mp = new MimeMultipart("alternative");
MimeBodyPart htmlPart = new MimeBodyPart();
MimeBodyPart textPart = new MimeBodyPart();
textPart.setText("Just to make it multipart");
htmlPart.setHeader("MIME-Version", "1.0");
htmlPart.setHeader("Content-Type", htmlPart.getContentType());
htmlPart.setContent(strHtmlMessage, "text/html");
mp.addBodyPart(textPart);
mp.addBodyPart(htmlPart);
MimeMessage message = new MimeMessage(mailSession);
message.setHeader("MIME-Version", "1.0");
message.setHeader("Content-Type", mp.getContentType());
message.setHeader("X-Mailer", "Recommend-It Mailer V2.03c02");
message.setContent(mp);
message.setSubject(strSubject);
message.setFrom(new InternetAddress("[email protected]"));
message.addRecipient(Message.RecipientType.TO,
new InternetAddress("[email protected]"));
transport.connect();
transport.sendMessage(message,
message.getRecipients(Message.RecipientType.TO));
transport.close();This code is one of my numerous attempts to make HTML send images and links. Please, let me know if there is a workaround way to make JavaMail send HTML with links and images in the message body. Your help will be greatly appreciated.The JavaMail FAQ has information on creating HTML messages, including
messages with both plain text and HTML. Did you find it?
BTW, your code has many unnecessary statements, such as setting
the Mime-Version header, which JavaMail will do for you, and setting
the Content-Type header, which JavaMail does as a side-effect of the
setContent or setText calls.
Other than that, it looks like your code should be correctly creating a
multipart/alternative message. If the recipient is still rejecting it you
need to figure out what it is about the message that makes the recipient
think it's spam. Can you send a similar message using another mailer?
Can you send the message to a different recipient? -
How to Display RTF data with images from SQL database in Crystal Report
I am using Crystal report in my WPF application, I have generate Question Paper Report, in which have Question with images. Question with images are stored in SQL Server in rtf format, I want to generate Question report with RTF Text and Images in report
Hello Sir,
I am still Facing problem in Crystal report generation with RTF Data (Text + Images),
I am storing Questions in SQL Server which are RTF Format, Questions have Text + Images..
I changed field data type then also i didn't get image in Crystal report
if i browse an image n stored that in DB then its displaying in Crystal report, but when i pasted that image in RichTextBox and saved that in DB then no data displayed in Crystal report.
My Table Structure is
Table Name: tblQuestions
field : Questions Varbinary(max)
I tried with nvarchar(max) also but its aslo not working -
How to Display HTML content in Discoverer Viewer?
Hi,
Is there any way to display html in the Discoverer Viewer 4i or 9i ?
The HTML code could be stored in a CLOB, varchar2 field or also in a referenced HTML side. What I want is that the HTML code is already displayed in the Discoverer Viewer. I know that you can display it by clicking on the filed but that is not what the customer wants.
Thanks
MikeHello,
The only current way is to use an iFrame, or if you only need some html tags you could use the Text Layout Framework.
Here this is the iFrame approach:
http://code.google.com/p/flex-iframe/
If the swc do not work in Flex4 just use its ource code which works...
...it is basically based on this:
http://www.deitte.com/archives/2008/07/dont_use_iframe.htm
see also and vote, please:
http://bugs.adobe.com/jira/browse/SDK-12291
http://bugs.adobe.com/jira/browse/SDK-13740
Regards
Marc -
How can I edit a RAW image in Adobe Bridge and/or Photoshop?
Whenever I drag and drop a photo or group of images from iPhoto. it automatically converts them to jpegs. Even when taken as RAW images. With iPhoto 09, you could do a search of the IMG_#### listed in iPhoto, and a normally-hidden folder full of the original downloaded RAW images turned up in the search. Now, in iPhoto 11, the RAW images newly downloaded DO NOT show up in any system searches (using 10.8.4. It was bad enough when they were hidden... now they are virtually gone.
I want to use iPhoto for organization and some editing, but some photos I want to work with in the RAW format and save as TIFFs. How do I do that?Whenever I drag and drop a photo or group of images from iPhoto. it automatically converts them to jpegs.
Drag and Drop and Media Browsers access the iPhoto Previews only. No conversion, just the previews.
With 10.8 Spotlight no longer searches within packages, that's to protect the inexperienced user from trashing his or her library inadvertently - as directly accessing the file can do.
To use Raws with an external editor:
First off set your preferred app as an external editor in iPhoto:
You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.
Next: In the iPhoto Preferences -> Advanced, elect to use Raw with your External editor:
Now when you go to edit the Raw it will be sent to your external editor.
But there's a kludge here.
iPhoto sends a copy of the file to Photoshop. In the case of a Jpeg you simply save and it all comes back to iPhoto seamlessly. However, if you use a Save As then Photoshop is creating a new file and iPhoto knows nothing about this.
Now here's the catch with Raws. You cannot save a Raw. The work you do must be output to a new file, in a new format (jepg, tiff, whatever). However, as the External Editor is making this new file iPhoto has no knowledge of its existence. Therefore you must save it to the desktop and then import it back to iPhoto as a new file.
This means that you will have your Original Raw and the processed version in iPhoto but they will not be recognised as version and original. iPhoto will see them as two separate shots. -
How to display HTML content in Siebel form applet
Hi All
I have a requirement where I send data from external webservice to be displayed in a siebel form applet. The control which displays this data is a textarea but the problem is my data is with HTML tags in it like
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META
I need siebel to not show these tags but to show normal data after encoding the tags. I selected HTML Display Mode as 'EncodeData' but it is not removing the HTML tags.
Please Help!
Thanks
ShwetaHello Shweta,
From what I have observed, TextArea do not allow HTML formatting. This is because they are dependant on the Siebel ActiveX component unlike the Textbox.
So in case you want to try to remove the HTML tags:
1. Try with a text box instead of a text area.
2. In the form applet map the control and try with HTML Display Mode as DontEncodeData if not successful.
3. Also set the HTML Type to Field.
Warm Regards,
Tanmay Jain -
How to display html content in output text in adf
Hi ADF Experts,
I have a requirement like ,one of my function is generating this below html,
I wan't to render in output text
<span>d</span><del style="background:#ffe6e6;">f</del><span>df</span><del style="background:#ffe6e6;">d</del><ins style="background:#e6ffe6;"> </ins><span>f</span><ins style="background:#e6ffe6;">gfgfg</ins>
Please help.Thanks Puthanampatti,
with escape property in outputtext it is working now. -
Hi,
how to convert html content to image(using image saver) help of BLS Action Block
Thanks
RameshRamesh,
I'm not sure your question is very clear. Why are you trying to convert HTML to an image?
I can assume that your experience with xMII is very limited....?
Some recommedations are as follows:
1) Take the xMII training...it's very helpful!
2) Read the xMII Help guide...it comes packaged with the xMII install and can be accessed from the xMII Portal page on the top right corner of the page.
3) Reference the xMII Wiki for additional info: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/wiki?path=/display/xmii/main&">xmii WIKI...Click Here!</a>
And as always the best way to see how something works is to TRY it out. Read the help, then post in this community and explain what you have done and tried so that we can help out with what else you can try.
Questions which ask us to do your work are not very productive for you, or the community as a whole. -
Display html content in BrowserContentManager
hello guys .
i want to display html content with help of BrowserContentManager...
how it ll dio can any one tell me plz.Firstly, I would suggest checking the Developer Docs on this one, then perhaps phrasing your query in the Developer Support Forums so other developers will see the query as they are better equipped to assist on this one!
A.
Maybe you are looking for
-
Everytime I get near this Mac I do something to it. Today I have managed to make my screen small and have no idea how to make it bigger.
-
Starting a BPM Process - Where is the Service?
Hi, I build a small test process and tested it, everythings working fine, but now I want to start with an application from portal. Unfortunately I haven't found the service to start the process. Can anybody help me? Regards, Felix
-
Missing icons in hotmail rich text toolbar
''locking as a duplicate - https://support.mozilla.com/en-US/questions/895602'' the icon for text highlighting does not appear in the rich text toolbar in hotmail. it does display in IE8. why has it dissappeared today.
-
Time difference by date by time range - a better way?
Someone suggested this is a better place for my question: Hi I need to display the difference in time - every day for different time ranges, Example 1-2 pm, 4-5 pm, 7-8 pm. And I need the time difference in 2 dates in the past week for each of these
-
Hi. Is there a way to edit your email address in icloud? I set my @me.com address with a spelling mistake and need to correct it but i cant for the life of me find how to edit it or even delete the whole thing and start again. Neil