[android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread gabi2i42
Hello, I am creating an Android App and I do not know how to write an 
equation which will be displayed to the user, an example could be y=x/2. I 
am interested to put the x on the top and 2 on the bottom. I have tried to 
write it as a string such as y=xdiv2/div (HTML) but Android or XML does 
not recognise the divfunction. I am using Java and XML. If this is not 
possible in XML string format is there any other way to display complex 
equations?

Thank you 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread TreKing
On Thu, Aug 23, 2012 at 4:59 PM, gabi2i42 gabi_sech...@yahoo.co.uk wrote:

 I am interested to put the x on the top and 2 on the bottom.


Create a layout that does exactly what you want.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread Kristopher Micinski
Or try to find an open source Android view that renders LaTeX or mathml,

kris

On Fri, Aug 24, 2012 at 2:40 PM, TreKing treking...@gmail.com wrote:
 On Thu, Aug 23, 2012 at 4:59 PM, gabi2i42 gabi_sech...@yahoo.co.uk wrote:

 I am interested to put the x on the top and 2 on the bottom.


 Create a layout that does exactly what you want.

 -
 TreKing - Chicago transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread gabi2i42


 Hello,


Thank you very much for your reply, I was unable to find any emulators also 
I am new to android development I am not sure if this has to be implement 
in java? 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread gabi2i42
Hello,

Thank you for the reply, I may have to write many equations . I have also 
tried inserting PNGs but unfortunately the size of the app grows 
exponentially.




-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread TreKing
On Fri, Aug 24, 2012 at 4:02 PM, gabi2i42 gabi_sech...@yahoo.co.uk wrote:

 I was unable to find any emulators


Huh?


 also I am new to android development I am not sure if this has to be
 implement in java?


You would create your layout in XML and then write your code to manipulate
the layout, if necessary, in Java.

See the documentation for samples and explanations.

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread gabi2i42

I have tried to write simple equations but if I want to display more 
complex equations (with more mathematical expressions lets say)
 
1+√5 2
The div2/div function that would work HTML does not work in XML or at 
least when I load the app with the emulator

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread Kristopher Micinski
http://stackoverflow.com/questions/1784786/mathml-and-java

..

kris

On Fri, Aug 24, 2012 at 5:13 PM, gabi2i42 gabi_sech...@yahoo.co.uk wrote:


 I have tried to write simple equations but if I want to display more
 complex equations (with more mathematical expressions lets say)

 1+**√5 2
 **
 **The div2/div function that would work HTML does not work in XML or
 at least when I load the app with the emulator**

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread Miguel Morales
I'm not sure if anyone else suggested this.  Why don't you just use a web
view and use HTML to render the formulas.
On Aug 23, 2012 11:50 PM, gabi2i42 gabi_sech...@yahoo.co.uk wrote:

 Hello, I am creating an Android App and I do not know how to write an
equation which will be displayed to the user, an example could be y=x/2. I
am interested to put the x on the top and 2 on the bottom. I have tried to
write it as a string such as y=xdiv2/div (HTML) but Android or XML does
not recognise the divfunction. I am using Java and XML. If this is not
possible in XML string format is there any other way to display complex
equations?

 Thank you

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread gabi2i42


 Thank you all for your suggestions. 

In the end I have decided to use WebView and HTML to create the desired 
layout (page) using the code provided in this pages
 
http://www.monocube.com/2011/02/08/android-tutorial-html-file-in-webview/ 
 

  A good html equation editor that I found is:
 http://people.hofstra.edu/Stefan_Waner/equation/codeindex.html


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread Kristopher Micinski
Just FYI, among academics there has been a better standard (LaTeX) for
around 30 years now, :-)

kris

On Fri, Aug 24, 2012 at 7:14 PM, gabi2i42 gabi_sech...@yahoo.co.uk wrote:
 Thank you all for your suggestions.

 In the end I have decided to use WebView and HTML to create the desired
 layout (page) using the code provided in this pages

 http://www.monocube.com/2011/02/08/android-tutorial-html-file-in-webview/


  A good html equation editor that I found is:

 http://people.hofstra.edu/Stefan_Waner/equation/codeindex.html


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread Miguel Morales
yeah but good luck getting latex to render in a view.  You might just
transform it.
On Aug 24, 2012 4:53 PM, Kristopher Micinski krismicin...@gmail.com
wrote:

 Just FYI, among academics there has been a better standard (LaTeX) for
 around 30 years now, :-)

 kris

 On Fri, Aug 24, 2012 at 7:14 PM, gabi2i42 gabi_sech...@yahoo.co.uk
 wrote:
  Thank you all for your suggestions.
 
  In the end I have decided to use WebView and HTML to create the desired
  layout (page) using the code provided in this pages
 
 
 http://www.monocube.com/2011/02/08/android-tutorial-html-file-in-webview/
 
 
   A good html equation editor that I found is:
 
  http://people.hofstra.edu/Stefan_Waner/equation/codeindex.html
 
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  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 post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How do I write an equation in string format in Android?

2012-08-24 Thread Kristopher Micinski
Yes, and there are libraries to do so, I would really wager...
On Aug 24, 2012 8:45 PM, Miguel Morales therevolti...@gmail.com wrote:

 yeah but good luck getting latex to render in a view.  You might just
 transform it.
 On Aug 24, 2012 4:53 PM, Kristopher Micinski krismicin...@gmail.com
 wrote:

 Just FYI, among academics there has been a better standard (LaTeX) for
 around 30 years now, :-)

 kris

 On Fri, Aug 24, 2012 at 7:14 PM, gabi2i42 gabi_sech...@yahoo.co.uk
 wrote:
  Thank you all for your suggestions.
 
  In the end I have decided to use WebView and HTML to create the desired
  layout (page) using the code provided in this pages
 
 
 http://www.monocube.com/2011/02/08/android-tutorial-html-file-in-webview/
 
 
   A good html equation editor that I found is:
 
  http://people.hofstra.edu/Stefan_Waner/equation/codeindex.html
 
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  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 post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 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 post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en