I am working on a mobile app. I am confused about how to insert special characters in J2ME (Integration Symbols,Subscript,Superscript)
Kindly replay
Thank You .
You can write like this in the textbox:-
TextBox mTextBox = new TextBox("Enter special charater:--", "", 25, TextField.ANY);
Related
I am trying to make a image editor like yourquote.
I am using fabric js for editor.
I am doing it on website not app.
I have used 2 different url. On first url I want user to enter text and on second url I am letting the user decorate the text and make it image.
My regular text is working as I am posting the text to url, but when I am maintaining line break it is not working.
How can it be possible ?
Its solved
I added '\n' after each line break and sent the final string to next URL and the fabric js canvas loaded exact what I wanted.
We have implemented a Bot using Microsoft BotBuilder in node js, to proactively send message to Skype for Business users. We have requirement to send few formatted text such as - Bold, Italic , and line break (new Line), But It seems that Android Skype for business doesn't support any of these format. All Html formatted is shown as Raw HTML in all platforms (iOS, Android and MAC).
So far we have tried following ways to send Formatted text.
//1 using \n\n
var msgToSend = new builder.Message()
.text("Hello \n\n World!");
//2 using unicodes
var msgToSend = new builder.Message()
.text("Hello \u0085 \u2028 World!");
//using html formatting
var msgToSend = new builder.Message()
.text("Hello </br> World!");
bot.loadSession(addr1, function (err, session) {
bot.send(msgToSend);
});
We succeeded to send new line text to Mac, iOS, and Windows Skype for Business clients, but None of these seems to work for Android.
Any help would be appreciated to send formatted text to android.
As already replied in a question around the same theme (which was about webchat and rendering HTML):
Microsoft Bot Framework supports only 2 types of text format (see documentation here):
Markdown
XML (The textFormat xml is supported only by the Skype channel.)
As a consequence:
HTML will not help you here
you are limited to the capabilities of markdown and the restrictions of markdown rendering in your channel
If you look at markdown for Skype for Business in Channel Inspector, there is no possibility to do what you want (bold, italic etc. are not rendered as wished), sorry
How to customize the configuration of ckeditor in such a way , if anybody enter a text pattern of email or any web address and ,pressing the Ctrl+Key 'Space' after that text , it'll automatically make that text hyperlink [ Feature similar to the MS-word ] . If anyone have any idea how to implement it .
you would need to implament that on save or on output in java
else you can load a JavaScript on the editor page by passing it into the html and let it modify the entered email if it is on after key Ctrl+Key 'Space' press
so it replaces bla#bla.com with bla#bla.com
replacewith jquery example
I have an RSS-feed that loads articles from some sites. I want the text in the articles to be shown in a TextView. It's not ads in the articles, so I am allowed to just get the text. Anyone knows how I can do it?
Sorry for my bad english.
You don't need to use a UIWebView to read from a URL.
Why not just open a connection to the URL and download the text? You can parse/filter/etc the raw data before putting it in your TextView.
See these other SO questions for examples of how to do this:
Simple method to read XML from a URL - iPhone
How to read a file from a website using objective-c & xcode
This is a strange one that I cannot see to figure out. I have a basic mobile site that is coded in ASP.NET MVC (really shouldn't matter in this case but just to put it out there)
When I browse to the specific page, I receive the following error.
This page contains the following errors:
error on line 56 at column 43: EntityRef: expecting ';'
Below is a rendering of the page up to the first error
Now the line specifically is rendering a basic anchor tag does have an ampersand in the query string (should be pretty standard right?). Why might this be an issue?
The IPhone does not have any problem rendering it, nor do regular browsers (IE8, Chrome, FF, etc). By my the Palm Pre Browser, Android, and BlackBerry Bold all display it.
Specifically, below appears to be the offending line (part of a basic paging control):
<a href="/Mobile/LotBrowse?page=2&watchList=False" style="text-decoration: none" title="go to page 2">
<span class="page-numbers">
2</span></a>
You need to use & for all & in your XHTML code. Any where and every where it is used
http://www.w3.org/TR/xml-entity-names/
http://www.digitalmediaminute.com/reference/entity/index.php