Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Best language to create a OpenERP application in a tablet

By
Odoo Mint
on 9/1/14, 7:25 AM 1,817 views

I introduce myself as I am new to this forum. First of all thanks in advance for any help or answer that you can give me. 
My question is this. I want to launch an application that requests against server Odoo. The application will be installed on a tablet with the following characteristics: 
• ARM cortex A9 1GHz 
• Quadcore 
• 1GB of RAM 
Drivers as well as the operating system will be Linux, do not know whether to put Android on the device, it will only need this application.

I am particularly interested in the speed demands attention and does not have a great graphic load could slow him. 

I do not have much experience in programming language so what advice would you me to program? 

I hope I explained properly, if not, I'll be happy to make clear any questions you have. 

From already, thank you very much for the help. 

A greeting !!

1

Ludo - Neobis

--Ludo - Neobis--
2387
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--

Developer

Ludo - Neobis
On 9/1/14, 7:52 AM

I do not understand your question fully, but will try to answer on what I believe you mean.

When developing a new module for Odoo you are basically limited to using Python in combination with JavaScript. For adding functionality in Odoo this is your combination.

If you want to develop an application that can communicate with Odoo and runs on your specification than any language that is able to create XML-RPC (or upcoming JSON-RPC) connections should do fine. If it must run on Android I believe you are limited to Java. 

If you mean anything else, please specify the question further.

"If it must run on Android I believe you are limited to Java." Not really, you can use C++ via NDK. And you can also run python script via kivy. https://stackoverflow.com/questions/101754/is-there-a-way-to-run-python-on-android

Ben Bernard
on 9/1/14, 8:21 AM

Both points are quite true Ben Bernard, but the topic starter has limited knowledge about programming, so writing for android not using the regular setup might be a little to much. Furthermore speed needs attention. I am currently unaware of the speeds on such a platform, but I do know that about 2 years ago anything non-native was significantly slower on android. Other than that, valid points and well made.

Ludo - Neobis
on 9/1/14, 8:33 AM
0

Ben Bernard

--Ben Bernard--
1083
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 9/1/14, 7:55 AM

I just wondering, what about going native with C++ via Qt?

To use python, there is PyQt.

ps. I don't have much experience in mobile programming and not considering license compatibility.

0
Odoo Mint
On 9/1/14, 8:54 AM

Hello again,

Thankyou for your fast answers. I think I explained wrong. At this moment I have the tablet in a virgin state, I mean, I dont have installed Android in it and I will install it if I finally decide to develop with Android. As I dont have large knowledge in programming I dont know which language to use and under which platform. I want to decide it before to start to avoid change in the future when I find limitations.

Regards!

 

 

 

 

 

So, basically, you mean to ask which language to develop in when building new modules for Odoo? That would be Python, regardless of the platform Odoo is running on, or your own development platform. If you are only asking what to install on your tablet and subsequently program in, I'm afraid you are asking on the form. Third option is to build a client for a tablet that connects and/or receives data from an Odoo instance. In that case I would advise you to go for development in java, using an existing XMLRPC library and then build for your android tablet.

Ludo - Neobis
on 9/1/14, 10:44 AM

yes, basically I mean the thrid option, which is build a client in the table that connects to the openerp server with my own interface. For example, a GUI in the tablet to insert sales for a commercial vendor who goes throw the shops vending products. It should be like an own TPV with the items according to the vendor profile. This API will send a XML RPC call to the server to insert the sale for the customer... It should be possible with C++ as Ben Bernard said me or only in Java? I dont know if C++ is lighter than Java language thank you again!

Odoo Mint
on 9/1/14, 11:03 AM

Both C++ and Java run natively on Android. C++ is closer to the hardware since it needs no VM to build in. However, it is most likely harder to build in since you will have no extended framework. You mentioned that you haven't got much experience in programming which will even make things harder. Therefore I would suggest Java. If you can use Eclipse as a development IDE, I know there are great tutorials to integrate the ADK with eclipse and get-up-and-running within the hour. Most likely C++ also has some sort of equivalent, but I do not know of it. I personally also found java to be easier to learn as a beginner.

Ludo - Neobis
on 9/1/14, 11:35 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/1/14, 7:25 AM
Seen: 1817 times
Last updated: 3/16/15, 8:10 AM