If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
pm_jd
Posts: 6
Registered: ‎03-28-2014
My Device: Blackberry Z10
My Carrier: AT&T
Accepted Solution

Math and Scientific equations in QML

I would like to create an application for Blackberry 10 that requires displaying equations. Is MathML or LaTeX currently supported in QML or is there an alternative way to display Math Equations? I do not like to display equations using JPEG/GIF/PNG images

Please use plain text.
Developer
BojanKogoj
Posts: 54
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: SiMobil

Re: Math and Scientific equations in QML

Well BlackBerry 10 browser supports MathML if I am correct, mabye display with WebView (if it even works there)?

Please use plain text.
New Developer
pm_jd
Posts: 6
Registered: ‎03-28-2014
My Device: Blackberry Z10
My Carrier: AT&T

Re: Math and Scientific equations in QML

I have a question about webview. Can I create html files and place them in development folder and show them in webview. Asking this given that I do not have a server where I can host my content

Please use plain text.
Developer
BojanKogoj
Posts: 54
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: SiMobil

Re: Math and Scientific equations in QML

If you look at WebView documentation you can see you can load it locally

 

WebView {
    id: webViewUrl
    url: "local:///assets/test.html"
}

 

 

Please use plain text.
New Developer
pm_jd
Posts: 6
Registered: ‎03-28-2014
My Device: Blackberry Z10
My Carrier: AT&T

Re: Math and Scientific equations in QML

Cool. This helps, Thank you

Please use plain text.
Developer
BojanKogoj
Posts: 54
Registered: ‎01-08-2013
My Device: Z10 LE
My Carrier: SiMobil

Re: Math and Scientific equations in QML

MathML doesn't seem to work in a WebView unfortunately

Please use plain text.