Latex on smartphone - Android Studio

Hello everyone,
I need for my application mathematical formula, so I want to know if there is any means to display the result of a latex compilation in my app. One way to do it would be to save the image of the formula in the resources, but I'm looking for a better way to do it, if this is possible.
Thanks

Related

Android NDK usage

Hey there, I'm kinda new to android and coding in general, but I was wondering if someone could answer a few questions I had about the android NDK, preferably by someone that has actually used it.
1. How big of a performance boost could I get by using the NDK with a program that is currently runs slow due to a large amount of math processed each loop?
2. How hard is it to transfer data between the java and C/C++ code?
3. Is it possible to get input within the C++ code from the touch screen or keyboard?
Thanks, and sorry if this is the wrong thread for this, I wasn't sure where to put it.
enderx1 said:
Hey there, I'm kinda new to android and coding in general, but I was wondering if someone could answer a few questions I had about the android NDK, preferably by someone that has actually used it.
1. How big of a performance boost could I get by using the NDK with a program that is currently runs slow due to a large amount of math processed each loop?
2. How hard is it to transfer data between the java and C/C++ code?
3. Is it possible to get input within the C++ code from the touch screen or keyboard?
Thanks, and sorry if this is the wrong thread for this, I wasn't sure where to put it.
Click to expand...
Click to collapse
i havent written anything with android yet but i have done java and c++ for a bit so i can tell you that for the most part, translating from java to c++ shouldn't be TOO difficult IMO

png optimizing

Hey guys, I may be way off on this... but just tell me if my thinking is sound.
One of the things I see people doing in themes and roms is optimizing all of the png's for a smaller file size. At first glance, that seems like the thing to do -- Less in memory, less size = better.
But I know that on applications that need to load images very fast it is always better to make them as uncompressed as possible. That way, in order for the system to show the image, the cpu has less to uncompress before displaying it.
An example would be on my HTPC. There are all kinds of fan art and huge wallpapers that change with each click to the next menu. So when I switch from Music to TV Shows. My wallpaper switches from a picture of AC/DC to a picture of the cast from "House". The first thing everyone will tell you to do is convert them to bitmaps. Bigger file size but way less for the cpu to do in order to show it. This helps with not having a delay or one of the pictures not showing up for a split second.
Now I know we can't use bitmaps because we need the transparency. But with such little cpu power on these phones, wouldn't we want the pngs to be as uncompressed as possible?
As I said, let me know if there is something I am not thinking of. The answer could be as simple as the cpu required to uncompress the pngs has less impact that a few more megabytes of memory being used. Not sure if anyone has done any testing on this.
You can try re-saving with minimal compression using IrfanView or a similar tool (even Photoshop I'm sure).
Oh, the I am a web developer. I work with image compression everyday. Thats not the problem, I just wanted to know if anyone had considered this or if there is another reason I'm not thinking of.

[Q] Programming

I have a request to make, i have a older program i want to be using but it doesnt fit on wide screen monitors. its a very basic program and i was hoping somebody with some programming skills would be able to change its window size/resolution to fit non-square monitors? if interested i can provide the .exe file.

[Q] Idea about how to get values from a table

Hello!
As some could see in my other topic, I'm learning about android studio to make an app with some maths to help me with my job.
Well, in one specific case, I need to search and get values in a table, based in a reference. Its basically like the VLOOKUP/HLOOKUP function in Excel.
My doubt is the ideal way of doing that, is there any kind of table inside the android studio, like a container or something ? Or I should use a data base ?
Below is the same math, on excel, that is the base that I'm creating the app for android, in this case is a simple table, but in some cases are many values:
The attachment 001.png is the list where I select the materials Standard, and then I get the 2 values σt and σe from the table.
The attachment 002.png is the table I am looking for the values:
Sorry about this kind of question, but I'm just reading a lot, looking for tips leading me to an ideal way of doing it, but its a little hard in the beginning.
Thanks in advanced.
Barata
Conversion
Hey from your question , I undestood that you are looking for ready table to give values.
As i see you are getting values in excel.
1) There is no direct conversion table available into android studio.
2) You can use library project import if you require familiar conversion tables.
3) If in excel you make your own conversion method . apply same into Anddroid studio.
What more , share your method or query breif.
Hello,
Thanks for replying satyampv,
Actually my doubt isnt about conversion, I said about excel because I'm used to work with it. And its so easy to use vlookup there that I was wondering if would have something like it on android studio .
If I have to put some huge table in a database here on android, it's ok, I accepted that I would have to do it. But the doubt is if I really have to use a database, or if exists other way to look up for values in a table. Like you said "2) You can use library project import if you require familiar conversion tables.", is that an alternative for a database ?
Or should I just forget those "normal tables" from my mind and use SQL lite ? Because is just to look for values, just read, I don't need to write neither do any changes in the table after it's created.
Thanks in advanced, again.
barata

Suggestions for app - New Android Studio user

Hello everybody, happy to have found this forum.
I am a student and have studied 3 years Java in highschool (pretty good level) and studying for about 2 C/C++ at University, am good with PHP and databases and I know some CMS pretty well. So intermediate programming skills, hoping to improve them. I'm from Italy so excuse my bad grammar
I want to create this app for some friends of mine and I want it to be connected to a database and that database will be displayed online on a website. Basic data categorized and if possible displayed differently for different zones. So say you're from Japan and access a category from the website: firstly it asks for location access and then displays to you the "nearest" data available (if you'd want you could access data from other locations). This should have minimum costs, talking website/database.
So what I am asking, how hard this can be? I have never created a project in Android Studio, just worked with Netbeans ,CodeBlocks and Eclipse.
Is there a way to quickly learn how to save the data from an app to a database ? The other way I guess I'm able to do it.
If any of you is so kindhearted to help me find some good tutorials.
Thanks.
It depends on your skill, based on your skill set it will be easy for you.
All you need is create an API for your app so it can exchange data to your web server. You can use a PHP Framework for your API to make your life easy.
On Android part you can use GSON for converting JSON data to Java Object and vice versa.
mariozawa said:
It depends on your skill, based on your skill set it will be easy for you.
All you need is create an API for your app so it can exchange data to your web server. You can use a PHP Framework for your API to make your life easy.
On Android part you can use GSON for converting JSON data to Java Object and vice versa.
Click to expand...
Click to collapse
hello kababayan.. do you specialized on themes? for what devices?
ioubuntu said:
Hello everybody, happy to have found this forum.
I am a student and have studied 3 years Java in highschool (pretty good level) and studying for about 2 C/C++ at University, am good with PHP and databases and I know some CMS pretty well. So intermediate programming skills, hoping to improve them. I'm from Italy so excuse my bad grammar
I want to create this app for some friends of mine and I want it to be connected to a database and that database will be displayed online on a website. Basic data categorized and if possible displayed differently for different zones. So say you're from Japan and access a category from the website: firstly it asks for location access and then displays to you the "nearest" data available (if you'd want you could access data from other locations). This should have minimum costs, talking website/database.
So what I am asking, how hard this can be? I have never created a project in Android Studio, just worked with Netbeans ,CodeBlocks and Eclipse.
Is there a way to quickly learn how to save the data from an app to a database ? The other way I guess I'm able to do it.
If any of you is so kindhearted to help me find some good tutorials.
Thanks.
Click to expand...
Click to collapse
I guess it can be created and to save your time try to build it using a mobile app builder then connecting it to other source would be easier
All the best

Categories

Resources